/* ==========================================================================
   Frizzar — base compartilhada por todas as páginas
   Tokens, tipografia, botões, header, footer, stats e animação de entrada.
   O CSS específico de cada página fica em styles/<pagina>.css
   ========================================================================== */

:root {
  /* Cor */
  --ink:          #0A0A0A;
  --surface:      #141414;
  --surface-2:    #1C1B1A;   /* cartões dentro dos painéis elevados */
  --panel:        #141313;   /* seção elevada (era o creme) */
  --edge:         rgba(255, 255, 255, .10);
  --edge-soft:    rgba(255, 255, 255, .06);
  --cream:        #F4F1EC;
  --acc:          #E11B22;

  /* Blocos de cor deslocados atrás das mídias */
  --block-amber:  #F2B544;
  --block-pink:   #EF8FB8;
  --block-red:    #E11B22;
  --block-blue:   #3B6FF5;

  /* Tipografia de display: condensada, caixa alta */
  --font-display: "Bebas Neue", "Archivo Narrow", "Arial Narrow", Impact, sans-serif;

  --line:         rgba(255, 255, 255, .09);
  --line-strong:  rgba(255, 255, 255, .14);
  --dim:          rgba(244, 241, 236, .60);
  --dim-soft:     rgba(244, 241, 236, .44);
  --ink-body:     var(--dim);
  --ink-mute:     var(--dim-soft);

  /* Layout */
  --max:  1280px;
  --gut:  48px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Archivo, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease,
              border-color .18s ease, filter .18s ease;
}

h1, h2, h3 { text-wrap: balance; }

/* A identidade tipográfica vem daqui: uma condensada em caixa alta para todo
   display. Bebas Neue só tem o peso 400 — pedir 700/800 gera negrito
   sintético e borrado, por isso o peso fica travado aqui e foi removido das
   folhas de cada página. */
h1, h2, h3,
.h2,
.stat__num, .big-stat__num,
.price__cur, .price__num, .price__per,
.plan__name, .plan__val,
.dcard__title, .inc-card__title, .tile__head,
.cad-visual p,
.slide blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .012em;
  line-height: .9;
}

/* Bebas tem caixa alta alta e sem descendentes: o texto corrido de apoio
   continua em Archivo para não perder legibilidade. */
.lede, .section-kicker, .eyebrow, .stat__label { font-family: Archivo, Helvetica, Arial, sans-serif; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------- tipografia */

.eyebrow {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--acc);
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.dot { color: var(--acc); }

.h2 {
  margin: 0;
  font-size: clamp(38px, 3.4vw, 56px);
  max-width: 20ch;
}

.h2--center { max-width: 26ch; margin-inline: auto; text-align: center; }

.lede {
  margin: 24px 0 0;
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.66;
}

.section-kicker {
  margin: 0 0 20px;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: var(--acc);
}

/* -------------------------------------------------------------------- botões */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}

/* Quando o botão traz a seta, ela vira um selo circular na ponta direita e o
   padding daquele lado encolhe para o selo encostar na borda da pílula. */
.btn:has(.arrow) { padding-right: 8px; }

.btn .arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  transition: transform .22s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* Sem :has() o selo continua legível, só não recolhe o padding. */
@supports not selector(:has(*)) {
  .btn { padding-right: 20px; }
}

.btn--primary { background: var(--acc); color: #fff; }
.btn--primary:hover { filter: brightness(1.12); color: #fff; }

.btn--ghost {
  padding-inline: 28px;
  border-color: rgba(255, 255, 255, .24);
  color: var(--cream);
}
.btn--ghost .arrow { background: rgba(255, 255, 255, .14); color: var(--cream); }
.btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .44);
  color: var(--cream);
}

.btn--ghost-dark {
  padding-inline: 28px;
  border-color: rgba(255, 255, 255, .24);
  color: var(--cream);
}
.btn--ghost-dark .arrow { background: rgba(255, 255, 255, .14); color: var(--cream); }
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .44);
  color: var(--cream);
}

.btn--sm { padding: 10px 20px; font-size: 16px; }
.btn--sm:has(.arrow) { padding-right: 6px; }
.btn--sm .arrow { width: 26px; height: 26px; font-size: 13px; }
.btn--lg { padding: 17px 34px; font-size: 22px; }
.btn--caps { letter-spacing: .06em; }

.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.link-acc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--acc);
}
.link-acc:hover { color: var(--cream); }
.link-acc span { transition: transform .22s var(--ease); }
.link-acc:hover span { transform: translateX(4px); }

/* marcador de check (quadrado no claro, círculo na oferta) */

.mark {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--acc);
  color: #fff;
  font-size: 12px;
}
.mark--sm { width: 18px; height: 18px; border-radius: 4px; font-size: 11px; }
.mark--round { border-radius: 50%; }

/* -------------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 12, 12, .83);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 82px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}
.site-nav a { color: rgba(244, 241, 236, .72); }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 22px; }

/* --------------------------------------------------------------------- stats */

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.stat { background: var(--surface); padding: 30px 26px; }
.stat--center { text-align: center; }

.stat__num {
  font-size: clamp(32px, 2.9vw, 42px);
}

.stat__label {
  margin-top: 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, .5);
}

/* ---------------------------------------------------------------- seção clara */

 /* Antes eram seções creme. Agora são painéis um tom acima do fundo —
   o contraste vem da elevação, não da inversão para branco. */
.section--light {
  background: var(--panel);
  color: var(--cream);
  padding: 120px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* --------------------------------------------------------- grade de destaques */

.tile-grid {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.tile { background: var(--surface); padding: 26px 24px; font-size: 15px; font-weight: 600; }

/* -------------------------------------------------------------------- footer */

.site-footer { padding: 76px 0 44px; }
.site-footer--tight { padding-top: 0; }

.site-footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__top img {
  height: 64px;
  width: auto;
  display: block;
  margin-left: -6px;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: rgba(244, 241, 236, .72);
}
.site-footer__contact a:hover { color: var(--acc); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 26px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim-soft);
}
.site-footer__legal { display: flex; align-items: center; gap: 22px; }
.site-footer__legal a:hover { color: var(--cream); }


/* ------------------------------------------------- componentes compartilhados */

.handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--cream);
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 34px;
}

.check { display: flex; gap: 14px; }
.check p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--dim); }
.check strong { color: var(--cream); }
.check .mark { margin-top: 3px; }

/* moldura de navegador, print flutuante e foto com depoimento */

.browser {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .85);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.browser__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.browser__bar span:first-child { background: rgba(255, 255, 255, .2); }
.browser img { width: 100%; height: auto; display: block; }

/* foto com etiqueta e print flutuante */

.shot-stack { position: relative; }

.shot-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  overflow: hidden;
}
.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
}
.shot-frame .handle { position: absolute; top: 18px; left: 18px; margin: 0; z-index: 1; }

.float-device {
  position: absolute;
  right: -22px;
  bottom: -38px;
  width: 268px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.float-device img { width: 100%; height: auto; display: block; border-radius: 15px; }

.float-browser {
  position: absolute;
  right: -26px;
  top: -34px;
  width: 66%;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 40px 80px -26px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.float-browser .browser__bar { gap: 5px; padding: 8px 11px; }
.float-browser .browser__bar span { width: 7px; height: 7px; }
.float-browser img { width: 100%; height: auto; display: block; }

/* card de depoimento sobre foto */

.photo-quote {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  padding: 28px;
}
.photo-quote--tall { aspect-ratio: 4 / 4.4; border-radius: 18px; padding: 32px; }
.photo-quote--wide { aspect-ratio: 16 / 11; }
.photo-quote > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 12, .18), rgba(13, 12, 12, .88));
}
.photo-quote figcaption { position: relative; z-index: 1; }
.photo-quote .handle { position: absolute; top: 20px; left: 22px; margin: 0; z-index: 1; }
.pq__name { font-size: 19px; font-weight: 700; }
.pq__city {
  margin-top: 4px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc);
}
.photo-quote blockquote {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 241, 236, .82);
}

.media-stack { display: flex; flex-direction: column; gap: 24px; }

.brand-kicker {
  margin-bottom: 22px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--acc);
}

.tile__num {
  margin-bottom: 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--acc);
}


/* ------------------------------------------- bloco de cor atrás da mídia */

/* Retângulo chapado deslocado para trás da foto — a assinatura visual da
   referência. Feito com ::before para não exigir marcação extra. */
.blockframe { position: relative; isolation: isolate; }

.blockframe::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 30px -30px -30px 30px;
  background: var(--frame, var(--block-amber));
}

.blockframe--tl::before { inset: -30px 30px 30px -30px; }
.blockframe--tr::before { inset: -30px -30px 30px 30px; }

/* ------------------------------------------------ título de palavra colorida */

/* "PARA BARBEARIAS SALÕES CLÍNICAS": cada palavra em um tom diferente. */
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .012em;
  font-size: clamp(34px, 4vw, 62px);
  margin: 0;
}
.wordmark i { font-style: normal; color: var(--cream); }
.wordmark i:nth-of-type(1) { color: var(--block-blue); }
.wordmark i:nth-of-type(3) { color: rgba(244, 241, 236, .34); }

/* ------------------------------------------------------- faixa em gradiente */

.strip {
  position: relative;
  background: linear-gradient(96deg, #3B6FF5 0%, #6C4BF0 52%, #8E3BE0 100%);
  overflow: hidden;
}
.strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .5;
  pointer-events: none;
}
.strip .shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 34px;
}
.strip h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  color: #fff;
  max-width: 24ch;
}
.strip .btn--cream { background: #fff; color: var(--ink); }


/* ------------------------------------------------ conversa do WhatsApp */

/* Ilustração de conversa construída em markup — os PNGs originais do Claude
   Design não estão disponíveis. Sendo HTML, escala em qualquer densidade,
   pesa ~1 KB no lugar de ~300 KB e o texto é lido por leitor de tela. */
.wa {
  width: 100%;
  max-width: 300px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  background: #0B141A;
  box-shadow: 0 34px 60px -20px rgba(0, 0, 0, .8);
  overflow: hidden;
}

.wa__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  background: #1F2C33;
}
.wa__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.wa__who { font-size: 13px; font-weight: 700; color: #E9EDEF; line-height: 1.2; }
.wa__status { font-size: 10px; color: #8696A0; }

.wa__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 12px 18px;
  background:
    radial-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 16px 16px,
    #0B141A;
}

.wa__msg {
  position: relative;
  max-width: 82%;
  margin: 0;
  padding: 8px 34px 8px 10px;
  border-radius: 8px;
  background: #1F2C33;
  color: #E9EDEF;
  font-size: 12px;
  line-height: 1.45;
}
.wa__msg--out { align-self: flex-end; background: #005C4B; }

/* Variante para colunas estreitas: em ~180px a conversa cheia passava de
   700px de altura e empurrava o resto do card para fora. */
.wa--mini { max-width: 210px; border-radius: 20px; }
.wa--mini .wa__bar { padding: 10px 10px 9px; }
.wa--mini .wa__avatar { width: 24px; height: 24px; font-size: 9px; }
.wa--mini .wa__who { font-size: 11px; }
.wa--mini .wa__status { font-size: 9px; }
.wa--mini .wa__body { gap: 6px; padding: 10px 9px 13px; }
.wa--mini .wa__msg { max-width: 88%; padding: 6px 28px 6px 8px; font-size: 11px; }
.wa--mini .wa__msg time { right: 6px; bottom: 4px; font-size: 8px; }
.wa__msg time {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 9px;
  color: rgba(233, 237, 239, .5);
}

/* ------------------------------------------------------- player do YouTube */

/* Fachada: só o pôster até o clique, aí monta o iframe. Evita carregar o
   player (e os cookies dele) em quem nunca aperta play. */
.yt {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0B0B0B center / cover no-repeat;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
}
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.yt__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 68px;
  height: 48px;
  border-radius: 12px;
  background: rgba(18, 18, 18, .78);
  transition: background-color .2s ease, transform .2s var(--ease);
}
.yt__play::before {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.yt:hover .yt__play { background: #E11B22; transform: translate(-50%, -50%) scale(1.08); }
.yt.is-playing .yt__play { display: none; }

/* Sem ID de vídeo ainda: mostra só a capa, sem prometer um play que não existe. */
.yt[data-yt=""] { cursor: default; }
.yt[data-yt=""] .yt__play { opacity: .35; }
.yt[data-yt=""]:hover .yt__play { background: rgba(18, 18, 18, .78); transform: translate(-50%, -50%); }

/* ------------------------------------------------------------------ animação */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

[data-reveal].is-visible {
  animation: rise var(--rise-dur, .9s) var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}


/* =========================================================================
   Interações
   Tudo aqui é desligado por prefers-reduced-motion no fim do arquivo.
   ========================================================================= */

/* Entrada escalonada: cada filho da grade entra um pouco depois do anterior.
   O índice vem do próprio CSS, sem precisar marcar item por item. */
[data-stagger] > * { opacity: 0; transform: translateY(18px); }
[data-stagger].is-visible > * {
  animation: rise .7s var(--ease) both;
}
[data-stagger].is-visible > *:nth-child(1)  { animation-delay: .00s; }
[data-stagger].is-visible > *:nth-child(2)  { animation-delay: .06s; }
[data-stagger].is-visible > *:nth-child(3)  { animation-delay: .12s; }
[data-stagger].is-visible > *:nth-child(4)  { animation-delay: .18s; }
[data-stagger].is-visible > *:nth-child(5)  { animation-delay: .24s; }
[data-stagger].is-visible > *:nth-child(6)  { animation-delay: .30s; }
[data-stagger].is-visible > *:nth-child(7)  { animation-delay: .36s; }
[data-stagger].is-visible > *:nth-child(8)  { animation-delay: .42s; }
[data-stagger].is-visible > *:nth-child(n+9) { animation-delay: .48s; }

/* Cartões: sobem e ganham borda ao passar o mouse. */
.tile, .gcard, .depo, .inc-card, .nov-card, .plan, .big-stat, .stat, .feature, .conn {
  transition: transform .26s var(--ease), border-color .26s ease,
              background-color .26s ease, box-shadow .26s var(--ease);
}
.gcard:hover, .inc-card:hover, .nov-card:hover, .depo:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .9);
}
.tile:hover { background: #1B1B1B; }
.plan:hover { transform: translateX(4px); }
.stat:hover, .big-stat:hover { background: #1B1B1B; }

/* Zoom lento na foto dentro das molduras. */
.hero__shot, .media-wa__frame, .shot-frame, .photo-quote, .quote,
.story__media img, .cad-visual { overflow: hidden; }

.hero__shot img, .media-wa__frame img, .shot-frame img,
.photo-quote > img, .quote img, .story__media img, .cad-visual > img {
  transition: transform .8s var(--ease);
}
.hero__shot:hover img, .media-wa__frame:hover img, .shot-frame:hover img,
.photo-quote:hover > img, .quote:hover img, .story__media img:hover,
.cad-visual:hover > img { transform: scale(1.05); }

/* Header encolhe depois que a página rola. */
.site-header { transition: height .3s var(--ease), background-color .3s ease; }
.site-header .shell { transition: height .3s var(--ease); }
.site-header.is-stuck { background: rgba(10, 10, 10, .94); }
.site-header.is-stuck .shell { height: 64px; }
.site-header .logo img { transition: height .3s var(--ease); }
.site-header.is-stuck .logo img { height: 42px; }

/* Sublinhado que cresce no menu. */
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* Brilho que percorre o botão primário. */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg);
  transition: left .55s var(--ease);
}
.btn--primary:hover::after { left: 120%; }
.btn--primary > * { position: relative; }

/* Marcadores de check entram girando quando a lista aparece. */
.is-visible .mark { animation: pop .45s var(--ease) both; }
@keyframes pop {
  from { transform: scale(.4) rotate(-25deg); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* Barras do analytics crescem a partir do zero. */
.bar__fill { width: 0 !important; transition: width 1.1s var(--ease); }
.is-visible .bar__fill { width: var(--w) !important; }

/* Acordeão do FAQ abre deslizando em vez de saltar. */
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .34s var(--ease), content-visibility .34s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }

/* Blocos de cor deslizam para a posição ao entrarem na tela. */
.blockframe::before {
  transition: transform .8s var(--ease), opacity .8s ease;
  transform: translate(-14px, -14px);
  opacity: 0;
}
.blockframe.is-visible::before,
.is-visible .blockframe::before { transform: none; opacity: 1; }

/* --------------------------------------------------------------- responsivo */

@media (max-width: 1080px) {
  :root { --gut: 32px; }
  .split { gap: 48px; }
}

@media (max-width: 860px) {
  .section--light { padding: 84px 0; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .h2, .lede { max-width: none; }
  .site-nav { display: none; }
}

@media (max-width: 860px) {
  /* deslocamento menor: com --gut estreito o bloco sairia da viewport */
  .blockframe::before { inset: 20px -20px -20px 20px; }
  .blockframe--tl::before { inset: -20px 20px 20px -20px; }
  .blockframe--tr::before { inset: -20px -20px 20px 20px; }

  .strip .shell { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 640px) {
  :root { --gut: 20px; }

  .blockframe::before { inset: 14px -12px -14px 12px; }
  .blockframe--tl::before { inset: -14px 12px 14px -12px; }
  .blockframe--tr::before { inset: -14px -12px 14px 12px; }

  .site-header .shell { height: 68px; gap: 16px; }
  .logo img { height: 42px; }

  .btn { width: 100%; justify-content: center; padding: 17px 24px; }
  .btn--sm { width: auto; padding: 11px 16px; font-size: 13px; }
  .btn-row { gap: 10px; margin-top: 30px; }

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

  .site-footer { padding: 56px 0 36px; }
  .site-footer__top { gap: 24px; }
  .site-footer__contact { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer__bottom { gap: 16px; }
  .site-footer__legal { flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  [data-reveal],
  [data-reveal].is-visible,
  [data-stagger] > *,
  [data-stagger].is-visible > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .blockframe::before { transform: none; opacity: 1; transition: none; }
  .bar__fill { transition: none; }
  .btn--primary::after { display: none; }

  * { transition-duration: .01ms !important; }
}

/* Navegação entre páginas no rodapé das páginas internas.
   Antes delas, cada página interna era um beco sem saída: só o logo
   voltava para a home e nada apontava para as páginas irmãs. */
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
}
.site-footer__nav a { color: rgba(244, 241, 236, .62); }
.site-footer__nav a:hover { color: var(--cream); }

/* =====================================================================
   Elementos adaptados da referência Flowrix — estrutura dela, marca nossa.
   Nada de pílula nem gradiente: o blockframe reto e o vermelho chapado
   continuam mandando. O que muda é o ritmo da página.
   ===================================================================== */

/* ------------------------------------------------- título-fantasma de seção */
/* Palavra grande e quase apagada atrás do cabeçalho, marcando a seção.
   Usa currentColor para funcionar igual no fundo escuro e no claro. */
.ghosted { position: relative; }
.ghosted > * { position: relative; z-index: 1; }
.ghosted::before {
  content: attr(data-ghost);
  position: absolute;
  top: -.46em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(88px, 16vw, 250px);
  line-height: .78;
  letter-spacing: .012em;
  white-space: nowrap;
  color: currentColor;
  opacity: .06;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 760px) {
  .ghosted::before { font-size: clamp(64px, 22vw, 120px); top: -.32em; }
}

/* ------------------------------------------------------- inversão para claro */
/* Redefine os tokens dentro da seção em vez de reescrever cada componente:
   tudo que já usa var(--cream) / var(--dim) / var(--line) vira escuro sozinho. */
.section--invert {
  background: #F4F1EC;
  color: var(--cream);
  padding: 120px 0;

  --cream:       #131110;
  --dim:         rgba(19, 17, 16, .68);
  --dim-soft:    rgba(19, 17, 16, .50);
  --ink-body:    rgba(19, 17, 16, .68);
  --ink-mute:    rgba(19, 17, 16, .50);
  --line:        rgba(19, 17, 16, .12);
  --line-strong: rgba(19, 17, 16, .22);
  --edge:        rgba(19, 17, 16, .12);
  --edge-soft:   rgba(19, 17, 16, .08);
  --surface-2:   rgba(19, 17, 16, .035);
  --panel:       #ECE7DF;
}
.section--invert .btn--cream {
  background: var(--ink);
  color: #F4F1EC;
  border-color: var(--ink);
}
.section--invert .btn--ghost-dark,
.section--invert .btn--ghost { border-color: var(--line-strong); color: var(--cream); }

/* --------------------------------------------------- acordeão de recursos */
.rec-acc { border-top: 1px solid var(--line); margin: 54px 0 0; }

.rec-item { border-bottom: 1px solid var(--line); }

.rec-item > summary {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  transition: color .3s var(--ease);
}
.rec-item > summary::-webkit-details-marker { display: none; }
.rec-item > summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }

.rec-item__n {
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--dim-soft);
  flex: none;
}
.rec-item__q {
  font-family: var(--font-display);
  font-size: clamp(27px, 3.5vw, 46px);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  flex: 1;
}
.rec-item[open] > summary .rec-item__q,
.rec-item > summary:hover .rec-item__q { color: var(--acc); }

/* Seta reta, sem arredondar — combina com o blockframe */
.rec-item__ind { flex: none; font-size: 22px; line-height: 1; color: var(--dim-soft); transition: transform .3s var(--ease); }
.rec-item[open] > summary .rec-item__ind { transform: rotate(90deg); color: var(--acc); }

.rec-item__body {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
  padding: 4px 0 42px;
}
.rec-item__body p { margin: 0 0 20px; color: var(--ink-body); font-size: 16px; line-height: 1.66; max-width: 46ch; }

.rec-item__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.rec-item__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-body); }
/* Marcador quadrado, não check redondo */
.rec-item__list li::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  margin-top: 7px;
  background: var(--acc);
}
.rec-item__shot { border: 1px solid var(--edge); background: var(--surface-2); padding: 12px; }
.rec-item__shot img { display: block; width: 100%; height: auto; }

@media (max-width: 860px) {
  .rec-item__body { grid-template-columns: 1fr; gap: 26px; }
  .rec-item__shot { order: -1; }
}
