/* =========================================================
   Inteligência Advocatícia na Prática
   Paleta e tipografia oficiais do Manual de Identidade Visual
   ========================================================= */

/* Garante que o atributo HTML `hidden` nunca seja anulado por uma regra
   de display (ex.: .form-error { display:flex }). Sem isto, a mensagem de
   erro do formulário aparecia sempre, mesmo escondida via JS. */
[hidden] { display: none !important; }

:root {
    /* Marca */
    --petrol:        #0E3A46;  /* Azul-petróleo profundo (primária) */
    --petrol-deep:   #0A2C36;
    --petrol-900:    #071F27;
    --petrol-line:   rgba(255,255,255,.08);
    --graphite:      #1F2A2E;  /* Grafite jurídico (secundária) */
    --gold:          #D6B869;  /* Dourado discreto (acento) */
    --gold-deep:     #B8975A;
    --green:         #4FA37A;  /* Verde segurança */
    --amber:         #D99032;  /* Âmbar técnico */
    --ice:           #F3F6F7;  /* Cinza gelo */
    --white:         #FFFFFF;

    /* Texto sobre claro / escuro */
    --ink:           #14252B;
    --ink-soft:      #4A5A60;
    --on-dark:       #FFFFFF;
    --on-dark-soft:  rgba(233,240,242,.72);
    --on-dark-mute:  rgba(233,240,242,.50);

    --radius:        18px;
    --radius-sm:     12px;
    --maxw:          1180px;
    --ease:          cubic-bezier(.22,.61,.36,1);

    --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

[hidden] {
    display: none !important;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    background: var(--ice);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
em { font-style: italic; }
img { max-width: 100%; display: block; }

/* SVG icons: traço fino, linear (diretriz do manual) */
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------
   NAV
   --------------------------------------------------------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 0; transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav-solid {
    padding: 11px 0;
    background: rgba(10,44,54,.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 14px 40px rgba(0,0,0,.28);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
    width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; position: relative;
    background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 100%);
    box-shadow: 0 4px 14px rgba(214,184,105,.35);
}
.brand-mark::before, .brand-mark::after {
    content: ''; position: absolute; background: var(--petrol-deep); border-radius: 2px;
}
.brand-mark::before { width: 12px; height: 2.2px; top: 11px; left: 9px; box-shadow: 0 5px 0 var(--petrol-deep); }
.brand-mark::after  { width: 2.2px; height: 12px; top: 9px; left: 14px; }
.brand-text {
    font-weight: 700; font-size: .96rem; line-height: 1.05; letter-spacing: -.01em;
    color: var(--white); display: flex; flex-direction: column;
}
.brand-sub { font-weight: 500; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--on-dark-soft); text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
    padding: 9px 20px; border: 1px solid rgba(214,184,105,.5); border-radius: 40px;
    color: var(--gold) !important; font-weight: 600 !important; transition: all .25s var(--ease) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--petrol-deep) !important; border-color: var(--gold); }

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero {
    position: relative; padding: 168px 0 64px;
    background: radial-gradient(120% 90% at 80% -10%, #14515f 0%, var(--petrol) 38%, var(--petrol-deep) 72%, var(--petrol-900) 100%);
    color: var(--on-dark); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
    position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(var(--petrol-line) 1px, transparent 1px), linear-gradient(90deg, var(--petrol-line) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
            mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
}
.hero-halo {
    position: absolute; width: 720px; height: 720px; top: -340px; right: -160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(214,184,105,.16) 0%, transparent 62%); filter: blur(20px);
}

.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold); padding: 7px 16px; border: 1px solid rgba(214,184,105,.32);
    border-radius: 40px; background: rgba(214,184,105,.07); margin-bottom: 26px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(79,163,122,.6); animation: blip 2.6s infinite; }
@keyframes blip { 0%{box-shadow:0 0 0 0 rgba(79,163,122,.55);} 70%{box-shadow:0 0 0 9px rgba(79,163,122,0);} 100%{box-shadow:0 0 0 0 rgba(79,163,122,0);} }

.hero-title {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(2.7rem, 6vw, 4.35rem); line-height: 1.05; letter-spacing: -.02em;
    margin-bottom: 24px;
}
.hero-title em { color: var(--gold); font-style: italic; font-weight: 500; }

.hero-lead { font-size: clamp(1.06rem, 1.6vw, 1.24rem); color: var(--on-dark-soft); max-width: 540px; margin-bottom: 36px; }
.hero-lead strong { color: var(--white); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: .86rem; color: var(--on-dark-mute); }

/* Botões */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--sans); font-weight: 600; font-size: 1rem; cursor: pointer;
    padding: 15px 28px; border-radius: 13px; text-decoration: none; border: 1px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.ic-inline { width: 19px; height: 19px; stroke-width: 2; }
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--petrol-900);
    box-shadow: 0 10px 26px rgba(214,184,105,.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(214,184,105,.42); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.42); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* Fluxo (motivo da marca: camadas + conectores) */
.hero-flow { display: flex; flex-direction: column; gap: 4px; }
.flow-card {
    background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 20px 22px; backdrop-filter: blur(6px);
    position: relative; transition: transform .4s var(--ease), border-color .4s;
}
.flow-card:hover { transform: translateX(6px); border-color: rgba(214,184,105,.4); }
.flow-1 { margin-right: 36px; }
.flow-2 { margin-left: 22px; margin-right: 14px; }
.flow-3 { margin-left: 40px; border-color: rgba(214,184,105,.34); background: rgba(214,184,105,.06); }
.flow-tag { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.flow-title { display: block; font-size: 1.04rem; font-weight: 600; color: var(--white); }
.flow-lines { margin-top: 13px; display: flex; flex-direction: column; gap: 7px; }
.flow-lines i { height: 3px; width: 100%; border-radius: 3px; background: rgba(255,255,255,.16); display: block; }
.flow-check { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--green); }
.flow-check svg { width: 16px; height: 16px; stroke-width: 2.4; color: var(--green); }
.flow-connector { display: flex; justify-content: center; color: rgba(214,184,105,.55); margin: -2px 0; padding-left: 18px; }
.flow-connector svg { width: 22px; height: 22px; }

/* Strip de números */
.stat-strip {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 64px;
    border-top: 1px solid var(--petrol-line); padding-top: 36px;
}
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--gold); letter-spacing: -.01em; }
.stat span { font-size: .82rem; color: var(--on-dark-soft); letter-spacing: .02em; }

/* ---------------------------------------------------------
   SECTION HEADS (sobre claro)
   --------------------------------------------------------- */
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 66px); text-align: center; }
.kicker {
    display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--green); margin-bottom: 16px; position: relative; padding-left: 26px;
}
.kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; background: currentColor; }
.kicker-gold { color: var(--gold-deep); }
.section-title {
    font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; color: var(--graphite);
    font-size: clamp(1.95rem, 4vw, 3rem); line-height: 1.12;
}
.section-title em { color: var(--gold-deep); font-style: italic; }
.section-sub { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--ink-soft); margin-top: 18px; }

/* Alinhamento justificado SÓ nos textos longos de parágrafo.
   Textos curtos (cards, subtítulos, passos) mantêm o alinhamento original —
   justificar linha curta em coluna estreita cria "rios" de espaço.
   hyphens:auto suaviza a justificação (pt-BR declarado no <html>). */
.hero-lead, .trust-text, .author-bio,
.tool-feature-copy p, .bonus-body p {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* Cards genéricos */
.card {
    background: var(--white); border: 1px solid #E4EAEC; border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(20,37,43,.04);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(214,184,105,.55); box-shadow: 0 22px 50px rgba(14,58,70,.13); }
.card-ic {
    display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
    border-radius: 14px; background: var(--ice); color: var(--petrol); margin-bottom: 20px;
    border: 1px solid #E4EAEC; transition: background .3s, color .3s;
}
.card-ic svg { width: 26px; height: 26px; }
.card:hover .card-ic { background: var(--petrol); color: var(--gold); border-color: var(--petrol); }

/* ---------------------------------------------------------
   A VIRADA
   --------------------------------------------------------- */
.turn { background: var(--ice); }
.turn-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: stretch; }
.turn-col { background: var(--white); border: 1px solid #E4EAEC; border-radius: var(--radius); padding: 38px 36px; }
.turn-before { background: #EEF2F3; }
.turn-after { border-color: rgba(214,184,105,.4); box-shadow: 0 18px 44px rgba(14,58,70,.1); }
.turn-label { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.turn-label-gold { color: var(--gold-deep); }
.turn-list { list-style: none; }
.turn-list li { position: relative; padding-left: 30px; margin-bottom: 16px; font-size: 1.04rem; color: var(--ink); }
.turn-list li:last-child { margin-bottom: 0; }
.turn-before .turn-list li { color: var(--ink-soft); }
.turn-list li::before {
    content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%;
    background: #C3CDD0;
}
.turn-after .turn-list li::before {
    content: ''; width: 17px; height: 17px; border-radius: 50%; top: .28em; background: rgba(79,163,122,.14);
    box-shadow: inset 0 0 0 1.5px var(--green);
}
.turn-after .turn-list li::after {
    content: ''; position: absolute; left: 5px; top: .62em; width: 6px; height: 3.5px;
    border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green); transform: rotate(-45deg);
}
.turn-arrow { display: flex; align-items: center; justify-content: center; color: var(--gold-deep); }
.turn-arrow svg { width: 38px; height: 38px; stroke-width: 1.5; }

/* ---------------------------------------------------------
   PARA QUEM É
   --------------------------------------------------------- */
.audience-section { background: var(--white); }
.audience-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.audience-card { padding: 34px 28px; text-align: center; }
.audience-card h3 { font-size: 1.16rem; font-weight: 700; color: var(--graphite); margin-bottom: 8px; letter-spacing: -.01em; }
.audience-card p { font-size: .96rem; color: var(--ink-soft); text-align: justify; hyphens: auto; }
/* Tiles coloridos (mesma linguagem dos ícones das IAs), paleta do Manual */
.audience-card .card-ic { border: none; box-shadow: 0 8px 20px rgba(14,58,70,.18); transition: transform .3s var(--ease); }
.audience-card:hover .card-ic { transform: translateY(-3px) scale(1.04); }
.card-ic--petrol, .card:hover .card-ic--petrol { background: var(--petrol); color: #fff; }
.card-ic--gold, .card:hover .card-ic--gold { background: var(--gold-deep); color: #fff; }
.card-ic--green, .card:hover .card-ic--green { background: var(--green); color: #fff; }
.card-ic--graphite, .card:hover .card-ic--graphite { background: var(--graphite); color: #fff; }

/* ---------------------------------------------------------
   MÉTODO
   --------------------------------------------------------- */
/* O fluxo na prática (motivo gráfico da marca, em seção própria) */
.loop-section {
    background: radial-gradient(120% 90% at 80% -10%, #14515f 0%, var(--petrol) 38%, var(--petrol-deep) 72%, var(--petrol-900) 100%);
    color: var(--on-dark); position: relative; overflow: hidden;
}
.loop-bg { position: absolute; inset: 0; z-index: 0; opacity: .4; }
.loop-section .container { position: relative; z-index: 1; }
.loop-section .section-title { color: var(--white); }
.loop-section .section-sub { color: var(--on-dark-soft); }
.loop-flow { display: flex; align-items: stretch; justify-content: center; gap: 0; margin-top: 8px; }
.loop-card {
    flex: 1 1 0; min-width: 0; background: rgba(255,255,255,.04);
    border: 1px solid var(--petrol-line); border-radius: 18px; padding: 30px 26px;
    display: flex; flex-direction: column; backdrop-filter: blur(6px);
    transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s;
}
.loop-card:hover { transform: translateY(-6px); border-color: rgba(214,184,105,.45); background: rgba(255,255,255,.06); }
.loop-card-final { border-color: rgba(79,163,122,.4); }
.loop-card-final:hover { border-color: rgba(79,163,122,.6); }
.loop-step {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 50%; background: var(--petrol-deep); border: 1.5px solid rgba(214,184,105,.5);
    color: var(--gold); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin-bottom: 20px;
}
.loop-card-final .loop-step { border-color: rgba(79,163,122,.55); color: var(--green); }
.loop-title { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 9px; }
.loop-desc { font-size: .95rem; line-height: 1.6; color: var(--on-dark-soft); }
.loop-check { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: .82rem; font-weight: 600; color: var(--green); }
.loop-check svg { width: 16px; height: 16px; stroke-width: 2.4; color: var(--green); }
.loop-connector { flex: 0 0 auto; display: flex; align-items: center; color: rgba(214,184,105,.55); padding: 0 6px; }
.loop-connector svg { width: 24px; height: 24px; }

.method-section { background: var(--graphite); color: var(--on-dark); }
.method-section .section-title { color: var(--white); }
.method-section .section-sub { color: var(--on-dark-soft); }
.method-flow {
    display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative;
}
.method-flow::before {
    content: ''; position: absolute; top: 26px; left: 10%; right: 10%; height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(214,184,105,.5) 12%, rgba(214,184,105,.5) 88%, transparent);
}
.method-step { text-align: center; padding: 0 16px; position: relative; }
.method-num {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
    border-radius: 50%; background: var(--petrol-deep); border: 1.5px solid rgba(214,184,105,.5);
    color: var(--gold); font-family: var(--serif); font-size: 1.18rem; font-weight: 600; margin-bottom: 22px;
    position: relative; z-index: 2;
}
.method-step h4 { font-size: 1.04rem; font-weight: 700; color: var(--white); margin-bottom: 9px; letter-spacing: -.01em; }
.method-step p { font-size: .9rem; color: var(--on-dark-soft); }

/* ---------------------------------------------------------
   FERRAMENTAS
   --------------------------------------------------------- */
.tools-section { background: var(--white); }
.tools-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.tool-card { padding: 28px 22px; text-align: center; }
.tool-mono {
    display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 52px; padding: 0 14px;
    border-radius: 14px; background: var(--petrol); color: var(--gold);
    font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em;
    margin-bottom: 20px; box-shadow: 0 8px 20px rgba(14,58,70,.18); transition: transform .3s var(--ease);
}
.tool-mono.tool-app { background: var(--white); border: 1px solid rgba(14,58,70,.14); padding: 0; width: 52px; overflow: hidden; }
.tool-app img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.tool-app--pad img { object-fit: contain; padding: 9px; }
.tool-card:hover .tool-mono { transform: translateY(-3px) scale(1.04); }
.tool-card h3 { font-size: 1.18rem; font-weight: 700; color: var(--graphite); margin-bottom: 9px; letter-spacing: -.01em; }
.tool-card p { font-size: .95rem; color: var(--ink-soft); text-align: justify; hyphens: auto; }
.tool-card p em { font-style: normal; font-weight: 600; color: var(--gold-deep); }

.tools-bonus {
    display: flex; align-items: center; gap: 24px; margin-top: 30px; padding: 30px 34px;
    background: linear-gradient(135deg, rgba(79,163,122,.08), rgba(214,184,105,.07));
    border: 1px solid rgba(79,163,122,.28); border-radius: var(--radius); border-left: 4px solid var(--green);
}
.bonus-ic {
    flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--white); color: var(--green); border: 1px solid rgba(79,163,122,.3);
}
.bonus-ic svg { width: 28px; height: 28px; }
.bonus-tag { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 7px; }
.bonus-body p { font-size: 1.02rem; color: var(--ink); }
.bonus-body strong { color: var(--graphite); font-weight: 600; }
.tools-foot { text-align: center; margin-top: 26px; font-size: .9rem; color: var(--ink-soft); }

/* Vídeo em destaque dentro de "As ferramentas" */
.tool-feature {
    display: grid; grid-template-columns: 1fr 1.12fr; align-items: center;
    gap: clamp(26px, 4vw, 52px); margin-top: 30px; padding: clamp(26px, 3vw, 40px);
    background: var(--ice); border: 1px solid #E4EAEC; border-radius: var(--radius);
}
.tool-feature-copy .kicker { margin-bottom: 14px; }
.tool-feature-title {
    font-family: var(--serif); font-weight: 500; line-height: 1.18; letter-spacing: -.015em;
    color: var(--graphite); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px;
}
.tool-feature-title em { font-style: italic; color: var(--gold-deep); }
.tool-feature-copy p { font-size: 1.02rem; color: var(--ink-soft); }
.tool-feature-player { width: 100%; }

/* ---------------------------------------------------------
   GRADE
   --------------------------------------------------------- */
.grade-section { background: var(--ice); }
.grade-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.module-card { padding: 30px 28px 26px; display: flex; flex-direction: column; }
/* Desktop: tudo visível; o <details> só vira acordeão no celular. */
.module-head { list-style: none; display: flex; flex-direction: column; align-items: flex-start; cursor: default; }
.module-head::-webkit-details-marker { display: none; }
.module-head::marker { content: ''; }
.module-body { display: flex; flex-direction: column; flex: 1; }
.module-chevron { display: none; }
.module-num {
    font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--gold-deep);
    line-height: 1; margin-bottom: 16px; display: inline-block;
    border-bottom: 2px solid rgba(214,184,105,.35); padding-bottom: 10px; width: fit-content;
}
.module-card h3 { font-size: 1.14rem; font-weight: 700; color: var(--graphite); margin-bottom: 10px; letter-spacing: -.01em; }
.module-card p { font-size: .94rem; color: var(--ink-soft); flex: 1; margin-bottom: 18px; }
.module-deliver {
    font-size: .8rem; font-weight: 600; color: var(--petrol); background: rgba(14,58,70,.06);
    border: 1px solid rgba(14,58,70,.1); border-radius: 8px; padding: 8px 12px; align-self: flex-start;
}
.module-card:hover .module-deliver { background: rgba(214,184,105,.12); border-color: rgba(214,184,105,.4); color: var(--gold-deep); }
/* Desktop: mantém todos os módulos abertos. Vence o content-visibility que o
   Chrome novo aplica ao pseudo ::details-content de um <details> fechado. */
@media (min-width: 681px) {
    .module-card::details-content { content-visibility: visible !important; }
}

/* ---------------------------------------------------------
   SEGURANÇA
   --------------------------------------------------------- */
.trust-section { background: var(--white); padding: clamp(56px,7vw,90px) 0; }
.trust-box {
    display: flex; gap: 30px; align-items: flex-start; max-width: 980px; margin: 0 auto;
    background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-deep) 100%); color: var(--on-dark);
    border-radius: 22px; padding: clamp(34px,4vw,52px); position: relative; overflow: hidden;
    box-shadow: 0 26px 60px rgba(14,58,70,.22);
}
.trust-box::after {
    content: ''; position: absolute; top: -60px; right: -40px; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,163,122,.22), transparent 65%);
}
.trust-ic {
    flex-shrink: 0; width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: rgba(79,163,122,.16); border: 1px solid rgba(79,163,122,.4); color: var(--green);
}
.trust-ic svg { width: 30px; height: 30px; }
.trust-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem,2.6vw,2.05rem); line-height: 1.2; color: var(--white); margin-bottom: 12px; letter-spacing: -.01em; }
.trust-text { font-size: 1.05rem; color: var(--on-dark-soft); }
.trust-text strong { color: var(--white); font-weight: 600; }

/* ---------------------------------------------------------
   FACILITADOR
   --------------------------------------------------------- */
.author-section { background: var(--ice); }
.author-grid { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; }
.author-media { position: relative; }
.author-frame {
    position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1/1.05;
    border: 1px solid #E0E7E9; box-shadow: 0 30px 70px rgba(14,58,70,.22);
}
.author-frame::before {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(214,184,105,.5); border-radius: 22px;
}
.author-photo { width: 100%; height: 100%; object-fit: cover; }
.author-name { margin-top: 6px; margin-bottom: 18px; }
.author-credential {
    display: inline-block; font-family: var(--serif); font-size: clamp(1.18rem, 2vw, 1.5rem);
    line-height: 1.3; color: var(--graphite); font-weight: 500; margin-bottom: 26px;
    padding-bottom: 18px; position: relative;
}
.author-credential em { font-style: italic; color: var(--gold-deep); }
.author-credential::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 2.5px;
    background: linear-gradient(90deg, var(--gold), rgba(214,184,105,0)); border-radius: 2px;
}
.author-bio { font-size: 1.06rem; color: var(--ink-soft); margin-bottom: 16px; }
.author-bio strong { color: var(--ink); font-weight: 600; }
.author-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.author-tags span {
    font-size: .82rem; font-weight: 600; color: var(--petrol); background: var(--white);
    border: 1px solid #DCE4E6; border-radius: 40px; padding: 8px 16px;
}

/* ---------------------------------------------------------
   FORM / CTA
   --------------------------------------------------------- */
.form-section {
    position: relative; overflow: hidden; color: var(--on-dark);
    background: radial-gradient(110% 120% at 15% 0%, #14515f 0%, var(--petrol) 40%, var(--petrol-deep) 78%, var(--petrol-900) 100%);
}
.form-bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.form-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.form-section .section-title { color: var(--white); }
.form-section .section-head, .form-copy { text-align: left; }
.form-sub { color: var(--on-dark-soft); }
.form-perks { list-style: none; margin-top: 28px; }
.form-perks li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--white); margin-bottom: 14px; font-weight: 500; }
.form-perks svg { width: 20px; height: 20px; stroke-width: 2.6; color: var(--green); flex-shrink: 0; }

.lead-form {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px; padding: clamp(28px,3vw,40px); backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px rgba(0,0,0,.32);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--on-dark-soft); margin-bottom: 8px; letter-spacing: .02em; }
.field input {
    width: 100%; padding: 15px 18px; border-radius: 12px; font-family: var(--sans); font-size: 1rem;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: var(--white); transition: all .25s;
}
.field input::placeholder { color: rgba(233,240,242,.4); }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(214,184,105,.14); }
.lead-form .btn-primary { margin-top: 6px; }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: .84rem; color: var(--on-dark-mute); }
.ic-lock { width: 16px; height: 16px; stroke-width: 1.8; flex-shrink: 0; }

/* Consentimento LGPD */
.field-consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 20px; cursor: pointer; }
.field-consent input[type="checkbox"] {
    appearance: none; -webkit-appearance: none; flex-shrink: 0;
    width: 20px; height: 20px; margin-top: 1px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06);
    cursor: pointer; transition: all .2s var(--ease); position: relative;
}
.field-consent input[type="checkbox"]:hover { border-color: var(--gold); }
.field-consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(214,184,105,.18); }
.field-consent input[type="checkbox"]:checked { background: var(--gold); border-color: var(--gold); }
.field-consent input[type="checkbox"]:checked::after {
    content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
    border: solid var(--petrol-900); border-width: 0 2.4px 2.4px 0; transform: rotate(43deg);
}
.consent-text { font-size: .82rem; line-height: 1.5; color: var(--on-dark-mute); }
.consent-text em { font-style: italic; color: var(--on-dark-soft); }
.consent-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.consent-text a:hover { color: var(--white); }
.consent-law { display: block; margin-top: 4px; font-size: .72rem; letter-spacing: .04em; color: var(--on-dark-mute); opacity: .8; }

/* Botão: estado carregando */
.btn-content { display: inline-flex; align-items: center; gap: 10px; transition: opacity .2s; }
.btn-spinner { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(7,31,39,.25); border-top-color: var(--petrol-900); opacity: 0; animation: spin .7s linear infinite; }
.btn-primary { position: relative; }
.btn.is-loading { cursor: progress; }
.btn.is-loading .btn-content { opacity: 0; }
.btn.is-loading .btn-spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mensagem de erro */
.form-error { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-size: .9rem; color: #FFD7C2; }
.form-error svg { width: 18px; height: 18px; stroke-width: 2; color: var(--amber); flex-shrink: 0; }

/* Painel de sucesso */
.lead-success {
    background: rgba(255,255,255,.05); border: 1px solid rgba(79,163,122,.4);
    border-radius: 22px; padding: clamp(32px,4vw,46px); text-align: center; backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px rgba(0,0,0,.32); animation: popIn .5s var(--ease);
}
.success-ic {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px;
    border-radius: 50%; background: rgba(79,163,122,.16); border: 1.5px solid rgba(79,163,122,.5);
    color: var(--green); margin-bottom: 22px;
}
.success-ic svg { width: 32px; height: 32px; stroke-width: 2.6; }
.lead-success h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem,2.4vw,1.9rem); color: var(--white); margin-bottom: 12px; letter-spacing: -.01em; }
.lead-success p { font-size: 1.04rem; color: var(--on-dark-soft); max-width: 380px; margin: 0 auto; }
.lead-success strong { color: var(--gold); font-weight: 600; }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------
   GALERIA DE VÍDEOS
   --------------------------------------------------------- */
.videos-section { background: var(--white); }
.video-gallery {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(22px, 3vw, 34px); max-width: 940px; margin: 0 auto;
}
.video-card {
    display: flex; flex-direction: column; gap: 15px; text-align: left;
    background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
}
.video-thumb {
    position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
    background: var(--graphite); box-shadow: 0 18px 44px rgba(7,31,39,.18);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 66px; height: 66px; border-radius: 50%; background: rgba(214,184,105,.95);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 26px rgba(0,0,0,.32); transition: all .25s var(--ease);
}
.video-card:hover .video-play { background: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.video-play svg { width: 28px; height: 28px; fill: var(--petrol-900); margin-left: 3px; }
.video-title { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; line-height: 1.35; color: var(--ink); transition: color .25s var(--ease); }
.video-card:hover .video-title { color: var(--gold-deep); }
.video-card.is-playing { cursor: default; }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.footer { background: var(--petrol-900); color: var(--on-dark-soft); padding: 56px 0 40px; }
.footer-inner { text-align: center; }
.footer .brand { justify-content: center; margin-bottom: 16px; }
.footer-note { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--on-dark-soft); margin-bottom: 20px; }
.footer-copy { font-size: .84rem; color: var(--on-dark-mute); border-top: 1px solid var(--petrol-line); padding-top: 22px; line-height: 1.9; }
.footer-link { color: var(--gold); text-decoration: none; }
.footer-link:hover { color: var(--white); text-decoration: underline; }

/* ---------------------------------------------------------
   REVEAL (animação de entrada)
   --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d,0ms), transform .7s var(--ease) var(--d,0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .audience-grid, .grade-grid, .tools-grid { grid-template-columns: repeat(2,1fr); }
    /* 5 ferramentas em 2 colunas: o último card ocupa a linha inteira (sem órfão) */
    .tools-grid .tool-card:last-child { grid-column: 1 / -1; }
    .method-flow { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
    .method-flow::before { display: none; }
    .loop-flow { flex-wrap: wrap; gap: 16px; }
    .loop-card { flex: 1 1 calc(50% - 8px); }
    .loop-connector { display: none; }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-flow { max-width: 440px; }
    .form-grid { grid-template-columns: 1fr; gap: 40px; }
    .author-grid { grid-template-columns: 1fr; gap: 56px; justify-items: center; text-align: center; }
    .author-media { max-width: 320px; width: 100%; }
    .author-tags { justify-content: center; }
    .author-info .kicker { padding-left: 0; }
    .author-info .kicker::before { display: none; }
    .author-credential::after { left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, rgba(214,184,105,0), var(--gold), rgba(214,184,105,0)); }
    .nav-links { gap: 18px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .tool-feature { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 680px) {
    .container { padding: 0 20px; }
    .stat-strip { grid-template-columns: repeat(2,1fr); gap: 28px 12px; }
    .turn-grid { grid-template-columns: 1fr; gap: 18px; }
    .turn-arrow { transform: rotate(90deg); padding: 4px 0; }
    .audience-grid, .grade-grid, .tools-grid, .method-flow { grid-template-columns: 1fr; }
    .method-flow { gap: 32px; }
    .loop-flow { flex-direction: column; }
    .loop-card { flex: 1 1 auto; }
    /* Grade vira acordeão no celular: toca no cabeçalho para expandir */
    .grade-grid { gap: 12px; }
    .module-card { padding: 16px 20px; }
    .module-head { flex-direction: row; align-items: center; gap: 13px; cursor: pointer; }
    .module-num { margin-bottom: 0; padding-bottom: 0; border-bottom: none; font-size: 1.2rem; }
    .module-head h3 { margin-bottom: 0; font-size: 1.04rem; flex: 1; }
    .module-chevron { display: inline-flex; align-items: center; color: var(--gold-deep); transition: transform .3s var(--ease); flex-shrink: 0; }
    .module-chevron svg { width: 20px; height: 20px; stroke-width: 2; }
    .module-card[open] .module-chevron { transform: rotate(180deg); }
    .module-card:not([open]) .module-body { display: none; }
    .module-card[open] .module-body { padding-top: 14px; }
    .module-card[open] .module-body p { margin-bottom: 14px; }
    .tools-bonus { flex-direction: column; text-align: center; align-items: center; gap: 16px; }
    .trust-box { flex-direction: column; gap: 22px; }
    .hero { padding-top: 140px; }
    .btn { width: 100%; }
    .hero-actions { flex-direction: column; }
}

/* WhatsApp — contato direto (hero + formulário) */
.hero-whatsapp-note { margin-top: 12px; font-size: .92rem; color: var(--on-dark-mute); }
.hero-whatsapp-note a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.hero-whatsapp-note a:hover { color: var(--white); }
.form-whatsapp { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.form-whatsapp-note { font-size: .95rem; line-height: 1.5; color: var(--on-dark-soft); margin-bottom: 14px; }
.whatsapp-disclaimer { margin-top: 12px; font-size: .8rem; line-height: 1.5; color: var(--on-dark-mute); }

/* Ícone oficial do WhatsApp (glifo preenchido, verde da marca) */
.ic-wa { fill: #25D366; stroke: none; }
.hero-whatsapp-note .ic-wa { width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }
.hero-whatsapp-note a { white-space: nowrap; }

/* Links de WhatsApp: mesma cor antes e depois de visitado */
.hero-whatsapp-note a:visited { color: var(--gold); }
.form-whatsapp a.btn:visited { color: var(--white); }

/* Destaque: acesso direto ao tutor (seção do facilitador) */
.author-support {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 22px; padding: 16px 18px; border-radius: 14px;
    background: rgba(79,163,122,.08); border: 1px solid rgba(79,163,122,.25);
    font-size: .96rem; line-height: 1.55; color: var(--ink-soft, inherit);
}

/* Tamanhos dos ícones de WhatsApp (antes inline no HTML) */
.author-support .ic-wa { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* Bônus com dois parágrafos */
.bonus-body p + p { margin-top: 10px; }
