/* ============================================================
   BIPI — design system
   Base areia + acentos joia: musgo, oceano, ametista, rubi
   ============================================================ */
:root {
  /* ===== Base areia (clara e quente) ===== */
  --bg:        #e7e3db;   /* areia (seções claras) */
  --bg-soft:   #ded9cf;
  --ink:       #23201a;   /* tinta (texto principal) */
  --ink-soft:  #565049;
  --ink-faint: #8a8377;

  /* família "green" remapeada p/ tinta/neutro quente (nomes mantidos) */
  --green:     #2a2620;   /* acento primário / botões (tinta) */
  --green-deep:#23201a;
  --green-lite:#a39c8f;   /* neutro quente médio */
  --green-neon:#f1eee8;   /* névoa clara (acento sobre escuro) */

  /* acentos antigos -> neutros quentes contidos (revisar por etapa) */
  --amber:     #8a8377;
  --amber-deep:#565049;
  --coral:     #8a8377;
  --coral-deep:#565049;
  --lilac:     #a39c8f;
  --lilac-deep:#8a8377;

  --dark:      #1c1912;   /* grafite fundo quente (seções escuras) */
  --dark-2:    #23201a;
  --line:      rgba(35, 32, 26, .12);
  --line-d:    rgba(255, 255, 255, .12);
  --shadow:    0 30px 70px -30px rgba(0, 0, 0, .35);
  --radius:    20px;
  --maxw:      1180px;

  --chrome:    linear-gradient(180deg, #f1eee8, #d8d2c6 45%, #a39c8f 70%, #565049);

  /* ===== acentos joia (musgo, oceano, ametista, rubi) ===== */
  --moss:      #5e7444;
  --cyan:      #1f6378;   /* oceano (acento nº 1) */
  --cyan-deep: #1b5568;   /* oceano legível em fundo claro */
  --magenta:   #98202f;   /* rubi */
  --violet:    #7e3565;   /* ametista */
  --fluor:     linear-gradient(115deg, #5e7444, #1f6378 40%, #7e3565 72%, #98202f);

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;
  --nav-h:     74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--green-neon); color: var(--dark); }

/* ===== barra de progresso ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--fluor);
  z-index: 100; transition: width .1s linear;
}

/* ===== fundo translúcido ===== */
.bg-mesh { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); }
.blob--1 { width: 46vw; height: 46vw; top: -12vw; left: -8vw;
  background: radial-gradient(circle at 30% 30%, var(--cyan), transparent 70%); opacity: .14; }
.blob--2 { width: 40vw; height: 40vw; top: 40vh; right: -12vw;
  background: radial-gradient(circle at 50% 50%, var(--magenta), transparent 70%); opacity: .12; }
.blob--3 { width: 44vw; height: 44vw; bottom: -14vw; left: 24vw;
  background: radial-gradient(circle at 50% 50%, var(--violet), transparent 72%); opacity: .12; }

/* ===== formas de vidro (backdrop-filter) ===== */
.glass-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gblob {
  position: absolute;
  border-radius: 46% 54% 43% 57% / 56% 44% 56% 44%;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow:
    inset 10px 12px 34px rgba(255,255,255,.22),
    inset -14px -18px 48px rgba(12,46,38,.30),
    0 26px 60px -22px rgba(12,46,38,.4);
  animation: floatA 18s ease-in-out infinite;
}
.gblob::before {
  content: ""; position: absolute; top: 12%; left: 14%; width: 46%; height: 34%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 68%);
  filter: blur(3px);
}
.gblob::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 -3px 10px rgba(230,235,242,.4), inset 2px 0 8px rgba(230,235,242,.18);
}
.gblob--green { background: linear-gradient(135deg, rgba(230,235,242,.16), rgba(120,130,150,.06)); }
.gblob--lilac { background: linear-gradient(135deg, rgba(210,215,224,.18), rgba(130,138,152,.06));
  border-radius: 54% 46% 57% 43% / 44% 57% 43% 56%; animation-name: floatB; animation-duration: 22s; }
.gblob--amber { background: linear-gradient(135deg, rgba(224,228,236,.18), rgba(150,158,172,.05));
  border-radius: 52% 48% 60% 40% / 48% 60% 40% 52%; animation-duration: 24s; }

@keyframes floatA { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-24px) rotate(5deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(22px) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .gblob { animation: none !important; } }
@media (max-width: 720px) { .gblob { transform: scale(.7); opacity: .7; } }

/* ===== tipografia utilitária ===== */
.label {
  font-family: var(--f-mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .04em; color: var(--cyan-deep); text-transform: lowercase;
  margin-bottom: 20px; display: inline-block;
}
.label--coral, .label--amber, .label--lilac, .label--green { color: var(--cyan-deep); }
.section--dark .label { color: var(--cyan); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
.hl { position: relative; white-space: nowrap; }
.hl--green { color: var(--green); }
.hl--coral { color: var(--coral-deep); position: relative; }
.hl--coral::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 8px;
  background: color-mix(in srgb, var(--coral) 35%, transparent); z-index: -1; border-radius: 3px;
}

/* ===== layout ===== */
main { display: block; position: relative; }
main > .section, main > .hero { position: relative; z-index: 1; }
.section { max-width: var(--maxw); margin: 0 auto; padding: 108px 24px; position: relative; }
.section--light { max-width: none; background: #ffffff; }
.section--light > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--dark {
  max-width: none; background: var(--dark); color: #eaf1ec; overflow: hidden;
}
.section--dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.section--dark > .grid-bg,
.section--dark > .exp-bg { max-width: none; margin: 0; z-index: 0; }
.section--dark h2 { color: #fff; }
.section--dark .hl--green, .section--dark .hl--coral, .section--dark .hl--amber {
  background: var(--fluor); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--dark .section__lead { color: rgba(234,241,236,.62); }

/* fundo abstrato futurista — formas assimétricas de luz (verde + laranja) */
.grid-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(55% 75% at 4% -5%,  rgba(31,99,120,.20), transparent 60%),
    radial-gradient(70% 60% at 108% 24%, rgba(152,32,47,.18), transparent 60%),
    radial-gradient(50% 65% at 88% 120%, rgba(126,53,101,.16), transparent 64%),
    radial-gradient(45% 55% at 30% 112%, rgba(94,116,68,.12), transparent 66%);
}
/* blob rubi assimétrico que deriva */
.grid-bg::before {
  content: ""; position: absolute; top: -22%; right: -12%;
  width: 68%; height: 95%;
  background: radial-gradient(closest-side, rgba(152,32,47,.24), rgba(152,32,47,0) 76%);
  border-radius: 62% 38% 55% 45% / 52% 60% 40% 48%;
  filter: blur(42px);
  animation: auroraA 26s ease-in-out infinite alternate;
}
/* blob oceano assimétrico que deriva */
.grid-bg::after {
  content: ""; position: absolute; bottom: -26%; left: -10%;
  width: 66%; height: 88%;
  background: radial-gradient(closest-side, rgba(31,99,120,.26), rgba(31,99,120,0) 74%);
  border-radius: 40% 60% 48% 52% / 58% 42% 60% 40%;
  filter: blur(48px);
  animation: auroraB 32s ease-in-out infinite alternate;
}
@keyframes auroraA {
  0%   { transform: translate(-6%, -4%) rotate(0deg)  scale(1); }
  100% { transform: translate(8%, 10%)  rotate(18deg) scale(1.15); }
}
@keyframes auroraB {
  0%   { transform: translate(4%, 6%)   rotate(0deg)   scale(1.05); }
  100% { transform: translate(-8%, -6%) rotate(-16deg) scale(1.2); }
}
@media (prefers-reduced-motion: reduce) { .grid-bg::before, .grid-bg::after { animation: none; } }

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-bottom: 20px; }
.section__lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 620px; }

/* ===== botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: .96rem;
  text-decoration: none; cursor: pointer; border: none;
  padding: 15px 26px; border-radius: 100px;
  background: var(--green); color: #fff;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s;
  box-shadow: 0 12px 26px -14px rgba(20,21,26,.6), 0 0 0 1px rgba(34,211,238,.12);
  will-change: transform;
}
.btn:hover { background: var(--green-deep); box-shadow: 0 18px 34px -14px rgba(20,21,26,.7), 0 0 20px -4px rgba(34,211,238,.35); }
.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--lg { padding: 17px 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--green-deep);
  border: 1.5px solid color-mix(in srgb, var(--green) 45%, transparent); box-shadow: none;
}
.btn--ghost:hover { background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green-deep); box-shadow: none; }

/* ===== nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  transition: padding .3s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px;
}
.brand { text-decoration: none; }
.brand__mark { font-family: var(--f-display); font-size: 1.55rem; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.brand__mark span { color: var(--cyan); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
/* nav sobre o herói escuro (topo, ainda não rolou): texto claro */
.nav:not(.is-scrolled) .brand__mark { color: #fff; }
.nav:not(.is-scrolled) .brand__mark span { color: #fff; }
.nav:not(.is-scrolled) .nav__links a { color: rgba(255,255,255,.82); }
.nav:not(.is-scrolled) .nav__links a:hover { color: #fff; }
.nav:not(.is-scrolled) .btn--sm { background: #fff; color: #16110d; }

/* ===== hero (dark, com esfera de partículas) ===== */
/* ===== HERO cinético: headline revelada palavra a palavra pelo scroll ===== */
.hero { position: relative; height: 260vh; margin-top: calc(-1 * var(--nav-h)); background: var(--dark); color: #f4f1ea; }
.hero__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 0 24px;
  background:
    radial-gradient(60% 66% at 50% 32%, rgba(31,99,120,.22), transparent 62%),
    radial-gradient(48% 55% at 50% 106%, rgba(152,32,47,.14), transparent 60%),
    var(--dark);
}
.hero__pin::before {
  content: ""; position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  top: -16%; left: 16%; pointer-events: none;
  background: radial-gradient(circle, rgba(126,53,101,.16), transparent 60%);
  filter: blur(30px); animation: heroDrift 24s ease-in-out infinite alternate;
}
.hero__pin::after {
  content: ""; position: absolute; width: 54vmax; height: 54vmax; border-radius: 50%;
  bottom: -20%; right: 14%; pointer-events: none;
  background: radial-gradient(circle, rgba(94,116,68,.14), transparent 60%);
  filter: blur(30px); animation: heroDrift 30s ease-in-out infinite alternate-reverse;
}
@keyframes heroDrift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(8%,10%) scale(1.14); } }
/* camadas de luz que reagem ao scroll (var --hp = progresso 0..1, setado no JS) */
.hero__pin { --hp: 0; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.g { position: absolute; left: 50%; top: 50%; border-radius: 50%; filter: blur(38px); will-change: transform, opacity; }
.g1 { width: 74vmax; height: 74vmax; margin: -37vmax; background: radial-gradient(circle, rgba(31,99,120,.34), transparent 60%);
  transform: translate(calc(var(--hp) * -6vmax), calc(-8vh - var(--hp) * 16vh)) scale(calc(.85 + var(--hp) * .5));
  opacity: calc(.5 + var(--hp) * .5); }
.g2 { width: 60vmax; height: 60vmax; margin: -30vmax; background: radial-gradient(circle, rgba(126,53,101,.30), transparent 60%);
  transform: translate(calc(var(--hp) * 9vmax), calc(26vh - var(--hp) * 34vh)) scale(calc(.7 + var(--hp) * .7));
  opacity: calc(var(--hp) * .95); }
.g3 { width: 52vmax; height: 52vmax; margin: -26vmax; background: radial-gradient(circle, rgba(94,116,68,.26), transparent 60%);
  transform: translate(calc(-22vmax + var(--hp) * -8vmax), calc(-18vh + var(--hp) * 20vh)) scale(calc(.8 + var(--hp) * .45));
  opacity: calc(.25 + var(--hp) * .6); }
@media (prefers-reduced-motion: reduce) { .g { transition: none; } }
/* mitose: uma célula que se divide conforme o scroll (--hp) */
.mito { position: absolute; left: 50%; top: 46%; width: 0; height: 0; z-index: 1; pointer-events: none; }
.mito .mcell {
  position: absolute; width: 19vmin; height: 19vmin; margin: -9.5vmin; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(94,116,68,.40), rgba(31,99,120,.30) 46%, rgba(126,53,101,.22) 72%, transparent 78%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 30px rgba(255,255,255,.10), 0 0 46px -12px rgba(31,99,120,.45);
  opacity: .5; filter: blur(2px); will-change: transform;
}
.mito .mcell::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: var(--fluor); opacity: .5; filter: blur(3px); }
.mito .c1 { transform: translate(calc(var(--hp) * -17vmin), calc(var(--hp) * -11vmin)) scale(calc(1 - var(--hp) * .18)); }
.mito .c2 { transform: translate(calc(var(--hp) *  17vmin), calc(var(--hp) * -11vmin)) scale(calc(1 - var(--hp) * .18)); }
.mito .c3 { transform: translate(calc(var(--hp) * -17vmin), calc(var(--hp) *  11vmin)) scale(calc(1 - var(--hp) * .18)); }
.mito .c4 { transform: translate(calc(var(--hp) *  17vmin), calc(var(--hp) *  11vmin)) scale(calc(1 - var(--hp) * .18)); }
.hero__inner { max-width: 940px; width: 100%; text-align: center; margin-inline: auto; position: relative; z-index: 2; }
.hero__label { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; color: rgba(244,241,234,.5); margin-bottom: 26px; }
.hero__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.6rem, 8vw, 5.8rem); line-height: 1.04; letter-spacing: -.03em; color: #fff; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.5em) scale(.94); filter: blur(10px); transition: opacity .5s ease, transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.hero__title .w.is-in { opacity: 1; transform: none; filter: none; }
.hero__title .hl { background: var(--fluor); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__rest { margin-top: 36px; opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.hero__rest.is-in { opacity: 1; transform: none; }
.hero__sub { max-width: 560px; margin: 0 auto 32px; font-size: 1.16rem; color: rgba(244,241,234,.82); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero__proof { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.hero__proof div { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.hero__proof span { font-size: .82rem; color: rgba(244,241,234,.55); margin-top: 8px; }
.hero__hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: .76rem; color: rgba(244,241,234,.5); letter-spacing: .04em; transition: opacity .4s; }
.hero__hint.is-hidden { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; min-height: 100vh; }
  .hero__pin { position: relative; height: auto; min-height: 100vh; }
  .hero__title .w { opacity: 1; transform: none; filter: none; }
  .hero__rest { opacity: 1; transform: none; }
  .hero__pin::before, .hero__pin::after { animation: none; }
}

/* ===== faixa full-bleed com foto (ritmo escuro) ===== */
.band { position: relative; overflow: hidden; min-height: 62vh; display: flex; align-items: center; padding: 100px 24px; background: var(--dark); }
/* fundo abstrato da marca nas faixas (no lugar das fotos) */
.band__art { z-index: 0; }
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,13,9,.86) 0%, rgba(16,13,9,.55) 55%, rgba(16,13,9,.18) 100%); }
.band__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; color: #f4f1ea; }
.band .label { color: var(--cyan); }
.band__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1.02; margin: 14px 0 16px; color: #fff; }
.band .hl--green { background: var(--fluor); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band__sub { max-width: 46ch; color: rgba(244,241,234,.82); font-size: 1.12rem; margin-bottom: 28px; }
@media (max-width: 768px) { .band__scrim { background: linear-gradient(180deg, rgba(16,13,9,.5), rgba(16,13,9,.82)); } }

/* ===== foto de fundo em seção escura ===== */
.section__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section--dark > .section__photo { max-width: none; margin: 0; z-index: 0; }
.section__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section__photo::after { content: ""; position: absolute; inset: 0; background: rgba(14,11,8,.76); }

/* ecossistema: conteúdo à esquerda, célula respira e aparece à direita (sem overlay pesado) */
#ecossistema .section__photo::after { background: linear-gradient(90deg, rgba(14,11,8,.68) 0%, rgba(14,11,8,.28) 42%, rgba(14,11,8,0) 64%); }
#ecossistema .section__head { max-width: var(--maxw); text-align: left; }
#ecossistema .dna { max-width: var(--maxw); }
#ecossistema .section__head > *, #ecossistema .dna__root, #ecossistema .dna__branches { max-width: 640px; margin-left: 0; margin-right: 0; }
@media (max-width: 768px) {
  #ecossistema .section__photo::after { background: rgba(14,11,8,.72); }
  #ecossistema .section__head > *, #ecossistema .dna__root, #ecossistema .dna__branches { max-width: none; }
}

/* ===== problema ===== */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.prob-card {
  background: color-mix(in srgb, var(--coral) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--coral) 20%, transparent);
  border-radius: var(--radius); padding: 34px; position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .3s, box-shadow .3s;
}
.prob-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(226,71,42,.3); }
.prob-card h3 { font-size: 1.4rem; color: var(--coral-deep); margin-bottom: 12px; }
.prob-card p { color: var(--ink-soft); }
.prob-card__tag {
  order: -1; margin-bottom: 18px; font-family: var(--f-mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--coral-deep);
  border: 1px solid color-mix(in srgb, var(--coral) 30%, transparent); padding: 5px 12px; border-radius: 100px;
}
.problem-bridge { margin-top: 48px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.3; max-width: 820px; }
.problem-bridge .hl { white-space: normal; }

/* ===== estatísticas ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat strong { font-family: var(--f-display); font-weight: 900; font-size: 3rem; line-height: 1; letter-spacing: -.03em; display: block; margin-bottom: 14px; color: var(--green-deep); }
.stat p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 18px; }
.stat small { font-family: var(--f-mono); font-size: .7rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }
.stat--green { border-top-color: var(--cyan); } .stat--green strong { color: var(--cyan-deep); }
.stat--amber { border-top-color: var(--magenta); } .stat--amber strong { color: var(--magenta); }
.stat--coral { border-top-color: var(--violet); } .stat--coral strong { color: var(--violet); }
.stat--lilac { border-top-color: var(--cyan); } .stat--lilac strong { color: var(--cyan-deep); }
.stats__bridge { margin-top: 44px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.3; max-width: 860px; }
.stats__bridge .hl { white-space: normal; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ===== comparativo ===== */
.compare {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden;
  background: var(--dark);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.compare__row {
  display: grid; grid-template-columns: 1.2fr 1.3fr 1.2fr; align-items: center;
  padding: 22px 28px; border-bottom: 1px solid var(--line-d); gap: 16px;
  transition: background .3s;
}
.compare__row:last-child { border-bottom: none; }
.compare__row:not(.compare__row--head):hover { background: rgba(255,255,255,.03); }
.compare__row > span:first-child { color: rgba(234,241,236,.75); font-weight: 500; }
.compare__row--head span { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(234,241,236,.4); }
.compare__bipi { color: var(--cyan); }
.compare__bipi strong { font-family: var(--f-display); font-weight: 700; color: var(--cyan); }
.compare__row--head .compare__bipi { color: var(--cyan); font-family: var(--f-mono); }
.compare__them { color: rgba(234,241,236,.5); }

/* ===== metodologia ===== */
.method { display: grid; grid-template-columns: 260px 1fr; gap: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.method__tabs { display: flex; flex-direction: column; background: var(--bg-soft); border-right: 1px solid var(--line); }
.method__tab {
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; text-align: left;
  padding: 22px 26px; background: none; border: none; cursor: pointer; color: var(--ink-soft);
  border-left: 3px solid transparent; transition: all .25s;
}
.method__tab:hover { color: var(--ink); background: color-mix(in srgb, var(--green) 6%, transparent); }
.method__tab.is-active { color: var(--green-deep); border-left-color: var(--green); background: #fff; }
.method__panels { position: relative; padding: 44px; min-height: 300px; }
.method__panel { display: none; align-items: flex-start; gap: 28px; }
.method__panel.is-active { display: flex; animation: fadeUp .5s ease; }
.method__big { font-family: var(--f-display); font-weight: 900; font-size: 4.5rem; line-height: 1; color: color-mix(in srgb, var(--green) 22%, transparent); letter-spacing: -.04em; }
.method__panel h3 { font-size: 1.5rem; margin-bottom: 14px; }
.method__panel p { color: var(--ink-soft); font-size: 1.04rem; max-width: 520px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== marquee ===== */
.marquee { margin-top: 64px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--ink-faint); white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__caption { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--ink-faint); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ===== showcase (browser + iframe) ===== */
.showcase { display: grid; grid-template-columns: 1fr; gap: 26px; }
.browser {
  position: relative;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-d);
  background: var(--dark); box-shadow: 0 40px 90px -40px rgba(0,0,0,.7);
}
.browser__bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: #23201a; border-bottom: 1px solid var(--line-d); }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser__dots i:nth-child(1){ background:#ff5f57; } .browser__dots i:nth-child(2){ background:#febc2e; } .browser__dots i:nth-child(3){ background:#28c840; }
.browser__url {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--f-mono); font-size: .82rem; color: rgba(234,241,236,.7);
  background: rgba(0,0,0,.3); padding: 7px 14px; border-radius: 8px; max-width: 340px; margin: 0 auto;
}
.browser__url svg { color: var(--green-neon); }
.browser__live { display: flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: .74rem; color: var(--green-neon); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.browser__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-neon); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(94,116,68,.6); } 50% { opacity: .5; box-shadow: 0 0 0 6px rgba(94,116,68,0); } }
.browser__viewport { position: relative; height: 560px; background: #fff; }
.browser__viewport iframe { width: 100%; height: 100%; border: none; display: block; }
.browser__cover {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(160deg, #23201a, #1c1912); text-align: center; padding: 24px;
}
.browser__cover p { color: rgba(234,241,236,.55); font-size: .9rem; }
.browser__cover.is-hidden { display: none; }
.showcase__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.showcase__meta div { border: 1px solid var(--line-d); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.showcase__meta .label { margin-bottom: 6px; }
.showcase__meta strong { font-family: var(--f-display); font-size: 1.2rem; color: #fff; }
.showcase__meta small { color: rgba(234,241,236,.5); font-size: .84rem; }

/* ===== spotlight que segue o cursor ===== */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; z-index: 3;
  margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(31,99,120,.20), rgba(152,32,47,.07) 45%, transparent 70%);
  opacity: 0; transition: opacity .3s ease; will-change: transform;
  mix-blend-mode: screen;
}
.cursor-glow.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cursor-glow { display: none; } }

/* ===== builder (prévia interativa) ===== */
.builder { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: start; }
.builder__controls {
  background: rgba(9,18,14,.5); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 28px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.builder__controls .field label { color: rgba(234,241,236,.72); }
.builder__controls .field input,
.builder__controls .field select {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff;
}
.builder__controls .field input:focus,
.builder__controls .field select:focus { border-color: var(--green-lite); box-shadow: 0 0 0 3px rgba(95,191,156,.2); }
.builder__controls .field select option { color: #111; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: var(--sw); border: 2px solid rgba(255,255,255,.25); transition: transform .15s, box-shadow .15s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { box-shadow: 0 0 0 3px var(--dark), 0 0 0 5px var(--sw); transform: scale(1.06); }
.builder__hint { margin-top: 22px; font-family: var(--f-mono); font-size: .78rem; color: rgba(234,241,236,.45); }

/* mini-site (prévia) — tema claro dentro do navegador */
.pv {
  --brand: #1f6f5c; --ink: #16181d; --muted: #6b7280; --line: #ececec; --bg: #fff;
  background: var(--bg); color: var(--ink); height: 560px; overflow: hidden;
  font-family: var(--f-body); display: flex; flex-direction: column;
}
.pv__nav { display: flex; align-items: center; gap: 16px; padding: 16px 26px; border-bottom: 1px solid var(--line); flex: none; }
.pv__logo { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--brand); letter-spacing: -.02em; }
.pv__links { display: flex; gap: 16px; margin-left: auto; }
.pv__links a { color: var(--muted); font-size: .8rem; text-decoration: none; }
.pv__btn {
  font-family: var(--f-display); font-weight: 600; border: none; cursor: default;
  background: var(--brand); color: #fff; border-radius: 100px; padding: 9px 18px; font-size: .82rem;
  align-self: flex-start; white-space: nowrap;
}
.pv__btn--sm { padding: 7px 15px; font-size: .74rem; }
.pv__eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.pv__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; max-width: 460px; }
.pv__sub { color: var(--muted); font-size: .88rem; max-width: 400px; margin-bottom: 18px; line-height: 1.5; }
.pv__hero { padding: 34px; }
.pv__cta { display: flex; gap: 12px; }
/* split base (saúde, beleza, serviços) */
.pv__split { display: grid; grid-template-columns: 1.05fr .95fr; flex: 1; min-height: 0; }
.pv__split-txt { padding: 34px 30px; align-self: center; }
.pv__split-img { position: relative; min-height: 180px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, #f1f1f1), #f6f6f6); }
/* placeholder de imagem fictícia (zona descritiva) */
.pv__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; color: color-mix(in srgb, var(--brand) 55%, #6b7280); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .02em; }
.pv__ph svg { opacity: .75; }
.pv--loja .pv__thumb::after { content: ""; position: absolute; inset: 0; background: no-repeat center / 22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.6'%3E%3Crect x='3' y='6.5' width='18' height='13' rx='2.5'/%3E%3Ccircle cx='12' cy='13' r='3.3'/%3E%3Cpath d='M8.5 6.5 10 4h4l1.5 2.5'/%3E%3C/svg%3E"); opacity: .5; }
.pv--loja .pv__shop-hero .pv__sub { margin-bottom: 0; }

/* container de captura + marca BIPI no print compartilhado */
.pv-capture { background: #0b120f; padding: 12px; border-radius: 18px; }
.pv-brand { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 12px; }
.pv-brand__mark { font-family: var(--f-display); font-weight: 900; font-size: 1rem; color: #fff; letter-spacing: -.02em; }
.pv-brand__mark span { color: var(--green-neon); }
.pv-brand__txt { font-family: var(--f-mono); font-size: .72rem; color: rgba(234,241,236,.55); }
.gen-btn {
  width: 100%; margin-top: 18px; font-family: var(--f-display); font-weight: 700; font-size: .96rem;
  padding: 15px; border: none; border-radius: 12px; background: var(--green); color: #fff; cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(20,21,26,.7), 0 0 18px -4px rgba(34,211,238,.3); transition: background .2s, transform .15s;
}
.gen-btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.gen-btn:disabled { opacity: .7; cursor: default; transform: none; }

.pv-build {
  position: absolute; inset: 0; z-index: 6; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 24px;
  background: rgba(7,13,10,.94); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.pv-build.is-on { display: flex; }
.pv-build__spin { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(255,255,255,.14); border-top-color: var(--green-neon); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pv-build__msg { font-family: var(--f-mono); font-size: .88rem; color: #eaf1ec; max-width: 300px; line-height: 1.5; min-height: 2.6em; }

.builder__share { display: flex; gap: 10px; margin-top: 14px; }
.share-btn { flex: 1; font-family: var(--f-display); font-weight: 600; font-size: .85rem; padding: 12px 16px; border-radius: 12px; cursor: pointer; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #eaf1ec; transition: background .2s, transform .15s; }
.share-btn:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.share-btn--primary { background: var(--green); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -14px rgba(20,21,26,.6), 0 0 16px -6px rgba(34,211,238,.3); }
.share-btn--primary:hover { background: var(--green-deep); }
.share-btn:disabled { opacity: .6; cursor: default; transform: none; }
.builder__foot { text-align: center; margin-top: 40px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: #fff; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.builder__foot .hl { white-space: normal; }
@media (max-width: 900px) {
  .builder { grid-template-columns: 1fr; }
  .pv { height: 460px; }
  .builder__foot { flex-direction: column; gap: 14px; }
}

/* controle segmentado (estilo / fonte) */
.seg { display: flex; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 4px; }
.seg__btn { flex: 1; padding: 9px 10px; border: none; background: transparent; color: rgba(234,241,236,.6); font-family: var(--f-display); font-weight: 600; font-size: .84rem; border-radius: 9px; cursor: pointer; transition: all .2s; }
.seg__btn:hover { color: #fff; }
.seg__btn.is-active { background: rgba(255,255,255,.13); color: #fff; }

/* fundo distinto da seção experimente (reativo à cor da marca) */
.section--exp { --exp-glow: #1f6378; border-top: 1px solid rgba(255,255,255,.07); }
.exp-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(46% 52% at 50% 40%, color-mix(in srgb, var(--exp-glow) 34%, transparent), transparent 62%),
    radial-gradient(80% 60% at 50% 120%, color-mix(in srgb, var(--exp-glow) 14%, transparent), transparent 70%),
    #0d0e12;
  transition: background .5s ease;
}
.exp-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(38% 38% at 50% 40%, rgba(255,255,255,.045), transparent 62%);
}

/* ========== TEMPLATE: RESTAURANTE (dark, serifado, cardápio) ========== */
.pv--restaurante { --bg: #17110d; --ink: #f3ece1; --muted: #b7a99a; --line: rgba(255,255,255,.09); }
.pv--restaurante .pv__logo, .pv--restaurante .pv__title, .pv--restaurante .pv__menu-row b, .pv--restaurante .pv__menu-head { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; }
.pv--restaurante .pv__logo { color: var(--ink); font-weight: 700; }
.pv--restaurante .pv__eyebrow { color: color-mix(in srgb, var(--brand) 68%, #fff); }
.pv--restaurante .pv__title { color: var(--ink); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.pv--restaurante .pv__hero { background: linear-gradient(115deg, #17110d 45%, color-mix(in srgb, var(--brand) 45%, #3a2a1a)); }
.pv--restaurante .pv__btn { background: var(--brand); color: #fff; border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; }
.pv--restaurante .pv__menu { padding: 26px 34px; }
.pv--restaurante .pv__menu-head { font-style: italic; color: #b7a99a; margin-bottom: 14px; font-size: .95rem; }
.pv--restaurante .pv__menu-row { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; }
.pv--restaurante .pv__menu-row b { font-weight: 600; color: var(--ink); font-size: .98rem; }
.pv--restaurante .pv__leader { flex: 1; border-bottom: 1px dotted rgba(255,255,255,.3); transform: translateY(-3px); }
.pv--restaurante .pv__menu-price { color: color-mix(in srgb, var(--brand) 68%, #fff); font-size: .88rem; }

/* ========== TEMPLATE: SAÚDE (clean, claro, split, arredondado) ========== */
.pv--saude { --ink: #14212e; --muted: #5b6b7a; --line: #e7edf2; }
.pv--saude .pv__split-img { border-radius: 0 0 0 44px; background: radial-gradient(circle at 62% 38%, color-mix(in srgb, var(--brand) 32%, #fff), color-mix(in srgb, var(--brand) 12%, #eaf4f8)); }
.pv--saude .pv__badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 30px 30px; }
.pv--saude .pv__badge { background: color-mix(in srgb, var(--brand) 7%, #f6fafb); border-radius: 14px; padding: 15px 14px; }
.pv--saude .pv__badge b { display: block; font-family: var(--f-display); font-size: .84rem; color: var(--ink); }
.pv--saude .pv__badge span { font-size: .74rem; color: var(--muted); }

/* ========== TEMPLATE: LOJA (varejo, promo bar, grade) ========== */
.pv--loja { --ink: #191919; --muted: #777; }
.pv--loja .pv__promo { background: var(--brand); color: #fff; text-align: center; font-size: .72rem; font-weight: 600; padding: 8px; flex: none; }
.pv--loja .pv__logo { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.pv--loja .pv__shop-hero { padding: 24px 30px 14px; }
.pv--loja .pv__shop-hero .pv__title { font-size: 1.5rem; margin: 0; }
.pv--loja .pv__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 30px 30px; }
.pv--loja .pv__product { border: 1px solid #eee; border-radius: 10px; padding: 8px; }
.pv--loja .pv__thumb { position: relative; height: 76px; border-radius: 8px; margin-bottom: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 26%, #eee), #f5f5f5); }
.pv--loja .pv__tag { position: absolute; top: 6px; left: 6px; background: var(--brand); color: #fff; font-size: .6rem; font-weight: 800; padding: 2px 6px; border-radius: 5px; }
.pv--loja .pv__product b { font-size: .78rem; display: block; }
.pv--loja .pv__price { color: var(--ink); font-weight: 800; font-size: .86rem; }

/* ========== TEMPLATE: FITNESS (dark, uppercase, energético) ========== */
.pv--fitness { --bg: #0c0d0f; --ink: #fff; --muted: #9aa0a8; --line: rgba(255,255,255,.1); }
.pv--fitness .pv__logo { text-transform: uppercase; font-weight: 900; letter-spacing: .06em; color: var(--ink); }
.pv--fitness .pv__links a { text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; }
.pv--fitness .pv__eyebrow { color: var(--brand); }
.pv--fitness .pv__hero { background: radial-gradient(85% 120% at 100% 0%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 58%), #0c0d0f; }
.pv--fitness .pv__title { text-transform: uppercase; font-weight: 900; font-style: italic; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: .92; color: var(--ink); }
.pv--fitness .pv__btn { border-radius: 3px; text-transform: uppercase; letter-spacing: .06em; }
.pv--fitness .pv__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 34px 30px; }
.pv--fitness .pv__plan { border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: 18px 12px; text-align: center; }
.pv--fitness .pv__plan b { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: .78rem; color: var(--ink); margin-bottom: 4px; }
.pv--fitness .pv__plan span { color: var(--brand); font-weight: 800; font-size: .88rem; }

/* ========== TEMPLATE: BELEZA (luxo, creme, serifa, delicado) ========== */
.pv--beleza { --bg: #faf5f0; --ink: #2a2320; --muted: #8a7d73; --line: #ece1d6; }
.pv--beleza .pv__logo, .pv--beleza .pv__title, .pv--beleza .pv__service b { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: .01em; }
.pv--beleza .pv__logo { color: var(--ink); font-size: 1.2rem; }
.pv--beleza .pv__eyebrow { color: var(--brand); letter-spacing: .22em; }
.pv--beleza .pv__title { color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.pv--beleza .pv__split-img { background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--brand) 26%, #fff), color-mix(in srgb, var(--brand) 10%, #f1e6dc)); }
.pv--beleza .pv__btn { background: transparent; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 50%, transparent); border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; font-size: .74rem; }
.pv--beleza .pv__services { padding: 4px 32px 30px; display: flex; flex-direction: column; }
.pv--beleza .pv__service { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pv--beleza .pv__service b { font-size: .95rem; }
.pv--beleza .pv__service span { color: var(--brand); font-size: .86rem; }

/* ========== TEMPLATE: SERVIÇOS (corporativo, estruturado) ========== */
.pv--servicos { --ink: #111827; --muted: #6b7280; --line: #e5e7eb; }
.pv--servicos .pv__logo::before { content: "◆ "; color: var(--brand); }
.pv--servicos .pv__logo { color: var(--ink); }
.pv--servicos .pv__split-img { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, #f3f4f6), #eceff3); position: relative; }
.pv--servicos .pv__split-img::after { content: ""; position: absolute; inset: 26px; border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent); border-radius: 10px; }
.pv--servicos .pv__feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 30px 30px; }
.pv--servicos .pv__feat { border: 1px solid var(--line); border-radius: 10px; padding: 15px; }
.pv--servicos .pv__feat-ico { display: block; width: 26px; height: 26px; border-radius: 7px; background: color-mix(in srgb, var(--brand) 18%, transparent); margin-bottom: 9px; }
.pv--servicos .pv__feat b { display: block; font-family: var(--f-display); font-size: .84rem; color: var(--ink); }
.pv--servicos .pv__feat small { color: var(--muted); font-size: .74rem; }

/* ========== TEMPLATE: TECH (SaaS, dark, gradiente, glass) ========== */
.pv--tech { --bg: #0a0e14; --ink: #fff; --muted: #8b93a3; --line: rgba(255,255,255,.1); }
.pv--tech .pv__logo::before { content: "▲ "; color: var(--brand); }
.pv--tech .pv__logo { color: var(--ink); }
.pv--tech .pv__hero { text-align: center; background: radial-gradient(65% 90% at 50% 0%, color-mix(in srgb, var(--brand) 36%, transparent), transparent 62%), #0a0e14; }
.pv--tech .pv__hero .pv__eyebrow { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.pv--tech .pv__hero .pv__title, .pv--tech .pv__hero .pv__sub { margin-left: auto; margin-right: auto; }
.pv--tech .pv__hero .pv__cta { justify-content: center; }
.pv--tech .pv__hero .pv__btn { align-self: center; }
.pv--tech .pv__title { color: var(--ink); }
.pv--tech .pv__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 34px 30px; }
.pv--tech .pv__stat { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px; text-align: center; background: rgba(255,255,255,.03); }
.pv--tech .pv__stat b { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--brand); line-height: 1; margin-bottom: 4px; }
.pv--tech .pv__stat span { color: #8b93a3; font-size: .74rem; }

/* override de estilo (claro/escuro) e fonte, aplicado sobre qualquer template */
.pv[data-force="dark"] { --bg: #0e1116; --ink: #ffffff; --muted: #9aa0a8; --line: rgba(255,255,255,.1); }
.pv[data-force="dark"] .pv__hero, .pv[data-force="dark"] .pv__shop-hero { background: #0e1116 !important; }
.pv[data-force="dark"] .pv__split-img { filter: brightness(.5) saturate(1.1); }
.pv[data-force="light"] { --bg: #ffffff; --ink: #16181d; --muted: #6b7280; --line: #ececec; }
.pv[data-force="light"] .pv__hero, .pv[data-force="light"] .pv__shop-hero {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, #fff), #fff) !important;
}
.pv[data-font-force="serif"] .pv__title, .pv[data-font-force="serif"] .pv__logo,
.pv[data-font-force="serif"] .pv__menu-row b, .pv[data-font-force="serif"] .pv__service b { font-family: Georgia, "Times New Roman", serif !important; letter-spacing: 0; }
.pv[data-font-force="sans"] .pv__title, .pv[data-font-force="sans"] .pv__logo,
.pv[data-font-force="sans"] .pv__menu-row b, .pv[data-font-force="sans"] .pv__service b { font-family: var(--f-display) !important; }

/* responsivo da prévia (telas bem estreitas) */
@media (max-width: 560px) {
  .pv__split { grid-template-columns: 1fr; }
  .pv__split-img { display: none; }
  .pv--loja .pv__products, .pv--saude .pv__badges, .pv--servicos .pv__feats, .pv--fitness .pv__plans, .pv--tech .pv__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== pricing ===== */
.pricing { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); }
.price-card__top h3 { font-size: 1.7rem; margin-bottom: 8px; }
.price-card__desc { color: var(--ink-soft); margin-bottom: 30px; }
.price-card__price { display: flex; flex-direction: column; margin-bottom: 28px; }
.price-card__from { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.price-card__value { font-family: var(--f-display); font-size: 3.6rem; font-weight: 900; color: var(--green-deep); line-height: 1; margin: 6px 0; letter-spacing: -.03em; }
.price-card__unit { font-size: .9rem; color: var(--ink-soft); }
.price-card__list { list-style: none; margin-bottom: 24px; }
.price-card__list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price-card__extra { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; margin-bottom: 24px; background: color-mix(in srgb, var(--green) 8%, transparent); border-radius: 14px; }
.price-card__extra strong { font-family: var(--f-display); font-size: 1.3rem; color: var(--green-deep); }
.price-card__fine, .cta__fine { font-size: .82rem; color: var(--ink-faint); margin-top: 16px; text-align: center; }
.notes { background: var(--dark); color: #eaf1ec; border-radius: var(--radius); padding: 36px 32px; }
.notes h4 { font-family: var(--f-display); font-size: 1.3rem; color: #fff; margin-bottom: 20px; }
.notes ul { list-style: none; }
.notes li { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line-d); font-size: .93rem; color: rgba(234,241,236,.7); }
.notes li:last-child { border: none; margin: 0; padding: 0; }
.notes strong { color: var(--green-neon); }

/* ===== faq ===== */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--green); font-weight: 300; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--ink-soft); }

/* ===== cta final ===== */
.section--cta { max-width: none; background: linear-gradient(150deg, var(--amber), var(--coral)); overflow: hidden; }
.cta { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.section--cta .label { color: rgba(12,21,18,.6); }
.cta__text h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--dark); margin-bottom: 16px; }
.cta__text p { color: rgba(12,21,18,.72); font-size: 1.05rem; max-width: 420px; }
.cta__form { background: rgba(255,255,255,.94); border-radius: var(--radius); padding: 34px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.4); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--f-display); font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 14px 16px; font-family: var(--f-body); font-size: .96rem; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }

/* ===== footer ===== */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.footer__brand p { color: var(--ink-soft); font-size: .92rem; margin-top: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--ink-soft); text-decoration: none; font-size: .94rem; }
.footer__links a:hover { color: var(--green); }
.footer__copy { grid-column: 1 / -1; color: var(--ink-faint); font-size: .84rem; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 24px; }

/* ===== reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== responsivo ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .problem-grid, .pricing, .cta, .footer, .method { grid-template-columns: 1fr; }
  .method__tabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .method__tab { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .method__tab.is-active { border-left: none; border-bottom-color: var(--green); }
  .method__panels { padding: 30px; }
  .method__panel { flex-direction: column; gap: 8px; }
  .method__big { font-size: 3rem; }
  .compare__row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .compare__row--head { display: none; }
  .compare__bipi::before { content: "BIPI · "; font-family: var(--f-mono); font-size: .7rem; color: rgba(34,211,238,.7); }
  .compare__them::before { content: "Agência · "; font-family: var(--f-mono); font-size: .7rem; color: rgba(234,241,236,.35); }
  .showcase__meta { grid-template-columns: 1fr; }
  .browser__viewport { height: 460px; }
}
@media (max-width: 520px) {
  .section { padding: 72px 20px; }
  .hero { padding: 60px 20px 40px; }
  .hero__proof { gap: 28px; }
  .browser__live span, .browser__url { font-size: .72rem; }
}

/* ===== hero slogan ===== */
.hero__slogan {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: #fff; margin-bottom: 28px; letter-spacing: -.02em;
}

/* ===== confiança ===== */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust__item { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: var(--radius); padding: 26px 24px; transition: transform .3s, box-shadow .3s; }
.trust__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.trust__item:nth-child(2) { border-top-color: var(--magenta); }
.trust__item:nth-child(3) { border-top-color: var(--violet); }
.trust__item strong { display: block; font-family: var(--f-display); font-size: 1.08rem; color: var(--green-deep); margin-bottom: 8px; letter-spacing: -.01em; }
.trust__item span { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.trust__foot { margin-top: 34px; text-align: center; font-size: 1.02rem; color: var(--ink-soft); max-width: 640px; margin-left: auto; margin-right: auto; }
.trust__foot strong { color: var(--green-deep); }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ===== ecossistema (árvore de DNA) ===== */
.section--dark .dna { max-width: 760px; }
.dna__root { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.dna__cell { flex: none; width: 42px; height: 42px; border-radius: 50%; position: relative; overflow: hidden;
  background-image: linear-gradient(var(--dark), var(--dark)), var(--fluor); background-origin: border-box; background-clip: padding-box, border-box;
  border: 2px solid transparent; box-shadow: 0 0 22px -6px rgba(31,99,120,.6); }
/* mitose na célula-raiz: dois núcleos que se fundem e se dividem em loop */
.dna__cell i { position: absolute; top: 50%; left: 50%; width: 15px; height: 15px; margin: -7.5px; border-radius: 50%; background: var(--fluor); }
.dna__cell i:nth-child(1) { animation: dnaSplitL 4.2s ease-in-out infinite; }
.dna__cell i:nth-child(2) { animation: dnaSplitR 4.2s ease-in-out infinite; }
@keyframes dnaSplitL { 0%, 12%, 100% { transform: translateX(0) scale(.72); } 55%, 70% { transform: translateX(-6px) scale(1); } }
@keyframes dnaSplitR { 0%, 12%, 100% { transform: translateX(0) scale(.72); } 55%, 70% { transform: translateX(6px) scale(1); } }
@media (prefers-reduced-motion: reduce) { .dna__cell i { animation: none; } .dna__cell i:nth-child(2) { transform: translateX(0) scale(.72); } }
.dna__roottxt b { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: #fff; display: block; }
.dna__roottxt span { font-size: .9rem; color: rgba(234,241,236,.62); }
.dna__branches { position: relative; }
.dna__branches::before { content: ""; position: absolute; left: 20px; top: -2px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet) 55%, var(--magenta)); opacity: .5; }
.dna__branch { position: relative; margin-bottom: 10px; }
.dna__node { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; font-family: var(--f-body);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-d); border-radius: 14px; padding: 16px 18px 16px 52px; position: relative; color: #eaf1ec; transition: border-color .2s, background .2s; }
.dna__node:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
.dna__dot { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 4px var(--dark), 0 0 14px -1px var(--ac); transition: transform .2s; }
.dna__branch.is-open .dna__dot { transform: translateY(-50%) scale(1.25); }
.dna__t { flex: 1; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; color: #fff; }
.dna__t b { font-family: var(--f-mono); font-weight: 500; font-size: .82rem; color: rgba(234,241,236,.6); margin-right: 8px; }
.dna__hint { font-size: .82rem; color: rgba(234,241,236,.45); white-space: nowrap; }
.dna__chev { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: rgba(234,241,236,.6); transition: transform .3s, color .2s; }
.dna__branch.is-open .dna__chev { transform: rotate(45deg); color: var(--cyan); }
.dna__leaves { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.dna__branch.is-open .dna__leaves { grid-template-rows: 1fr; }
.dna__leaves-in { overflow: hidden; }
.dna__leaves-pad { padding: 12px 6px 8px 52px; display: grid; gap: 10px; }
.dna__leaf { background: rgba(255,255,255,.04); border: 1px solid var(--line-d); border-left: 2px solid var(--ac); border-radius: 10px; padding: 14px 16px; }
.dna__leaf b { display: block; font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: #fff; margin-bottom: 3px; }
.dna__leaf span { font-size: .9rem; color: rgba(234,241,236,.7); }
@media (max-width: 480px) { .dna__hint { display: none; } .dna__leaves-pad { padding-left: 44px; } }

/* ===== escolha diagnóstico / quiz ===== */
.section--dark .choose { max-width: 860px; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 auto; }
.choose__card { display: flex; flex-direction: column; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 28px 26px; text-decoration: none; color: #eaf1ec; transition: transform .25s, border-color .25s, box-shadow .25s; }
.choose__card:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.6); box-shadow: 0 30px 60px -34px rgba(34,211,238,.5); }
.choose__tag { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cyan); border: 1px solid rgba(34,211,238,.4); border-radius: 100px; padding: 4px 12px; margin-bottom: 16px; }
.choose__card h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: #fff; margin-bottom: 10px; }
.choose__card p { color: rgba(234,241,236,.7); font-size: .95rem; margin-bottom: 20px; }
.choose__cta { margin-top: auto; font-family: var(--f-display); font-weight: 700; font-size: .98rem; color: var(--cyan); }
@media (max-width: 640px) { .choose { grid-template-columns: 1fr; } }

/* ===== contraste: cards levantam do fundo ===== */
.stat, .prob-card, .trust__item, .method { box-shadow: 0 4px 18px -10px rgba(20,21,26,.16); }
.faq details { box-shadow: 0 3px 12px -8px rgba(20,21,26,.12); }

/* ============================================================
   MOTIONS "NA MEDIDA" — leva 1
   gradiente Vidro Líquido que respira + tilt 3D nos cards
   ============================================================ */

/* --- gradiente da marca que desliza devagar (assinatura em movimento) --- */
@keyframes fluidFlow { to { background-position: 300% 50%; } }
.section--dark .hl--green, .section--dark .hl--coral, .section--dark .hl--amber,
.hero__title .hl, .band .hl--green {
  background: linear-gradient(115deg, #5e7444, #1f6378 28%, #7e3565 52%, #98202f 72%, #5e7444 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fluidFlow 14s linear infinite;
}
/* barra de progresso também respira */
.scroll-progress {
  background: linear-gradient(115deg, #5e7444, #1f6378 40%, #7e3565 72%, #98202f, #5e7444);
  background-size: 300% 100%; animation: fluidFlow 14s linear infinite;
}

/* fita de gradiente vivo no topo do card de preço e na tabela */
.price-card, .compare { position: relative; }
.price-card::before, .compare::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(115deg, #5e7444, #1f6378 40%, #7e3565 72%, #98202f, #5e7444);
  background-size: 300% 100%; animation: fluidFlow 12s linear infinite;
}
.compare::before { border-radius: var(--radius) var(--radius) 0 0; }

@media (prefers-reduced-motion: reduce) {
  .section--dark .hl--green, .section--dark .hl--coral, .section--dark .hl--amber,
  .hero__title .hl, .band .hl--green, .scroll-progress,
  .price-card::before, .compare::before { animation: none; }
}

/* --- tilt 3D sutil: cards seguem o cursor (aplicado via JS: data-tilt) --- */
[data-tilt] {
  transform: perspective(760px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  position: relative;
}
[data-tilt].is-tilting { transition: box-shadow .3s; }
/* hover específico: mantém o tilt e ainda ergue o card (vence o :hover translateY dos cards) */
.stat[data-tilt]:hover, .prob-card[data-tilt]:hover, .trust__item[data-tilt]:hover,
.choose__card[data-tilt]:hover, .price-card[data-tilt]:hover, .notes[data-tilt]:hover {
  transform: perspective(760px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-4px);
}
/* brilho de vidro que acompanha o cursor sobre o card */
[data-tilt] .tilt-glare {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s; z-index: 2;
  background: radial-gradient(180px 180px at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 60%);
  mix-blend-mode: soft-light;
}
[data-tilt].is-tilting .tilt-glare { opacity: 1; }
.section--dark [data-tilt] .tilt-glare { background: radial-gradient(200px 200px at var(--gx,50%) var(--gy,0%), rgba(120,200,220,.28), transparent 60%); mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  [data-tilt] { transform: none !important; }
  [data-tilt] .tilt-glare { display: none; }
}

/* ============================================================
   MOTIONS "NA MEDIDA" — leva 2
   brilho líquido nos botões + célula fio condutor + DNA que se
   desenha + rastro do cursor (o trail é tratado no JS)
   ============================================================ */

/* --- brilho de vidro que atravessa o botão no hover --- */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); pointer-events: none; z-index: 0;
  transition: left .6s cubic-bezier(.2,.8,.2,1);
}
.btn:hover::after { left: 130%; }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(31,99,120,.28), transparent); }
@media (prefers-reduced-motion: reduce) { .btn::after { display: none; } }

/* --- célula fio condutor: divisória entre seções, desenha a linha e a célula pulsa --- */
.cell-divider { position: relative; height: 74px; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.cell-divider::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--cyan) 55%, transparent), transparent);
  transform: scaleY(0); transform-origin: top; transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.cell-divider.is-visible::before { transform: scaleY(1); }
/* mitose na divisória: uma célula surge e se divide em duas */
.cell-divider__mitose { position: relative; width: 15px; height: 15px; }
.cell-divider__mitose i {
  position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--fluor); opacity: 0; transform: scale(.4);
  transition: opacity .5s ease .3s, transform .7s cubic-bezier(.45,0,.25,1.35) .3s;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--cyan) 12%, transparent);
}
.cell-divider.is-visible .cell-divider__mitose i { opacity: 1; }
.cell-divider.is-visible .cell-divider__mitose i:nth-child(1) { transform: translateX(-8px) scale(.82); animation: cellPulse 3.4s ease-in-out infinite 1.1s; }
.cell-divider.is-visible .cell-divider__mitose i:nth-child(2) { transform: translateX(8px) scale(.82); animation: cellPulse 3.4s ease-in-out infinite 1.1s; }
@keyframes cellPulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 14%, transparent); }
  50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--cyan) 0%, transparent); }
}
.section--dark + .cell-divider::before, .cell-divider + .section--dark::before { }
@media (prefers-reduced-motion: reduce) {
  .cell-divider::before { transform: scaleY(1); }
  .cell-divider__mitose i { opacity: 1; animation: none; }
  .cell-divider.is-visible .cell-divider__mitose i:nth-child(1) { transform: translateX(-8px); animation: none; }
  .cell-divider.is-visible .cell-divider__mitose i:nth-child(2) { transform: translateX(8px); animation: none; }
}

/* --- árvore de DNA: a espinha se desenha e os ramos entram em cascata --- */
.dna .dna__branches::before { transform: scaleY(0); transform-origin: top; transition: transform 1.1s cubic-bezier(.2,.8,.2,1) .15s; }
.dna.is-visible .dna__branches::before { transform: scaleY(1); }
@keyframes dnaBranchIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.dna.is-visible .dna__branch { animation: dnaBranchIn .6s both; }
.dna.is-visible .dna__branch:nth-child(1) { animation-delay: .30s; }
.dna.is-visible .dna__branch:nth-child(2) { animation-delay: .42s; }
.dna.is-visible .dna__branch:nth-child(3) { animation-delay: .54s; }
.dna.is-visible .dna__branch:nth-child(4) { animation-delay: .66s; }
.dna.is-visible .dna__branch:nth-child(5) { animation-delay: .78s; }
.dna.is-visible .dna__branch:nth-child(6) { animation-delay: .90s; }
@media (prefers-reduced-motion: reduce) {
  .dna .dna__branches::before { transform: scaleY(1); }
  .dna.is-visible .dna__branch { animation: none; }
}

/* --- rastro do cursor: um ponto menor que segue com atraso (segundo glow) --- */
.cursor-trail {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px; z-index: 3;
  margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(31,99,120,.55), transparent 70%);
  opacity: 0; transition: opacity .4s ease; will-change: transform; mix-blend-mode: screen;
}
.cursor-trail.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) { .cursor-trail { display: none; } }

/* ============================================================
   MOTIONS "NA MEDIDA" — leva 3
   transição entre páginas + ícones que animam + grão de textura
   ============================================================ */

/* --- transição entre páginas (fade de entrada e de saída) --- */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn .45s ease both; }
body.is-leaving { opacity: 0; transition: opacity .24s ease; }
@media (prefers-reduced-motion: reduce) { body { animation: none; } body.is-leaving { transition: none; opacity: 1; } }

/* --- ícones Lucide de linha nos cards de confiança, com pulso no hover --- */
.trust__item .trust__ico { display: inline-flex; width: 34px; height: 34px; margin-bottom: 14px; color: var(--cyan-deep); }
.trust__ico svg { width: 100%; height: 100%; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.trust__item:nth-child(2) .trust__ico { color: var(--magenta); }
.trust__item:nth-child(3) .trust__ico { color: var(--violet); }
.trust__item:nth-child(4) .trust__ico { color: var(--moss); }
.trust__item:hover .trust__ico svg { animation: icoPulse .6s ease; }
@keyframes icoPulse { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.16) rotate(-5deg); } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .trust__item:hover .trust__ico svg { animation: none; } }

/* --- grão de textura sutil (material real em vez de cor chapada) --- */
.grain {
  position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ============================================================
   MOTIONS "NA MEDIDA" — leva 2 (ideias novas)
   célula nasce no clique + barras do comparativo + linha do tempo
   ============================================================ */

/* --- #7 célula "nasce" ao clicar num botão --- */
.cell-burst { position: fixed; z-index: 60; width: 0; height: 0; pointer-events: none; }
.cell-burst i {
  position: absolute; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%;
  background: var(--fluor); box-shadow: 0 0 10px -2px rgba(31,99,120,.6);
  animation: cellBorn .72s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes cellBorn {
  0% { transform: translate(0,0) scale(.2); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cell-burst { display: none; } }

/* --- #4 barras que enchem no comparativo (prova visual) --- */
.vsbars { margin-top: 26px; display: grid; gap: 24px; }
.vsbar__label { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-soft); text-transform: lowercase; letter-spacing: .02em; }
.vsbar__row { display: grid; gap: 9px; margin-top: 10px; }
.vsbar__track { position: relative; height: 40px; border-radius: 100px; background: color-mix(in srgb, var(--ink) 7%, transparent); overflow: hidden; }
.vsbar__fill { display: flex; align-items: center; height: 100%; width: 0; border-radius: 100px; padding: 0 16px; white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: .9rem; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.vsbars.is-visible .vsbar__fill { width: var(--w); }
.vsbar__fill--bipi { background: var(--fluor); color: #fff; box-shadow: 0 8px 20px -10px rgba(31,99,120,.6); }
.vsbar__fill--them { background: color-mix(in srgb, var(--ink) 12%, #d8d2c6); color: var(--ink-soft); }
.vsbar__fill span { overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .vsbar__fill { transition: none; width: var(--w); } }

/* --- #3 linha do tempo dia 0 -> no ar --- */
.timeline { margin: 6px 0 40px; }
.timeline__track { position: relative; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.timeline__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 3px; background: var(--fluor); transition: width 1.7s cubic-bezier(.3,.7,.3,1); }
.timeline.is-visible .timeline__fill { width: 100%; }
.timeline__stops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -8px; }
.tstop { position: relative; padding-top: 20px; }
.tstop::before { content: ""; position: absolute; top: -6px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent); transition: border-color .3s, background .3s, box-shadow .3s; }
.timeline.is-visible .tstop::before { background: var(--fluor); border-color: transparent; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 14%, transparent); }
.timeline.is-visible .tstop:nth-child(1)::before { transition-delay: .1s; }
.timeline.is-visible .tstop:nth-child(2)::before { transition-delay: .55s; }
.timeline.is-visible .tstop:nth-child(3)::before { transition-delay: 1.05s; }
.timeline.is-visible .tstop:nth-child(4)::before { transition-delay: 1.55s; }
.tstop b { display: block; font-family: var(--f-mono); font-size: .74rem; color: var(--cyan-deep); }
.tstop span { display: block; font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--ink); margin-top: 2px; }
.section--dark .tstop span { color: #fff; }
.section--dark .tstop::before { background: var(--dark); }
@media (max-width: 620px) { .tstop span { font-size: .8rem; } .tstop b { font-size: .68rem; } }
@media (prefers-reduced-motion: reduce) { .timeline__fill { transition: none; width: 100%; } }

/* --- #2 antes e depois (arrasta) --- */
.ba { --x: 52%; position: relative; height: 440px; max-width: 860px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba__pane { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--fluor); z-index: 6; }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.45); display: grid; place-items: center; }
.ba__handle span::before { content: "⇄"; font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); }
.ba.is-dragging .ba__handle span { transform: translate(-50%,-50%) scale(1.08); }
.ba__badge { position: absolute; bottom: 14px; font-family: var(--f-mono); font-size: .7rem; padding: 5px 12px; border-radius: 100px; z-index: 5; text-transform: lowercase; letter-spacing: .02em; }
.ba__badge--before { left: 14px; background: rgba(20,16,10,.55); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ba__badge--after { right: 14px; background: var(--fluor); color: #fff; }

/* moldura de navegador comum aos dois mockups */
.bam { height: 100%; display: flex; flex-direction: column; }
.bam__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #ece8e0; border-bottom: 1px solid rgba(0,0,0,.08); flex: none; }
.bam__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbc4b6; }
.bam__bar b { margin-left: 12px; font-family: var(--f-mono); font-size: .72rem; color: #9a9384; font-weight: 400; }
.bam__bar--old { background: #c3c7cc; }
.bam__bar--old i { background: #9aa0a8; }
.bam__bar--old b { color: #5a606a; }

/* mockup DEPOIS (BIPI, limpo) */
.bam--after .bam__body { flex: 1; background: linear-gradient(180deg, #fff, #f6f3ee); display: flex; flex-direction: column; }
.bam__nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.bam__logo { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; }
.bam__links { display: flex; gap: 8px; }
.bam__links i { width: 28px; height: 6px; border-radius: 3px; background: var(--line); }
.bam__hero { padding: 26px 24px 10px; text-align: center; }
.bam__eyebrow { font-family: var(--f-mono); font-size: .68rem; color: var(--cyan-deep); text-transform: lowercase; }
.bam__hero h4 { font-family: var(--f-display); font-weight: 900; font-size: 1.8rem; line-height: 1.08; margin: 10px 0 0; color: var(--ink); letter-spacing: -.02em; }
.bam__hero em { font-style: normal; background: var(--fluor); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bam__btn { display: inline-block; margin-top: 16px; background: var(--green); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .84rem; padding: 11px 22px; border-radius: 100px; }
.bam__cards { display: flex; gap: 12px; padding: 20px 24px; margin-top: auto; }
.bam__cards span { flex: 1; height: 60px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(0,0,0,.3); }
.bam__cards span:nth-child(1) { border-top: 3px solid var(--cyan); }
.bam__cards span:nth-child(2) { border-top: 3px solid var(--magenta); }
.bam__cards span:nth-child(3) { border-top: 3px solid var(--violet); }

/* mockup ANTES (site velho, feio) */
.bam--before .bam__body--old { flex: 1; background: #dfe3e6; padding: 16px 14px; font-family: "Times New Roman", Georgia, serif; color: #202060; text-align: center; overflow: hidden; }
.oldhead { font-size: 1.6rem; font-weight: 700; color: #000082; text-shadow: 1px 1px 0 #b3b3b3; letter-spacing: .01em; }
.oldsub { color: #b00000; font-size: .82rem; margin: 6px 0 14px; font-weight: 700; }
.oldrow { font-size: .8rem; color: #0000cc; text-decoration: underline; margin-bottom: 16px; }
.oldbox { display: inline-block; background: #fff; border: 3px ridge #9ea3ad; padding: 9px 13px; font-size: .82rem; color: #111; margin-bottom: 16px; }
.oldbox u { color: #0000ee; }
.oldimg { display: inline-block; background: #eee; border: 1px dashed #888; color: #777; font-family: Arial, sans-serif; font-size: .74rem; padding: 14px 18px; margin-bottom: 16px; }
.oldspin { font-family: "Courier New", monospace; font-size: .78rem; color: #555; }
@media (max-width: 620px) {
  .ba { height: 380px; }
  .bam__hero h4 { font-size: 1.4rem; }
  .oldhead { font-size: 1.3rem; }
}

/* ============================================================
   #9 TEMA CLARO/ESCURO — toggle com transição líquida
   ============================================================ */

/* botão no nav */
.theme-toggle {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s;
}
.theme-toggle:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .ico-moon { display: none; }
.theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
/* nav sobre o herói escuro (topo): botão claro */
.nav:not(.is-scrolled) .theme-toggle { color: #fff; border-color: rgba(255,255,255,.34); }

/* transição líquida (View Transitions): sem crossfade padrão, só o círculo */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 1; }
::view-transition-old(root) { z-index: 0; }

/* ===== TEMA ESCURO: inverte as seções e componentes claros ===== */
:root[data-theme="dark"] {
  --bg: #171410; --bg-soft: #1c1912; --ink: #f1eee8;
  --ink-soft: rgba(241,238,232,.72); --ink-faint: rgba(241,238,232,.5);
  --line: rgba(255,255,255,.12);
  --green: #f1eee8; --green-deep: #ffffff; /* "green" vira acento claro no escuro */
}
:root[data-theme="dark"] body { background: var(--bg); }
/* seções claras viram escuras */
:root[data-theme="dark"] .section--light { background: #1c1912; }
:root[data-theme="dark"] .section--cta { background: linear-gradient(150deg, #23201a, #171410); }
/* cartões brancos viram cartões escuros */
:root[data-theme="dark"] .stat,
:root[data-theme="dark"] .price-card,
:root[data-theme="dark"] .method,
:root[data-theme="dark"] .faq details,
:root[data-theme="dark"] .trust__item,
:root[data-theme="dark"] .custom,
:root[data-theme="dark"] .cta__form { background: #221e17; border-color: rgba(255,255,255,.1); }
:root[data-theme="dark"] .prob-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
:root[data-theme="dark"] .method__tabs { background: #1f1b14; border-color: rgba(255,255,255,.1); }
:root[data-theme="dark"] .method__tab.is-active { background: #221e17; }
:root[data-theme="dark"] .bam__cards span { background: #221e17; border-color: rgba(255,255,255,.1); }
/* textos que eram escuros (green-deep) precisam clarear */
:root[data-theme="dark"] .stat strong,
:root[data-theme="dark"] .price-card__value,
:root[data-theme="dark"] .price-card__extra strong,
:root[data-theme="dark"] .trust__item strong,
:root[data-theme="dark"] .prob-card h3,
:root[data-theme="dark"] .method__tab.is-active,
:root[data-theme="dark"] .cta__text h2,
:root[data-theme="dark"] .trust__foot strong,
:root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3 { color: #fff; }
:root[data-theme="dark"] .cta__text p { color: rgba(241,238,232,.75); }
/* destaques .hl viram gradiente também nas seções claras */
:root[data-theme="dark"] .hl--green { background: var(--fluor); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .hl--coral { color: #d98a7a; }
:root[data-theme="dark"] .hl--coral::after { display: none; }
/* botões e detalhes */
:root[data-theme="dark"] .btn { background: #2a2620; }
:root[data-theme="dark"] .btn:hover { background: #322d25; }
:root[data-theme="dark"] .btn--ghost { color: #f1eee8; border-color: rgba(255,255,255,.28); background: transparent; }
:root[data-theme="dark"] .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
:root[data-theme="dark"] .faq summary::after { color: var(--cyan); }
:root[data-theme="dark"] .price-card__list li::before,
:root[data-theme="dark"] .prob-card__tag { color: var(--cyan); }
:root[data-theme="dark"] .nav.is-scrolled { background: color-mix(in srgb, #1c1912 84%, transparent); border-color: rgba(255,255,255,.1); }
:root[data-theme="dark"] .nav.is-scrolled .brand__mark { color: #fff; }
:root[data-theme="dark"] .nav.is-scrolled .nav__links a { color: rgba(241,238,232,.7); }
:root[data-theme="dark"] .nav.is-scrolled .btn--sm { background: #f1eee8; color: #1c1912; }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.14); }
:root[data-theme="dark"] .vsbar__fill--them { background: rgba(255,255,255,.14); color: rgba(241,238,232,.8); }
:root[data-theme="dark"] .cta__fine a { color: inherit; }
/* transições suaves ao trocar (fallback sem View Transitions) */
body, .section--light, .stat, .price-card, .method, .faq details, .trust__item, .prob-card { transition: background-color .5s ease, border-color .5s ease, color .5s ease; }

/* ============================================================
   #numeros — showcase de números por scroll (número em destaque,
   descritivo ao lado, muda a cada rolada)
   ============================================================ */
.numshow { position: relative; height: 360vh; }
.numshow__pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.numshow__head { max-width: 720px; margin-bottom: 46px; }
.numshow__head h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-top: 20px; }
.numshow__stage { position: relative; min-height: 300px; }
.numstat { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .45s ease, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.numstat.is-active { opacity: 1; transform: none; }
.numstat__big { display: flex; align-items: baseline; font-family: var(--f-display); font-weight: 900; letter-spacing: -.04em; line-height: .85; white-space: nowrap; }
.numstat__big b { font-size: clamp(4.5rem, 17vw, 12rem); background: linear-gradient(115deg,#5e7444,#1f6378 28%,#7e3565 52%,#98202f 72%,#5e7444 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fluidFlow 14s linear infinite; }
.numstat__big i { font-style: normal; font-size: clamp(1.4rem, 4vw, 2.6rem); color: var(--ink-soft); margin-left: 8px; }
.numstat__txt { max-width: 440px; }
.numstat__txt p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 2.3vw, 1.7rem); color: var(--ink); line-height: 1.28; margin-bottom: 14px; }
.numstat__txt small { font-family: var(--f-mono); font-size: .74rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.numshow__rail { display: flex; gap: 10px; margin-top: 50px; }
.numshow__rail span { width: 38px; height: 4px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); transition: background .35s, transform .35s; }
.numshow__rail span.is-on { background: linear-gradient(115deg,#5e7444,#1f6378 40%,#7e3565 72%,#98202f); transform: scaleY(1.6); }
.numshow__bridge { margin-top: 46px; max-width: 720px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.35; color: var(--ink); }
.numshow__bridge .hl { white-space: normal; }
:root[data-theme="dark"] .numshow__rail span { background: rgba(255,255,255,.14); }
@media (max-width: 720px) {
  .numstat { grid-template-columns: 1fr; gap: 14px; align-content: center; }
  .numshow__stage { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .numshow { height: auto; }
  .numshow__pin { position: relative; min-height: 0; }
  .numstat { position: relative; opacity: 1; transform: none; margin-bottom: 40px; }
  .numshow__rail { display: none; }
}
