/*
Theme Name: Etapa Educa
Theme URI: https://etapaeduca.com.br
Author: Etapa Ensino Profissionalizante
Description: Tema institucional premium da Etapa Educa, com reforço online exclusivo, disciplinas, segmentos, diagnóstico interativo e integração com WhatsApp.
Version: 2.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: etapa-educa
*/

:root {
    --navy: #061b3f;
    --navy-deep: #020e25;
    --navy-soft: #0b2f65;
    --blue: #0868c9;
    --blue-light: #39a6ee;
    --gold: #f8b900;
    --gold-deep: #d99700;
    --cream: #f7f5ef;
    --paper: #fffefa;
    --ink: #07172f;
    --muted: #5a6679;
    --green: #17a866;
    --line: rgba(6, 27, 63, .13);
    --radius: 22px;
    --shadow: 0 24px 70px rgba(3, 19, 48, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    width: auto; height: auto;
    clip: auto; margin: 8px;
    padding: 12px 18px;
    background: #fff;
    z-index: 1000;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
    font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
    letter-spacing: -.055em;
}
h2 { font-size: clamp(46px, 5.2vw, 82px); line-height: .96; margin-bottom: 0; }
h1 em, h2 em, blockquote em {
    color: var(--blue);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 88px;
    padding: 0 max(24px, 5vw);
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 34px;
    border-bottom: 1px solid transparent;
    transition: background .25s, box-shadow .25s, height .25s, border-color .25s;
}
.site-header.is-scrolled {
    height: 76px;
    background: rgba(247, 245, 239, .93);
    backdrop-filter: blur(18px);
    border-color: var(--line);
    box-shadow: 0 10px 35px rgba(3, 19, 48, .06);
}
.brand { display: inline-flex; align-items: center; width: 190px; }
.brand img, .brand .custom-logo { width: 190px; max-height: 68px; object-fit: contain; object-position: left center; }
.custom-logo-link { display: block; }
.main-nav { justify-self: center; }
.main-menu { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); list-style: none; margin: 0; padding: 0; }
.main-menu a {
    position: relative;
    padding: 12px 0;
    color: #24334b;
    font-size: 13px;
    font-weight: 750;
}
.main-menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 4px;
    height: 2px;
    background: var(--gold);
    transition: right .25s;
}
.main-menu a:hover::after, .main-menu a:focus-visible::after { right: 0; }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(6, 27, 63, .18);
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #43dc8f;
    box-shadow: 0 0 0 6px rgba(67, 220, 143, .15);
}
.menu-toggle { display: none; }

.hero {
    min-height: 820px;
    padding: 145px max(24px, 6vw) 75px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, .88fr);
    align-items: center;
    gap: 5vw;
    position: relative;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.9%, rgba(6, 27, 63, .055) 50%, transparent 50.1%),
        linear-gradient(rgba(6, 27, 63, .035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 64px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 90%);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero-glow-one { width: 600px; height: 600px; top: -280px; left: -270px; background: radial-gradient(circle, rgba(248,185,0,.22), transparent 68%); }
.hero-glow-two { width: 630px; height: 630px; right: -320px; bottom: -330px; background: radial-gradient(circle, rgba(8,104,201,.14), transparent 68%); }
.eyebrow, .section-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.eyebrow > span { width: 30px; height: 3px; background: var(--gold); }
.hero h1 {
    max-width: 830px;
    margin: 0 0 28px;
    font-size: clamp(54px, 6.1vw, 96px);
    line-height: .93;
}
.hero h1::first-line { color: var(--navy); }
.hero-lead {
    max-width: 690px;
    margin-bottom: 34px;
    color: #435169;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.65;
}
.hero-actions, .final-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button {
    min-height: 58px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    transition: transform .22s, box-shadow .22s, background .22s;
}
.button:hover { transform: translateY(-3px); }
.button-primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 14px 35px rgba(217, 151, 0, .23);
}
.button-primary:hover { background: #ffc929; box-shadow: 0 18px 38px rgba(217, 151, 0, .31); }
.button-secondary { border: 1px solid rgba(6,27,63,.22); background: rgba(255,255,255,.35); }
.trust-row {
    display: flex;
    gap: 0;
    margin-top: 39px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}
.trust-row > span {
    min-width: 150px;
    padding: 0 22px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #647086;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.trust-row > span:first-child { padding-left: 0; }
.trust-row > span:last-child { border-right: 0; }
.trust-row b { color: var(--blue); font-size: 23px; letter-spacing: -.04em; }

.hero-stage { position: relative; min-height: 580px; display: grid; place-items: center; }
.hero-stage::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffc928, #e9a600);
    box-shadow: inset -40px -50px 80px rgba(142, 86, 0, .15), 0 40px 100px rgba(248,185,0,.20);
}
.stage-orbit {
    position: absolute;
    width: 530px; height: 530px;
    border: 1px solid rgba(6,27,63,.16);
    border-radius: 50%;
}
.stage-orbit::before, .stage-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(6,27,63,.13);
}
.stage-orbit::before { inset: 10%; }
.stage-orbit::after { inset: 22%; }
.stage-logo {
    position: relative;
    z-index: 3;
    width: 340px;
    height: 300px;
    border-radius: 36px;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 35px 80px rgba(6,27,63,.24);
    transform: rotate(-3deg);
}
.stage-logo img { width: 100%; }
.stage-card {
    position: absolute;
    z-index: 5;
    min-width: 215px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 13px;
    background: rgba(255,255,255,.91);
    backdrop-filter: blur(15px);
    box-shadow: 0 18px 45px rgba(6,27,63,.17);
    animation: float 5s ease-in-out infinite;
}
.stage-card .mini-icon {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--navy);
    color: var(--gold);
    font-size: 16px;
    font-weight: 900;
}
.stage-card div { display: flex; flex-direction: column; gap: 3px; }
.stage-card small { color: #718096; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.stage-card strong { font-size: 12px; }
.stage-card-top { right: -1%; top: 10%; }
.stage-card-left { left: -5%; top: 43%; animation-delay: -1.5s; }
.stage-card-bottom { right: 1%; bottom: 8%; animation-delay: -3s; }
.live-badge { margin-left: auto; padding: 5px 6px; color: #fff; background: #e24848; border-radius: 4px; font-size: 7px; letter-spacing: .1em; }
.subject-pill {
    position: absolute;
    z-index: 4;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: var(--blue);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
    box-shadow: 0 8px 22px rgba(8,104,201,.25);
}
.pill-one { top: 21%; left: 2%; transform: rotate(-9deg); }
.pill-two { right: 5%; top: 48%; transform: rotate(6deg); }
.pill-three { bottom: 19%; left: 8%; transform: rotate(-5deg); }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -11px; } }

.ticker {
    position: relative;
    z-index: 3;
    margin: -8px -20px 0;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    background: var(--navy);
    color: #fff;
    transform: rotate(-.8deg);
    box-shadow: 0 15px 35px rgba(6,27,63,.14);
}
.ticker div {
    width: max-content;
    font-size: clamp(19px, 2.3vw, 33px);
    font-weight: 900;
    letter-spacing: .08em;
    animation: ticker 26s linear infinite;
}
.ticker i { margin: 0 27px; color: var(--gold); font-style: normal; }
@keyframes ticker { to { transform: translateX(-33.333%); } }

.section { padding: 125px max(24px, 6vw); }
.section-kicker { color: var(--blue); }
.section-kicker span { font-size: 9px; color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: 7px 9px; }
.reinforcement-heading {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
    gap: 8vw;
    margin-bottom: 64px;
}
.reinforcement-heading > div { max-width: 520px; }
.reinforcement-heading p, .section-heading > p, .dark-heading > p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}
.text-link {
    display: inline-flex;
    gap: 24px;
    margin-top: 12px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature-card {
    min-height: 380px;
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.5);
    transition: transform .3s, background .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-8px); background: #fff; box-shadow: var(--shadow); }
.feature-highlight { background: var(--navy); color: #fff; }
.feature-highlight:hover { background: var(--navy-soft); }
.feature-number { position: absolute; top: 25px; right: 25px; color: #9099a8; font-size: 9px; font-weight: 900; }
.feature-symbol {
    width: 76px; height: 76px;
    margin: 22px 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7edf5;
    color: var(--navy);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 9px 9px 0 rgba(6,27,63,.07);
}
.feature-highlight .feature-symbol { background: var(--gold); box-shadow: 9px 9px 0 rgba(255,255,255,.1); }
.feature-card h3 { margin: 40px 0 13px; font-size: 21px; line-height: 1.15; }
.feature-card p { margin-bottom: 0; color: #687489; font-size: 13px; line-height: 1.65; }
.feature-highlight p { color: #bdc9dc; }

.subjects-section { background: var(--navy); color: #fff; }
.section-heading {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    align-items: end;
    gap: 8vw;
    margin-bottom: 65px;
}
.section-heading > p { margin-bottom: 5px; color: #aebbd0; }
.light-kicker { color: var(--gold); }
.light-kicker span { color: #fff; border-color: rgba(255,255,255,.18); }
.subjects-section h2 em, .method-section h2 em { color: var(--gold); }
.subjects-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.subject-card {
    min-height: 150px;
    padding: 25px;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 17px;
    border-right: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
    transition: background .25s;
}
.subject-card:hover { background: rgba(255,255,255,.075); }
.subject-icon {
    width: 54px; height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--navy);
    background: var(--gold);
    font-size: 14px;
    font-weight: 950;
}
.subject-copy { display: flex; flex-direction: column; gap: 8px; }
.subject-copy strong { font-size: 16px; }
.subject-copy small { color: #9eadc4; font-size: 11px; line-height: 1.45; }
.subject-arrow { color: var(--gold); opacity: .75; }

.segments-section { position: relative; background: var(--paper); }
.dark-heading > p { color: var(--muted); }
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.segment-card {
    min-height: 520px;
    padding: 31px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: 0 15px 40px rgba(6,27,63,.04);
    transition: transform .3s, box-shadow .3s;
}
.segment-card:nth-child(2) { transform: translateY(-22px); background: var(--navy); color: #fff; }
.segment-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.segment-card:nth-child(2):hover { transform: translateY(-30px); }
.segment-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 65px; }
.segment-top span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 900; }
.segment-top small { color: #7f8a9c; font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.segment-card h3 { margin: 0 0 17px; font-size: 28px; }
.segment-card > p { color: #667287; font-size: 14px; line-height: 1.7; }
.segment-card:nth-child(2) > p { color: #b7c3d6; }
.segment-card ul { display: grid; gap: 12px; list-style: none; margin: 18px 0 30px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.segment-card:nth-child(2) ul { border-color: rgba(255,255,255,.15); }
.segment-card li { display: flex; gap: 10px; font-size: 12px; font-weight: 700; }
.segment-card li span { color: var(--blue); font-weight: 900; }
.segment-card:nth-child(2) li span { color: var(--gold); }
.segment-card > a { margin-top: auto; display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.segment-card:nth-child(2) > a { border-color: rgba(255,255,255,.15); color: var(--gold); }

.method-section {
    min-height: 820px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 7vw;
    background: linear-gradient(145deg, var(--navy), var(--navy-deep));
    color: #fff;
}
.method-visual { min-height: 600px; display: grid; place-items: center; }
.method-rings {
    width: min(560px, 44vw);
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: inset 0 0 90px rgba(8,104,201,.08);
}
.method-rings::before, .method-rings::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.13);
}
.method-rings::before { inset: 14%; }
.method-rings::after { inset: 29%; border-color: rgba(248,185,0,.4); }
.method-core {
    width: 31%;
    aspect-ratio: 1;
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 0 90px rgba(248,185,0,.25);
}
.method-core strong { font-size: 76px; font-style: italic; line-height: .8; }
.method-core span { margin-top: 8px; text-align: center; font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ring-label {
    position: absolute;
    z-index: 3;
    padding: 12px 15px;
    background: #fff;
    color: var(--navy);
    border-radius: 7px;
    box-shadow: 7px 7px 0 var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}
.ring-label b { margin-right: 7px; color: var(--blue); }
.ring-label-one { top: 6%; left: 6%; }
.ring-label-two { top: 20%; right: -3%; }
.ring-label-three { bottom: 19%; left: -3%; }
.ring-label-four { bottom: 4%; right: 10%; }
.method-copy > p { max-width: 570px; margin: 28px 0 35px; color: #afbdd2; font-size: 17px; line-height: 1.7; }
.method-steps { list-style: none; margin: 0; padding: 0; }
.method-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.13); }
.method-steps li > b { color: var(--gold); font-size: 11px; }
.method-steps li > span { display: flex; flex-direction: column; gap: 5px; }
.method-steps strong { font-size: 14px; }
.method-steps small { color: #8fa0ba; font-size: 11px; line-height: 1.45; }

.diagnosis-section { background: #e9edf2; }
.diagnosis-card {
    max-width: 1320px;
    margin: auto;
    min-height: 590px;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    overflow: hidden;
    border-radius: 30px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.diagnosis-intro { padding: 62px 55px; background: var(--gold); }
.diagnosis-intro .section-kicker { color: var(--navy); }
.diagnosis-intro h2 { font-size: clamp(42px, 4.2vw, 67px); }
.diagnosis-intro h2 em { color: var(--navy); }
.diagnosis-intro > p { margin: 25px 0 45px; font-size: 15px; line-height: 1.7; }
.diagnosis-progress { height: 5px; margin-bottom: 12px; background: rgba(6,27,63,.15); border-radius: 99px; overflow: hidden; }
.diagnosis-progress span { display: block; width: 33.333%; height: 100%; background: var(--navy); transition: width .35s; }
.diagnosis-intro > small { font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.diagnosis-flow { padding: 62px; display: grid; align-content: center; }
.diagnosis-step { display: none; }
.diagnosis-step.is-active { display: grid; gap: 12px; animation: enter .3s ease both; }
.diagnosis-step h3 { margin: 0 0 18px; font-size: clamp(27px, 2.4vw, 37px); letter-spacing: -.03em; }
.diagnosis-step button {
    width: 100%;
    min-height: 76px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    text-align: left;
    transition: border .2s, transform .2s, background .2s;
}
.diagnosis-step button:hover, .diagnosis-step button:focus-visible { transform: translateX(5px); border-color: var(--blue); background: #f5f9ff; }
.diagnosis-step button span { color: #7a8799; font-size: 11px; font-weight: 500; }
.diagnosis-result { display: none; text-align: center; animation: enter .35s ease both; }
.diagnosis-result.is-active { display: grid; justify-items: center; }
.result-icon { width: 62px; height: 62px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 25px; }
.diagnosis-result small { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.diagnosis-result h3 { max-width: 520px; margin: 14px 0; font-size: clamp(28px, 3vw, 45px); line-height: 1.05; letter-spacing: -.04em; }
.diagnosis-result p { max-width: 590px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.restart-button { margin-top: 17px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: #6f7b8d; cursor: pointer; font-size: 11px; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.testimonial-section { min-height: 590px; position: relative; display: grid; place-items: center; align-content: center; text-align: center; overflow: hidden; }
.testimonial-section::before { content: "ETAPA"; position: absolute; color: rgba(6,27,63,.035); font-size: 24vw; font-weight: 950; letter-spacing: -.08em; }
.quote-mark { position: relative; z-index: 1; color: var(--gold); font: 110px/0.6 Georgia, serif; }
.testimonial-section blockquote { position: relative; z-index: 1; max-width: 1050px; margin: 35px auto 25px; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 58px); line-height: 1.16; letter-spacing: -.035em; }
.testimonial-section p { position: relative; z-index: 1; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; background: var(--paper); }
.faq-heading h2 { font-size: clamp(42px, 4.6vw, 72px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
    width: 100%;
    min-height: 92px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}
.faq-item button > span { color: var(--blue); font-size: 9px; font-weight: 900; }
.faq-item button strong { font-size: 16px; }
.faq-item button i { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: transform .25s, background .25s; }
.faq-item.is-open button i { transform: rotate(45deg); background: var(--gold); }
.faq-answer p { margin: -7px 48px 25px 54px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.final-cta {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr .55fr;
    align-items: center;
    gap: 7vw;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(8,104,201,.55), transparent 30%),
        linear-gradient(145deg, var(--navy), var(--navy-deep));
}
.final-cta h2 { max-width: 900px; }
.final-cta h2 em { color: var(--gold); }
.final-cta-copy > p { max-width: 680px; margin: 27px 0 35px; color: #b4c1d5; font-size: 17px; line-height: 1.7; }
.email-link { display: flex; flex-direction: column; gap: 4px; padding: 6px 8px; }
.email-link small { color: #8fa0b9; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.email-link strong { font-size: 13px; }
.final-cta-seal {
    width: min(350px, 28vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    align-content: center;
    justify-self: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    box-shadow: inset 0 0 70px rgba(8,104,201,.17), 0 0 0 30px rgba(255,255,255,.025);
    transform: rotate(5deg);
}
.final-cta-seal strong { color: var(--gold); font-size: 110px; line-height: .9; font-style: italic; }
.final-cta-seal span { font-size: 8px; font-weight: 900; letter-spacing: .2em; }

.site-footer { padding: 55px max(24px, 6vw) 25px; background: #010a1a; color: #fff; }
.footer-main { display: grid; grid-template-columns: 230px 1fr 1fr; align-items: center; gap: 35px; padding-bottom: 40px; }
.footer-brand { width: 210px; height: 100px; padding: 12px; display: grid; place-items: center; border-radius: 12px; background: #fff; overflow: hidden; }
.footer-brand img { width: 100%; }
.footer-main > p { margin: 0; color: var(--gold); font-family: Georgia, serif; font-size: 19px; font-style: italic; text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 25px; color: #a0aec2; font-size: 11px; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: #65738a; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.whatsapp-float {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 90;
    padding: 11px 17px 11px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    box-shadow: 0 14px 35px rgba(0,100,52,.28);
    font-size: 11px;
    font-weight: 850;
}
.whatsapp-float span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--green); font-weight: 900; }

.content-page { min-height: 65vh; padding: 150px max(24px, 6vw) 90px; }
.content-page h1 { font-size: clamp(44px, 6vw, 82px); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
    .site-header { grid-template-columns: 190px 1fr auto; gap: 20px; }
    .main-menu { gap: 17px; }
    .hero { grid-template-columns: 1fr; padding-top: 140px; }
    .hero-copy { max-width: 850px; }
    .hero-stage { width: min(700px, 100%); justify-self: center; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .subjects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
    .site-header { height: 76px; grid-template-columns: 1fr auto auto; padding: 0 22px; background: rgba(247,245,239,.95); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
    .brand, .brand img, .brand .custom-logo { width: 155px; }
    .menu-toggle {
        width: 43px; height: 43px;
        padding: 10px;
        display: grid;
        align-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 9px;
        background: transparent;
        cursor: pointer;
    }
    .menu-toggle > span:not(.screen-reader-text) { height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav {
        position: fixed;
        top: 76px; left: 0; right: 0;
        max-height: 0;
        overflow: hidden;
        background: var(--paper);
        box-shadow: 0 20px 40px rgba(6,27,63,.14);
        transition: max-height .3s;
    }
    .main-nav.is-open { max-height: 500px; }
    .main-menu { padding: 20px 25px 28px; display: grid; gap: 0; }
    .main-menu a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
    .reinforcement-heading, .section-heading, .method-section, .faq-section { grid-template-columns: 1fr; }
    .segments-grid { grid-template-columns: 1fr; }
    .segment-card { min-height: auto; }
    .segment-card:nth-child(2) { transform: none; }
    .segment-card:nth-child(2):hover { transform: translateY(-8px); }
    .method-rings { width: min(580px, 80vw); }
    .diagnosis-card { grid-template-columns: 1fr; }
    .diagnosis-intro { padding-bottom: 45px; }
    .final-cta { grid-template-columns: 1fr; }
    .final-cta-seal { width: min(340px, 70vw); margin-top: 30px; }
    .footer-main { grid-template-columns: 1fr; justify-items: center; }
    .footer-links { justify-self: center; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
    html { scroll-padding-top: 76px; }
    .header-cta { width: 43px; min-height: 43px; padding: 0; justify-content: center; font-size: 0; }
    .header-cta .pulse-dot { width: 10px; height: 10px; }
    .hero { min-height: auto; padding: 115px 20px 65px; }
    .hero h1 { font-size: clamp(45px, 14vw, 64px); }
    .hero-actions .button { width: 100%; }
    .trust-row { display: grid; grid-template-columns: repeat(3, 1fr); }
    .trust-row > span { min-width: 0; padding: 0 8px; font-size: 8px; }
    .trust-row b { font-size: 18px; }
    .hero-stage { min-height: 430px; margin-top: 20px; transform: scale(.82); width: 122%; margin-left: -11%; }
    .hero-stage::before { width: 330px; height: 330px; }
    .stage-orbit { width: 410px; height: 410px; }
    .stage-logo { width: 260px; height: 225px; padding: 20px; }
    .stage-card { min-width: 175px; padding: 10px; }
    .stage-card-top { right: -3%; }
    .stage-card-left { left: -4%; }
    .section { padding: 90px 20px; }
    h2 { font-size: 44px; }
    .reinforcement-heading { gap: 30px; margin-bottom: 45px; }
    .feature-grid, .subjects-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 320px; }
    .subject-card { min-height: 130px; }
    .section-heading { gap: 27px; margin-bottom: 44px; }
    .method-section { padding-top: 65px; }
    .method-visual { min-height: 430px; }
    .method-rings { width: 95vw; transform: scale(.88); }
    .ring-label { font-size: 8px; }
    .diagnosis-section { padding-left: 12px; padding-right: 12px; }
    .diagnosis-card { border-radius: 20px; }
    .diagnosis-intro, .diagnosis-flow { padding: 38px 27px; }
    .testimonial-section blockquote { font-size: 31px; }
    .faq-item button { min-height: 82px; grid-template-columns: 28px 1fr auto; }
    .faq-answer p { margin-left: 44px; margin-right: 20px; }
    .final-cta { padding-top: 85px; }
    .final-actions .button { width: 100%; }
    .footer-bottom { gap: 12px; flex-direction: column; align-items: center; text-align: center; }
    .whatsapp-float { right: 14px; bottom: 14px; padding: 9px; }
    .whatsapp-float b { display: none; }
}

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