/* =====================================================================
   CLUBE DO BEM — ESTILOS
   ===================================================================== */

/* ---------- Fontes (auto-hospedadas, apenas latin) ---------- */
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --roxo: #5A2A9D;
  --roxo-escuro: #4E2690;
  --roxo-profundo: #3B1B70;
  --rosa: #F23E79;
  --rosa-texto: #D81F60;
  --laranja: #F5A623;
  --laranja-texto: #C45F00;
  --turquesa: #14A7A0;
  --turquesa-texto: #0B7F79;
  --verde: #68A83B;
  --verde-texto: #3F7D1C;
  --azul: #1F8AD1;
  --azul-texto: #1768A6;
  --amarelo: #F7C62F;
  --creme: #FBF7EF;
  --creme-2: #FFF2E3;
  --agua: #E4F4F2;
  --texto: #20242A;
  --texto-suave: #4A4F57;
  --branco: #fff;

  --f-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-body: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(58, 27, 112, .08);
  --shadow-md: 0 10px 24px -10px rgba(58, 27, 112, .35);
  --shadow-lg: 0 18px 36px -14px rgba(58, 27, 112, .45);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-weight: 400; color: var(--texto);
  background: var(--creme); line-height: 1.6; font-size: 1rem;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
u { text-decoration: none; background: linear-gradient(transparent 62%, rgba(242, 62, 121, .35) 62% 88%, transparent 88%); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--roxo); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 6px; }

.c-roxo { color: var(--roxo); }
.c-rosa { color: var(--rosa-texto); }
.c-laranja { color: var(--laranja-texto); }
.c-verde { color: var(--verde-texto); }
.c-azul { color: var(--azul-texto); }

/* Letras multicoloridas (geradas via JS a partir de data-rainbow) */
.rainbow .ch { display: inline-block; }
.rainbow .ch:nth-child(7n+1) { color: var(--rosa-texto); }
.rainbow .ch:nth-child(7n+2) { color: #E0720A; }
.rainbow .ch:nth-child(7n+3) { color: var(--turquesa-texto); }
.rainbow .ch:nth-child(7n+4) { color: var(--azul-texto); }
.rainbow .ch:nth-child(7n+5) { color: #8A3FC7; }
.rainbow .ch:nth-child(7n+6) { color: #D98A00; }
.rainbow .ch:nth-child(7n+7) { color: var(--verde-texto); }
.rainbow-hero .ch:nth-child(7n+6) { color: #E9A10F; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--roxo); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--bg); color: var(--fg); border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--f-body); font-weight: 600; line-height: 1.2;
  border-radius: var(--radius-pill); padding: .85em 1.5em; min-height: 48px;
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
}
.btn .ico { width: 1.2em; height: 1.2em; flex: none; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.99); }
.btn-primary:hover { --bg: #4C1F8A; }
.btn-light { --bg: #fff; --fg: var(--roxo); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); }
.btn-light:hover { --bg: #FFF7FB; }
.btn-sm { font-size: .82rem; padding: .7em 1.2em; min-height: 42px; }
.btn-lg { font-size: 1rem; padding: 1em 1.7em; min-height: 56px; }
.btn-glow { position: relative; }
.btn-glow::after {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; z-index: -1;
  background: radial-gradient(closest-side, rgba(242, 62, 121, .35), transparent); opacity: 0; transition: opacity .4s;
}
.btn-glow:hover::after { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(32, 36, 42, .06);
  transition: box-shadow .3s, background-color .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(58, 27, 112, .35); }
.site-header.is-scrolled .header-inner { height: 66px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; position: relative; top: 14px; transition: transform .35s var(--ease); transform-origin: left top; }
.brand-logo { width: 136px; }
.brand-tag { font-family: var(--f-hand); font-weight: 700; color: var(--roxo); font-size: 1.05rem; line-height: 1; margin-top: 4px; white-space: nowrap; }
.site-header.is-scrolled .brand { transform: translateY(-10px) scale(.78); }
.site-header.is-scrolled .brand-tag { opacity: 0; }
.brand-tag { transition: opacity .25s; }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.main-nav ul { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: .78rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--texto); position: relative; padding: 8px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--rosa); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--roxo); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: linear-gradient(180deg, #fff 0%, var(--creme) 70%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; right: -60px; top: 40px; background: radial-gradient(circle, #FFE7C2, transparent 70%); }
.blob-2 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, #F4E6FF, transparent 70%); }

.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center; gap: 20px; min-height: min(700px, 92vh); padding-bottom: 70px;
}
.hero-copy { position: relative; z-index: 3; padding-top: 70px; }
.hero-title {
  font-family: var(--f-display); font-weight: 800; color: var(--roxo);
  font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: .86; letter-spacing: -.015em;
  margin-bottom: 26px;
}
.hero-title .line { display: block; overflow: hidden; padding: .06em 0 .02em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:nth-child(2), .hero-title .line:nth-child(4) { padding-left: .22em; }
.hero-title .rainbow { font-size: 1.14em; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--texto); max-width: 31ch; margin-bottom: 30px; }
.hero-actions { margin-bottom: 38px; }
.hero-mini { display: flex; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; }
.hero-mini li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--texto-suave); }
.hero-mini img, .hero-mini svg { width: 38px; height: 34px; object-fit: contain; }

.hero-visual { position: relative; align-self: stretch; min-height: 560px; }
.hero-photo {
  position: absolute; inset: -20px calc(-1 * ((100vw - min(100vw, var(--container))) / 2 + var(--gutter))) 0 -12%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(0deg, transparent 0, #000 12%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(0deg, transparent 0, #000 12%);
  mask-composite: intersect;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 20%; }

.doodle { position: absolute; z-index: 2; pointer-events: none; }
.d-sun { width: clamp(80px, 9vw, 130px); height: auto; aspect-ratio: 1; left: -2%; top: 8%; }
.d-heart { width: clamp(44px, 4.8vw, 66px); aspect-ratio: 64/58; height: auto; left: 3%; top: 38%; }
.d-star { width: clamp(38px, 4vw, 56px); aspect-ratio: 1; height: auto; right: 13%; top: 40%; }
.d-spark { width: 52px; aspect-ratio: 1; height: auto; left: -14%; top: 30%; }
.d-note { width: 46px; aspect-ratio: 1; height: auto; right: 3%; bottom: 12%; opacity: .95; }
.hero-handnote {
  right: -3%; top: 7%; width: 11ch; text-align: center; transform: rotate(-10deg);
  font-family: var(--f-hand); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.05; color: var(--roxo);
}
.hero-handnote::after { content: ""; display: block; width: 70%; height: 5px; margin: 8px auto 0; border-radius: 4px; background: var(--rosa); transform: rotate(-3deg); }

.hero-pills { position: absolute; right: -1%; top: 53%; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pill {
  font-weight: 600; color: #fff; font-size: clamp(.82rem, 1vw, .95rem); padding: .7em 1.3em; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md); transform: rotate(-6deg);
}
.pill-roxo { background: #7A45C4; }
.pill-laranja { background: #EE7A12; margin-right: 22px; }
.pill-verde { background: #4E9A2A; }

.wave { position: absolute; left: 0; width: 100%; pointer-events: none; }
.wave-bottom { bottom: -1px; height: clamp(40px, 6vw, 90px); z-index: 4; }

/* ---------- Pilares ---------- */
.pillars { position: relative; background: var(--creme); padding: 24px 0 72px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { text-align: center; padding: 18px 22px 22px; border-radius: 24px; position: relative; transition: background-color .45s var(--ease); }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; border-left: 2px dashed rgba(32, 36, 42, .12); }
.pillar img { width: auto; height: 88px; margin: 0 auto 14px; transition: transform .45s var(--ease); }
.pillar h3 { font-family: var(--f-cond); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin-bottom: 8px; }
.pillar p { font-size: .92rem; color: var(--texto-suave); max-width: 22ch; margin-inline: auto; }
.pillar:hover { background: #fff; }
.pillar:hover img { transform: translateY(-6px) rotate(-3deg) scale(1.04); }

/* ---------- Títulos de seção ---------- */
.display {
  font-family: var(--f-cond); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: .95; letter-spacing: .005em;
}
.display > span { display: block; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--texto); max-width: 34ch; }
.section-head.center { text-align: center; position: relative; }
.sub { color: var(--texto-suave); margin-top: 6px; font-size: 1.05rem; }
.sub::before, .sub::after { content: ""; display: inline-block; width: 24px; height: 2px; background: currentColor; opacity: .35; vertical-align: middle; margin: 0 10px; border-radius: 2px; }

/* ---------- 1.000 Sorrisos ---------- */
.smiles { background: #fff; padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 9vw, 120px); position: relative; }
.smiles-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.smiles h2 { position: relative; display: inline-block; font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 22px; }
.d-smile { width: clamp(70px, 8vw, 104px); aspect-ratio: 1; height: auto; right: -30%; top: -30%; animation: float 7s ease-in-out infinite; }
.smiles .lead { margin-bottom: 30px; max-width: 30ch; }

.progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; max-width: 460px; margin-bottom: 34px; }
.progress-track { height: 46px; border-radius: var(--radius-pill); background: #D9E6F2; overflow: hidden; position: relative; }
.progress-fill {
  height: 100%; width: 0%; border-radius: inherit; display: flex; align-items: center; padding-left: 20px;
  background: linear-gradient(90deg, #FFD46B, #F5A623); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .06);
  min-width: 90px;
}
.progress-count { font-family: var(--f-cond); font-weight: 700; font-size: 1.5rem; color: #4A2A0A; font-variant-numeric: tabular-nums; }
.progress-goal { font-family: var(--f-cond); font-weight: 700; font-size: 1.8rem; color: var(--roxo-profundo); }
.progress-note { grid-column: 1 / -1; justify-self: end; margin-right: 40px; display: flex; align-items: flex-start; gap: 6px; font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--azul-texto); transform: rotate(-4deg); margin-top: 10px; }
.progress-note svg { width: 42px; color: var(--turquesa-texto); margin-top: -8px; }

.smiles-visual { position: relative; }
.photo-frame { background: #fff; padding: 12px; border-radius: 22px; transform: rotate(3deg); box-shadow: 0 24px 40px -20px rgba(58, 27, 112, .45), 0 0 0 1px rgba(0, 0, 0, .04); }
.photo-frame img { border-radius: 14px; width: 100%; aspect-ratio: 706/462; object-fit: cover; }
.postit {
  position: absolute; right: -2%; bottom: -16%; width: clamp(200px, 21vw, 260px); z-index: 2;
  background: #FFE88F; padding: 22px 22px 26px; text-align: center; transform: rotate(-6deg);
  font-family: var(--f-hand); font-weight: 700; font-size: clamp(1.7rem, 2.2vw, 2rem); line-height: 1; color: var(--roxo-profundo);
  box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .35); border-radius: 2px 2px 14px 2px;
}
.postit::before { content: ""; position: absolute; left: 50%; top: -12px; width: 86px; height: 24px; transform: translateX(-50%) rotate(3deg); background: rgba(255, 255, 255, .6); }
.postit span { display: block; font-size: .72em; margin-top: 4px; line-height: 1.2; }
.postit svg { position: absolute; right: 12px; bottom: 10px; width: 28px; height: 26px; }

/* ---------- Como funciona ---------- */
.how { position: relative; padding: 50px 0 60px; background: linear-gradient(180deg, #fff 50%, var(--creme) 50%); }
.wave-top { top: 0; height: 70px; }
.wave-bottom-how { bottom: 0; height: 70px; }
.how-inner { background: var(--agua); padding: 40px 0 70px; margin-top: 20px; }
.how .display { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.how-spark { width: 60px; height: 60px; left: auto; right: 4%; top: 0; transform: rotate(10deg); }
.timeline { position: relative; margin-top: 50px; }
.timeline-line { position: absolute; pointer-events: none; overflow: visible; }
.timeline-line path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.timeline-line .track { stroke: rgba(32, 36, 42, .22); stroke-width: 2; stroke-dasharray: 6 8; }
.timeline-line .draw { stroke: var(--roxo); stroke-width: 3.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.no-js .timeline-line .draw, .reduced .timeline-line .draw { stroke-dashoffset: 0; }
.timeline-line.h { left: 28px; right: 8%; top: 28px; height: 20px; }
.timeline-line.v { display: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.step-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.num {
  width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: #fff; box-shadow: 0 0 0 6px var(--agua);
}
.n1 { background: var(--azul-texto); } .n2 { background: #2C8A3E; } .n3 { background: #E0720A; } .n4 { background: var(--rosa-texto); }
.step-top img { height: 62px; width: auto; transition: transform .45s var(--ease); }
.step:hover .step-top img { transform: translateY(-4px) rotate(3deg); }
.step h3 { font-weight: 600; font-size: 1.1rem; line-height: 1.25; color: var(--azul-texto); margin-bottom: 6px; }
.step:nth-child(2) h3 { color: #2C7A36; }
.step:nth-child(3) h3 { color: #1B4C8C; }
.step:nth-child(4) h3 { color: #1B4C8C; }
.step p { font-size: .94rem; color: var(--texto-suave); max-width: 24ch; }

/* ---------- Empresas ---------- */
.companies { background: var(--creme); padding: clamp(60px, 8vw, 100px) 0; }
.companies-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.companies h2 { margin-bottom: 22px; }
.companies .lead { margin-bottom: 32px; max-width: 38ch; font-size: 1.05rem; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 22px 20px; border-radius: 18px;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.benefit:nth-child(2) { border-radius: 22px 18px 24px 16px; }
.benefit:nth-child(3) { border-radius: 16px 24px 18px 22px; }
.benefit img { width: 46px; height: 46px; object-fit: contain; flex: none; transition: transform .4s var(--ease); }
.benefit h3 { font-size: 1rem; font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.benefit p { font-size: .88rem; color: var(--texto-suave); }
.benefit:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(58, 27, 112, .45); }
.benefit:hover img { transform: rotate(-3deg) scale(1.05); }

/* ---------- Bloco emocional ---------- */
.quote-band {
  position: relative; overflow: hidden; min-height: 300px;
  background: linear-gradient(90deg, #FDE8D6 0%, #FFF4E7 50%, #FFF7EC 100%);
}
.quote-photo { position: absolute; left: 0; top: -20px; bottom: -20px; width: min(34%, 420px); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.quote-inner { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 1.2fr) 1fr; align-items: center; min-height: 300px; }
.quote-inner blockquote { grid-column: 2; text-align: center; padding: 40px 0; }
.quote-inner blockquote p { font-family: var(--f-hand); font-weight: 700; color: var(--roxo-profundo); font-size: clamp(1.7rem, 2.7vw, 2.35rem); line-height: 1.15; }
.quote-inner blockquote footer { margin-top: 14px; font-size: .95rem; color: var(--texto); }
.q-heart { width: 50px; height: 46px; left: 26%; top: 34%; animation: float 6s ease-in-out infinite; }
.quote-art { grid-column: 3; justify-self: end; position: relative; width: 230px; height: 230px; }
.q-rays { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
.q-globe { position: absolute; inset: 30px; width: calc(100% - 60px); height: calc(100% - 60px); }
.q-heart2 { position: absolute; right: 0; top: 4px; width: 38px; height: 34px; animation: float 5s ease-in-out infinite reverse; }
.q-note {
  position: absolute; right: -14px; bottom: 6px; background: #FFF6E6; padding: 8px 14px 10px; transform: rotate(-8deg);
  font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--roxo-profundo); text-align: center; width: 150px;
  box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .35);
}

/* ---------- CTA final ---------- */
.final { position: relative; color: #fff; padding: 58px 0 68px; background: linear-gradient(90deg, #FDE8D6 0%, #FFF4E7 50%, #FFF7EC 100%) top / 100% 50% no-repeat, #fff; }
.final-wave-top { top: 0; height: 60px; }
.final-wave-bottom { bottom: 0; height: 70px; }
.final-inner { position: relative; background: var(--roxo-escuro); overflow: hidden; padding: 50px 0 60px; }
.final-leaves { position: absolute; z-index: 2; left: -24px; bottom: 16px; -webkit-mask-image: linear-gradient(0deg, transparent, #000 18%); mask-image: linear-gradient(0deg, transparent, #000 18%); width: clamp(160px, 21vw, 300px); height: auto; opacity: .95; }
.final-twinkle { position: absolute; color: var(--laranja); width: 20px; height: 20px; animation: twinkle 4s ease-in-out infinite; }
.final-twinkle.t1 { left: 18%; top: 62%; }
.final-twinkle.t2 { left: 6%; top: 18%; width: 14px; animation-delay: 1.2s; }
.final-twinkle.t3 { right: 32%; top: 16%; width: 12px; animation-delay: 2.4s; color: #FFE88F; }
.final-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.final-copy { text-align: center; padding-left: clamp(0px, 12vw, 180px); }
.final .display { font-size: clamp(2.3rem, 4.4vw, 3.4rem); display: inline-flex; align-items: flex-start; gap: 6px; }
.final-spark { width: 36px; height: 36px; margin-top: -14px; }
.final-copy p { margin: 16px auto 30px; max-width: 42ch; color: #F1E9FF; font-size: 1.05rem; }
.final-brand { text-align: center; }
.final-brand img { width: clamp(150px, 16vw, 210px); margin: 0 auto; }
.final-brand span { display: block; font-family: var(--f-hand); font-weight: 700; font-size: 1.4rem; margin-top: 4px; }
.final-brand u { background: linear-gradient(transparent 70%, rgba(255, 255, 255, .5) 70% 82%, transparent 82%); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "links links links" ". social sign"; row-gap: 24px; align-items: center; }
.footer-inner > nav { grid-area: links; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; }
.footer-links a { text-decoration: none; color: var(--azul-texto); font-weight: 500; font-size: .9rem; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social { grid-area: social; display: flex; gap: 22px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: #1F2A44; border-radius: 12px; transition: transform .3s var(--ease), color .3s; }
.social a:hover { transform: translateY(-3px); color: var(--roxo); }
.social svg { width: 26px; height: 26px; }
.footer-sign { grid-area: sign; justify-self: end; display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.footer-sign svg { width: 30px; height: 27px; }
.copyright { text-align: center; margin-top: 18px; font-size: .78rem; color: #6A6F77; }

/* ---------- Barra sticky mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(40, 18, 80, .55); backdrop-filter: blur(3px); animation: fade .3s ease; }
.modal-card {
  position: relative; width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--creme); border-radius: 26px; padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 30px 60px -20px rgba(20, 8, 50, .6); animation: pop .45s var(--ease);
  overscroll-behavior: contain;
}
.modal-card h2 { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; color: var(--roxo); font-size: 2.3rem; line-height: 1; }
.modal-sub { color: var(--texto-suave); margin: 6px 0 22px; }
.modal-close { position: absolute; right: 14px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--roxo); box-shadow: var(--shadow-sm); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--roxo-profundo); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--texto); background: #fff; border: 2px solid #E6DDF3; border-radius: 14px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--roxo); box-shadow: 0 0 0 4px rgba(90, 42, 157, .15); }
.field [aria-invalid="true"] { border-color: var(--rosa-texto); }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--rosa-texto); font-weight: 500; font-size: .92rem; }
.form button[type="submit"] { margin-top: 6px; }
.form button[disabled] { opacity: .7; cursor: progress; }
.modal-success { text-align: center; padding: 20px 0 6px; }
.modal-success:focus { outline: none; }
.success-heart { width: 72px; height: 66px; margin: 0 auto 14px; animation: beat 1.4s ease-in-out infinite; }
.modal-success p { max-width: 34ch; margin: 12px auto 24px; font-size: 1.08rem; }
body.modal-open { overflow: hidden; }

/* ---------- Estados de animação (JS) ---------- */
.js:not(.reduced) [data-reveal], .js:not(.reduced) [data-step] { opacity: 0; }
.js:not(.reduced) .hero-intro { opacity: 0; }
.no-gsap [data-reveal], .no-gsap [data-step], .no-gsap .hero-intro { opacity: 1 !important; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.08); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1100px) {
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: .72rem; }
  .hero-pills { right: 1%; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand { top: 0; flex-direction: row; align-items: center; }
  .brand-logo { width: 104px; }
  .brand-tag { display: none; }
  .site-header.is-scrolled .brand { transform: scale(.9); }
  .menu-toggle {
    display: grid; place-content: center; gap: 5px; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--creme); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--roxo); transition: transform .3s, opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; align-items: stretch; gap: 18px; background: #fff; padding: 20px var(--gutter) 28px;
    box-shadow: 0 20px 30px -20px rgba(58, 27, 112, .4);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility .35s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; font-size: 1rem; text-transform: none; letter-spacing: 0; padding: 14px 0; border-bottom: 1px solid #F0EAF7; }
  .main-nav a::after { display: none; }
  .nav-cta { min-height: 52px; font-size: 1rem; }
  .site-header.is-scrolled .header-inner { height: 62px; }

  /* Hero empilhado, pensado para mobile */
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; gap: 0; }
  .hero-copy { padding-top: 34px; text-align: left; }
  .hero-title { font-size: clamp(3rem, 13vw, 4.6rem); }
  .hero-lead { max-width: 30ch; }
  .hero-mini { justify-content: space-between; max-width: 420px; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / 1.02; margin: 20px calc(var(--gutter) * -1) 0; }
  .hero-photo { inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 86%, transparent); }
  .hero-photo img { object-position: 40% 20%; }
  .d-sun { left: 4%; top: 6%; width: 78px; }
  .d-heart { left: 6%; top: 40%; }
  .d-spark { display: none; }
  .d-star { right: 8%; top: 36%; }
  .hero-handnote { right: 3%; top: 6%; font-size: 1.35rem; }
  .hero-pills { right: 3%; top: auto; bottom: 16%; gap: 8px; }
  .pill { font-size: .8rem; }

  .pillars { padding-bottom: 50px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .pillar:nth-child(3)::before { display: none; }

  .smiles-grid, .companies-grid { grid-template-columns: 1fr; }
  .smiles h2 { margin-top: 10px; }
  .d-smile { right: -26%; top: -24%; }
  .smiles-visual { margin: 10px 8px 70px; }
  .postit { right: 0; bottom: -54px; }

  /* timeline vertical */
  .timeline { margin-top: 34px; }
  .timeline-line.h { display: none; }
  .timeline-line.v { display: block; left: 18px; top: 28px; height: calc(100% - 120px); width: 20px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-top { display: contents; }
  .step .num { grid-row: 1 / span 3; }
  .step-top img { grid-column: 2; height: 52px; margin-bottom: 8px; justify-self: start; }
  .step h3, .step p { grid-column: 2; max-width: none; }
  .how-spark { top: 6px; width: 44px; }

  .benefits { grid-template-columns: 1fr 1fr; }

  .quote-band { padding-bottom: 20px; }
  .quote-photo { position: relative; width: 100%; height: 260px; top: 0; }
  .quote-photo img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); object-position: 30% 25%; }
  .quote-inner { grid-template-columns: 1fr; min-height: 0; }
  .quote-inner blockquote { grid-column: 1; padding: 10px 0 20px; }
  .q-heart { left: auto; right: 8%; top: -40px; }
  .quote-art { grid-column: 1; justify-self: center; width: 190px; height: 190px; margin-bottom: 10px; }

  .final-grid { grid-template-columns: 1fr; }
  .final-copy { padding-left: 0; }
  .final-leaves { width: 130px; opacity: .5; left: -40px; }

  .footer-inner { grid-template-columns: 1fr; grid-template-areas: "links" "social" "sign"; justify-items: center; }
  .footer-sign { justify-self: center; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; position: fixed; left: 10px; right: 10px; z-index: 40;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 6px; background: rgba(255, 255, 255, .97);
    border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(58, 27, 112, .5);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a, .mobile-bar button {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; border: 0; cursor: pointer;
  }
  .mobile-bar a { color: var(--roxo); background: #F3ECFB; }
  .mobile-bar button { color: #fff; background: var(--roxo); }
  .mobile-bar .ico { width: 18px; height: 18px; }
  .site-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 560px) {
  .sub::before, .sub::after { display: none; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 14px 8px; }
  .pillar img { height: 66px; }
  .pillar h3 { font-size: 1.35rem; }
  .pillar p { font-size: .84rem; }
  .benefits { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; font-size: .98rem; padding-inline: 1.1em; }
  .progress-track { height: 40px; }
  .progress-note { margin-right: 0; }
  .hero-mini img, .hero-mini svg { width: 32px; height: 30px; }
  .hero-mini li { font-size: .76rem; }
  .d-smile { right: -18%; top: -30%; width: 64px; }
  .display { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .smiles h2 { font-size: clamp(2.4rem, 12vw, 3rem); }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
