/* DesafiaDor — folha de estilo principal */

:root {
  --ink: #050d26;
  --navy: #0a1a4a;
  --navy-2: #13296b;
  --paper: #f6f3ee;
  --paper-2: #ece6dc;
  --white: #ffffff;
  --text: #182038;
  --muted: #5a6178;
  --silver: #aab0bd;
  --on-dark: #e8ebf3;
  --on-dark-muted: #a5adc4;
  --accent: #2bb393;
  --accent-ink: #0b3a30;
  --accent-deep: #1b8a70;
  --line: rgba(10, 26, 74, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(5, 13, 38, .06), 0 12px 32px -12px rgba(5, 13, 38, .18);
  --wrap: 1180px;
  --bar-h: 40px;
  --header-h: calc(var(--bar-h) + 76px);
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #3cc9a6; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-outline { color: var(--navy); border-color: var(--line); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); }

/* Faixa de destaque no topo */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--bar-h); padding: 0 16px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 .9rem/1 var(--sans); text-decoration: none;
  white-space: nowrap; overflow: hidden;
}
.topbar span:first-child { overflow: hidden; text-overflow: ellipsis; }
.topbar-arrow { transition: transform .2s; }
.topbar:hover { background: #3cc9a6; }
.topbar:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.topbar:hover .topbar-arrow { transform: translateX(3px); }
.topbar:focus-visible { outline-offset: -4px; }
@media (max-width: 560px) { .topbar { font-size: .8rem; gap: 6px; } }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled { background: rgba(5, 13, 38, .88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { width: 170px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line-dark); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 24px;
    border-top: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .site-header:has(.nav.is-open) { background: var(--ink); }
}

/* Hero */
.hero {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(46, 84, 180, .45), transparent 70%),
    linear-gradient(100deg, #0a1a55 0%, var(--ink) 60%, #02061a 100%);
  padding: calc(var(--bar-h) + 120px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line-dark);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 40px;
}
.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--silver); }
.hero .lead { color: var(--on-dark-muted); max-width: 36em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-invite { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--on-dark); opacity: .8; }

.hero-portrait { position: relative; margin: 0; align-self: end; justify-self: center; width: min(100%, 440px); }
.hero-portrait img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.enso {
  position: absolute; z-index: 0; left: 50%; top: 4%;
  width: 118%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 110, 210, .35), transparent 62%);
}
.enso::before {
  content: ""; position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-left-color: rgba(43, 179, 147, .55);
  transform: rotate(-30deg);
}
.hero-portrait figcaption {
  position: absolute; z-index: 2; left: -12px; bottom: 56px;
  display: grid; gap: 2px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(5, 13, 38, .72); backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  font-size: .85rem; color: var(--on-dark-muted);
}
.hero-portrait figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--white); }

.facts {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; border-top: 1px solid var(--line-dark);
}
.facts > div { padding: 28px 24px 32px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.facts dt { font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1; color: var(--white); }
.facts dd { margin: 8px 0 0; font-size: .92rem; color: var(--on-dark-muted); }

@media (max-width: 860px) {
  .hero { padding-top: calc(var(--bar-h) + 104px); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 32px; }
  .hero-portrait { width: min(78%, 360px); }
  .hero-portrait figcaption { left: auto; right: -8px; bottom: 32px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div { padding: 22px 16px 24px 0; }
  .facts > div + div { padding-left: 16px; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* Seções */
.section { padding-block: var(--section-y); }
.paper { background: var(--paper); }
.dark { background: var(--ink); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .muted { margin-top: 18px; }

/* Por que */
.why-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr 1fr 1.4fr;
}
.stat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 16px;
}
.stat-num { font-family: var(--serif); font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); line-height: .95; color: var(--navy); margin: 0; }
.stat-num span { font-size: .5em; color: var(--accent-deep); margin-left: 4px; vertical-align: .6em; }
.stat-word { font-size: clamp(2.2rem, 1.7rem + 1.8vw, 3rem); font-style: italic; }
.stat-card p:not(.stat-num) { color: var(--muted); }
.stat-card strong { color: var(--text); font-weight: 600; }
.why-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }

.ikigai {
  position: relative;
  margin: clamp(56px, 7vw, 96px) 0 0; padding: 0 0 0 clamp(0px, 8vw, 120px);
  max-width: 960px;
}
.ikigai-kanji {
  position: absolute; left: 0; top: 6px;
  writing-mode: vertical-rl;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.5rem; letter-spacing: .3em; color: var(--accent-deep); opacity: .75;
}
.ikigai p:not(.ikigai-kanji) {
  font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); line-height: 1.35; color: var(--navy);
}
.ikigai em { color: var(--accent-deep); }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-photo { grid-column: 1 / -1; }
  .ikigai-kanji { position: static; writing-mode: horizontal-tb; margin-bottom: 12px; font-size: 1.1rem; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Diferenciais */
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.features li { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.features li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.features svg {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 22px;
  border-radius: 12px; background: #e3f5ef;
  fill: none; stroke: var(--accent-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.features h3 { margin-bottom: 8px; color: var(--navy); }
.features p { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .features li, .features li:not(:nth-child(3n+1)) { padding: 28px 20px 32px 0; border-left: 0; }
  .features li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .features li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Módulos */
.modules-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.modules-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.modules-aside h2 { margin-bottom: 20px; }
.modules-sub { color: var(--navy); margin: 24px 0 10px; }
.aside-photo { margin: 32px 0 24px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }

.modules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.modules > li { border-bottom: 1px solid var(--line); }
.modules summary {
  display: grid; grid-template-columns: 48px 1fr auto 20px; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.modules summary::-webkit-details-marker { display: none; }
.modules summary::after, .faq summary::after {
  content: ""; width: 12px; height: 12px; justify-self: end;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; color: var(--muted);
}
.modules details[open] summary::after, .faq details[open] summary::after { transform: rotate(225deg); }
.m-num { font-family: var(--serif); font-size: 1.1rem; color: var(--accent-deep); }
.m-title { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); color: var(--navy); line-height: 1.25; }
.m-title small { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: 2px; }
.m-count { font-size: .8rem; font-weight: 500; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.modules summary:hover .m-title { color: var(--navy-2); }
.modules details ul { list-style: none; margin: 0; padding: 0 0 24px 64px; display: grid; gap: 10px; }
.modules details li { position: relative; font-size: .98rem; color: var(--muted); padding-left: 18px; }
.modules details li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.modules details b { font-weight: 600; color: var(--text); }
@media (max-width: 860px) {
  .modules-layout { grid-template-columns: 1fr; }
  .modules-aside { position: static; }
  .aside-photo { display: none; }
  .modules summary { grid-template-columns: 36px 1fr 20px; }
  .m-count { display: none; }
  .modules details ul { padding-left: 52px; }
}

/* Investimento */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pricing h2 { color: var(--white); margin-bottom: 24px; }
.pricing .lead { color: var(--on-dark-muted); }
.price-card {
  background: var(--white); color: var(--text);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  position: relative; overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), #6f8fe0); }
.price-tag { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px; }
.price-card h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: 20px; }
.price { font-family: var(--serif); font-size: clamp(3rem, 2.4rem + 2.4vw, 4.2rem); line-height: 1; color: var(--navy); margin: 0 0 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .currency { font-size: .4em; color: var(--muted); }
.price .per { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-left: 6px; }
.installments { color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.installments strong { color: var(--text); }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; font-size: .98rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: #e3f5ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231b8a70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* Bio */
.bio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.bio-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.bio-copy h2 { margin-bottom: 24px; color: var(--navy); }
.bio-copy p { color: var(--muted); }
.creds { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { font-size: .85rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); }
@media (max-width: 860px) {
  .bio { grid-template-columns: 1fr; }
  .bio-photo { aspect-ratio: 3 / 2; }
}

/* Mídia */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.video { margin: 0; }
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  border: 0; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: var(--ink);
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video figcaption { margin-top: 16px; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); line-height: 1.3; }
.video figcaption span { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 4px; }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-layout .section-head a { color: var(--accent-deep); font-weight: 500; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid; grid-template-columns: 1fr 20px; gap: 16px; align-items: center;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--navy); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding: 0 40px 28px 0; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { margin-bottom: 8px; } }

/* CTA final */
.cta-final {
  position: relative; color: var(--white); text-align: center;
  padding-block: clamp(96px, 12vw, 160px);
  background:
    linear-gradient(rgba(5, 13, 38, .82), rgba(5, 13, 38, .92)),
    url("../img/palestra-auditorio.webp") center 35% / cover no-repeat;
}
.cta-inner { max-width: 820px; }
.cta-final h2 { color: var(--white); margin-bottom: 36px; }

/* Rodapé */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-grid img { width: 170px; margin-bottom: 14px; }
.footer-tag { max-width: 28em; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; }
.contact a:hover { color: var(--accent); }
.contact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; }
.footer-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed; z-index: 60;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 22px 0 16px; border-radius: 999px;
  background: #25d366; color: #ffffff; text-decoration: none;
  font: 600 .95rem/1 var(--sans);
  box-shadow: 0 10px 28px -6px rgba(5, 13, 38, .45), 0 0 0 0 rgba(37, 211, 102, .5);
  transition: transform .2s, background-color .2s;
  animation: whatsapp-pulse 2.8s ease-out 1.5s 3;
}
.whatsapp-float:hover { background: #1ebe5b; transform: translateY(-2px); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 10px 28px -6px rgba(5, 13, 38, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  70%, 100% { box-shadow: 0 10px 28px -6px rgba(5, 13, 38, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (max-width: 560px) {
  .whatsapp-float { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .whatsapp-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { animation: none; } }

/* Popup de captura antes do checkout */
.lead-modal {
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: clamp(28px, 4vw, 40px); border: 0; border-radius: var(--radius-lg);
  background: var(--white); color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  overflow: auto; overscroll-behavior: contain;
}
.lead-modal::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), #6f8fe0); }
.lead-modal[open] { animation: lead-in .25s ease-out; }
.lead-modal::backdrop { background: rgba(5, 13, 38, .72); backdrop-filter: blur(4px); }
@keyframes lead-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lead-modal h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: var(--navy); margin-bottom: 8px; padding-right: 32px; }
.lead-sub { color: var(--muted); margin-bottom: 24px; }
.lead-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  font: 400 1.8rem/1 var(--sans); cursor: pointer;
}
.lead-close:hover { background: var(--paper); color: var(--navy); }
.lead-form { display: grid; gap: 4px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid rgba(10, 26, 74, .22); border-radius: 12px; background: var(--white);
  font: 400 1rem var(--sans); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #9aa0b0; }
.field input:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(43, 179, 147, .22); }
.field input[aria-invalid="true"] { border-color: #c62828; }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(198, 40, 40, .18); }
.field-error { min-height: 1.35em; margin: 4px 0 6px; font-size: .84rem; color: #c62828; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { margin-top: 6px; }
.lead-form .btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.lead-legal { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 560px) {
  .lead-modal {
    width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
  @keyframes lead-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
body:has(.lead-modal[open]) { overflow: hidden; }
body:has(.lead-modal[open]) .whatsapp-float { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .lead-modal[open] { animation: none; } }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
