/* ── SUPERPODERES ──
   Estava embutido no próprio HTML (#110). A página já carregava o
   css/style.css, logo aqui fica só o que é desta página. */

    /* ── Tool-specific styles ─────────────────────────────── */
    .back-bar { padding: 0.75rem 1.5rem; background: white; border-bottom: 1.5px solid #EDE6F8; }
    .back-bar a { font-size: 13px; font-weight: 800; color: #6B4FA6; text-decoration: none; padding: 6px 14px; border: 1.5px solid #C9B8E8; border-radius: 10px; transition: background .2s; }
    .back-bar a:hover { background: #EDE6F8; }
    .tool-hero {
      background: linear-gradient(135deg, #EDE6F8 0%, #FDF0E8 100%);
      padding: 9rem 1.5rem 3rem;
      text-align: center;
    }
    .tool-hero .badge {
      display: inline-block;
      background: #ffffff;
      color: #6B4FA6;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 20px;
      border: 1.5px solid #C9B8E8;
      margin-bottom: 1rem;
    }
    .tool-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 700;
      color: #3D2F4A;
      margin: 0 0 0.75rem;
    }
    .tool-hero h1 em { font-style: italic; color: #6B4FA6; }
    .tool-hero p {
      font-size: 1rem;
      color: #7A6585;
      max-width: 480px;
      margin: 0 auto;
      line-height: 1.65;
    }

    /* ── Tool container ───────────────────────────────────── */
    .tool-wrap {
      max-width: 680px;
      margin: 2.5rem auto 4rem;
      padding: 0 1.25rem;
    }

    /* ── Step bar ─────────────────────────────────────────── */
    .steps-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 2rem;
    }
    .s-dot {
      height: 6px;
      flex: 1;
      border-radius: 3px;
      background: #EDE6F8;
      transition: background 0.2s;
    }
    .s-dot.active { background: #6B4FA6; }
    .s-dot.done   { background: #6CC48A; }

    /* ── Cards ───────────────────────────────────────────── */
    .panel { display: none; }
    .panel.on { display: block; }

    .panel-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: #3D2F4A;
      margin: 0 0 0.4rem;
    }
    .panel-sub {
      font-size: 0.9rem;
      color: #7A6585;
      margin: 0 0 1.5rem;
      line-height: 1.6;
    }

    /* ── Who selector (start screen) ─────────────────────── */
    .who-row {
      display: flex;
      gap: 12px;
      margin-bottom: 1.5rem;
    }
    .who-btn {
      flex: 1;
      padding: 18px 14px;
      border-radius: 14px;
      border: 1.5px solid #EDE6F8;
      background: #ffffff;
      font-family: 'Nunito', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      color: #3D2F4A;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s;
    }
    .who-btn:hover { border-color: #C9B8E8; background: #FEFCFA; }
    .who-btn.sel {
      border: 2px solid #6B4FA6;
      background: #EDE6F8;
      color: #534AB7;
    }
    .start-btn {
      width: 100%;
      padding: 13px;
      border-radius: 12px;
      border: none;
      background: #6B4FA6;
      font-family: 'Nunito', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      color: #ffffff;
      cursor: pointer;
      transition: background 0.15s;
    }
    .start-btn:hover { background: #7F77DD; }

    /* ── Question card ───────────────────────────────────── */
    .q-tag {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: #7A6585;
      margin: 0 0 1rem;
    }
    .q-tag-pill {
      background: #FDF0E8;
      color: #6B4FA6;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
    }
    .q-text {
      font-size: 1.05rem;
      font-weight: 700;
      color: #3D2F4A;
      line-height: 1.5;
      margin: 0 0 1.5rem;
    }
    .opts {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .opt {
      padding: 14px 16px;
      border-radius: 12px;
      border: 1.5px solid #EDE6F8;
      background: #ffffff;
      font-family: 'Nunito', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: #3D2F4A;
      cursor: pointer;
      text-align: left;
      line-height: 1.5;
      transition: border-color 0.15s, background 0.15s;
    }
    .opt:hover { border-color: #C9B8E8; background: #FEFCFA; }
    .opt.chosen {
      border: 2px solid #6B4FA6;
      background: #EDE6F8;
      color: #534AB7;
    }
    .opt:disabled { cursor: default; }
    .next-row { margin-top: 1.5rem; }
    .next-btn {
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      border: 1.5px solid #C9B8E8;
      background: #ffffff;
      font-family: 'Nunito', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: #6B4FA6;
      cursor: pointer;
      transition: background 0.15s;
    }
    .next-btn:hover { background: #EDE6F8; }
    .next-btn.primary {
      background: #6B4FA6;
      color: #ffffff;
      border-color: #6B4FA6;
    }
    .next-btn.primary:hover { background: #7F77DD; }
    .hint {
      font-size: 0.8rem;
      color: #C9B8E8;
      text-align: center;
      margin: 0.75rem 0 0;
      font-style: italic;
    }

    /* ── Result card ─────────────────────────────────────── */
    .result-card {
      background: #ffffff;
      border: 1.5px solid #EDE6F8;
      border-radius: 20px;
      padding: 2rem;
      margin-bottom: 1.5rem;
    }
    .result-hero {
      text-align: center;
      padding-bottom: 1.5rem;
      border-bottom: 1.5px solid #EDE6F8;
      margin-bottom: 1.5rem;
    }
    .result-icon {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
      font-size: 2.4rem;
    }
    .result-name {
      font-size: 1.6rem;
      font-weight: 800;
      color: #3D2F4A;
      margin: 0 0 0.4rem;
    }
    .result-sub { font-size: 0.95rem; color: #7A6585; margin: 0; }

    .story-box {
      background: #FDF0E8;
      border-radius: 14px;
      padding: 1.25rem 1.5rem;
      font-size: 0.95rem;
      line-height: 1.7;
      color: #3D2F4A;
      font-style: italic;
      margin-bottom: 1.5rem;
    }
    .story-box em { font-style: normal; font-weight: 800; color: #6B4FA6; }

    .grows-box { margin-bottom: 1.5rem; }
    .grows-title {
      font-size: 0.7rem;
      font-weight: 700;
      color: #6B4FA6;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin: 0 0 0.6rem;
    }
    .grows-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .grows-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9rem;
      color: #3D2F4A;
      line-height: 1.55;
    }
    .grows-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 8px;
    }
    .challenge-box {
      background: linear-gradient(135deg, #f0faf4 0%, #e8f5ed 100%);
      border: 1.5px solid #6CC48A;
      border-radius: 14px;
      padding: 1.25rem 1.5rem;
    }
    .challenge-label {
      font-size: 0.7rem;
      font-weight: 700;
      color: #3a7a52;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin: 0 0 0.5rem;
    }
    .challenge-text {
      font-size: 0.95rem;
      color: #2d5e3f;
      line-height: 1.6;
      margin: 0;
      font-weight: 600;
    }

    /* ── Parent card ─────────────────────────────────────── */
    .parent-label {
      font-size: 0.7rem;
      font-weight: 700;
      color: #6B4FA6;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin: 0 0 1.25rem;
    }
    .parent-item { margin-bottom: 1.25rem; }
    .parent-item:last-child { margin-bottom: 0; }
    .parent-item-title {
      font-size: 0.85rem;
      font-weight: 700;
      color: #7A6585;
      margin: 0 0 0.3rem;
    }
    .parent-item-body {
      font-size: 0.9rem;
      color: #3D2F4A;
      line-height: 1.6;
      margin: 0;
    }
    .parent-divider { height: 1.5px; background: #EDE6F8; margin: 1.25rem 0; }

    .restart-btn {
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      border: 1.5px solid #C9B8E8;
      background: #ffffff;
      font-family: 'Nunito', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: #6B4FA6;
      cursor: pointer;
      transition: background 0.15s;
    }
    .restart-btn:hover { background: #EDE6F8; }

    /* ── Footer note ──────────────────────────────────────── */
    .tool-note {
      text-align: center;
      padding: 0 1.25rem 3rem;
      font-size: 0.85rem;
      color: #7A6585;
    }
    .tool-note a { color: #6B4FA6; font-weight: 700; text-decoration: none; }
    .tool-note a:hover { text-decoration: underline; }

    @media (max-width: 500px) {
      .who-row { flex-direction: column; }
    }

    /* ── Save as PDF button ───────────────────────────────── */
    .save-btn {
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      border: none;
      background: #3D2F4A;
      font-family: 'Nunito', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: #ffffff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 0.75rem;
      transition: background 0.15s;
    }
    .save-btn:hover { background: #534AB7; }

    /* ── Print layout ─────────────────────────────────────── */
    @media print {
      nav, footer, .tool-hero, .tool-note,
      .restart-btn, .save-btn, .no-print { display: none !important; }
      body { background: white; }
      .tool-wrap { max-width: 100%; margin: 0; padding: 1.5cm 2cm; }
      .result-card { border: 1.5px solid #EDE6F8; box-shadow: none; page-break-inside: avoid; }
      .challenge-box, .story-box { page-break-inside: avoid; }
      .print-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #EDE6F8;
      }
      .print-header-logo {
        font-family: 'Nunito', sans-serif;
        font-size: 1rem;
        font-weight: 800;
        color: #6B4FA6;
      }
      .print-header-title {
        font-size: 0.75rem;
        color: #7A6585;
      }
    }
    .print-header { display: none; }
