/* ==========================================================
   FONTES (hospedadas no próprio servidor — sem Google, sem cookies)
   ========================================================== */
@font-face { font-family: "Anton"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }

/* ==========================================================
   TOKENS — paleta do Will (briefing 3.1)
   ========================================================== */
:root {
  --bg: #161819;
  --bg-blue: #003153;
  --bg-light: #f9f9f9;
  --surface: #2a2e31;
  --border: #4d4f53;
  --border-light: #d4d4d4;
  --text: #f9f9f9;
  --text-2: #b7b7b7;
  --text-dark: #161819;
  --text-2-dark: #4d4f53;
  --brand: #00509d;
  --brand-soft: #497db9;
  --cta: #50e2d1;
  --cta-hover: #42bfad;
  --highlight: #ffd500;

  --font-title: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-text: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 16px;
  --sec-pad: clamp(64px, 10vw, 120px);
}

/* ==========================================================
   BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, video { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cta); color: var(--text-dark); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }
.center { text-align: center; }

/* ==========================================================
   SEÇÕES (ritmo: escuro → escuro → claro → azul → claro → azul → escuro)
   ========================================================== */
.sec { padding: var(--sec-pad) 0; }
.sec--dark { background: var(--bg); color: var(--text); }
.sec--blue { background: var(--bg-blue); color: var(--text); }
.sec--light { background: var(--bg-light); color: var(--text-dark); }
.sec--dark + .sec--dark { padding-top: 0; }

/* ==========================================================
   TIPOGRAFIA
   ========================================================== */
.h2, .hero__title {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
.hero__title { font-size: clamp(2.4rem, 8.4vw, 4.1rem); line-height: 1.07; margin-bottom: 0.45em; text-wrap: balance; }
.h2 { font-size: clamp(2.1rem, 6.5vw, 3.3rem); text-wrap: balance; }
.caps { text-transform: uppercase; }
.h3 { font-family: var(--font-text); font-weight: 600; font-size: 1.3rem; line-height: 1.3; margin: 0 0 1em; }

.footer__logo { width: 104px; height: auto; margin-bottom: 20px; opacity: .9; }
.eyebrow { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-2); margin-bottom: 1.1em; }
.lead { font-size: 1.06em; color: var(--text-2); max-width: 40em; }
.sec--light .lead { color: var(--text-2-dark); }
.intro { color: var(--text-2); max-width: 36em; margin-bottom: 2em; }
.closing { margin-top: 2em; font-weight: 500; }
.note { font-size: 0.85rem; color: var(--text-2); margin-top: 0.9em; }

mark {
  background: linear-gradient(transparent 8%, var(--highlight) 8%, var(--highlight) 92%, transparent 92%);
  color: var(--text-dark);
  padding: 0.05em 0.3em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ==========================================================
   BOTÃO WHATSAPP (único elemento verde-água da página)
   ========================================================== */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px;
  background: var(--cta); color: var(--text-dark);
  font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1.25;
  text-decoration: none; text-align: center;
  border-radius: 999px;
  box-shadow: 0 6px 20px -8px rgba(80, 226, 209, .55);
  transition: background-color .2s, transform .2s;
}
.btn-wa:hover { background: var(--cta-hover); }
.btn-wa:active { transform: translateY(1px); }
.btn-wa__icon { width: 22px; height: 22px; flex: none; }
.sec--light .btn-wa { box-shadow: 0 0 0 1px rgba(22, 24, 25, .12), 0 6px 18px -8px rgba(22, 24, 25, .35); }
@media (max-width: 479px) { .btn-wa { width: 100%; } }

/* Botão fixo */
.wa-float {
  position: fixed; right: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--cookie-h, 0px)); z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 56px; min-width: 56px; padding: 0 16px;
  background: var(--cta); color: var(--text-dark);
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s, background-color .2s, bottom .3s;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--cta-hover); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 379px) { .wa-float { padding: 0; justify-content: center; } .wa-float__label { display: none; } }

/* ==========================================================
   4.1 ABERTURA
   ========================================================== */
.hero { padding-top: clamp(40px, 8vw, 96px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__photo { margin: 0; }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); background: var(--surface);
}
@media (max-width: 899px) {
  .hero__photo { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
}

/* ==========================================================
   4.2 VÍDEO
   ========================================================== */
.video__frame { max-width: 360px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 9 / 16; }
.video__frame video { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   4.3 CARDS
   ========================================================== */
.cards { display: grid; gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
.card p { color: var(--text-2); }
.card__icon { width: 40px; height: 40px; margin-bottom: 18px; fill: none; stroke: var(--brand-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-weight: 600; font-size: 1.12rem; line-height: 1.35; margin: 0 0 8px; }
@media (min-width: 680px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================
   4.4 PASSOS
   ========================================================== */
.steps { display: grid; gap: 14px; margin-bottom: 44px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 24px;
}
.step p { color: var(--text-2-dark); }
.step__num { font-family: var(--font-title); font-size: 2.4rem; line-height: 1; color: var(--brand); letter-spacing: 0.01em; }
@media (max-width: 479px) { .step { gap: 16px; padding: 22px 20px; } }
.step__title { font-weight: 600; font-size: 1.12rem; line-height: 1.35; margin: 0.2em 0 0.4em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .step { padding: 32px; }
  .step__num { font-size: 2.8rem; min-width: 1.6em; }
}

/* ==========================================================
   4.5 POR QUE CONFIAR
   ========================================================== */
.sec--blue .eyebrow { color: #b7c9dc; }
.story { display: grid; gap: 40px; align-items: center; }
.story__text p { color: #dfe6ee; }
.story__text .quote { font-family: var(--font-title); font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.3; letter-spacing: 0.01em; margin: 1.1em 0; color: var(--text-dark); }
/* retrato à esquerda (ocupa 2 linhas, ~4:5) + 2 quadradas empilhadas à direita */
.story__photos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.story__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--surface); }
.story__photos img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; object-position: center top; }
@media (min-width: 900px) { .story { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.promise {
  margin-top: clamp(56px, 8vw, 96px);
  background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: clamp(26px, 5vw, 44px);
}
.promise__list { display: grid; gap: 18px; }
.promise__list li { position: relative; padding-left: 38px; color: #dfe6ee; }
.promise__list li strong { color: var(--text); }
.promise__list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 24px; height: 24px;
  border-radius: 50%; border: 2px solid var(--brand-soft);
  background:
    linear-gradient(45deg, transparent 45%, var(--text) 45%, var(--text) 55%, transparent 55%) center / 11px 11px no-repeat,
    linear-gradient(-45deg, transparent 45%, var(--text) 45%, var(--text) 55%, transparent 55%) center / 11px 11px no-repeat;
}
.promise__end { margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid rgba(255, 255, 255, .14); font-weight: 500; }
@media (min-width: 900px) { .promise__list { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.partner { margin: clamp(56px, 8vw, 96px) auto; max-width: 820px; text-align: center; }
.partner p { font-family: var(--font-text); font-weight: 500; font-size: clamp(1.25rem, 3.6vw, 1.7rem); line-height: 1.45; }
.partner::before { content: "“"; display: block; font-family: var(--font-title); font-size: 4.5rem; line-height: .7; color: var(--brand-soft); margin-bottom: 8px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--bg-blue); padding: 24px 18px; display: flex; flex-direction: column; gap: 8px; }
.facts strong { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.4rem, 4.6vw, 1.9rem); line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; }
.facts span { font-size: 0.88rem; color: #c9d5e2; line-height: 1.5; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts li { padding: 32px 26px; } }

.testimonials { margin-top: clamp(56px, 8vw, 96px); }
.testimonials__list { display: grid; gap: 16px; }
.testimonial { margin: 0; background: rgba(0, 0, 0, .22); border-radius: var(--radius); padding: 26px; }
.testimonial blockquote { margin: 0 0 12px; }
.testimonial figcaption { font-size: .88rem; color: #c9d5e2; }
@media (min-width: 900px) { .testimonials__list { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   4.6 DÚVIDAS
   ========================================================== */
.faq { border-top: 1px solid var(--border-light); }
.faq details { border-bottom: 1px solid var(--border-light); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 0;
  font-weight: 600; font-size: 1.05rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat,
    #e8eef5;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq details p { color: var(--text-2-dark); padding: 0 48px 22px 0; margin: 0; }

/* ==========================================================
   4.7 CHAMADA FINAL
   ========================================================== */
.final .lead { color: #dfe6ee; margin: 0 auto 1.8em; }

/* ==========================================================
   4.8 RODAPÉ
   ========================================================== */
.footer { background: var(--bg); color: var(--text-2); padding: 56px 0 104px; font-size: 0.88rem; border-top: 1px solid var(--border); }
.footer__id strong { color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__links a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer__links a:hover { color: var(--text-2); }
.footer__links svg { width: 22px; height: 22px; flex: none; }
.footer__legal { margin-top: 1.6em; padding-top: 1.6em; border-top: 1px solid var(--border); font-size: 0.8rem; line-height: 1.6; max-width: 70em; }

/* ==========================================================
   FADE AO ROLAR (só com JS e sem "reduzir movimento")
   ========================================================== */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }


.footer__legal-links { margin-top: 1.2em; font-size: 0.8rem; }
.footer__legal-links a { color: var(--text-2); text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
.footer__legal-links span { margin: 0 8px; }

/* ==========================================================
   BARRA DE COOKIES (LGPD) — sem verde-água (cor exclusiva do WhatsApp)
   ========================================================== */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px;
  padding: 16px var(--gutter) max(16px, env(safe-area-inset-bottom));
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .6);
  font-size: 0.88rem; line-height: 1.5;
}
.cookie__txt { margin: 0; max-width: 720px; color: var(--text-2); }
.cookie__txt a { color: var(--text); text-underline-offset: 3px; }
.cookie__btns { display: flex; gap: 10px; flex: none; }
.cookie__btn {
  min-height: 48px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  font: 600 0.9rem/1 var(--font-text);
  background: var(--text); color: var(--text-dark); border: 1px solid var(--text);
}
.cookie__btn:hover { background: var(--border-light); }
.cookie__btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.cookie__btn--ghost:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 479px) { .cookie__btns { width: 100%; } .cookie__btn { flex: 1; } }

/* ==========================================================
   PÁGINA DE POLÍTICA
   ========================================================== */
.legal-top { background: var(--bg); padding: 20px 0; border-bottom: 1px solid var(--border); }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-top img { width: 88px; height: auto; }
.legal-top a.back { color: var(--text-2); font-size: 0.9rem; text-underline-offset: 3px; padding: 12px 0; }
.legal { background: var(--bg-light); color: var(--text-dark); padding: clamp(48px, 8vw, 88px) 0; }
.legal .h2 { margin-bottom: 0.3em; }
.legal .updated { color: var(--text-2-dark); font-size: 0.9rem; margin-bottom: 2.4em; }
.legal h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.35; margin: 2.2em 0 0.6em; color: var(--text-dark); }
.legal p, .legal li { color: #2a2e31; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.5em; }
.legal a { color: var(--brand); text-underline-offset: 3px; }
.legal .box { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 22px 24px; margin: 1.2em 0; }
body { padding-bottom: var(--cookie-h, 0px); }
