/* =========================================================
   ROBSON DELFINO — PSICANÁLISE CLÍNICA
   Sistema visual: editorial / clássico
   ========================================================= */

:root {
    /* PAPEL E SUPERFÍCIES */
    --paper: #faf7f1;
    --paper-deep: #f2ece1;
    --surface: #ffffff;

    /* TINTAS */
    --ink: #123730;
    --ink-soft: #1d4a42;
    --body: #40514d;
    --muted: #6f807c;

    /* PRIMÁRIO E ACENTOS */
    --primary: #14524a;
    --primary-dark: #0d3b35;
    --gold: #a3813f;
    --gold-soft: #c9a86a;
    --clay: #9d5f43;

    /* LINHAS E SOMBRA */
    --line: #e3dccc;
    --line-strong: #d3c9b4;
    --shadow-sm: 0 1px 2px rgba(18, 55, 48, 0.05);
    --shadow-md: 0 14px 40px -18px rgba(18, 55, 48, 0.28);
    --shadow-lg: 0 30px 60px -30px rgba(18, 55, 48, 0.4);

    /* TIPOGRAFIA */
    --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius: 4px;
    --radius-lg: 10px;
    --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--body);
    line-height: 1.7;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-variation-settings: "SOFT" 0, "WONK" 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--gold-soft); color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: #fff; padding: 10px 18px; z-index: 9999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px -14px rgba(20, 82, 74, 0.9);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(20, 82, 74, 0.9); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(18, 55, 48, 0.04); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #8c6e33; transform: translateY(-2px); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-lg { padding: 17px 36px; font-size: 0.98rem; }
.btn-block { width: 100%; }

/* =========================================================
   CABEÇALHO / NAVEGAÇÃO
   ========================================================= */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(250, 247, 241, 0.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s, background 0.3s;
}
.site-header.is-stuck { box-shadow: 0 8px 30px -22px rgba(18, 55, 48, 0.6); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { text-decoration: none; display: block; padding: 4px 0; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.32rem; font-weight: 600; color: var(--ink);
    display: block; line-height: 1.1; letter-spacing: -0.02em;
}
.brand-role {
    display: block; font-size: 0.66rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold);
    margin-top: 3px;
}

.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-menu a {
    text-decoration: none; color: var(--body);
    font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em;
    position: relative; padding: 6px 0;
    transition: color 0.2s;
}
.nav-menu a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1.5px; background: var(--gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-menu a:hover, .nav-menu a.is-active { color: var(--ink); }
.nav-menu a:hover::after, .nav-menu a.is-active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }
.nav-mobile-cta { display: none; }

.nav-toggle {
    display: none;
    background: none; border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    width: 44px; height: 42px; cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
    display: block; width: 18px; height: 1.6px; background: var(--ink);
    transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* =========================================================
   TAGS E RÓTULOS DE SEÇÃO
   ========================================================= */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before {
    content: ""; width: 34px; height: 1px; background: var(--gold-soft);
}

.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--paper-deep); }
.section-alt + .section-alt { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after {
    content: ""; width: 34px; height: 1px; background: var(--gold-soft);
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.section-head p { font-size: 1.03rem; color: var(--muted); }

.rule { height: 1px; background: var(--line); border: 0; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    padding: 92px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 460px at 8% -8%, rgba(201, 168, 106, 0.18), transparent 62%),
        radial-gradient(760px 500px at 100% 12%, rgba(20, 82, 74, 0.1), transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--line);
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
}

.hero-kicker {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--gold); margin-bottom: 22px;
    display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
}
.hero-kicker span { display: inline-flex; align-items: center; gap: 8px; }
.hero-kicker span + span::before { content: "·"; color: var(--line-strong); }

.hero h1 {
    font-size: clamp(2.35rem, 5.2vw, 3.85rem);
    line-height: 1.06;
    margin-bottom: 26px;
    letter-spacing: -0.03em;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "WONK" 1;
}

.hero-lead {
    font-size: 1.08rem; color: var(--body);
    max-width: 560px; margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-assurance {
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    font-size: 0.82rem; color: var(--muted);
    padding-top: 26px; border-top: 1px solid var(--line);
    max-width: 560px;
}
.hero-assurance li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero-assurance li::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: var(--gold); flex-shrink: 0;
}

/* Cartão do profissional */
.profile-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 30px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
}
.profile-card::before {
    content: ""; position: absolute; top: 14px; left: 14px; right: 14px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.avatar-box {
    width: 168px; height: 168px; margin: 6px auto 22px;
    border-radius: 50%; overflow: hidden;
    border: 1px solid var(--line-strong);
    padding: 6px; background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.profile-img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
    border-radius: 50%;
}
.profile-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.profile-role {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--gold); font-weight: 600; margin-bottom: 22px;
}
.profile-meta {
    border-top: 1px solid var(--line); padding-top: 18px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.profile-meta div { text-align: center; }
.profile-meta div:only-child { grid-column: 1 / -1; }
.profile-meta strong {
    display: block; font-family: var(--font-display);
    font-size: 1.5rem; color: var(--primary); font-weight: 600; line-height: 1.1;
}
.profile-meta span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

/* =========================================================
   FAIXA DE CREDENCIAIS
   ========================================================= */
.cred-strip {
    background: var(--ink);
    color: #e9e2d4;
    padding: 22px 0;
    border-top: 1px solid var(--gold-soft);
}
.cred-strip ul {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 14px 44px; list-style: none;
}
.cred-strip li {
    display: flex; align-items: baseline; gap: 9px;
    font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.cred-strip strong {
    font-family: var(--font-display); font-size: 1.02rem;
    color: var(--gold-soft); letter-spacing: 0.02em; text-transform: none;
    font-weight: 600;
}

/* =========================================================
   NÚMEROS / ESTATÍSTICAS
   ========================================================= */
.stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 56px;
}
.stat { background: var(--surface); padding: 34px 24px; text-align: center; }
.stat strong {
    display: block; font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--primary);
    font-weight: 600; line-height: 1; margin-bottom: 10px;
}
.stat span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.03em; }

/* =========================================================
   SOBRE
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-prose p { margin-bottom: 20px; font-size: 1.02rem; }
.about-prose p:last-child { margin-bottom: 0; }
.about-prose strong { color: var(--ink); font-weight: 600; }

.about-quote {
    border-left: 2px solid var(--gold);
    padding: 4px 0 4px 22px;
    font-family: var(--font-display);
    font-size: 1.22rem; font-style: italic; line-height: 1.5;
    color: var(--ink-soft);
    margin: 30px 0;
}

.note-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px 26px;
    font-size: 0.92rem;
    color: var(--body);
}
.note-box strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* =========================================================
   TRÍADE
   ========================================================= */
.triad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.triad-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.triad-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.triad-card::before {
    content: attr(data-index);
    position: absolute; top: 26px; right: 30px;
    font-family: var(--font-display); font-size: 2.6rem;
    color: var(--line-strong); line-height: 1;
}
.card-tag {
    display: inline-block; font-size: 0.66rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--gold); margin-bottom: 18px;
}
.triad-card h3 { font-size: 1.32rem; margin-bottom: 12px; padding-right: 46px; }
.triad-card p { font-size: 0.93rem; color: var(--muted); }

/* =========================================================
   ESPECIALIDADES
   ========================================================= */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.spec-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 34px;
    display: flex; flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.spec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.spec-card h3 { font-size: 1.36rem; }
.specialty-pill {
    flex-shrink: 0;
    font-size: 0.63rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--paper-deep); color: var(--gold);
    border: 1px solid var(--line);
    padding: 5px 11px; border-radius: 40px;
}
.card-desc { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; }
.specialty-list { list-style: none; margin-bottom: 22px; }
.specialty-list li {
    position: relative; padding-left: 22px; margin-bottom: 12px;
    font-size: 0.92rem; color: var(--body);
}
.specialty-list li::before {
    content: ""; position: absolute; left: 0; top: 10px;
    width: 8px; height: 1px; background: var(--gold);
}
.specialty-list strong { color: var(--ink); font-weight: 600; }
.spec-credential {
    margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-strong);
    font-size: 0.76rem; color: var(--muted); letter-spacing: 0.03em;
}
.spec-credential b { color: var(--primary); font-weight: 600; }

/* =========================================================
   FORMAÇÃO E CERTIFICAÇÕES
   ========================================================= */
.edu-block + .edu-block { margin-top: 44px; }
.edu-block h3 {
    font-size: 1.05rem; font-family: var(--font-body); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold);
    margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.edu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.edu-item {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px 22px;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 18px;
    transition: border-color 0.25s;
}
.edu-item:hover { border-color: var(--gold-soft); }
.edu-item h4 { font-family: var(--font-body); font-size: 0.97rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.edu-item p { font-size: 0.83rem; color: var(--muted); }
.edu-hours {
    flex-shrink: 0; font-family: var(--font-display);
    font-size: 1.02rem; color: var(--primary); font-weight: 600; white-space: nowrap;
}
.module-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.module-chips li {
    list-style: none; font-size: 0.84rem;
    background: var(--surface); border: 1px solid var(--line);
    padding: 8px 15px; border-radius: 40px; color: var(--body);
}
.edu-item.full { grid-column: 1 / -1; }
.edu-hours.edu-progress {
    font-size: 0.72rem; font-family: var(--font-body); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold);
    border: 1px dashed rgba(163, 129, 63, 0.55); border-radius: 40px;
    padding: 5px 12px; background: rgba(163, 129, 63, 0.06);
}

/* =========================================================
   QUIZ
   ========================================================= */
.quiz-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 52px 54px;
    max-width: 840px; margin: 0 auto;
    box-shadow: var(--shadow-md);
    position: relative; overflow: hidden;
}
.quiz-shell::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold-soft), var(--clay));
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeUp 0.45s ease both; }
.quiz-step.text-center { text-align: center; }
.quiz-step h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 16px; }
.quiz-desc { color: var(--muted); max-width: 620px; margin: 0 auto 30px; font-size: 0.98rem; }

.quiz-progress-bar { background: var(--paper-deep); height: 5px; border-radius: 3px; margin-bottom: 22px; overflow: hidden; }
.quiz-progress-fill { background: linear-gradient(90deg, var(--primary), var(--gold)); height: 100%; width: 0%; border-radius: 3px; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.quiz-step-count { font-size: 0.72rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; }
.quiz-question-title { font-size: 1.4rem; margin: 14px 0 26px; line-height: 1.35; }
.quiz-options { display: flex; flex-direction: column; gap: 13px; }
.quiz-opt-btn {
    background: var(--paper); border: 1px solid var(--line);
    color: var(--ink); padding: 18px 22px; border-radius: var(--radius);
    text-align: left; cursor: pointer; font-size: 0.97rem;
    font-family: var(--font-body); line-height: 1.5;
    transition: all 0.22s;
}
.quiz-opt-btn:hover {
    border-color: var(--primary); background: var(--surface);
    transform: translateX(5px); box-shadow: var(--shadow-sm);
}

.form-desc { color: var(--muted); margin-bottom: 22px; font-size: 0.95rem; }
.lead-form-grid { display: flex; flex-direction: column; gap: 13px; max-width: 430px; margin: 0 auto; text-align: left; }
.lead-form-grid input[type="text"],
.lead-form-grid input[type="tel"],
.lead-form-grid input[type="email"] {
    padding: 15px 17px; border-radius: var(--radius);
    border: 1px solid var(--line-strong); background: var(--paper);
    font-size: 0.95rem; font-family: var(--font-body); color: var(--ink);
    outline: none; transition: border-color 0.2s, background 0.2s;
}
.lead-form-grid input:focus { border-color: var(--primary); background: var(--surface); }
.lead-form-grid input::placeholder { color: var(--muted); }
.lgpd-label { font-size: 0.78rem; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; cursor: pointer; }
.lgpd-label input { margin-top: 4px; accent-color: var(--primary); }

.laudo-badge-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.laudo-badge {
    background: var(--ink); color: var(--gold-soft);
    padding: 7px 16px; border-radius: var(--radius);
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em;
}
.laudo-status { font-size: 0.74rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
#res-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.laudo-desc { color: var(--body); margin-bottom: 28px; font-size: 1rem; }
.laudo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.laudo-card-col {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px;
}
.laudo-card-col h4 {
    font-family: var(--font-body); font-size: 0.74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold);
    margin-bottom: 14px;
}
.laudo-card-col ul { list-style: none; font-size: 0.9rem; color: var(--body); }
.laudo-card-col li { margin-bottom: 9px; padding-left: 16px; position: relative; }
.laudo-card-col li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 1px; background: var(--gold); }
.laudo-cta { background: var(--ink); padding: 32px; border-radius: var(--radius-lg); text-align: center; }
.laudo-cta h3 { color: var(--gold-soft); font-size: 1.2rem; margin-bottom: 10px; }
.laudo-cta p { color: #cfd8d5; font-size: 0.93rem; margin-bottom: 22px; }
.email-status {
    border-radius: var(--radius); padding: 13px 18px;
    font-size: 0.9rem; line-height: 1.5; margin-bottom: 22px;
    border: 1px solid transparent;
}
.email-status.is-loading { background: rgba(163, 129, 63, 0.1); border-color: var(--gold-soft); color: #7a6129; }
.email-status.is-ok { background: rgba(18, 55, 48, 0.07); border-color: rgba(18, 55, 48, 0.25); color: var(--primary); }
.email-status.is-error { background: rgba(166, 60, 44, 0.08); border-color: rgba(166, 60, 44, 0.3); color: #8e3124; }

/* =========================================================
   ATENDIMENTO
   ========================================================= */
.modality-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.modality-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 38px 34px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.modality-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.atendimento-tag {
    display: inline-block; font-size: 0.66rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold);
    border: 1px solid var(--gold-soft); border-radius: 40px;
    padding: 5px 13px; margin-bottom: 18px;
}
.modality-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.modality-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.modality-card ul { list-style: none; }
.modality-card li {
    font-size: 0.9rem; color: var(--body); padding: 9px 0;
    border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center;
}
.modality-card li::before { content: "—"; color: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line-strong); }
.step::before {
    content: ""; position: absolute; top: -2px; left: 0; width: 42px; height: 2px; background: var(--gold);
}
.step span {
    font-family: var(--font-display); font-size: 0.82rem; color: var(--gold);
    letter-spacing: 0.1em; display: block; margin-bottom: 10px;
}
.step h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.step p { font-size: 0.87rem; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
    transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--gold-soft); }
.faq-item summary {
    cursor: pointer; list-style: none;
    padding: 22px 26px; font-size: 1rem; font-weight: 600; color: var(--ink);
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    font-family: var(--font-body);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-family: var(--font-display); font-size: 1.5rem;
    color: var(--gold); line-height: 1; transition: transform 0.3s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   CHAMADA FINAL / CONTATO
   ========================================================= */
.cta-band {
    background: var(--ink);
    color: #e9e2d4;
    border-radius: var(--radius-lg);
    padding: 62px 56px;
    display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: center;
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 90% 10%, rgba(201, 168, 106, 0.16), transparent 65%);
    pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-band .eyebrow::before { background: var(--gold-soft); }
.cta-band h2 { color: #fbf8f1; font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.cta-band p { color: #b9c4c1; font-size: 1rem; max-width: 540px; }
.cta-side { display: flex; flex-direction: column; gap: 14px; }
.cta-side .btn-ghost { border-color: rgba(233, 226, 212, 0.35); color: #e9e2d4; }
.cta-side .btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--gold-soft); color: #fff; }
.cta-note { font-size: 0.78rem; color: var(--muted); text-align: center; }
.cta-band .cta-note { color: #8b9997; }

.contact-lines { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 30px; font-size: 0.9rem; }
.contact-lines a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(201, 168, 106, 0.4); padding-bottom: 2px; }
.contact-lines a:hover { border-color: var(--gold-soft); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer {
    background: #0c2b26; color: #93a3a0;
    padding: 64px 0 34px;
    font-size: 0.87rem;
    border-top: 3px solid var(--gold);
}
.footer-seals {
    margin: 0 0 44px; padding-bottom: 40px;
    border-bottom: 1px solid rgba(233, 226, 212, 0.12);
}
.footer-seals img {
    display: block; width: 100%; max-width: 760px; height: auto;
    margin: 0 auto; border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 168, 106, 0.35);
    box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.9);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(233, 226, 212, 0.12); }
.footer-brand .brand-name { color: #fbf8f1; font-size: 1.5rem; }
.footer-brand .brand-role { color: var(--gold-soft); }
.footer-brand p { margin-top: 16px; max-width: 340px; line-height: 1.75; }
.footer-col h4 {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-soft);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #93a3a0; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-soft); }
.legal-box {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(233, 226, 212, 0.1);
    border-radius: var(--radius);
    padding: 22px 26px; margin-top: 36px;
    font-size: 0.8rem; line-height: 1.75; color: #7f8f8c;
}
.legal-box strong { color: #b9c4c1; }
.copyright {
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid rgba(233, 226, 212, 0.1);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    font-size: 0.78rem; color: #6b7a78;
}

/* =========================================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ========================================================= */
#float-bar {
    position: fixed;
    left: 0; right: 0; bottom: 26px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 0 26px;
    pointer-events: none;
}
#float-bar > a {
    pointer-events: auto;
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--primary); color: #fff;
    padding: 15px 24px; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    letter-spacing: 0.02em; white-space: nowrap;
    box-shadow: 0 14px 34px -14px rgba(13, 59, 53, 0.85);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
#float-bar > a::after {
    content: ""; position: absolute; inset: 0; border-radius: 50px;
    border: 1px solid var(--gold-soft); opacity: 0;
    animation: pulseRing 2.8s ease-out infinite;
}
#float-bar > a > svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
#float-bar > a:hover, #float-bar > a:focus {
    background: var(--primary-dark); color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -14px rgba(13, 59, 53, 0.9);
}
#float-bar > a:hover::after { animation: none; opacity: 0; }
#float-bar > #quiz-float { background: var(--gold); }
#float-bar > #quiz-float::after { animation: none; opacity: 0; }
#float-bar > #quiz-float:hover, #float-bar > #quiz-float:focus { background: #8c6e33; box-shadow: 0 20px 40px -14px rgba(140, 110, 51, 0.9); }

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { opacity: 0; }
}

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-media { max-width: 420px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .stat:last-child { grid-column: 1 / -1; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .cta-band { grid-template-columns: 1fr; padding: 48px 36px; }
    .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    .nav-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        padding: 8px 28px 20px;
        display: none;
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu li { border-bottom: 1px solid var(--line); }
    .nav-menu li:last-child { border-bottom: 0; }
    .nav-menu a { display: block; padding: 15px 0; font-size: 0.95rem; }
    .nav-menu a::after { display: none; }
    .nav-menu .nav-mobile-cta { display: block; border-bottom: 0; }
    .nav-menu .btn { display: inline-flex; padding: 15px 22px; margin-top: 16px; width: 100%; justify-content: center; }
    .site-header { position: sticky; }
    .nav { position: relative; }
}

@media (max-width: 720px) {
    body { font-size: 16px; padding-bottom: 74px; }
    .section { padding: 72px 0; }
    .container { padding: 0 20px; }
    .hero { padding: 60px 0 56px; }
    .hero-actions .btn { width: 100%; }
    .triad-grid, .modality-grid, .edu-list, .laudo-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .quiz-shell { padding: 34px 22px; }
    .laudo-cta { padding: 28px 22px; }
    .laudo-cta .btn { width: 100%; max-width: 100%; white-space: normal; padding: 16px 20px; text-align: center; }
    .cta-band { padding: 40px 24px; }
    .profile-meta { grid-template-columns: 1fr 1fr; }
    #float-bar {
        bottom: 0;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        gap: 8px;
        background: rgba(250, 247, 241, 0.94);
        backdrop-filter: saturate(160%) blur(12px);
        -webkit-backdrop-filter: saturate(160%) blur(12px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 30px -22px rgba(18, 55, 48, 0.7);
    }
    #float-bar > a { flex: 1; justify-content: center; padding: 14px 12px; font-size: 0.88rem; }
    #float-bar > a::after { border-radius: 16px; }
    .cred-strip ul { gap: 12px 24px; justify-content: flex-start; }
    .edu-item { flex-direction: column; gap: 8px; }
}

@media (max-width: 420px) {
    .stats-grid { grid-template-columns: 1fr; }
    #float-bar > a span { font-size: 0.8rem; }
    #float-bar > a svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1 !important; transform: none !important; }
}
