/* ==========================================================================
   Moove Vistos — Home (versão repaginada)
   Regras gerais:
   - Grid: conteúdo com no máximo 1280px.
   - Seções: mesmo respiro em cima e embaixo (--sec-y).
   - Cabeçalhos de seção: mesmo espaço entre etiqueta, título e descrição
     (--stack) e até o conteúdo (--head-gap).
   - Seções claras: fundo cinza-claro, destaque vermelho da marca.
     Seções escuras: azul-quase-preto, destaque ciano da marca.
     Exceção: parceria com ex-agentes consulares (preto com dourado).
   - Família tipográfica: Inter.
   Breakpoints: tablet até 1024px · mobile até 767px.
   ========================================================================== */

/* ---------- Fontes ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/inter-900.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Cores oficiais medidas nos logos da Moove */
  --red: #fe3d3a;
  --red-dark: #e02a27;
  --cyan: #00afc8;
  --cyan-dark: #0090a6;

  --ink: #111619;
  --muted: rgba(17, 22, 25, .68);
  --line: #dde4e8;

  --light: #eef2f5;        /* fundo das seções claras */
  --light-alt: #e3e9ed;    /* seção clara vizinha de outra clara */
  --dark: #0a1d27;         /* fundo das seções escuras (azul-quase-preto) */
  --dark-card: #10293a;
  --footer: #061219;
  --partner: #0b0b0c;      /* seção dos ex-agentes consulares */
  --gold: #dfc172;

  --container: 1280px;
  --gutter: 20px;
  --sec-y: 96px;           /* respiro vertical de todas as seções */
  --stack: 16px;           /* etiqueta ↔ título ↔ descrição */
  --head-gap: 48px;        /* cabeçalho da seção ↔ conteúdo */
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }   /* clip (não hidden) para o "sticky" funcionar */
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: #333; background: var(--light); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Ícones Lucide (traço) */
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--sec-y); }

/* ---------- Temas ---------- */
.theme-light { --accent: var(--red); --section-bg: var(--light); background: var(--section-bg); }
.theme-light--alt { --section-bg: var(--light-alt); }
.theme-dark { --accent: var(--cyan); --section-bg: var(--dark); background: var(--section-bg); color: rgba(255, 255, 255, .78); }

/* ---------- Etiqueta (ponto vermelho no claro, ciano no escuro) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 9999px;
  background: rgba(17, 22, 25, .06); color: var(--muted);
  font-size: 14px; font-weight: 400; line-height: 21px;
}
.tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent, var(--red)); animation: pulse 2s infinite;
}
.theme-dark .tag { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); }
@keyframes pulse { 0%, 100% { transform: scale(.95); opacity: .5; } 50% { transform: scale(1); opacity: 1; } }

/* ---------- Cabeçalho de seção ---------- */
.sec-head { display: flex; flex-direction: column; align-items: center; gap: var(--stack); text-align: center; margin-bottom: var(--head-gap); }
.sec-head--left { align-items: flex-start; text-align: left; }
.title { font-size: 44px; line-height: 1.3; font-weight: 800; color: var(--ink); max-width: 832px; text-wrap: balance; }
.theme-dark .title, .title--light { color: #fff; }
.subtitle { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 720px; text-wrap: balance; }
.theme-dark .subtitle { color: rgba(255, 255, 255, .72); }
.hl { color: var(--accent, var(--red)); }
.hl--gold { color: var(--gold); }

/* ---------- Botões ----------
   Principal: degradê + brilho percorrendo a borda.
   Vermelho em seções claras, ciano em seções escuras. Largura sempre se ajusta ao texto. */
@property --shine-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; padding: 18px 28px; border: 0; border-radius: 14px; cursor: pointer;
  font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .2s, filter .2s, background-color .2s, border-color .2s, color .2s;
}
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn--primary {
  --btn-top: var(--red); --btn-bottom: var(--red-dark);
  isolation: isolate; color: #fff;
  background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bottom) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}
.theme-dark .btn--primary { --btn-top: var(--cyan); --btn-bottom: var(--cyan-dark); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--shine-angle), rgba(255, 255, 255, .35) 0deg, rgba(255, 255, 255, .35) 230deg, #fff 290deg, rgba(255, 255, 255, .35) 350deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: shine-border 3.2s linear infinite;
}
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
@keyframes shine-border { to { --shine-angle: 360deg; } }
.btn--ghost { padding: 16.5px 26px; border: 1.5px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { padding: 13px 22px; border: 1.5px solid #cfd7dc; background: transparent; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--soft { padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 14px; }
.btn--soft .ico { width: 18px; height: 18px; color: var(--red); }
.btn--soft:hover { border-color: var(--ink); }

/* ==========================================================================
   1. Cabeçalho
   ========================================================================== */
.site-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid rgba(17, 22, 25, .13); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-block: 14px; }
.site-header__logo img { width: 146px; height: 34px; }
.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list a {
  display: flex; align-items: center; padding: 10px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 500; line-height: 1.3; color: rgba(17, 22, 25, .72); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: var(--ink); background: rgba(17, 22, 25, .05); }
.nav__chev, .nav__footer { display: none; }
.site-header__cta { display: flex; justify-content: flex-end; }
.nav-toggle { display: none; }

/* ==========================================================================
   2. Hero (escuro)
   ========================================================================== */
/* Degradê bem leve: mais claro à direita */
.hero { --hero-grad: linear-gradient(90deg, #0a1d27 0%, #0a1d27 30%, #0f2734 100%); background: var(--hero-grad); }
.hero { display: flex; align-items: center; min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); padding-block: 64px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 56px; }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); }
.hero__title { font-size: clamp(34px, 3.1vw + 4px, 44px); line-height: 1.3; font-weight: 800; color: #fff; max-width: 600px; text-wrap: balance; }
.hero .subtitle { max-width: 480px; }
.hero .btn-row { justify-content: flex-start; margin-top: 16px; }

/* Quadro de imagens: A (cima, esquerda), B (cima, direita), C (baixo, direita).
   C fica por cima do canto de A com um anel na cor do fundo do mesmo tamanho
   do espaçamento (--g), recortando A. Todas com os 4 cantos arredondados. */
.hero__mosaic { --g: 14px; --r: 22px; position: relative; width: 100%; max-width: 680px; justify-self: end; aspect-ratio: 1.1 / 1; }
.hero__tile { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--dark-card); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
/* Hover: o quadro cresce levemente e gira alguns graus (Visite e Trabalhe para a esquerda, Estude para a direita) */
@media (hover: hover) {
  .hero__tile--a:hover { transform: scale(1.03) rotate(-2deg); }
  .hero__tile--b:hover { transform: scale(1.03) rotate(2deg); }
  .hero__tile--c:hover { transform: scale(1.03) rotate(-1.5deg); }
}
/* Imagens empilhadas no quadro: só a ".is-active" aparece; a troca é um fade */
.hero__tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero__tile > img.is-active { opacity: 1; }
.hero__badge { z-index: 1; }
.hero__tile--a { left: 0; top: 0; width: calc(50% - var(--g) / 2); height: 62%; }
.hero__tile--b { right: 0; top: 0; width: calc(50% - var(--g) / 2); height: calc(46% - var(--g) / 2); }
.hero__tile--c { right: 0; bottom: 0; z-index: 2; width: 66%; height: calc(54% - var(--g) / 2); }
/* Recorte de C sobre A: uma "moldura" com o mesmo degradê do fundo (fixo na tela, então casa com o fundo) */
.hero__mosaic::after {
  content: ""; position: absolute; z-index: 1; right: calc(-1 * var(--g)); bottom: calc(-1 * var(--g));
  width: calc(66% + 2 * var(--g)); height: calc(54% + 1.5 * var(--g));
  border-radius: calc(var(--r) + var(--g)); background: var(--hero-grad); background-attachment: fixed; pointer-events: none;
}
.hero__badge {
  position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.hero__flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(17, 22, 25, .08); }
.hero__badge strong { font-size: 15px; font-weight: 700; line-height: 1; color: var(--ink); }

/* ==========================================================================
   3. Por que a Moove (claro)
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icon-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.icon-card__icon, .stat__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; background: rgba(254, 61, 58, .1); color: var(--red);
}
.icon-card__icon .ico, .stat__icon .ico { width: 26px; height: 26px; }
.icon-card__icon { margin-bottom: 20px; }
.icon-card__title { margin-bottom: 10px; font-size: 19.2px; line-height: 1.4; font-weight: 700; color: var(--ink); text-wrap: balance; }
.icon-card__text { font-size: 16px; line-height: 1.4; color: var(--muted); text-wrap: balance; }

/* ==========================================================================
   4. Tecnologia (escuro) + ilustração animada da IA
   ========================================================================== */
.tech__title { max-width: 973px; }
.tech__text { max-width: 832px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .72); text-wrap: balance; }

.ia-anim { width: 100%; max-width: 1200px; margin-inline: auto; }
.ia-scene { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.ia-scene--mobile { display: none; max-width: 400px; margin-inline: auto; }
.ia-scene text { text-anchor: middle; }
.ia-big-bg { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.ia-avatar { fill: #d4dadd; }
.ia-avatar-icon { fill: #0e1a21; }
.ia-big-title { fill: #fff; font-size: 26px; font-weight: 700; }
.ia-big-sub { fill: rgba(255, 255, 255, .62); font-size: 15px; }
.ia-big-title--m { font-size: 20px; }
.ia-big-sub--m { font-size: 12.5px; }
.ia-strong { fill: #fff; font-weight: 700; }
.ia-card-bg { fill: #fff; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .28)); }
.ia-card-label { fill: #0e1a21; font-weight: 700; }
.ia-card-icon { fill: none; stroke: #3b4a52; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ia-badge { stroke: var(--dark); stroke-width: 3; }
.ia-badge--before { fill: var(--red); }
.ia-badge--after { fill: var(--cyan); }
.ia-badge-text { fill: #fff; font-weight: 800; }
.ia-line { fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 3 6; animation: ia-flow 1.6s linear infinite; }
.ia-line--in { stroke: rgba(255, 255, 255, .22); }
.ia-line--out { stroke: rgba(0, 175, 200, .35); }
.ia-dot { fill: var(--cyan); filter: drop-shadow(0 0 4px rgba(0, 175, 200, .9)); }
.ia-core-bg { fill: #fff; }
.ia-glow { transform-box: fill-box; transform-origin: center; animation: ia-pulse 3s ease-in-out infinite; }
.ia-mark { overflow: hidden; }
@keyframes ia-flow { to { stroke-dashoffset: -18; } }
@keyframes ia-pulse { 0%, 100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }

/* ==========================================================================
   5. Soluções (claro): abas em pílula com bandeiras + cards
   ========================================================================== */
.tabs__list {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(17, 22, 25, .04), 0 8px 20px -12px rgba(17, 22, 25, .25);
  overflow-x: auto; scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 10px 18px 10px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 24px;
  transition: background-color .2s, color .2s;
}
.tabs__tab:hover { color: var(--ink); background: rgba(17, 22, 25, .04); }
.tabs__tab[aria-selected="true"] { color: var(--ink); font-weight: 600; background: var(--light); box-shadow: inset 0 0 0 1px var(--line); }
.tabs__flag { width: 22px; height: 22px; border-radius: 50%; }
.tabs__globe { width: 22px; height: 22px; color: var(--ink); stroke-width: 1.75; }
.tabs__panel[hidden] { display: none; }

.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.sol-card__img { width: 100%; aspect-ratio: 351 / 192; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.sol-card__body { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
.sol-card__code {
  display: inline-flex; padding: 4px 12px; border-radius: 999px;
  background: rgba(254, 61, 58, .1); color: var(--red); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .02em;
}
.sol-card__title { font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.sol-card__text { font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.sol-card__btn, .sol-card__soon { margin-top: auto; }   /* sempre alinhados na base do card */

/* ==========================================================================
   6. CTA "Ainda com dúvidas?" (claro, com caixa escura)
   ========================================================================== */
.compare-cta__box { display: flex; align-items: center; gap: 32px; padding: 40px 80px; border-radius: 20px; }
.compare-cta__text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); }
.compare-cta__title { font-size: 32px; line-height: 1.3; font-weight: 800; color: #fff; }
.compare-cta__desc { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .72); max-width: 482px; text-wrap: balance; }
.compare-cta__text .btn { margin-top: 16px; }
/* o celular "vaza" para cima sem invadir a seção anterior */
.compare-cta__phone { width: 340px; flex-shrink: 0; margin: calc(-1 * (var(--sec-y) - 24px) - 40px) 0 -40px; }

/* ==========================================================================
   7. Tabela comparativa (claro)
   ========================================================================== */
.compare-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 16px; }
.compare-table th, .compare-table td { text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table th:not(:last-child), .compare-table td:not(:last-child) { border-right: 1px solid var(--line); }
.compare-table th { padding: 28px 16px; font-size: 19.2px; line-height: 1.5; font-weight: 700; }
.compare-table td { padding: 20px; line-height: 1.5; }
.compare-table th:first-child, .compare-table td:first-child { width: 40%; background: #fff; text-wrap: balance; }
.compare-table td:first-child { text-align: left; }
.compare-table th:nth-child(2) { background: var(--red); color: #fff; }
.compare-table th:nth-child(3) { background: linear-gradient(180deg, var(--cyan), var(--cyan-dark)); color: #fff; }
.compare-table td:nth-child(2) { width: 30%; color: var(--muted); background: #fff6f6; }
.compare-table td:nth-child(3) { width: 30%; color: var(--ink); background: #effafc; }
.compare-table .ico { width: 24px; height: 24px; stroke-width: 2.5; vertical-align: middle; }
.ico--yes { color: var(--cyan); }
.ico--no { color: var(--red); }
.diff .btn-row { margin-top: var(--head-gap); }

/* ==========================================================================
   8. Parceria com ex-agentes consulares (preto + dourado)
   ========================================================================== */
.section--partner { background: var(--partner); }
.partner-head { padding-top: var(--sec-y); padding-bottom: var(--head-gap); }
.partner-head .sec-head { margin-bottom: 0; }
.partner-head__seal { width: 114px; height: 114px; }
.partner { padding-bottom: var(--head-gap); }
.partner__grid { display: flex; gap: 60px; }
.partner__person { width: 580px; flex-shrink: 0; margin: 0; }
.partner__photo { width: 100%; border-radius: 10px; margin-bottom: 20px; }
.partner__name { font-size: 20.8px; line-height: 1.5; font-weight: 600; color: #fff; }
.partner__role { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .55); text-wrap: balance; }
.partner__text { max-width: 640px; }
.partner__text p { max-width: 520px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.partner__text p + p { margin-top: 24px; }
.disclaimer { padding-bottom: var(--sec-y); }
.disclaimer__box {
  max-width: 858px; margin: 0 auto; display: flex; gap: 5px; align-items: flex-start;
  border: 1px solid rgba(223, 193, 114, .35); border-radius: 12px; padding: 14px;
  font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .6);
}
.disclaimer__box svg { width: 19px; height: 19px; flex-shrink: 0; fill: var(--gold); margin: 1px 6px 0 0; }

/* ==========================================================================
   9. Números (claro)
   ========================================================================== */
.stats__grid { display: flex; justify-content: center; gap: 20px; }
.stat { width: 320px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat__label { margin-top: 16px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--muted); }
.stat__number { margin-top: 4px; font-size: 51px; line-height: 1.3; font-weight: 900; color: var(--ink); white-space: nowrap; }
.stat__suffix { color: var(--red); }

/* ==========================================================================
   10. Etapas (escuro) — coluna esquerda fixa durante a rolagem no desktop
   ========================================================================== */
.steps__grid { display: flex; align-items: flex-start; gap: 64px; }
.steps__head { width: 540px; flex-shrink: 0; position: sticky; top: 40px; }
.steps__head .sec-head { margin-bottom: 0; }
.steps__head .btn { margin-top: 16px; }
.steps__list { flex: 1; display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { background: var(--dark-card); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--radius); padding: 30px; }
.step__icon { width: 40px; height: 40px; }
.step__title { margin: 16px 0 10px; font-size: 22.4px; line-height: 1.3; font-weight: 700; color: #fff; }
.step__text { font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .66); text-wrap: balance; }

/* ==========================================================================
   11. Depoimentos e entrevistas (claro) — carrosséis contínuos
   ========================================================================== */
.testimonials .sec-head--interviews { margin-top: 80px; }
.marquee { position: relative; overflow: hidden; padding-block: 4px 12px; }
.marquee + .marquee { margin-top: 8px; }
.marquee::after { /* esmaecido nas bordas, na cor do fundo da seção */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, var(--section-bg), transparent 12%, transparent 88%, var(--section-bg) 100%);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__track { display: flex; gap: var(--gap, 20px); width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee var(--duration, 30s) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee--pause:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex-shrink: 0; width: var(--w); }
.marquee__item img { width: 100%; border-radius: var(--r, 14px); }
.marquee--reviews { --w: calc((100vw - 4 * 20px) / 5); --duration: 25s; --r: 14px; }
.marquee--videos { --w: calc((100vw - 3 * 20px) / 4); --duration: 70s; --r: 16px; }
.marquee--videos .marquee__item a { display: block; border-radius: 16px; }
.marquee--videos .marquee__item a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ==========================================================================
   12. Formulário (claro)
   ========================================================================== */
.lead__inner { max-width: 832px; margin-inline: auto; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form__field { position: relative; }
.lead-form__field--full { grid-column: 1 / -1; }
.lead-form input, .lead-form select {
  width: 100%; height: 48px; padding: 8px 16px; border: 1px solid #cfd8dd; border-radius: 10px; background: #fff;
  font: 400 15px/1.4 var(--font); color: #444;
}
.lead-form input::placeholder { color: #7a7a7a; }
.lead-form select { appearance: none; padding-right: 36px; color: #7a7a7a; cursor: pointer; }
.lead-form select:valid { color: #444; }
.lead-form__caret { position: absolute; right: 14px; top: 50%; width: 11px; height: 11px; transform: translateY(-50%); fill: #7a7a7a; pointer-events: none; }
.lead-form input:focus, .lead-form select:focus { outline: 0; border-color: var(--ink); }
.phone { display: flex; height: 48px; border: 1px solid #cfd8dd; border-radius: 10px; background: #fff; overflow: hidden; }
.phone:focus-within { border-color: var(--ink); }
.phone select { width: auto; height: 100%; border: 0; border-radius: 0; padding: 0 22px 0 10px; background: var(--light); color: #333; font-size: 15px; }
.phone input { height: 100%; border: 0; border-radius: 0; padding-left: 10px; }
.lead-form__submit { grid-column: 1 / -1; justify-self: center; margin-top: 14px; }
.lead-form__msg { grid-column: 1 / -1; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.lead-form__msg--ok { background: #e6f8fa; color: #035b69; }
.lead-form__msg--err { background: #fdecec; color: #8a1f1d; }
.lead__compare { margin-top: 24px; text-align: center; font-size: 15.6px; line-height: 1.5; color: var(--red); text-wrap: balance; }
.lead__compare b { color: var(--ink); }
.lead__compare a:hover { text-decoration: underline; }

/* ==========================================================================
   13. FAQ (claro)
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.faq__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); }
.faq__intro .title { max-width: 630px; }
.faq-item { margin-bottom: 24px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px; border-bottom: 1px solid rgba(17, 22, 25, .16);
  font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 13px; height: 15px; flex-shrink: 0; fill: var(--red); }
.faq-item .icon-minus { display: none; }
.faq-item[open] summary { border-bottom-color: var(--red); }
.faq-item[open] .icon-plus { display: none; }
.faq-item[open] .icon-minus { display: block; }
.faq-item__answer { padding: 14px 10px 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ==========================================================================
   14. Rodapé (escuro)
   ========================================================================== */
.site-footer { background: var(--footer); border-top: 3px solid var(--red); padding-block: 64px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; }
.footer__brand img { width: 127px; height: 30px; margin-bottom: 24px; }
.footer__tagline { max-width: 300px; margin-bottom: 20px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .55); text-wrap: balance; }
.social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social a:hover { background: var(--red); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__title { font-size: 19.2px; line-height: 1.5; font-weight: 700; color: #fff; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .55); transition: color .2s; }
.footer__col a:hover { color: var(--cyan); }
.footer__divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .1); margin: 40px 0; }
.footer__legal-title { margin-bottom: 12px; font-size: 15px; line-height: 1.4; font-weight: 600; color: #fff; }
.footer__legal-text { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.footer__copy { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .42); }

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tag::before, .btn--primary::before, .marquee__track, .ia-line, .ia-glow { animation: none; }
  .hero__tile { transition: none; }
  .hero__tile:hover { transform: none; }
  .ia-dots { display: none; }
}

/* ==========================================================================
   Notebook (até 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .nav__list { gap: 0; }
  .nav__list a { padding-inline: 11px; }
}

/* ==========================================================================
   Hero empilhado (até 1080px): quadro de imagens desce para baixo do texto
   ========================================================================== */
@media (max-width: 1080px) {
  .hero { min-height: 0; padding-block: var(--sec-y); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--head-gap); }
  .hero__content { align-items: center; text-align: center; }
  .hero__title, .hero .subtitle { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero__mosaic { max-width: 620px; justify-self: center; }
}

/* ==========================================================================
   Tablet (até 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --sec-y: 80px; --head-gap: 40px; }
  .site-header__cta { display: none; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-cta__box { padding-inline: 40px; }
  .compare-cta__phone { width: 280px; }
  .partner__grid { flex-direction: column; gap: 40px; }
  .partner__person { width: 100%; max-width: 580px; }
  .steps__grid { flex-direction: column; gap: var(--head-gap); }
  .steps__head { position: static; width: 100%; }
  .marquee--reviews { --w: calc((100vw - 2 * 20px) / 3); }
  .marquee--videos { --w: calc((100vw - 2 * 20px) / 3); }
  .faq__grid { gap: 40px; }
}

/* ==========================================================================
   Mobile (até 767px)
   ========================================================================== */
@media (max-width: 767px) {
  :root { --sec-y: 64px; --stack: 12px; --head-gap: 32px; }
  .title { font-size: 30px; }
  .subtitle { font-size: 14px; }
  .sec-head--mobile-left { align-items: flex-start; text-align: left; }
  .btn { padding: 16px 20px; font-size: 15px; gap: 8px; }
  .btn .ico { width: 18px; height: 18px; }
  .btn--ghost { padding: 14.5px 20px; }
  .btn-row { gap: 10px; }

  /* Cabeçalho com menu sanduíche */
  .site-header__inner { min-height: 64px; padding-block: 0; }
  .site-header__logo img { width: 128px; height: 30px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    margin-right: -6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; fill: currentColor; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] { background: var(--light); }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  /* Menu aberto: painel que cobre a tela abaixo do cabeçalho */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    max-height: calc(100dvh - 64px); overflow-y: auto;
    padding: 8px var(--gutter) 24px; background: #fff; border-top: 1px solid rgba(17, 22, 25, .08);
    border-radius: 0 0 20px 20px; box-shadow: 0 24px 40px -12px rgba(17, 22, 25, .25);
    flex-direction: column;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav__list a {
    justify-content: space-between; padding: 18px 4px; border-radius: 0;
    font-size: 18px; font-weight: 600; color: var(--ink);
  }
  .nav__list a:hover { background: none; color: var(--red); }
  .nav__chev { display: block; width: 20px; height: 20px; color: var(--red); }
  .nav__footer { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 20px; }
  .nav__cta { align-self: stretch; }
  .nav__social { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
  .nav__social svg { width: 18px; height: 18px; fill: currentColor; }
  body.menu-open { overflow: hidden; }

  /* Hero */
  .hero__title { font-size: 30px; }
  .hero .btn-row { flex-wrap: nowrap; }
  .hero__mosaic { --g: 8px; }
  .hero__mosaic { --r: 14px; }
  .hero__badge { left: 8px; bottom: 8px; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 8px; }
  .hero__flag { width: 18px; height: 13px; }
  .hero__badge strong { font-size: 12.5px; }

  /* Tecnologia */
  .tech__text { font-size: 14px; }
  .ia-scene--desktop { display: none; }
  .ia-scene--mobile { display: block; }

  /* Diferenciais */
  .why__grid { grid-template-columns: 1fr; }
  .icon-card__text { font-size: 14px; }

  /* Soluções */
  .tabs__list { margin-bottom: 32px; padding: 3px; gap: 0; }
  .tabs__tab { gap: 5px; padding: 8px 10px 8px 7px; font-size: 14px; }
  .tabs__flag, .tabs__globe { width: 18px; height: 18px; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-card { padding: 25px; }
  .sol-card__title { font-size: 19px; }
  .sol-card__text { font-size: 14px; }

  /* CTA comparar: faz parte da seção de Soluções, então fica próximo dos cards */
  .solutions { padding-bottom: var(--head-gap); }
  .compare-cta { padding-top: 0; }
  .compare-cta__box { flex-direction: column; align-items: center; padding: 40px 24px 0; text-align: center; }
  .compare-cta__text { align-items: center; }
  .compare-cta__title { font-size: 28px; }
  .compare-cta__desc { font-size: 14px; }
  .compare-cta__phone { width: 100%; max-width: 280px; margin: 0 auto; }

  /* Tabela: cada linha vira título + duas colunas */
  .compare-table, .compare-table thead, .compare-table tbody { display: block; }
  .compare-table tr { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table th, .compare-table td { border-bottom: 0; }
  .compare-table th:first-child, .compare-table td:first-child {
    width: 100%; padding: 16px 14px; border-right: 0; text-align: center; font-size: 14px; border-bottom: 1px solid var(--line);
  }
  .compare-table th:not(:first-child), .compare-table td:not(:first-child) {
    width: 50%; display: flex; align-items: center; justify-content: center; padding: 16px 12px; font-size: 14px; line-height: 1.35;
  }
  .compare-table th { font-size: 15px; }

  /* Parceria */
  .partner__name { font-size: 16px; }
  .partner__role { font-size: 14px; }
  .disclaimer__box { padding: 18px; }

  /* Números */
  .stats__grid { flex-direction: column; align-items: center; gap: 40px; }
  .stat__label { font-size: 16px; }
  .stat__number { font-size: 44px; }

  /* Depoimentos */
  .testimonials .sec-head { padding-inline: var(--gutter); }
  .testimonials .sec-head--interviews { margin-top: 56px; }
  .marquee--reviews { --w: calc((100vw - 10px) / 2); --gap: 10px; }
  .marquee--videos { --w: calc((100vw - 10px) / 1.6); --gap: 10px; }

  /* Formulário */
  .lead-form__field:nth-child(n + 3) { grid-column: 1 / -1; }
  .lead__compare { font-size: 14px; }

  /* FAQ */
  .faq__grid { grid-template-columns: 1fr; gap: var(--head-gap); }
  .faq__intro { align-items: center; text-align: center; }
  .faq-item { margin-bottom: 16px; }
  .faq-item summary { font-size: 15px; }
  .faq-item__answer { font-size: 14px; }

  /* Rodapé */
  .site-footer { padding-block: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand img { width: 150px; height: 35px; margin-bottom: 16px; }
  .footer__tagline { max-width: none; font-size: 15px; }
  .footer__title { font-size: 16px; }
  .footer__col { gap: 10px; }
  .footer__col ul { gap: 8px; }
  .footer__col a { font-size: 15px; }
  .footer__divider { margin: 32px 0; }
  .footer__legal-title { font-size: 14px; }
  .footer__legal-text { font-size: 13px; }
  .footer__copy { font-size: 12.5px; }
}

/* Telas bem estreitas: abas mais compactas para caber em uma linha */
@media (max-width: 380px) {
  .tabs__tab { gap: 4px; padding: 7px 7px 7px 6px; font-size: 13px; }
  .tabs__flag, .tabs__globe { width: 16px; height: 16px; }
  .hero .btn-row { flex-wrap: wrap; }
}
