/* Prime Higienização de Cortinas — estilos compartilhados entre as páginas.
   O layout de cada página fica em estilos inline (como no protótipo); este
   arquivo cobre o que estilo inline não resolve: fundo com textura, sistema
   de cards com profundidade, motion lento e "luxuoso", e estados de :hover. */

:root {
  --navy: #1B304F;
  --navy-deep: #142540;
  --gold: #EA8F0E;
  --gold-text: #B8710A;
  --bg: #FFFFFF;
  --surface: #F7F6F3;
  --border: #E6E3DC;
  --text: #1B304F;
  --text-muted: #222222;
  /* curva de desaceleração suave — a base do motion "devagar e elegante" */
  --ease-lux: cubic-bezier(.16,1,.3,1);
  --dur-slow: .65s;
  --dur-med: .42s;
}

html {
  overflow-x: hidden;
}
body {
  margin: 0;
  background: #FFFFFF;
  color: #1B304F;
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(27,48,79,.055) 0 1px, rgba(27,48,79,0) 1px 4px, rgba(27,48,79,.022) 4px 5px, rgba(27,48,79,0) 5px 34px),
    repeating-linear-gradient(90deg, rgba(27,48,79,.03) 0 18px, rgba(27,48,79,0) 18px 96px),
    radial-gradient(120% 55% at 50% -10%, rgba(234,143,14,.10), rgba(255,255,255,0) 62%);
}

a { color: #1B304F; text-decoration-color: rgba(234,143,14,.55); text-underline-offset: 3px; transition: color var(--dur-med) var(--ease-lux); }
a:hover { color: #B8710A; }

/* FAQ — cards com leve relevo 3D, abertura lenta e luxuosa (CSS Grid
   animatable rows) e interior dourado da marca quando aberto. */
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.faq-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 4px rgba(27,48,79,.05), 0 20px 40px -30px rgba(27,48,79,.18);
  transition: box-shadow var(--dur-slow) var(--ease-lux), border-color var(--dur-slow) var(--ease-lux), transform var(--dur-slow) var(--ease-lux);
}
.faq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(234,143,14,.45);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 24px 46px -26px rgba(27,48,79,.26);
}
.faq-card.is-open {
  border-color: rgba(234,143,14,.55);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 46px -26px rgba(27,48,79,.22);
}
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: color var(--dur-slow) var(--ease-lux);
}
.faq-card:hover .faq-summary,
.faq-card.is-open .faq-summary { color: var(--gold-text); }
.faq-plus {
  flex: none;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--dur-slow) var(--ease-lux) !important;
}
.faq-card.is-open .faq-plus { transform: rotate(45deg); }

/* Altura animada via JS (height em px, não grid-template-rows) — mais
   robusto entre navegadores do que o truque de grid-rows, e permite
   abrir E fechar com a mesma transição (o atributo nativo [open] some
   antes da transição rodar, o que fazia o fechamento parecer brusco). */
.faq-panel {
  height: 0;
  overflow: hidden;
  transition: height .6s var(--ease-lux);
}
.faq-panel-inner {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(234,143,14,.16), rgba(234,143,14,.05));
  transition: background .7s var(--ease-lux);
}
.faq-answer {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  max-width: 62ch;
  padding: 2px 22px 22px;
  text-wrap: pretty;
}
@media (prefers-reduced-motion: reduce) {
  .faq-panel, .faq-card, .faq-summary, .faq-plus { transition: none; }
}

/* ── Sistema de cards ─────────────────────────────────────────────────── */
.pc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(27,48,79,.05), 0 20px 44px -28px rgba(27,48,79,.18);
  transition: transform var(--dur-slow) var(--ease-lux),
              box-shadow var(--dur-slow) var(--ease-lux),
              border-color var(--dur-slow) var(--ease-lux);
  will-change: transform;
}
.pc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 64px -26px rgba(27,48,79,.28), 0 6px 18px rgba(27,48,79,.08);
  border-color: rgba(234,143,14,.5);
}

.pc-card-dark {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 1px 2px rgba(20,37,64,.3), 0 20px 44px -28px rgba(20,37,64,.5);
}
.pc-card-dark:hover {
  box-shadow: 0 34px 64px -22px rgba(20,37,64,.55), 0 6px 18px rgba(0,0,0,.15);
  border-color: var(--gold);
}

.pc-card-feature {
  box-shadow: 0 2px 4px rgba(27,48,79,.05), 0 28px 60px -30px rgba(27,48,79,.2);
}

/* Distintivo circular para ícones dentro de um card — relevo 3D leve
   (brilho no topo + sombra na base) em todos os ícones do site, para dar
   um acabamento estruturado e "lapidado". */
.pc-icon-badge {
  position: relative;
  /* Sem isto, um ::before decorativo posicionado em absolute (como a
     linha conectora do "Como funciona") pinta por cima do badge mesmo
     vindo antes no HTML — elementos posicionados sempre ficam acima de
     conteúdo não-posicionado na pilha de camadas. */
  z-index: 1;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234,143,14,.08);
  border: 1px solid rgba(234,143,14,.32);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -2px 3px rgba(27,48,79,.08) inset, 0 6px 14px -8px rgba(27,48,79,.35);
  transition: background var(--dur-slow) var(--ease-lux),
              border-color var(--dur-slow) var(--ease-lux),
              box-shadow var(--dur-slow) var(--ease-lux),
              transform var(--dur-slow) var(--ease-lux);
}
.pc-card:hover .pc-icon-badge {
  background: rgba(234,143,14,.16);
  border-color: rgba(234,143,14,.6);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 3px rgba(27,48,79,.1) inset, 0 14px 22px -10px rgba(27,48,79,.4);
}
.pc-icon-badge-light {
  background: rgba(255,255,255,.06);
  border-color: rgba(234,143,14,.45);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -2px 3px rgba(0,0,0,.2) inset, 0 6px 14px -8px rgba(0,0,0,.4);
}
.pc-card-dark:hover .pc-icon-badge-light {
  background: rgba(234,143,14,.18);
  border-color: var(--gold);
}

/* Distintivo preenchido — para seções que pedem mais cor/atenção */
.pc-icon-badge-solid {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -3px 5px rgba(90,68,20,.35) inset, 0 8px 16px -8px rgba(27,48,79,.45);
}
.pc-card:hover .pc-icon-badge-solid {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -3px 5px rgba(0,0,0,.3) inset, 0 14px 24px -10px rgba(27,48,79,.5);
}

/* Barra de acento no topo do card — dá presença de cor sem pesar */
.pc-card-accent { border-top: 3px solid var(--gold); }

/* "Como funciona" — grade de 5 colunas com linha conectora no desktop;
   vira uma linha do tempo vertical no mobile (mesma linguagem visual da
   régua dourada de "O problema") em vez de embolar em 2+2+1. */
.pc-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
/* Trilho estático (cinza) + preenchimento dourado que cresce conforme a
   rolagem — mesma lógica de "O problema", padronizando as duas seções. */
.steps-line-track {
  position: absolute;
  left: 6%;
  top: 20px;
  width: 88%;
  height: 1px;
  background: var(--border);
}
.steps-line-fill {
  position: absolute;
  left: 6%;
  top: 20px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-text));
  box-shadow: 0 0 12px rgba(234,143,14,.45);
  transition: width .12s linear;
}
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.step-num { color: var(--gold-text); transition: color .5s var(--ease-lux), border-color .5s var(--ease-lux); }
.step-num.is-passed { color: var(--navy); }

@media (max-width: 760px) {
  .pc-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 440px;
  }
  .steps-line-track {
    /* Passa exatamente pelo centro dos círculos de 40px (19px = metade
       de 40px menos metade da linha de 2px). */
    left: 19px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    height: auto;
  }
  .steps-line-fill {
    left: 19px;
    top: 6px;
    width: 2px;
    height: 0;
    transition: height .12s linear;
    background: linear-gradient(180deg, var(--gold), var(--gold-text));
  }
  .step-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding-bottom: clamp(20px, 5vw, 28px);
  }
  .step-item:last-child { padding-bottom: 0; }
  .step-item .pc-card { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .steps-line-fill { transition: none; }
  .step-num { transition: none; }
}

/* Molduras de imagem com profundidade (hero, fechamento) */
.pc-frame { position: relative; }
.pc-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 2px;
  box-shadow: 0 40px 80px -32px rgba(27,48,79,.32);
}

/* Botões e links com hover — motion lento e com elevação, com um leve
   relevo 3D (brilho no topo + sombra interna na base) que dá o toque
   luxuoso sem alterar as cores de fundo definidas inline. */
.btn-primary, .btn-dark, .btn-footer, .btn-outline, .btn-cookie-allow, .btn-cookie-deny, #wa-fab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Brilho que desliza pela superfície do botão ao passar o mouse — o
   "toque a mais" luxuoso pedido para todos os botões do site. */
.btn-primary::after, .btn-dark::after, .btn-footer::after, .btn-outline::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 35%;
  height: 140%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  transition: left .85s var(--ease-lux);
  pointer-events: none;
  z-index: 3;
}
.btn-primary:hover::after, .btn-dark:hover::after, .btn-footer:hover::after, .btn-outline:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after, .btn-dark::after, .btn-footer::after, .btn-outline::after { display: none; }
}

/* Botão dourado (usado na hero mobile, sobre fundo escuro) — mantém o
   tom quente no hover em vez de virar azul e sumir contra o painel. */
.btn-gold:hover { background: linear-gradient(180deg,#EA8F0E,#C97400) !important; }
.btn-primary::before, .btn-dark::before, .btn-footer::before, .btn-outline::before,
.btn-cookie-allow::before, .btn-cookie-deny::before, #wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  /* z-index negativo: fica acima do fundo do próprio botão (que pinta no
     nível mais baixo da stacking context) mas abaixo do texto/ícone, que
     são conteúdo inline normal — assim o brilho nunca encobre o conteúdo. */
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0) 48%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-lux);
}

.btn-primary {
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 4px rgba(0,0,0,.12) inset, 0 12px 26px -10px rgba(27,48,79,.45);
  transition: background var(--dur-med) var(--ease-lux), transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.btn-primary:hover { background: #142540; transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 -2px 4px rgba(0,0,0,.14) inset, 0 26px 44px -16px rgba(27,48,79,.5); }
.btn-primary:active { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 -1px 2px rgba(0,0,0,.16) inset, 0 8px 16px -8px rgba(27,48,79,.4); }

.btn-dark {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -2px 4px rgba(0,0,0,.15) inset, 0 10px 20px -10px rgba(27,48,79,.4);
  transition: background-color var(--dur-med) var(--ease-lux), transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.btn-dark:hover { background: #142540; transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 4px rgba(0,0,0,.16) inset, 0 18px 30px -12px rgba(27,48,79,.45); }
.btn-dark:active { transform: translateY(0); }

.btn-footer {
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 3px rgba(20,37,64,.08) inset, 0 14px 28px -14px rgba(0,0,0,.35);
  transition: transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.btn-footer:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 -2px 3px rgba(20,37,64,.1) inset, 0 28px 48px -16px rgba(0,0,0,.42); }
.btn-footer:active { transform: translateY(-1px); }

.btn-outline {
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 4px 10px -6px rgba(27,48,79,.12);
  transition: border-color var(--dur-med) var(--ease-lux), transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.btn-outline:hover { border-color: #EA8F0E; transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 32px -16px rgba(27,48,79,.24); }

.btn-cookie-deny { transition: border-color var(--dur-med) var(--ease-lux); }
.btn-cookie-deny:hover { border-color: #EA8F0E; }

.btn-cookie-allow {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 8px 18px -10px rgba(27,48,79,.4);
  transition: background-color var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.btn-cookie-allow:hover { background: #142540; }

.link-gold:hover { color: #EA8F0E; }

/* Botões de redes sociais no rodapé — dourado com relevo 3D leve, no
   mesmo estilo dos ícones do resto do site, ficando azul-marinho ao
   passar o mouse. */
.social-btn {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -3px 5px rgba(90,68,20,.35) inset, 0 8px 16px -8px rgba(27,48,79,.45);
  transition: background var(--dur-slow) var(--ease-lux), transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 48%, rgba(0,0,0,.08) 100%);
  pointer-events: none;
}
.social-btn:hover {
  background: var(--navy);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -3px 5px rgba(0,0,0,.3) inset, 0 16px 26px -8px rgba(0,0,0,.48);
}
.social-btn:active { transform: translateY(-1px) scale(1.02); }

/* Botão flutuante do WhatsApp — sempre visível, em qualquer tela, do
   carregamento da página até o fim da rolagem. Relevo 3D acentuado e
   anel dourado para reforçar o toque luxuoso; ícone verde WhatsApp para
   chamar a atenção instantaneamente. */
#wa-fab {
  background: radial-gradient(120% 120% at 30% 22%, #22405f 0%, #1B304F 55%, #142540 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 -3px 6px rgba(0,0,0,.25) inset,
    0 4px 0 rgba(10,20,36,.55),
    0 18px 34px -8px rgba(20,37,64,.55);
  transition: transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
#wa-fab:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 -3px 6px rgba(0,0,0,.28) inset,
    0 7px 0 rgba(10,20,36,.55),
    0 26px 48px -10px rgba(20,37,64,.62);
}
#wa-fab:active { transform: translateY(-1px) scale(1.02); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -2px 4px rgba(0,0,0,.3) inset, 0 2px 0 rgba(10,20,36,.5), 0 10px 20px -8px rgba(20,37,64,.5); }
#wa-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(234,143,14,.6);
  animation: wa-pulse 2.6s var(--ease-lux) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(.92); opacity: .8; }
  70% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #wa-fab::after { animation: none; display: none; }
}

/* Placeholder de imagem — mantém o espaço reservado, pronto para receber a
   foto real (ver README do pacote de design: sem fotos disponíveis ainda). */
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
  background: #F7F6F3;
  border: 1.5px dashed rgba(27,48,79,.3);
  color: #222222;
}
.img-placeholder svg { opacity: .45; flex: none; }
.img-placeholder span { font-size: 13px; line-height: 1.4; max-width: 88%; }

/* Revelação suave ao rolar (aplicada via JS a [data-reveal]) */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease-lux), transform .9s var(--ease-lux);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .pc-card, .btn-primary, .btn-dark, .btn-footer, .btn-outline { transition: none; }
}

@keyframes prime-spin { to { transform: rotate(360deg); } }

/* ── Hero: versão completa em desktop, foto cheia com overlay no mobile ──
   IMPORTANTE: display fica só aqui (nunca inline no elemento), senão o
   estilo inline vence a media query e as duas heros aparecem juntas. */
.hero-mobile { display: none; }
@media (max-width: 760px) {
  .hero-desktop { display: none; }
  .hero-mobile { display: block; }
}

/* ── "O que está incluído": grade fechada em 3 colunas (2 linhas exatas),
   sem sobra de espaço ou card órfão numa linha ─────────────────────── */
.included-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .included-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .included-grid { grid-template-columns: 1fr; }
}

/* ── Mobile: títulos centralizados e quebras de texto limpas ───────────── */
@media (max-width: 700px) {
  .sec-eyebrow, .sec-title, .mobile-center { text-align: center; }
}
.sec-title, h1, h2, h3 { text-wrap: balance; }

/* Linha de CTAs/ações que deve ficar centralizada no mobile mesmo quando o
   bloco ao redor é alinhado à esquerda no desktop. */
@media (max-width: 700px) {
  .mobile-center-row { justify-content: center; text-align: center; }
}

/* ── Faixa de destaques (stats) em carrossel infinito, 100% CSS ───────── */
.stats-marquee {
  position: relative;
  overflow: hidden;
}
/* Fade nas bordas com um degradê sólido branco (em vez de mask-image) —
   assim a borda "some" contra o próprio fundo branco do card, sem revelar
   o que está atrás dele. */
.stats-marquee::before,
.stats-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 6vw, 64px);
  z-index: 3;
  pointer-events: none;
}
.stats-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.stats-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}
.stats-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  padding: clamp(22px, 2.6vw, 28px) clamp(24px, 3.4vw, 40px);
  animation: stats-scroll 32s linear infinite;
}
.stats-marquee:hover .stats-track,
.stats-marquee:focus-within .stats-track {
  animation-play-state: paused;
}
@keyframes stats-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.stats-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .stats-track { animation: none; }
}

/* ── Portfólio: carrossel "coverflow" — card central em foco, vizinhos
   desfocados nas laterais, transição lenta e luxuosa ────────────────── */
.pf-stage {
  position: relative;
  height: clamp(340px, 54vw, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Os slides fora de foco ficam deslocados bem além da borda via
     transform — sem isto, essa área invisível alarga a página e cria
     scroll horizontal fantasma (a página "escorrega" ao arrastar no
     celular). */
  overflow: hidden;
}
.pf-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.pf-slide {
  --delta: 0;
  --scale: 1;
  --op: 1;
  --blur: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(80vw, 380px);
  transform: translate(calc(-50% + var(--delta) * 62%), -50%) scale(var(--scale));
  opacity: var(--op);
  filter: blur(var(--blur));
  transition: transform 1.05s var(--ease-lux), opacity 1.05s var(--ease-lux), filter 1.05s var(--ease-lux);
}
@media (min-width: 900px) {
  /* Cards maiores no desktop, como pedido — a foto real deve ter pelo
     menos 1400x1050px (proporção 4:3) para não esticar. */
  .pf-stage { height: clamp(460px, 42vw, 620px); }
  .pf-slide { width: min(38vw, 520px); }
}
.pf-slide-card { overflow: hidden; }
.pf-slide-caption { font-size: .96rem; font-weight: 700; color: var(--navy); margin: 0; padding: 16px 18px; }
.pf-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--gold);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 6px 14px -4px rgba(27,48,79,.35);
}
.pf-stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 22px -8px rgba(27,48,79,.35);
  transition: border-color var(--dur-med) var(--ease-lux), transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.pf-stage-arrow:hover { border-color: var(--gold); transform: translateY(-50%) scale(1.1); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 32px -10px rgba(27,48,79,.45); }
.pf-stage-arrow-prev { left: clamp(4px, 3vw, 24px); }
.pf-stage-arrow-next { right: clamp(4px, 3vw, 24px); }
@media (max-width: 640px) {
  .pf-stage-arrow { width: 40px; height: 40px; }
  .pf-stage-arrow-prev { left: 4px; }
  .pf-stage-arrow-next { right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-slide { transition: none; }
}

/* Botão circular reutilizado pelos controles de depoimentos */
.pf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(27,48,79,.3);
  transition: border-color var(--dur-med) var(--ease-lux), transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
  z-index: 2;
}
.pf-arrow:hover { border-color: var(--gold); box-shadow: 0 14px 30px -10px rgba(27,48,79,.4); }

/* ── "O problema": linha do tempo que se preenche de dourado conforme a
   leitura avança, e os números 01-04 trocam de dourado para azul-marinho
   assim que são "lidos" (cruzam a linha de referência na tela). ────────── */
.problem-timeline {
  position: relative;
}
.problem-line-track {
  position: absolute;
  /* Passa pelo centro exato dos círculos de 40px (19px = metade de 40px
     menos metade da linha de 2px) — mesmo cálculo do "Como funciona". */
  left: 19px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
}
.problem-line-fill {
  position: absolute;
  left: 19px;
  top: 6px;
  width: 2px;
  height: 0%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-text));
  box-shadow: 0 0 12px rgba(234,143,14,.55);
  transition: height .12s linear;
}
.problem-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}
/* Bolinha numerada — mesmo estilo dos círculos do "Como funciona" (branco,
   relevo 3D leve), só que troca de dourado para azul-marinho conforme a
   leitura avança. */
.problem-num {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(234,143,14,.45);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -2px 3px rgba(27,48,79,.08) inset, 0 6px 14px -8px rgba(27,48,79,.35);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-text);
  transition: color .5s var(--ease-lux), border-color .5s var(--ease-lux), box-shadow .5s var(--ease-lux);
}
.problem-num.is-passed {
  color: var(--navy);
  border-color: rgba(27,48,79,.4);
}
@media (max-width: 700px) {
  .problem-item { gap: clamp(12px, 4vw, 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .problem-line-fill { transition: none; }
  .problem-num { transition: none; }
}

/* ── Depoimentos: mesmo carrossel "coverflow" do portfólio — card central
   em foco, vizinhos desfocados nas laterais ─────────────────────────── */
.testi-stage {
  position: relative;
  height: clamp(300px, 44vw, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.testi-slide {
  --delta: 0;
  --scale: 1;
  --op: 1;
  --blur: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(84vw, 460px);
  transform: translate(calc(-50% + var(--delta) * 62%), -50%) scale(var(--scale));
  opacity: var(--op);
  filter: blur(var(--blur));
  transition: transform 1.05s var(--ease-lux), opacity 1.05s var(--ease-lux), filter 1.05s var(--ease-lux);
}
.testi-slide-card { padding: clamp(26px, 3.2vw, 38px); }
.testi-stars { color: var(--gold); font-size: .9rem; letter-spacing: .12em; line-height: 1; margin: 0 0 14px; }
.testi-quote { font-size: .96rem; line-height: 1.65; color: var(--text-muted); margin: 0; text-wrap: pretty; }
.testi-quote-dark { color: rgba(255,255,255,.92); }
@media (prefers-reduced-motion: reduce) {
  .testi-slide { transition: none; }
}
