/* =====================================================================
   BeneMed Franquias sistema de design
   Cores e tipografia oficiais do manual de marca.
   ===================================================================== */

/* ---------- Tipografia oficial: Roca Two -------------------------- *
   Família completa disponível em .woff2 (leve). Use estes 3 pesos +
   itálico. Copie da pasta da fonte para assets/fonts/ com ESTES nomes:
     RocaTwo-Bold.woff2   (do arquivo RocaTwo-Bold.woff2)  → títulos
     RocaTwo-Rg.woff2     (do arquivo RocaTwo-Rg.woff2)    → texto/regular
     RocaTwo-It.woff2     (do itálico regular, ex. RocaTwo-RgIt.woff2)
   Se o nome do itálico for outro, me diga que ajusto.
   Fallback: Georgia enquanto não carrega.                               */
@font-face {
  font-family: "Roca Two";
  src: url("../assets/fonts/RocaTwo-Rg.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roca Two";
  src: url("../assets/fonts/RocaTwo-It.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Roca Two";
  src: url("../assets/fonts/RocaTwo-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* ---- Paleta oficial (hex do manual de marca) ---- */
  --roxo:        #7C68F1;  /* Roxo BeneMed pilar da identidade */
  --azul:        #72B5F9;  /* Azul BeneMed tecnologia/tranquilidade */
  --roxo-escuro: #16122B;  /* Roxo Escuro contraste/profundidade, âncora */
  --branco-puro: #FBFBFB;  /* base de respiro */
  --branco-gelo: #F3F3F3;  /* apoio */
  --branco-azul: #EFF5FC;  /* apoio */
  --branco-lilas:#EFEEFA;  /* apoio */

  /* ---- Papéis semânticos (uso na LP) ---- *
     Para web de conversão, fundo claro domina; roxo/azul entram como
     ACENTO (CTA, destaques, títulos), roxo escuro ancora footer e texto. */
  --bg:          var(--branco-puro);
  --ink:         #1B1830;  /* texto principal (derivado do roxo escuro, +leve) */
  --ink-soft:    #5B5775;  /* texto secundário */
  --accent:      var(--roxo);
  --accent-2:    var(--azul);
  --line:        #E7E5F2;  /* divisórias finas (separar seções sem cor) */

  --grad: linear-gradient(120deg, var(--roxo), var(--azul));

  /* ---- Tipografia ---- */
  --display: "Roca Two", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Métrica ---- */
  --maxw: 1280px;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ---------- Reset enxuto ----------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Tipografia de display -------------------------------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.brand-accent { font-style: italic; font-weight: 400; color: var(--roxo); }
.brand-accent-light { font-style: italic; font-weight: 400; color: var(--azul); }
.brand-em { font-style: italic; font-weight: 400; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--branco-puro) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
/* logo COMPLETA no header */
.brand-logo { height: 30px; width: auto; }
.brand-fallback { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--roxo); }

.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav .links { display: flex; gap: 28px; }
.header-nav .links a { font-size: .95rem; color: var(--ink-soft); font-weight: 500; position: relative; padding-bottom: 3px; transition: color .2s ease; }
.header-nav .links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--roxo); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.header-nav .links a:hover { color: var(--ink); }
.header-nav .links a:hover::after { transform: scaleX(1); }

/* hambúrguer moderno assimétrico (dois traços maiores, um menor), só mobile */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; align-items: flex-end;
  width: 28px; padding: 6px 0; background: none; cursor: pointer;
}
.menu-toggle span {
  display: block; height: 2px; border-radius: 2px; background: var(--ink);
  transition: width .25s ease, transform .25s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { width: 28px; }
.menu-toggle span:nth-child(2) { width: 28px; }
.menu-toggle span:nth-child(3) { width: 16px; }
/* estado aberto: vira um X */
.menu-toggle.open span:nth-child(1) { width: 26px; transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { width: 26px; transform: translateY(-7px) rotate(-45deg); }

/* painel mobile */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 22px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--branco-puro) 96%, transparent);
}
.mobile-menu a {
  padding: 13px 4px; font-size: 1.05rem; color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 14px; width: 100%; }

/* =====================================================================
   BOTÕES
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; padding: 14px 26px;
  border-radius: 999px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--roxo); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(124,104,241,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(124,104,241,.8); }
.btn-ghost { color: var(--roxo); border: 1.5px solid color-mix(in srgb, var(--roxo) 35%, transparent); }
.btn-ghost:hover { border-color: var(--roxo); background: var(--branco-lilas); }
.header-nav .btn { padding: 11px 22px; font-size: .95rem; }

/* =====================================================================
   HERO: headline à esquerda (alinhada ao wrap), vídeo VERTICAL contido à direita
   Vídeo retrato (9:16) em bloco com cantos arredondados, sem corte.
   Fundo claro. Corações da marca como textura sutil. Sem bloco de cor.
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }

/* marca d'água: símbolo da marca vazado, à esquerda, bem sutil (assinatura) */
.hero-watermark {
  position: absolute; z-index: 0; pointer-events: none;
  top: 50%; left: 0;
  width: 760px; height: 760px;
  transform: translate(-12%, -50%);
  opacity: .05;
  background-color: var(--azul);
  -webkit-mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
          mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px; align-items: stretch;
}

/* a coluna do vídeo não tem altura própria: ela é definida pela coluna de
   texto (a mais alta). O vídeo preenche essa altura por absolute, então
   nunca empurra a linha pra ficar mais alto que o texto. */
.hero-video-col { position: relative; }

/* coluna do texto: alinhada à margem do wrap (mesma das seções de baixo) */
.hero-copy { padding: 24px 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--roxo);
  background: var(--branco-lilas);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-eyebrow .heart { width: 15px; height: 15px; }

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.55rem);
  margin-bottom: 20px;
}
.hero h1 .line { display: block; }

.hero .lede {
  font-size: 1.16rem; color: var(--ink-soft);
  max-width: 34ch; margin-bottom: 30px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-cta .note { font-size: .85rem; color: var(--ink-soft); }

/* faixa de confiança curta abaixo do CTA */
.hero-trust {
  display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap;
}
.hero-trust .item { display: flex; flex-direction: column; }
.hero-trust .num {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--ink); line-height: 1;
}
.hero-trust .lbl { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }

/* ---- vídeo do Semenzato: painel VERTICAL contido (retrato 9:16) ---- *
   Mesma orientação do vídeo (vertical), então ele cabe SEM corte.
   Bloco com cantos arredondados, elegante, sem sangrar até a borda. */
.hero-video {
  position: absolute; inset: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--roxo-escuro);
  box-shadow: 0 36px 70px -36px rgba(22,18,43,.5);
}
.hero-video img.poster { width: 100%; height: 100%; object-fit: cover; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video video.preview { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

.hero-video .play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  background: color-mix(in srgb, var(--branco-puro) 92%, transparent);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(22,18,43,.5);
  transition: transform .15s ease, background .2s ease;
}
.hero-video .play:hover { transform: scale(1.07); background: #fff; }
.hero-video .play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--roxo); }

/* legenda discreta de quem é (ajuda quem NÃO conhece o Semenzato) */
.hero-video .caption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; align-items: center; gap: 10px;
  color: #fff; z-index: 2;
}
.hero-video .caption .who { font-weight: 600; font-size: .95rem; line-height: 1.2; }
.hero-video .caption .who span { display: block; font-weight: 400; font-size: .8rem; opacity: .85; }
.hero-video .caption::after {
  content: ""; position: absolute; inset: -40px -16px -16px -16px; z-index: -1;
  background: linear-gradient(to top, rgba(22,18,43,.7), transparent);
}

/* =====================================================================
   SEÇÃO divisor por espaçamento (NÃO por cor de fundo)
   ===================================================================== */
.section { padding: 96px 0; }
.section-eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; color: var(--roxo);
  padding: 7px 14px; border-radius: 999px; background: var(--branco-lilas);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 18ch; margin-bottom: 18px;
}
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }

/* =====================================================================
   OPORTUNIDADE mapa limpo + dados de mercado
   ===================================================================== */
.opportunity .opp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

/* dados de mercado como números grandes em Roca */
.market-stats { display: grid; gap: 28px; margin-top: 34px; }
.market-stat { display: flex; align-items: baseline; gap: 18px; }
.market-stat .big {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
  color: var(--roxo); flex: none; min-width: 3.4ch;
}
.market-stat .txt { font-size: 1.02rem; color: var(--ink); max-width: 30ch; }

/* mapa do Brasil vazado, contorno roxo (fiel à comunicação da marca) */
.brazil-map { width: 100%; height: auto; }
.brazil-map .uf {
  fill: none;
  stroke: color-mix(in srgb, var(--roxo) 55%, transparent);
  stroke-width: 0.7;
  stroke-linejoin: round;
  transition: fill .2s ease, stroke .2s ease;
}
/* estados com presença BeneMed: preenchimento leve da marca + contorno roxo cheio */
.brazil-map .uf.present {
  fill: color-mix(in srgb, var(--azul) 22%, transparent);
  stroke: var(--roxo);
}
/* marcadores: alfinete clássico da marca sobre cada estado */
.brazil-map .pin-body { fill: var(--roxo); }
.brazil-map .pin-hole { fill: var(--branco-puro); }
.brazil-map .pin-ring { fill: none; stroke: var(--roxo); stroke-width: 1.4; opacity: 0; }
/* entrada: fade + scale em stagger (acionado quando a seção entra na viewport) */
.brazil-map .pin-mark {
  opacity: 0; transform: scale(.2);
  transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1);
}
.brazil-map.pins-in .pin-mark { opacity: 1; transform: scale(1); }
/* pulse contínuo só nas âncoras */
.brazil-map.pins-in .anchor .pin-ring { animation: pin-pulse 2.4s ease-out infinite; }
@keyframes pin-pulse {
  0% { opacity: .5; r: 6; }
  70% { opacity: 0; r: 17; }
  100% { opacity: 0; r: 17; }
}
@media (prefers-reduced-motion: reduce) {
  .brazil-map .pin-mark { transition: none; opacity: 1; transform: none; }
  .brazil-map.pins-in .anchor .pin-ring { animation: none; }
}

.map-legend {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 14px; font-size: .85rem; color: var(--ink-soft);
}
.map-legend .legend-pin {
  width: 11px; height: 15px; display: inline-block;
  background: var(--roxo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 16'%3E%3Cpath d='M5.5 16 C2.5 11.6 0 9.8 0 5.5 A5.5 5.5 0 1 1 11 5.5 C11 9.8 8.5 11.6 5.5 16 Z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 16'%3E%3Cpath d='M5.5 16 C2.5 11.6 0 9.8 0 5.5 A5.5 5.5 0 1 1 11 5.5 C11 9.8 8.5 11.6 5.5 16 Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 940px) {
  .section { padding: 64px 0; }
  .opportunity .opp-grid { grid-template-columns: 1fr; gap: 40px; }
  .opportunity .opp-map { order: -1; max-width: 420px; margin-inline: auto; }
}

/* =====================================================================
   VANTAGENS DA FRANQUIA: efeito de scroll, FIEL a referencia.
   Trocado SO: fonte, limites (--max 1180), cor de fundo (#16122B) e
   destaque (azul). Chrome de pagina e o .button da referencia removidos
   (CTA usa .btn da LP + .btn-glass translucido). Resto identico.
   ===================================================================== */

:root {
  --stone-dark: #16122B;
  --stone-green: #72B5F9;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .78);

  --max: 1180px;
  --gap: clamp(28px, 4.8vw, 72px);
  --radius: 24px;
  --card-h: clamp(400px, 42vw, 600px);

  --display-font: "Roca Two", Georgia, "Times New Roman", serif;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}













.stone-business {
  position: relative;
  isolation: isolate;
  background: var(--stone-dark);
  color: var(--text);
}

/* =====================================================================
   BLOCO 1, efeito hero->card, controlado por js/vantagens.js + GSAP
   Estado base aqui = card legivel, caso GSAP nao carregue (degrada bem).
   ===================================================================== */
.v-stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* camada hero: full-bleed por padrao (GSAP a encolhe ate o slot) */
.v-hero {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 0;
  will-change: top, left, width, height, border-radius;
}

.v-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.6);
  will-change: filter;
}

.v-hero-title {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 18ch);
  margin: 0;
  text-align: center;
  font-family: var(--display-font);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
  pointer-events: none;
  will-change: transform, opacity;
}

/* quando o GSAP assume (js carregado), ele controla o transform via
   xPercent/yPercent a partir de left/top 50%, sem o translate do CSS */
.gsap-on .v-hero-title {
  transform: none;
}

.v-hero-title span {
  color: var(--stone-green);
}

/* linha do card: ocupa a stage; o slot (invisivel) e o alvo de medida */
.v-card-row {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}

.card-grid {
  width: min(var(--max), 92vw);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: var(--gap);
  align-items: center;
}

.card-grid.reverse .copy { order: 2; }
.card-grid.reverse .v-slot { order: 1; }

.v-slot {
  width: 100%;
  height: var(--card-h);
  visibility: hidden;
}

.section-card {
  position: relative;
  z-index: 20;
  padding: clamp(44px, 5.8vw, 80px) 24px;
  background: var(--stone-dark);
}

.business-row {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: var(--gap);
  align-items: center;
}

.business-row.reverse .copy {
  order: 2;
}

.business-row.reverse .visual {
  order: 1;
}

.copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.copy-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.copy h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 700;
}

.copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.65vw, 28px);
  line-height: 1.3;
}





.visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.media-frame {
  position: relative;
  width: 100%;
  height: var(--card-h);
  min-height: var(--card-h);
  border-radius: var(--radius);
}

.standard-media {
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1023px) {
  :root {
    --card-h: clamp(390px, 48vw, 520px);
  }
}

@media (max-width: 767px) {
  :root {
    --gap: 24px;
    --card-h: 240px;
  }

  .section-card {
    padding-inline: 16px;
  }

  .business-row,
  .business-row.reverse {
    grid-template-columns: 1fr;
  }

  .section-card .visual {
    order: 1 !important;
  }

  .section-card .copy {
    order: 2 !important;
  }

  .copy {
    max-width: none;
  }

  .card-grid,
  .card-grid.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card-grid.reverse .v-slot { order: 1; }
  .card-grid.reverse .copy { order: 2; }

  .v-hero-title {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
    line-height: 1.07;
  }
}

/* CTA da secao Vantagens: formato/tamanho do .btn da LP, cor translucida da referencia */
.btn-glass {
  align-self: flex-start;
  width: max-content;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  box-shadow: none;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

/* =====================================================================
   O QUE É A BENEMED, coberturas estilo movie-block
   Nome sempre visível; detalhe sobe no hover/.tap. Imagem opcional com
   overlay roxo; fallback campo roxo. Entrada uma a uma via reveal.
   ===================================================================== */
.whatis .whatis-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.whatis .whatis-head h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.08;
  color: var(--roxo-escuro); margin-bottom: 18px;
}
.whatis .whatis-head p { font-size: 1.12rem; color: var(--ink-soft); line-height: 1.55; max-width: 56ch; margin: 0 auto; }

.whatis .cobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cob-card {
  position: relative; height: 180px; border-radius: var(--radius); overflow: hidden;
  background: var(--roxo-escuro);
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--d) * 75ms);
}
/* entrada uma a uma quando a seção revela */
.rv-on .cobs.cobs-in .cob-card,
.cobs.cobs-in .cob-card { opacity: 1; transform: none; }
/* cover: imagem + overlay roxo; sem imagem, fica o gradiente roxo */
.cob-cover {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(150deg, var(--roxo), #8b78f5);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.cob-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cob-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(124,104,241,.82), rgba(139,120,245,.78));
}
.cob-base {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 15px 18px; background: #fff;
  transition: transform .45s cubic-bezier(.17,.84,.44,1);
}
.cob-base h4 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.cob-extra {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 100%;
  padding: 20px 18px; background: #fff; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  transform: translateY(100%); transition: transform .5s cubic-bezier(.17,.84,.44,1);
}
.cob-extra h4 { position: relative; z-index: 1; font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cob-extra p { position: relative; z-index: 1; font-size: .87rem; color: var(--ink-soft); line-height: 1.45; }
/* marca d'água suave no painel de detalhe, ao revelar */
.cob-extra-wm {
  position: absolute; z-index: 0; pointer-events: none;
  width: 130px; height: 130px; right: -28px; bottom: -28px; opacity: .06;
  background-color: var(--roxo);
  -webkit-mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
          mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
}
.cob-card.tap .cob-cover { transform: translateY(-32%); }
.cob-card.tap .cob-base { transform: translateY(100%); }
.cob-card.tap .cob-extra { transform: translateY(0); }
@media (hover: hover) {
  .cob-card:hover .cob-cover { transform: translateY(-32%); }
  .cob-card:hover .cob-base { transform: translateY(100%); }
  .cob-card:hover .cob-extra { transform: translateY(0); }
}

.whatis .cobs-foot { text-align: center; margin-top: 34px; font-size: 1.08rem; color: var(--ink); }
.whatis .cobs-foot strong { color: var(--roxo); font-weight: 700; }
.whatis .cobs-disc { text-align: center; margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .whatis .cobs { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   PROVA DE MARCA: já funciona, não é aposta
   ===================================================================== */
.proof .proof-head { max-width: 56ch; margin-bottom: 56px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.proof-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  padding: 34px 36px;
  transition: transform .28s cubic-bezier(.25,.45,.45,.95), box-shadow .28s ease;
}
/* card claro: sombra neutra suave + lift (especificidade p/ vencer o reveal) */
.proof-grid.rv-in > .proof-card:not(.hero-card):hover,
.proof-card:not(.hero-card):hover { transform: translateY(-5px); box-shadow: 0 20px 44px -24px rgba(22,18,43,.22); }
.proof-card.hero-card {
  position: relative;
  background: var(--roxo); color: #fff; border: 0;
  box-shadow: 0 36px 70px -34px rgba(124,104,241,.55);
}
/* card roxo: glow colorido (cor do card) + lift + leve scale */
.proof-card.hero-card::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; bottom: -16px; width: 90%; height: 90%;
  transform: translateX(-50%); border-radius: var(--radius-lg);
  background: var(--roxo); filter: blur(22px); opacity: 0;
  transition: opacity .28s ease, bottom .28s ease;
}
.proof-grid.rv-in > .proof-card.hero-card:hover,
.proof-card.hero-card:hover { transform: translateY(-6px) scale(1.01); }
.proof-card.hero-card:hover::before { opacity: .5; bottom: -22px; }
.proof-card .big {
  position: relative; z-index: 1;
  font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); margin-bottom: 12px;
}
.proof-card.hero-card .big { color: #fff; }
.proof-card .desc {
  position: relative; z-index: 1;
  font-size: 1.02rem; color: var(--ink-soft); max-width: 26ch;
}
.proof-card.hero-card .desc { color: rgba(255,255,255,.85); }
/* marca d'água do símbolo: cortada na borda em repouso; no hover dá um
   pequeno salto pra fora e vira azul (acento) p/ manter contraste fora do card */
.proof-wm-clip {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: var(--radius-lg); overflow: hidden;
}
.proof-card.hero-card:hover .proof-wm-clip { overflow: visible; }
.proof-wm {
  position: absolute; pointer-events: none;
  width: 250px; height: 250px; right: -30px; top: -20px; opacity: .12;
  background-color: #fff;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .35s ease, background-color .35s ease;
  -webkit-mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
          mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
}
.proof-card.hero-card:hover .proof-wm {
  transform: translate(8px, -8px) scale(1.08);
  background-color: var(--azul); opacity: .5;
}
@media (prefers-reduced-motion: reduce) {
  .proof-card.hero-card:hover .proof-wm { transform: none; }
}

@media (max-width: 820px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   FACILIDADE PRO CLIENTE FINAL (o app)
   Enquadramento: não "veja o app", mas "o cliente usa fácil = ele renova
   = você fatura". O app é prova de que o produto do franqueado vende fácil.
   ===================================================================== */
.app .app-grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center;
}
.app .app-mock { display: flex; justify-content: center; }

/* mockup iPhone 17 Pro Max: moldura titânio, Dynamic Island, botões.
   A tela recebe assets/video/app-benemed.mp4 (vertical, mudo, loop). */
.app .iphone {
  position: relative; width: 300px; aspect-ratio: 1320 / 2868;
  background: linear-gradient(145deg, #3a3a3c, #1d1d1f 40%, #2c2c2e);
  border-radius: 18% / 8.3%; padding: 3.2%;
  box-shadow: 0 40px 80px -36px rgba(22,18,43,.55), inset 0 0 0 1.5px rgba(255,255,255,.10);
}
.app .iphone::before {
  content: ""; position: absolute; inset: 2.2%; border-radius: 15.5% / 7.4%;
  background: #000; z-index: 1;
}
.app .iphone-screen {
  position: absolute; inset: 3.4%; z-index: 2;
  border-radius: 14% / 6.8%; overflow: hidden; background: #000;
}
.app .iphone-screen video,
.app .iphone-screen img,
.app .iphone-screen .mock-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.app .iphone-screen .mock-fallback {
  display: grid; place-items: center; color: #fff; text-align: center;
  font-size: .8rem; opacity: .6; padding: 20px; background: var(--roxo-escuro);
}
.app .dynamic-island {
  position: absolute; z-index: 3; top: 2.4%; left: 50%; transform: translateX(-50%);
  width: 34%; height: 3.6%; background: #000; border-radius: 999px;
}
.app .btn-side { position: absolute; z-index: 0; background: linear-gradient(180deg, #2c2c2e, #48484a); border-radius: 2px; }
.app .btn-action { left: -1.3%; top: 17%; width: 1.4%; height: 4%; }
.app .btn-volup  { left: -1.3%; top: 25%; width: 1.4%; height: 7%; }
.app .btn-voldn  { left: -1.3%; top: 34%; width: 1.4%; height: 7%; }
.app .btn-power  { right: -1.3%; top: 24%; width: 1.4%; height: 11%; }

.app .app-points { list-style: none; display: grid; gap: 22px; margin-top: 30px; }
.app .app-points li { display: flex; gap: 14px; align-items: flex-start; }
.app .app-points .ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--branco-lilas); color: var(--roxo);
  display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s ease;
}
.app .app-points li:hover .ic { transform: translateY(-3px) scale(1.06); background: #e6e2fb; }
.app .app-points .ic svg { width: 20px; height: 20px; }
.app .app-points .tt { font-weight: 700; color: var(--ink); display: block; margin-bottom: 2px; }
.app .app-points .dd { font-size: .98rem; color: var(--ink-soft); }

.app .app-kicker {
  margin-top: 30px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--branco-azul); font-size: 1rem; color: var(--ink);
}
.app .app-kicker strong { color: var(--roxo); }

@media (max-width: 860px) {
  .app .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .app .app-copy { order: 1; }
  .app .app-mock { order: 2; }
  .app .iphone { width: 248px; }
}

/* =====================================================================
   SEÇÃO 5: COMPARATIVO DE MODELO (BeneMed vs Tradicional)
   Split cinematográfico: imagem de fundo + dados sobrepostos.
   Lado BeneMed em destaque (contorno roxo). CTA estratégico abaixo.
   ===================================================================== */
.compare .compare-head { max-width: 56ch; margin-bottom: 40px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }

.compare-pane {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 440px; display: flex; align-items: flex-end;
}
.compare-pane.win { outline: 2px solid var(--roxo); outline-offset: -2px; }

.compare-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
/* lado tradicional: dessaturado e mais frio, "sem vida" */
.compare-pane:not(.win) .compare-bg { filter: grayscale(.85) brightness(.82) contrast(.95); }
/* hover: leve zoom nos dois; o lado BeneMed ganha saturação (fica mais vivo) */
.compare-pane:hover .compare-bg { transform: scale(1.05); }
.compare-pane.win:hover .compare-bg { filter: saturate(1.12); }
/* fallback quando a imagem não existe ainda */
.compare-pane.ph-light { background: linear-gradient(135deg, var(--azul), var(--roxo)); }
.compare-pane.ph-heavy { background: linear-gradient(135deg, #6b6b75, #3f3f47); }

/* scrim mais forte e mais alto, garante leitura do texto branco sobre qualquer foto */
.compare-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,22,.10) 0%, rgba(10,8,22,.55) 45%, rgba(10,8,22,.92) 100%); }

.compare-content { position: relative; z-index: 1; padding: 32px; color: #fff; width: 100%; }
.compare-lbl { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.compare-ttl { font-family: var(--display); font-weight: 700; font-size: 1.5rem; margin-bottom: 18px; }
.compare-list { list-style: none; display: grid; gap: 12px; }
.compare-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; opacity: .96; }
.compare-ic { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: #fff; }


@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-pane { min-height: 360px; }
}

/* =====================================================================
   SEÇÃO 6: PERFIL DO FRANQUEADO (indicado / não indicado)
   Card "sim" protagonista pela COR (roxo cheio). Cada cartão tem a
   altura do seu conteúdo. Marca d'água cortada no canto superior direito.
   ===================================================================== */
.profile .profile-head { max-width: 56ch; margin-bottom: 48px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.profile-col { border-radius: var(--radius-lg); position: relative; }
.profile-col.no { overflow: hidden; }
.profile-col.yes {
  background: var(--roxo); color: #fff; padding: 32px 38px;
  box-shadow: 0 36px 70px -34px rgba(124,104,241,.55);
  transition: transform .28s cubic-bezier(.25,.45,.45,.95), box-shadow .28s ease;
}
.profile-col.yes::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; bottom: -16px; width: 90%; height: 90%;
  transform: translateX(-50%); border-radius: var(--radius-lg);
  background: var(--roxo); filter: blur(22px); opacity: 0;
  transition: opacity .28s ease, bottom .28s ease;
}
.profile-grid.rv-in > .profile-col.yes:hover,
.profile-col.yes:hover { transform: translateY(-6px) scale(1.01); }
.profile-col.yes:hover::before { opacity: .5; bottom: -22px; }
.profile-col.no {
  background: var(--branco-gelo); border: 1px solid var(--line);
  padding: 32px 34px; color: var(--ink-soft);
}

/* marca d'água: cortada em repouso (wrapper clip); salta azul no hover */
.profile-wm-clip {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: var(--radius-lg); overflow: hidden;
}
.profile-col.yes:hover .profile-wm-clip { overflow: visible; }
.profile-wm {
  position: absolute; pointer-events: none;
  width: 190px; height: 190px; right: -40px; top: -30px; opacity: .10;
  background-color: #fff;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .35s ease, background-color .35s ease;
  -webkit-mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
          mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
}
.profile-col.yes:hover .profile-wm {
  transform: translate(8px, -8px) scale(1.08);
  background-color: var(--azul); opacity: .5;
}
@media (prefers-reduced-motion: reduce) {
  .profile-col.yes:hover .profile-wm { transform: none; }
}
.profile-col.yes > *:not(.profile-wm-clip) { position: relative; z-index: 1; }

.profile-col h3 { font-size: 1.4rem; margin-bottom: 26px; }
.profile-col.yes h3 { color: #fff; }
.profile-col.no  h3 { color: var(--ink); font-size: 1.2rem; }

.profile-list { list-style: none; display: grid; gap: 18px; }
.profile-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.04rem; line-height: 1.35; }
.profile-col.yes li { color: rgba(255,255,255,.96); }
.profile-col.no  li { color: var(--ink-soft); font-size: .98rem; }

.profile-ic { flex: none; width: 21px; height: 21px; stroke-width: 2; margin-top: 1px; }
.profile-col.yes .profile-ic { stroke: #fff; }
.profile-col.no  .profile-ic { stroke: var(--ink-soft); opacity: .55; width: 20px; height: 20px; }

.profile-cta { margin-top: 28px; }
.profile-col.yes .profile-cta .btn { background: #fff; color: var(--roxo); box-shadow: none; }
.profile-col.yes .profile-cta .btn:hover { transform: translateY(-2px); }


@media (max-width: 760px) {
  .profile-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   SEÇÃO 7: DEPOIMENTOS (carrossel com peek, autoplay gentil)
   ===================================================================== */
.depoimentos .dep-head { text-align: center; max-width: 48ch; margin: 0 auto 50px; }
.depoimentos .dep-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

.carousel { position: relative; }
.carousel .viewport { overflow: hidden; }
.carousel .track { display: flex; gap: 24px; will-change: transform; transition: transform .55s cubic-bezier(.22,.61,.36,1); cursor: grab; }
.carousel .track.dragging { transition: none; cursor: grabbing; }
.carousel .slide { flex: 0 0 auto; }

.carousel .quote {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 36px 32px; height: 100%;
  box-shadow: 0 20px 50px -36px rgba(14,20,48,.3);
  transition: opacity .45s ease, transform .45s ease, box-shadow .45s ease;
  opacity: .45; transform: scale(.94);
}
.carousel .slide.is-active .quote {
  opacity: 1; transform: scale(1);
  box-shadow: 0 30px 64px -34px rgba(124,104,241,.4);
}
/* marca d'água do símbolo, cortada na borda inferior direita */
.carousel .quote::before {
  content: ""; position: absolute; right: -40px; bottom: -44px;
  width: 180px; height: 180px; opacity: .07; pointer-events: none;
  background-color: var(--roxo);
  -webkit-mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
          mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
}
.carousel .quote .stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--roxo); }
.carousel .quote .stars svg { width: 17px; height: 17px; }
.carousel .quote .text { font-family: var(--display-font); font-size: 1.12rem; color: var(--ink); line-height: 1.5; margin-bottom: 24px; min-height: 3em; }
.carousel .quote .who { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.carousel .quote .name { font-weight: 700; color: var(--ink); }
.carousel .quote .meta { font-size: .88rem; color: var(--ink-soft); }
.carousel .quote .who .stars { margin-top: 10px; margin-bottom: 0; }

.dep-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.dep-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.dep-arrow:hover { background: var(--branco-lilas); border-color: var(--roxo); }
.dep-arrow:active { transform: scale(.94); }
.dep-arrow svg { width: 20px; height: 20px; stroke: var(--roxo); }
.dep-dots { display: flex; gap: 9px; }
.dep-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: 0; cursor: pointer; transition: background .2s, width .2s; padding: 0; }
.dep-dots button.on { background: var(--roxo); width: 24px; border-radius: 6px; }

/* =====================================================================
   FECHAMENTO + footer
   ===================================================================== */
.final { position: relative; overflow: hidden; text-align: center; padding: 140px 0 148px; }
.final .wrap { position: relative; z-index: 1; }
.final .final-inner { max-width: 760px; margin: 0 auto; }
.final h2 {
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.06; letter-spacing: -.01em;
  color: var(--roxo-escuro); margin-bottom: 22px;
}
.final h2 em { font-style: italic; font-weight: 400; color: var(--roxo); }
.final p { font-size: 1.18rem; color: var(--ink-soft); max-width: 42ch; margin: 0 auto 34px; }
/* marca d'água do símbolo à direita, cortada, espelhando o hero */
.final-wm {
  position: absolute; z-index: 0; pointer-events: none;
  top: 50%; right: 0;
  width: 760px; height: 760px;
  transform: translate(12%, -50%);
  opacity: .05;
  background-color: var(--azul);
  -webkit-mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
          mask: url("../assets/logos/simbolo-benemed.svg") no-repeat center / contain;
}

/* footer: único bloco com cor (roxo escuro), como o usuário aprovou (Runway) */
.site-footer { background: var(--roxo-escuro); color: #B9B5CC; padding: 60px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer .f-brand img { height: 30px; }
.site-footer .f-brand .brand-fallback { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.site-footer .f-brand p { margin-top: 14px; max-width: 34ch; font-size: .92rem; line-height: 1.7; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: var(--sans); font-weight: 700; }
.site-footer a { color: #B9B5CC; font-size: .92rem; display: block; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .82rem; line-height: 1.8; color: #8E89A6; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.float-cta .btn { box-shadow: 0 14px 34px -10px rgba(124,104,241,.75); }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 940px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-video-col { max-width: 320px; margin: 0 auto; aspect-ratio: 9 / 16; width: 100%; }
  .header-nav .links { display: none; }
  .header-nav .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 64px; }
  .hero-trust { gap: 22px; }
  .float-cta { left: 16px; right: 16px; }
  .float-cta .btn { width: 100%; }
}


/* =====================================================================
   FORMULÁRIO EM TELA CHEIA (estilo Nubank: sobe de baixo)
   Captura progressiva: telefone primeiro (alimenta anti-bloqueio),
   dispara GA4 já no 1º campo; lead roteável fecha com telefone + cidade.
   ===================================================================== */
.form-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
  pointer-events: none;
}
.form-overlay.open { transform: translateY(0); pointer-events: auto; }

.form-shell {
  min-height: 100%;
  display: grid; grid-template-columns: 1fr 1.1fr;
}
/* lado esquerdo: contexto da marca */
.form-aside {
  background: var(--roxo-escuro); color: #fff;
  padding: 56px 56px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
/* textura sutil dos corações da marca no painel escuro */
.form-aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 360px at 110% 0%, color-mix(in srgb, var(--roxo) 55%, transparent), transparent 70%),
    radial-gradient(360px 320px at -10% 100%, color-mix(in srgb, var(--azul) 30%, transparent), transparent 70%);
  opacity: .5;
}
.form-aside > * { position: relative; z-index: 1; }
.form-aside .eyebrow-light { color: var(--azul); font-weight: 600; font-size: .82rem; letter-spacing: .04em; margin-bottom: 16px; }
.form-aside h2 { color: #fff; font-size: clamp(1.8rem,2.6vw,2.4rem); margin-bottom: 16px; line-height: 1.1; }
.form-aside p { color: #C7C3D8; font-size: 1.05rem; max-width: 34ch; }
.form-aside .aside-trust { margin-top: 34px; display: grid; gap: 16px; }
.form-aside .aside-trust div { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #E4E1EE; }
.form-aside .aside-trust .mk { width: 24px; height: 24px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-size: .74rem; flex: none; }

/* lado direito: o formulário, centralizado quando cabe, com scroll quando não */
.form-main { padding: 32px 56px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.form-close {
  position: absolute; top: 28px; right: 56px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--branco-gelo); color: var(--ink);
  display: grid; place-items: center; font-size: 1.3rem; cursor: pointer;
  transition: background .2s;
}
.form-close:hover { background: var(--branco-lilas); }

.form-body { max-width: 440px; margin: auto; width: 100%; }
.form-body h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-body .sub { color: var(--ink-soft); margin-bottom: 22px; font-size: .95rem; }

.field { margin-bottom: 9px; position: relative; }
.field input, .field select {
  width: 100%; padding: 17px 18px; font-size: 1rem; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--ink-soft); }
.field select { color: var(--ink); }
.field select:invalid { color: var(--ink-soft); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--roxo);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--roxo) 16%, transparent);
}
.field.has-error input, .field.has-error select { border-color: var(--err, #E5484D); }
.field-error { display: block; color: var(--err, #E5484D); font-size: .78rem; margin-top: 5px; min-height: 1em; }
.uf-label { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.uf-label.filled { color: var(--roxo); font-weight: 700; }

.suggestions {
  list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm, 12px);
  box-shadow: 0 10px 30px -18px rgba(14,20,48,.4); max-height: 230px; overflow-y: auto;
}
.suggestion { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .95rem; }
.suggestion:hover { background: var(--branco-lilas); }
.suggestion .sg-uf { font-size: .78rem; font-weight: 700; color: var(--roxo); }

.consent { font-size: .76rem; color: var(--ink-soft); margin: 6px 0 12px; }
#form-status { font-size: .86rem; color: var(--roxo); min-height: 1.2em; margin-top: 8px; text-align: center; }
.btn.loading { opacity: .7; pointer-events: none; }

@media (max-width: 860px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { display: none; }
  .form-main { padding: 20px 24px 40px; justify-content: flex-start; }
  .form-close { right: 24px; }
  .form-body { margin: 0 auto; padding-top: 10px; }
}
/* =====================================================================
   REVEAL ON SCROLL + stagger
   Ativado por js/reveal.js (classe .rv-on no <html>). Sem JS, tudo
   permanece visivel (nada escondido). Respeita prefers-reduced-motion.
   ===================================================================== */
:root {
  --rv-dist: 20px;
  --rv-dur: .7s;
  --rv-ease: cubic-bezier(.22,.61,.36,1);
}

.rv-on [data-rv] {
  opacity: 0; transform: translateY(var(--rv-dist));
  transition: opacity var(--rv-dur) var(--rv-ease), transform var(--rv-dur) var(--rv-ease);
}
.rv-on [data-rv].rv-in { opacity: 1; transform: none; }

/* grupos: filhos entram em sequencia */
.rv-on [data-rv-stagger] > * {
  opacity: 0; transform: translateY(var(--rv-dist));
  transition: opacity var(--rv-dur) var(--rv-ease), transform var(--rv-dur) var(--rv-ease);
}
.rv-on [data-rv-stagger].rv-in > * { opacity: 1; transform: none; }
.rv-on [data-rv-stagger].rv-in > *:nth-child(2) { transition-delay: .08s; }
.rv-on [data-rv-stagger].rv-in > *:nth-child(3) { transition-delay: .16s; }
.rv-on [data-rv-stagger].rv-in > *:nth-child(4) { transition-delay: .24s; }
