/* ============================================================
   PURILUB — Apresentação institucional (9 slides)
   HTML + CSS + JS puro. Sem frameworks, sem dependências.

   Réplica fiel do projeto original (React + Vite + Tailwind v4
   + Framer Motion). Todos os valores abaixo foram extraídos dos
   estilos COMPUTADOS do site publicado — não de suposições.

   Notas de conversão:
   · A escala de raio é a do shadcn (--radius: .625rem), NÃO a do
     Tailwind padrão:  lg = 10px · xl = 14px · 2xl = 18px
   · backdrop-blur-sm = 8px e -md = 12px (Tailwind v4 mudou v3)
   · Os delays das animações reproduzem o orchestration do Framer
     Motion: delayChildren .3s + staggerChildren .15s
   ============================================================ */

/* ---------- 1. Reset (equivalente ao Preflight usado) ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; }
body { background: #fff; color: #1f284c; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button { background: none; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, p { font-size: inherit; font-weight: inherit; }
sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; top: -0.5em; }

/* ---------- 2. Tokens ---------- */
:root {
  --navy: #1f284c;
  --gold: #a56f13;
  --gold-strip: #976002;
  --gold-soft: #e6c068;
  --whats: #25D366;

  /* Framer: EASE = [0.22, 1, 0.36, 1] */
  --ease-expo: cubic-bezier(0.22, 1, 0.36, 1);
  /* Transição entre slides (Tailwind arbitrary) */
  --ease-slide: cubic-bezier(0.77, 0, 0.18, 1);
  /* Tailwind duration/transition default */
  --ease-tw: cubic-bezier(0.4, 0, 0.2, 1);
  /* Aproximação do spring{stiffness:300,damping:20} do whileHover */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

/* ---------- 3. Palco ---------- */
.deck-root { position: fixed; inset: 0; overflow: hidden; font-family: var(--font); }

.deck {
  height: 100%;
  transform: translateY(0);
  transition: transform .6s var(--ease-slide);
  will-change: transform;
}

.slide { height: 100vh; width: 100vw; }

/* ============================================================
   4. Sistema de animação (Framer Motion → CSS)
   Cada elemento traz data-anim="<tipo>" e style="--d:<delay>".
   A classe .is-playing é (re)aplicada pelo JS quando o slide
   entra, para que a animação de entrada toque de novo — igual
   ao remount por key={`active-${current}`} do original.
   ============================================================ */
[data-anim] { opacity: 0; }

.slide.is-playing [data-anim] {
  animation-duration: .7s;
  animation-timing-function: var(--ease-expo);
  animation-delay: var(--d, 0s);
  animation-fill-mode: both;
}

/* fadeUp — opacity 0→1, y 40→0, blur 8→0 · .7s · EASE */
@keyframes animUp { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.slide.is-playing [data-anim="up"] { animation-name: animUp; }

/* fadeLeft — x -60→0, blur 6→0 · .7s · EASE */
@keyframes animLeft { from { opacity: 0; transform: translateX(-60px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.slide.is-playing [data-anim="left"] { animation-name: animLeft; }

/* scaleIn — scale .8→1 · .5s · EASE */
@keyframes animScale { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.slide.is-playing [data-anim="scale"] { animation-name: animScale; animation-duration: .5s; }

/* Slide 2 — faixa do topo: y -20→0 · .6s */
@keyframes animDown20 { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
.slide.is-playing [data-anim="down"] { animation-name: animDown20; animation-duration: .6s; animation-timing-function: ease-out; }

/* Slide 2 — texto institucional: x -40→0, blur 8→0 · .7s · EASE */
@keyframes animLeft40 { from { opacity: 0; transform: translateX(-40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.slide.is-playing [data-anim="left-40"] { animation-name: animLeft40; }

/* Slide 2 — setores atendidos: x 40→0, blur 8→0 · .7s · EASE */
@keyframes animRight40 { from { opacity: 0; transform: translateX(40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.slide.is-playing [data-anim="right-40"] { animation-name: animRight40; }

/* Slide 2 — "Nossas Unidades": y 10→0 · .5s */
@keyframes animUp10 { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.slide.is-playing [data-anim="up-10"] { animation-name: animUp10; animation-duration: .5s; animation-timing-function: ease-out; }

/* Slide 2 — legendas das unidades: y 30→0, blur 8→0 · .6s · EASE */
@keyframes animUp30 { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.slide.is-playing [data-anim="up-30"] { animation-name: animUp30; animation-duration: .6s; }

/* Slide 2 — fotos das unidades: scale .9→1, blur 10→0 · .7s · EASE */
@keyframes animScale90 { from { opacity: 0; transform: scale(.9); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.slide.is-playing [data-anim="scale-90"] { animation-name: animScale90; }

/* Faixas dourada (5) e de clientes (9): fade · .8s */
@keyframes animFade { from { opacity: 0; } to { opacity: 1; } }
.slide.is-playing [data-anim="fade-slow"] { animation-name: animFade; animation-duration: .8s; animation-timing-function: ease-out; }

/* Slide 5 — textos da faixa: y 20→0 · .6s */
@keyframes animUp20 { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.slide.is-playing [data-anim="up-20"] { animation-name: animUp20; animation-duration: .6s; animation-timing-function: ease-out; }

/* ---------- Foco visível (acessibilidade) ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   SLIDE 1 — Capa
   ============================================================ */
.cover {
  position: relative; display: flex; height: 100vh; width: 100vw;
  align-items: center; justify-content: center; overflow: hidden;
}
.cover__bg { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.cover__bg--desktop { display: none; }
.cover__bg--mobile  { display: block; }

/* Ken Burns: scale 1 → 1.15 · 20s linear · repeat reverse */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15); } }
.slide.is-playing .cover__bg { animation: kenburns 20s linear infinite alternate; }

.cover__scrim { position: absolute; inset: 0; background: rgba(31,40,76,.6); }

.cover__fade {
  pointer-events: none; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(to top, #1f284c 0%, transparent 100%);
  mix-blend-mode: multiply;
  opacity: 0;
}
.slide.is-playing .cover__fade { animation: animFade 2.5s ease-out 1s both; }

.cover__content { position: relative; z-index: 10; text-align: center; }

.cover__content--desktop { display: none; }
.cover__content--mobile {
  display: flex; height: 100%; width: 100%; flex-direction: column;
  align-items: center; justify-content: flex-start;
  gap: 24px; padding: 40px 20px 128px;
}

.cover__logo { width: auto; }
.cover__content--mobile .cover__logo { height: 80px; }

.cover__mobile-stack { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 16px; }

.cover__title {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 800; line-height: 1.25; color: #fff;
}
.cover__content--mobile .cover__title { max-width: 320px; font-size: 30px; text-shadow: 0 2px 16px rgba(0,0,0,.5); }

.cover__badges { display: flex; flex-wrap: wrap; justify-content: center; }
.cover__badges--mobile { margin-top: 40px; gap: 8px; }

.badge {
  display: flex; align-items: center; gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  font-weight: 600; color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cover__content--mobile .badge { gap: 6px; padding: 12px; font-size: 11px; line-height: 16.5px; }

@media (min-width: 768px) {
  .cover__bg--desktop { display: block; }
  .cover__bg--mobile  { display: none; }
  .cover__content--mobile { display: none; }
  .cover__content--desktop {
    display: flex; flex-direction: column; align-items: center;
    gap: 48px; padding: 96px 24px 0;
  }
  .cover__content--desktop .cover__logo { height: 160px; }
  .cover__content--desktop .cover__title {
    max-width: 768px; font-size: 48px; text-shadow: 0 2px 20px rgba(0,0,0,.5);
  }
  .cover__content--desktop .cover__badges { gap: 16px; }
  .cover__content--desktop .badge { padding: 10px 20px; font-size: 14px; line-height: 20px; }
}
@media (min-width: 1024px) {
  /* 52px em vez de 60px: mantém a frase em 2 linhas (a 60px quebrava em 3) */
  .cover__content--desktop .cover__title { font-size: 52px; }
}

/* ============================================================
   SLIDE 2 — Institucional
   ============================================================ */
.about { position: relative; display: flex; min-height: 100vh; width: 100vw; flex-direction: column; background: #fff; }

.about__banner {
  position: relative; width: 100%;
  background-image: url(../images/slide2-topo-bg.jpg);
  background-size: cover; background-position: center;
}
.about__banner--desktop { display: none; }
.about__banner--mobile {
  display: flex; height: 20vh; align-items: center; justify-content: center; padding: 0 24px;
}
.about__banner-title { position: relative; z-index: 10; font-weight: 800; color: #fff; }
.about__banner--mobile .about__banner-title { text-align: center; font-size: 20px; line-height: 1.375; }

.about__wrap {
  position: relative; z-index: 10; margin: 0 auto; display: flex; width: 100%;
  max-width: 1280px; flex: 1 1 0%; flex-direction: column; gap: 16px; padding: 16px;
}

.about__box { border-radius: 18px; background: #fff; padding: 16px; }
.about__grid { display: grid; gap: 20px; }

.about__text { font-size: 14px; line-height: 1.625; color: var(--navy); }
.about__text > * + * { margin-top: 12px; }
.about__lead { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--navy); }
.gold { color: var(--gold); }
.gold--semibold { font-weight: 600; }
.about__quote { border-left: 2px solid var(--gold); padding-left: 16px; font-style: italic; color: rgba(31,40,76,.9); }

.about__sectors-title {
  margin-bottom: 8px; font-size: 12px; line-height: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gold);
}
.about__sectors-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 16px; row-gap: 6px; }
.about__sectors-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: var(--navy); }
.dot { display: block; height: 6px; width: 6px; flex-shrink: 0; border-radius: 9999px; background: var(--gold); }

.about__units { display: none; }
.about__units-title {
  margin-bottom: 16px; font-size: 14px; line-height: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gold);
}
.about__units-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.about__units-row--imgs { margin-top: 16px; }

.unit-cap {
  display: flex; min-height: 64px; align-items: center; gap: 8px;
  border-radius: 14px; background: #fff; padding: 12px 16px; box-shadow: var(--shadow-md);
}
.unit-cap span { font-size: 16px; line-height: 24px; color: var(--navy); }
.unit-cap strong { font-weight: 700; }
.icon--pin { height: 20px; width: 20px; flex-shrink: 0; color: var(--gold); }

.unit-img { overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-md); }
.unit-img img { height: 192px; width: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .about__banner--mobile { display: none; }
  .about__banner--desktop {
    display: flex; height: 160px; align-items: center; justify-content: flex-end; padding: 0 48px;
  }
  .about__banner--desktop .about__banner-title { text-align: right; font-size: 30px; line-height: 1.25; }
  .about__wrap { gap: 32px; padding: 40px 48px; }
  .about__box { padding: 40px; }
  .about__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px; }
  .about__text { font-size: 17px; line-height: 1.7; max-width: 52ch; }
  .about__text > * + * { margin-top: 20px; }
  .about__lead { font-size: 20px; line-height: 28px; }
  .about__sectors { padding-left: 32px; }
  .about__sectors-title { margin-bottom: 20px; font-size: 14px; line-height: 20px; }
  .about__sectors-list { column-gap: 24px; row-gap: 12px; }
  .about__sectors-list li { font-size: 16px; line-height: 24px; }
  .about__units { display: block; }
}
@media (min-width: 1024px) {
  .about__banner--desktop { height: 192px; padding: 0 80px; }
  .about__banner--desktop .about__banner-title { font-size: 36px; }
  .about__wrap { padding-left: 80px; padding-right: 80px; }
  .about__sectors { padding-left: 48px; }
  .unit-img img { height: 224px; }
}
@media (min-width: 1280px) {
  .about__banner--desktop .about__banner-title { font-size: 48px; }
}

/* ============================================================
   SLIDES 3, 4 e 5 — Nossos Serviços
   ============================================================ */
.svc {
  position: relative; display: flex; align-items: flex-start; overflow: hidden;
  background: var(--navy); padding: 40px 24px 80px;
}
.svc--1, .svc--2 { height: 100vh; width: 100vw; }

.svc__bg { position: absolute; inset: 0; background-repeat: no-repeat; background-position: right center; }
.svc--1 .svc__bg { background-image: url(../images/slide3-bg.jpg);   background-size: auto 100%; }
.svc--2 .svc__bg { background-image: url(../images/bg-servicos.jpg);  background-size: cover; }
.svc--3 .svc__bg { background-image: url(../images/bg-servicos-2.jpg); background-size: cover; }

.svc__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgb(31,40,76) 0%, rgba(31,40,76,.85) 50%, rgba(0,0,0,0) 100%);
}

.svc__content {
  position: relative; z-index: 10; margin: 0 auto; display: flex; width: 100%;
  max-width: 1152px; flex-direction: column; gap: 20px;
}
.svc__content--tight { gap: 16px; }

.svc__title {
  font-size: 30px; line-height: 36px; font-weight: 800; text-transform: uppercase;
  letter-spacing: -.025em; color: #fff;
}

.svc__grid { display: grid; gap: 12px; }

.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  padding: 16px; box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .3s var(--ease-tw), background-color .3s var(--ease-tw),
              box-shadow .3s var(--ease-tw), transform .4s var(--ease-spring);
}

.card__glow {
  pointer-events: none; position: absolute; inset: -1px; border-radius: 18px; opacity: 0;
  background: linear-gradient(to bottom right, rgba(165,111,19,0) 0%, rgba(165,111,19,0) 50%, rgba(165,111,19,0) 100%);
  transition: opacity .5s var(--ease-tw);
}

.card__icon {
  position: relative; display: none; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--gold);
  transition: transform .3s var(--ease-tw);
}
.icon--card { height: 24px; width: 24px; color: #fff; }

.card__patent {
  position: relative; display: inline-flex; width: fit-content; align-items: center; gap: 6px;
  border-radius: 9999px; border: 1px solid rgba(165,111,19,.6); background: rgba(165,111,19,.1);
  padding: 4px 10px; font-size: 10px; line-height: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--gold-soft);
  box-shadow: 0 0 12px -4px rgba(165,111,19,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: all .3s var(--ease-tw);
}
.card__patent sup { margin-left: 2px; }
.icon--award { height: 12px; width: 12px; }

.card__title { position: relative; font-size: 16px; line-height: 24px; font-weight: 700; color: #fff; transition: color .3s var(--ease-tw); }
.card__desc  { position: relative; font-size: 12px; line-height: 1.375; color: rgba(255,255,255,.8); transition: color .3s var(--ease-tw); }
.card__rule  {
  position: relative; margin-top: 4px; height: 4px; width: 48px; border-radius: 9999px;
  background: rgba(165,111,19,.5); transition: all .3s var(--ease-tw);
}

@media (hover: hover) {
  .card:hover { transform: translateY(-10px) scale(1.03); }
  .card:hover .card__rule { width: 100%; background: var(--gold); }
  .card:hover .card__icon { transform: scale(1.1) rotate(6deg); }
  .card:hover .card__patent { border-color: var(--gold); background: rgba(165,111,19,.2); }
  .card:hover .card__glow {
    opacity: 1;
    background: linear-gradient(to bottom right, rgba(165,111,19,.1) 0%, rgba(165,111,19,0) 50%, rgba(165,111,19,.2) 100%);
  }
}

@media (min-width: 768px) {
  .svc { align-items: center; padding: 0 64px; }
  .svc__scrim {
    background: linear-gradient(to right, rgb(31,40,76) 0%, rgba(31,40,76,.7) 50%, rgba(0,0,0,0) 100%);
  }
  .svc__content { gap: 40px; }
  .svc__content--tight { gap: 24px; }
  .svc__title { font-size: 36px; line-height: 40px; }
  .svc__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
  .card { gap: 16px; padding: 32px; background: rgba(255,255,255,.1); }
  .card--sm { padding: 24px; }
  .card__icon { display: flex; height: 48px; width: 48px; }
  .card__patent { font-size: 11px; line-height: 16.5px; }
  .icon--award { height: 14px; width: 14px; }
  .card__title { font-size: 20px; line-height: 28px; }
  .card__desc { font-size: 16px; line-height: 1.625; }
  .card__rule { margin-top: auto; }
}
@media (min-width: 768px) and (hover: hover) {
  .card:hover { border-color: var(--gold); background: transparent; box-shadow: 0 25px 50px -12px rgba(165,111,19,.3); }
}
@media (min-width: 1024px) {
  .svc { padding-left: 96px; padding-right: 96px; }
  .svc__title { font-size: 48px; line-height: 48px; }
}

/* ---------- Slide 5: bloco superior + faixa dourada ---------- */
.svc5 { display: flex; height: 100vh; width: 100vw; flex-direction: column; background: var(--navy); }
.svc--top { flex: 1 1 0%; }

.svc5__strip { display: none; }
.svc5__strip-lead { max-width: 672px; font-weight: 500; color: rgba(255,255,255,.9); }
.svc5__strip-sub  { font-weight: 600; color: #f8fafc; }

@media (min-width: 768px) {
  .svc--top { height: 65vh; flex: none; }
  .svc5__strip {
    position: relative; z-index: 10; display: flex; height: 35vh; flex-direction: column;
    align-items: center; justify-content: center; gap: 16px; text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 0 24px 112px; background: var(--gold-strip);
  }
  .svc5__strip-lead { font-size: 30px; line-height: 36px; }
  .svc5__strip-sub  { font-size: 18px; line-height: 28px; }
}

/* ============================================================
   SLIDES 6, 7 e 8 — Cenários
   ============================================================ */
.scn { position: relative; display: flex; height: 100vh; width: 100vw; align-items: stretch; }

.scn__split { position: absolute; inset: 0; display: flex; flex-direction: column; }
.scn__half--img {
  height: 25%; width: 100%; background-color: var(--navy);
  background-repeat: no-repeat; background-position: right center; background-size: cover;
}
.scn__half--white { height: 75%; width: 100%; background: #fff; }

.scn__inner {
  position: relative; z-index: 10; margin: 0 auto; display: flex; height: 100%; width: 100%;
  max-width: 1280px; flex-direction: column;
}

.scn__left {
  display: flex; height: 25%; flex-direction: column; justify-content: center;
  gap: 8px; padding: 16px 24px;
}
.scn__eyebrow {
  font-size: 10px; line-height: 15px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .25em; color: rgba(255,255,255,.6);
}
.scn__title { font-size: 24px; font-weight: 800; font-style: italic; line-height: 1.25; color: #fff; }
.scn__bar { margin-top: 4px; height: 4px; width: 48px; border-radius: 9999px; background: var(--gold); }

.scn__right {
  display: flex; height: 75%; flex-direction: column; justify-content: flex-start;
  gap: 16px; padding: 20px 24px 64px;
}

.scn-sec { display: flex; flex-direction: column; gap: 8px; }
.scn-sec__head { display: flex; align-items: center; gap: 12px; }
.scn-sec__icon {
  display: flex; height: 32px; width: 32px; flex-shrink: 0;
  align-items: center; justify-content: center; border-radius: 9999px;
}
.scn-sec__icon--problem  { background-color: #dc2626; }
.scn-sec__icon--solution { background-color: #16a34a; }
.icon--scn { height: 16px; width: 16px; color: #fff; }
.scn-sec__label {
  font-size: 14px; line-height: 20px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--navy);
}
.scn-sec__body { margin-left: 44px; }
.scn-sec__body p { font-size: 14px; line-height: 1.625; color: rgba(31,40,76,.8); }

.scn__result {
  border-radius: 10px; border-left: 4px solid var(--gold);
  background: rgba(165,111,19,.1); padding: 12px 16px;
}
.scn__result-label {
  display: block; font-size: 10px; line-height: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .25em; color: var(--gold);
}
.scn__result-value { margin-top: 4px; font-size: 16px; font-weight: 800; line-height: 1.375; color: var(--navy); }

@media (min-width: 768px) {
  .scn__split { flex-direction: row; }
  .scn__half--img, .scn__half--white { height: 100%; width: 50%; }
  .scn__inner { flex-direction: row; }
  .scn__left  { height: auto; width: 50%; gap: 12px; padding: 0 48px 0 64px; }
  .scn__right { height: auto; width: 50%; justify-content: center; gap: 32px; padding: 0 48px; }
  .scn__eyebrow { font-size: 12px; line-height: 16px; }
  .scn__title { font-size: 36px; }
  .scn__bar { margin-top: 8px; width: 64px; }
  .scn-sec__icon { height: 40px; width: 40px; }
  .icon--scn { height: 20px; width: 20px; }
  .scn-sec__label { font-size: 16px; line-height: 24px; }
  .scn-sec__body { margin-left: 52px; }
  .scn-sec__body p { font-size: 16px; }
  .scn__result { padding: 16px 20px; }
  .scn__result-label { font-size: 12px; line-height: 16px; }
  .scn__result-value { font-size: 20px; }
}
@media (min-width: 1024px) {
  .scn__left  { padding: 0 64px 0 96px; }
  .scn__right { padding: 0 64px; }
  .scn__title { font-size: 48px; }
  .scn__result-value { font-size: 24px; }
}

/* ============================================================
   SLIDE 9 — Contato + marcas
   ============================================================ */
.final { display: flex; height: 100vh; width: 100vw; flex-direction: column; background: var(--navy); }

.final__top {
  position: relative; display: flex; flex: 1 1 0%; align-items: center; justify-content: center;
  overflow: hidden; padding: 40px 24px 80px;
  background-image: url(../images/bg-slide-final.jpg);
  background-size: cover; background-position: center;
}
.final__content {
  display: flex; max-width: 1024px; flex-direction: column; align-items: center;
  gap: 32px; text-align: center;
}
.final__logo { height: 48px; width: auto; }
.final__kicker { font-size: 20px; font-weight: 700; line-height: 1.25; color: rgba(255,255,255,.8); }
.final__headline { font-size: 30px; font-weight: 800; line-height: 1.25; color: var(--gold); }

/* Dois botões de ação equilibrados (WhatsApp + site) — peso visual 50/50 */
.final__actions {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; width: 100%; max-width: 448px;
}
.final__btn {
  display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: center;
  gap: 14px; border-radius: 9999px; padding: 12px 26px; color: #fff;
  transition: transform .15s var(--ease-tw), background-color .15s var(--ease-tw), box-shadow .15s var(--ease-tw);
}
.final__btn-icon { height: 26px; width: 26px; flex-shrink: 0; }
.final__btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.final__btn-title { font-size: 17px; font-weight: 700; }
.final__btn-sub { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }

.final__btn--wa {
  background: var(--whats);
  box-shadow: 0 10px 15px -3px rgba(37,211,102,.3), 0 4px 6px -4px rgba(37,211,102,.3);
}
.final__btn--site {
  background: var(--gold);
  box-shadow: 0 10px 15px -3px rgba(165,111,19,.35), 0 4px 6px -4px rgba(165,111,19,.35);
}

.final__contacts {
  margin-top: 8px; display: flex; width: 100%; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.6);
}
.final__contact { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; transition: color .15s var(--ease-tw); }
.icon--contact { height: 16px; width: 16px; color: rgba(165,111,19,.7); }

.final__clients { display: none; }
.final__clients-title { font-size: 18px; line-height: 28px; font-weight: 700; letter-spacing: .025em; color: var(--navy); }

.marquee { position: relative; width: 100%; overflow: hidden; }
.marquee__fade { pointer-events: none; position: absolute; top: 0; bottom: 0; z-index: 10; width: 64px; }
.marquee__fade--left  { left: 0;  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%); background: linear-gradient(to right in oklab, rgb(255,255,255) 0%, rgba(0,0,0,0) 100%); }
.marquee__fade--right { right: 0; background: linear-gradient(to left,  #fff 0%, rgba(255,255,255,0) 100%); background: linear-gradient(to left in oklab,  rgb(255,255,255) 0%, rgba(0,0,0,0) 100%); }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: 48px; padding: 16px 0;
  animation: marquee 40s linear infinite;
}
.marquee__track img {
  height: 40px; width: auto; max-width: 120px; flex-shrink: 0; object-fit: contain;
  filter: grayscale(1); transition: filter .3s var(--ease-tw);
}
@media (hover: hover) {
  .marquee__track img:hover { filter: grayscale(0); }
  .final__btn--wa:hover {
    background: #1ebe5d; transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37,211,102,.4), 0 8px 10px -6px rgba(37,211,102,.4);
  }
  .final__btn--site:hover {
    background: #8a5d10; transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(165,111,19,.45), 0 8px 10px -6px rgba(165,111,19,.45);
  }
  .final__contact:hover { color: rgba(255,255,255,.9); }
}

@media (min-width: 768px) {
  .final__top { height: 75vh; flex: none; padding-top: 0; padding-bottom: 0; }
  .final__logo { height: 192px; }
  .final__kicker { font-size: 24px; }
  .final__headline { font-size: 48px; }
  .final__actions { flex-direction: row; max-width: 760px; gap: 16px; }
  .final__btn { flex: 1 1 0; min-width: 0; min-height: 68px; }
  .final__btn-icon { height: 28px; width: 28px; }
  .final__contacts { flex-direction: row; flex-wrap: wrap; column-gap: 32px; row-gap: 8px; }
  .final__contact { font-size: 14px; line-height: 20px; }
  .final__clients {
    position: relative; z-index: 10; display: flex; height: 25vh; flex-direction: column;
    align-items: center; justify-content: flex-start; gap: 24px; text-align: center;
    border-top: 1px solid rgba(255,255,255,.1); background: #fff; padding: 16px 24px 12px;
  }
  .final__clients-title { font-size: 24px; line-height: 32px; }
  .marquee__track img { height: 48px; max-width: 140px; }
}
@media (min-width: 1024px) {
  .final__headline { font-size: 60px; }
}

/* ============================================================
   Navegação (fixa sobre os slides)
   ============================================================ */
.swipe {
  position: fixed; bottom: 56px; left: 50%; z-index: 20;
  display: flex; transform: translateX(-50%); flex-direction: column;
  align-items: center; gap: 8px;
  animation: animFade .3s ease-out 1.2s both;
}
.swipe[hidden] { display: none; }
.swipe__label {
  font-size: 11px; line-height: 16.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .2em; color: #fff;
}
.swipe__circle {
  display: flex; height: 48px; width: 48px; align-items: center; justify-content: center;
  border-radius: 9999px; background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.2), 0 4px 6px -4px rgba(0,0,0,.2);
  transition: transform .15s var(--ease-tw);
  animation: chevronBounce 1.5s infinite;
}
/* y:[0,6,0] com easeInOut em CADA trecho — igual ao keyframes do Framer */
@keyframes chevronBounce {
  0%   { transform: translateY(0);   animation-timing-function: ease-in-out; }
  50%  { transform: translateY(6px); animation-timing-function: ease-in-out; }
  100% { transform: translateY(0); }
}
@media (hover: hover) { .swipe:hover .swipe__circle { transform: scale(1.1); } }
.icon--chevron { height: 24px; width: 24px; color: var(--navy); }

.dots {
  position: fixed; right: 12px; top: 50%; z-index: 20;
  display: flex; transform: translateY(-50%); flex-direction: column; gap: 8px;
}
.dots button {
  height: 8px; width: 8px; border-radius: 9999px;
  background: rgba(31,40,76,.2); transition: all .3s var(--ease-tw);
}
@media (hover: hover) { .dots button:not([aria-current="true"]):hover { background: rgba(31,40,76,.4); } }
.dots button[aria-current="true"] { transform: scale(1.25); background: var(--gold); box-shadow: var(--shadow-lg); }

.counter {
  position: fixed; bottom: 24px; right: 12px; z-index: 20;
  font-size: 10px; line-height: 15px; font-weight: 600; letter-spacing: .05em; color: rgba(31,40,76,.3);
}

@media (min-width: 768px) {
  .swipe { bottom: 32px; }
  .swipe__label { font-size: 12px; line-height: 16px; }
  .dots { right: 20px; }
  .dots button { height: 10px; width: 10px; }
  .counter { bottom: 32px; right: 20px; font-size: 12px; line-height: 16px; }
}

/* ============================================================
   Movimento reduzido — respeita quem pediu no sistema.
   (Adicional ao original; remova este bloco para fidelidade
   absoluta em todos os cenários.)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .deck { transition: none; }
  .slide.is-playing [data-anim],
  .slide.is-playing .cover__fade { animation: none; opacity: 1; filter: none; transform: none; }
  [data-anim] { opacity: 1; }
  .slide.is-playing .cover__bg { animation: none; }
  .marquee__track { animation: none; }
  .swipe__circle { animation: none; }
  .swipe { animation: none; }
  .card, .card__glow, .card__icon, .card__patent, .card__rule, .final__wa, .dots button { transition: none; }
}
