/* ==========================================================================
   Colégio Digital — LP de matrículas
   Tokens (Figma f01yaQc7DGs9GyXmfjyprw, desktop 1:2 / mobile 92:2252)
   Base comum. Cada seção tem seu arquivo em parts/css/NN-secao.css.
   ========================================================================== */

@font-face {
  font-family: "Google Sans Flex";
  src: url("assets/fonts/googlesansflex-latin-wght.woff2") format("woff2");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Layout */
  --container: 1280px;
  --gutter: 20px;

  /* Cores (Figma) */
  --navy: #202c4f;            /* títulos em fundo claro */
  --navy-deep: #0b1b33;       /* texto do botão CONTATO, rodapé */
  --blue: #001e4b;            /* faixa do menu / fundos escuros */
  --blue-2: #003c8c;          /* ícones, destaques azuis */
  --gold: #d6952b;            /* etiquetas, faixa "Aqui, cada aluno..." */
  --yellow: #ffb100;          /* destaque no título do hero */
  --cyan: #16a0b8;
  --cyan-2: #43c7de;
  --white: #ffffff;
  --page: #f8fafc;            /* fundo claro das seções */
  --text: rgba(32, 44, 79, 0.77);   /* texto corrido em fundo claro */
  --nav: #dce4f0;             /* links do menu */

  --grad-cyan: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 100%);

  /* Tipografia (Google Sans Flex em todo o site) */
  --font: "Google Sans Flex", system-ui, sans-serif;
  --lh: 1.252;                /* "normal" da Google Sans Flex (hhea 1932 + 572 / 2000) — o Figma usa leading normal */
  --fs-h1: 56px;
  --fs-h2: 40px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-eyebrow: 13px;
  --ls-eyebrow: 1.56px;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --section-y: 80px;

  /* Animação de entrada */
  --reveal-y: 24px;
  --reveal-dur: 0.7s;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 42px;            /* Figma mobile 92:2665 */
    --fs-h2: 28px;            /* Figma mobile 92:2723 */
    --fs-lead: 16px;
    --section-y: 60px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--navy);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Corte vertical dos textos igual ao Figma (leading trim) */
h1, h2, h3, p, .trim { text-box: trim-both cap alphabetic; }
/* Evita palavra sozinha na última linha */
h1, h2, h3, p, li, figcaption { text-wrap: pretty; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Componentes comuns
   ========================================================================== */

/* Etiqueta acima dos títulos (Figma: 13px Bold, 1,56px, caixa alta, dourada). .eyebrow--light = branca */
.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--light { color: var(--white); }

/* Título de seção (Figma: 40px ExtraBold #202c4f; mobile 28px) */
.title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh);
  color: var(--navy);
}
.title--light { color: var(--white); }

/* Texto de apoio (Figma: 18px Regular, navy 77%; mobile 16px) */
.lead {
  font-size: var(--fs-lead);
  color: var(--text);
}
.lead--light { color: rgba(255, 255, 255, 0.85); }

/* Botão "Deixe sua marca aqui" (Figma 76:1265): moldura translúcida + pílula ciano + ícone de digital.
   <a class="btn-marca" href="..."><span class="btn-marca__label">Deixe sua marca aqui</span><svg class="btn-marca__icon">…</svg></a> */
.btn-marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  border: 1px solid var(--white);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  color: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-marca__label {
  display: block;                     /* bloco: o corte vertical vale (pílula de 51px como no Figma) */
  margin: -1px 0 -1px -1px;           /* Figma: contorno interno — a pílula cobre a borda da moldura */
  padding: 20px;
  border-radius: 15px;
  background: var(--grad-cyan);
  background-size: 160% 100%;
  background-position: 0 0;
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: 1;
  text-transform: uppercase;
  text-box: trim-both cap alphabetic;
  transition: background-position 0.45s var(--ease);
}
.btn-marca__icon { flex: none; width: 23.44px; height: 29.44px; transition: transform 0.4s var(--ease); }
/* Em fundo claro, a moldura fica azulada */
.btn-marca--on-light { border-color: rgba(0, 60, 140, 0.25); background: rgba(0, 60, 140, 0.08); color: var(--blue-2); }

@media (hover: hover) {
  .btn-marca:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(22, 160, 184, 0.9); background: rgba(255, 255, 255, 0.4); }
  .btn-marca:hover .btn-marca__label { background-position: 100% 0; }
  .btn-marca:hover .btn-marca__icon { transform: scale(1.12) rotate(-8deg); }
}

/* Animação de entrada ao rolar: data-reveal="up" (padrão), "fade" ou "zoom".
   Atraso opcional: style="--reveal-delay: 120ms". Sem JavaScript, tudo aparece normalmente. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(0.9); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Menu (Figma 2:410 desktop / 92:2687 mobile) — barra de vidro azul flutuante
   ========================================================================== */

:root {
  --header-top: 6px;
  --header-w: 1320px;
  --header-bg: rgba(0, 30, 75, 0.78);
  --header-border: rgba(255, 255, 255, 0.14);
}

.header {
  position: fixed;
  z-index: 50;
  top: var(--header-top);
  left: 0;
  right: 0;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--header-w);
  margin-inline: auto;
  padding: 14px 19px;                 /* + 1px de borda = 78px, como no Figma (contorno interno) */
  border: 1px solid var(--header-border);
  border-radius: 21px;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  pointer-events: auto;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled .header__bar { background: rgba(0, 30, 75, 0.94); box-shadow: 0 16px 32px -20px rgba(0, 14, 40, 0.8); }

.header__logo img { width: 98px; height: 48px; }

.header__nav { display: flex; align-items: center; gap: 28px; }
.header__link,
.header__cta {
  display: inline-block;              /* bloco: o corte vertical do texto vale */
  font-size: 15px;
  font-weight: var(--fw-semibold);
  line-height: 1;
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
}
.header__link { color: var(--nav); transition: color 0.25s var(--ease); }
.header__cta {
  padding: 14px 22px;
  border-radius: 13px;
  background: var(--white);
  text-transform: uppercase;
  color: var(--navy-deep);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (hover: hover) {
  .header__link:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
  .header__cta:hover { background: var(--gold); color: var(--white); transform: translateY(-1px); }
}

.header__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8.229px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.header__toggle span {
  width: 20px;
  height: 3px;
  border-radius: 1px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Notebooks menores: menos espaço entre os links */
@media (max-width: 1199px) {
  .header__nav { gap: 20px; }
}

/* Menu recolhido (Figma mobile: faixa azul sólida de ponta a ponta) */
@media (max-width: 1023px) {
  :root { --header-top: 0px; }
  .header { padding-inline: 0; }
  .header__bar { padding: 14px 20px 15px; border-radius: 0; border-width: 0 0 1px; background: var(--blue); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header.is-scrolled .header__bar { background: var(--blue); }
  .header__toggle { display: flex; }
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--header-border);
    background: var(--blue);
    box-shadow: 0 24px 40px -24px rgba(0, 14, 40, 0.9);
  }
  .header__nav.is-open { display: flex; }
  .header__link { padding: 16px 0; font-size: 16px; }
  .header__cta { margin-top: 12px; padding-block: 18px; text-align: center; }
}

/* ==========================================================================
   Hero (Figma 2:554 conteúdo + 76:1267 KV com borda dourada de 13px + 76:1271 mão dourada;
   mobile 92:2663 + 92:2662). Fotos do site no ar (digital-colegio-hero-desktop / -mobile).
   ========================================================================== */

:root {
  --hero-h: 800px;
  --hero-pad-top: 199px;
  --hero-gap: 29px;
  --hero-text-fs: 20px;
}
@media (max-width: 767px) {
  :root {
    --hero-h: 875px;
    --hero-pad-top: 369px;
    --hero-text-fs: 18px;
  }
}

.hero {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  border-bottom: 13px solid var(--gold);
  background: var(--blue);
  color: var(--white);
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img { object-fit: cover; object-position: 50% 50%; }

.hero__mao {                          /* Figma 76:1271 exportado já recortado pelo quadro (opacidade de 85% embutida) */
  position: absolute;
  top: 0;
  left: 0;
  width: 405px;
  height: auto;
  pointer-events: none;
  animation: hero-mao 9s ease-in-out infinite;
}
@keyframes hero-mao {
  0%, 100% { translate: 0 0; }
  50% { translate: 6px -8px; }
}

.hero__inner {
  position: relative;
  padding-top: var(--hero-pad-top);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  max-width: 516px;
  margin-top: var(--hero-gap);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh);
  color: var(--white);
  text-box: none;                     /* Figma desktop: título sem corte (caixa de 140px) */
}
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__nowrap { white-space: nowrap; }

.hero__text {
  max-width: 464px;
  margin-top: var(--hero-gap);
  font-size: var(--hero-text-fs);
  color: var(--white);
}
/* Figma: uma linha em branco entre os dois parágrafos (2 linhas de passo − altura das maiúsculas) */
.hero__text p { text-wrap: wrap; }   /* quebra igual ao Figma ("desde o / nascimento.") */
.hero__text p + p { margin-top: calc(2 * var(--lh) * 1em - 0.716em); }

.hero__cta { margin-top: var(--hero-gap); }

/* Tablets: texto um pouco menor e véu escuro à esquerda (o aluno fica à direita) */
@media (min-width: 768px) and (max-width: 1199px) {
  :root { --fs-h1: 46px; --hero-text-fs: 18px; }
  .hero__title { max-width: 430px; }
  .hero__text { max-width: 400px; }
  .hero__media img { object-position: 58% 50%; }
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 30, 75, 0.9) 0%, rgba(0, 30, 75, 0.55) 45%, rgba(0, 30, 75, 0) 70%);
  }
}

/* Celular (Figma 92:2252): foto vertical a partir de y 60, conteúdo centralizado embaixo */
@media (max-width: 767px) {
  .hero { border-bottom: 0; }
  .hero__media { top: 60px; height: auto; bottom: 0; }
  .hero__media img { object-position: 50% 0; }
  .hero__mao { display: none; }
  .hero__content { align-items: center; text-align: center; }
  .hero__title {                    /* Figma mobile: 42px com corte (83px); abaixo de 420px encolhe para a frase caber */
    max-width: none;
    font-size: min(var(--fs-h1), calc((100vw - 2 * var(--gutter)) / 9.07));
    text-box: trim-both cap alphabetic;
  }
  .hero__text { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mao { animation: none; }
}

/* ==========================================================================
   Nosso nome (Figma 53:480 cartão com recorte + 53:484 ícone + 2:451 conteúdo;
   mobile 92:2717 + 92:2715 + 92:2720). O cartão sobe sobre o hero.
   ========================================================================== */

:root {
  --nome-overlap: 71px;            /* Figma: cartão em y 729, hero termina em y 800 */
  --nome-r: 39px;                  /* raio do cartão (10:829) */
  --nome-pad: 81px 20px 82px;      /* 441 = 81 + 278 de conteúdo + 82 */
  --nome-gap-txt: 40px;
  --nome-marca-fs: 25px;
}
@media (max-width: 767px) {
  :root {
    --nome-overlap: 60px;          /* Figma mobile: cartão em y 815, hero termina em y 875 */
    --nome-r: 28px;                /* 92:2718 */
    --nome-pad: 60px 40px;
    --nome-gap-txt: 32px;
    --nome-marca-fs: 16px;
  }
}

.nome {
  position: relative;
  z-index: 2;                      /* por cima do hero e da mão decorativa dos Segmentos */
  margin-top: calc(-1 * var(--nome-overlap));
}

.nome__card {
  position: relative;
  padding: var(--nome-pad);
  text-align: center;
}

/* Forma branca com o recorte circular no topo (círculo de 50px, 21px para dentro do cartão),
   contorno #c8c8c8 de 1px e sombra suave — filtros num elemento à parte para não afetar o texto */
.nome__forma {
  position: absolute;
  inset: 1px;
  filter:
    drop-shadow(1px 0 0 #c8c8c8) drop-shadow(-1px 0 0 #c8c8c8)
    drop-shadow(0 1px 0 #c8c8c8) drop-shadow(0 -1px 0 #c8c8c8)
    drop-shadow(0 16px 24px rgba(11, 27, 51, 0.1));
}
.nome__forma::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--nome-r) - 1px);
  background: var(--white);
  -webkit-mask: radial-gradient(circle at 50% -5px, transparent 25px, #000 25.5px);
  mask: radial-gradient(circle at 50% -5px, transparent 25px, #000 25.5px);
}

.nome__icone {
  position: absolute;
  top: -36px;                      /* Figma: ícone em y 693, cartão em y 729 */
  left: 50%;
  width: 43px;
  height: 43px;
  translate: -50% 0;
  transition: transform 0.4s var(--ease);
}

.nome__conteudo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 718px;
  margin-inline: auto;
}
.nome__title { margin-top: 20px; }
.nome__texto { max-width: 716px; margin-top: var(--nome-gap-txt); }
.nome__marca {
  margin-top: var(--nome-gap-txt);
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--gold);
  font-size: var(--nome-marca-fs);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh);
  color: var(--white);
}

@media (hover: hover) {
  .nome__card:hover .nome__icone { transform: rotate(-12deg) scale(1.08); }
}

/* Celular: cartão de ponta a ponta (Figma 92:2718 tem 420px) */
@media (max-width: 767px) {
  .nome .container { padding-inline: 0; }
  .nome__marca { align-self: stretch; }
}

/* ==========================================================================
   Segmentos (Figma 92:1780 galeria + linha do tempo; fundo 83:1354 grade de bolinhas;
   mão azul 92:1782 e digital ciano 92:1781; mobile 92:2727)
   ========================================================================== */

:root {
  --seg-bg-top: -358px;            /* o fundo começa em y 812, 358px acima do fim do cartão Nosso nome (1170) */
  --seg-pad: 80px;
  --seg-gap: 128px;
  --seg-title: var(--navy-deep);   /* Figma 2:455: #0b1b33 */
  --seg-line: #003c8c;
}
@media (max-width: 767px) {
  :root {
    --seg-bg-top: -346px;          /* Figma mobile: fundo em y 870, cartão termina em 1216 */
    --seg-pad: 60px;
    --seg-gap: 40px;
    --seg-title: #022d66;          /* Figma 92:2736 */
  }
}

.seg {
  position: relative;
  padding-block: var(--seg-pad);
  overflow-x: clip;
}

/* Fundo: grade de bolinhas (shader "Pattern grid" do Figma, estático) + degradê para #f8fafc */
.seg::before,
.seg::after {
  content: "";
  position: absolute;
  top: var(--seg-bg-top);
  bottom: 0;
  left: -36px;
  right: -36px;
  border-radius: 40px;
  pointer-events: none;
}
.seg::before {
  background: radial-gradient(circle, #f6f6f5 6.8px, transparent 7.3px) 0 0 / 20px 20px, var(--white);
  opacity: 0.61;
}
.seg::after { background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, var(--page) 100%); }

/* Decorações (posições do Figma, presas ao centro do layout de 1920) */
.seg__mao,
.seg__digital {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}
.seg__mao { top: -338px; left: calc(50% + 535px); width: 425px; }     /* x 1495, y 832 */
.seg__digital { top: 368px; left: calc(50% - 960px); width: 204px; }  /* x 0, y 1538 */

.seg__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--seg-gap);
}

.seg__galeria {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, 305px);
  gap: 14px 21px;
}
.seg__foto {
  width: 100%;
  height: auto;
  aspect-ratio: 305 / 288;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.seg__info { width: 523px; margin-top: 12px; }   /* Figma centra a lista por uma caixa de 302px (o último item passa 12px dela) */
.seg__title { margin-top: 20px; color: var(--seg-title); }
.seg__lista { margin-top: 40px; }

/* Linha do tempo: ícone de 44px + linha de 1px até o próximo item */
.seg__item { display: flex; gap: 20px; }
.seg__icone {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
}
.seg__icone img { width: 44px; height: 44px; transition: transform 0.35s var(--ease); }
.seg__icone::after {
  content: "";
  flex: 1;
  width: 1px;
  background: var(--seg-line);
}
.seg__item:last-child .seg__icone::after { content: none; }
.seg__item:last-child .seg__texto { padding-bottom: 0; }

.seg__texto {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-bottom: 32px;
}
.seg__nome {
  font-size: 20px;
  font-weight: var(--fw-bold);
  line-height: var(--lh);
  color: var(--blue-2);
}
.seg__desc {
  font-size: 18px;
  color: rgba(11, 27, 51, 0.75);
  text-wrap: wrap;                 /* quebra igual ao Figma ("responsabilidade e / protagonismo") */
}

@media (hover: hover) {
  .seg__foto:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(11, 27, 51, 0.45); }
  .seg__item:hover .seg__icone img { transform: scale(1.08) rotate(-6deg); }
}

/* Notebooks: colunas flexíveis */
@media (max-width: 1279px) {
  :root { --seg-gap: 56px; }
  .seg__galeria { flex: 1 1 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg__info { flex: 1 1 0; width: auto; }
}

/* Tablets e celulares: galeria em cima, lista embaixo; sem as decorações (não existem no mobile do Figma) */
@media (max-width: 1023px) {
  :root { --seg-gap: 40px; }
  .seg__inner { flex-direction: column; align-items: stretch; }
  .seg__info { margin-top: 0; }
  .seg__galeria { flex: none; }
  .seg__mao,
  .seg__digital { display: none; }
}

@media (max-width: 767px) {
  .seg__galeria { gap: 11px 10px; }
  .seg__eyebrow { font-size: 10px; letter-spacing: 1.2px; }   /* Figma 92:2735 */
  .seg__lista { margin-top: 36px; }
}

/* ==========================================================================
   Contraturno e Período Integral — existe só no site no ar (sem Figma).
   Layout do ar (texto 678px + cartão 519×600), visual com os tokens do Figma.
   ========================================================================== */

:root {
  --contra-pad: 80px;
  --contra-chip-fs: 16px;
  --contra-card-grad: linear-gradient(150deg, #003c8c 0%, #2a3559 100%);   /* cores medidas no site no ar */
}
@media (max-width: 767px) {
  :root {
    --contra-pad: 60px;
    --contra-chip-fs: 14px;
  }
}

.contra { padding-block: var(--contra-pad); }

.contra__inner {
  display: grid;
  grid-template-columns: minmax(0, 678px) 519px;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contra__title { margin-top: 20px; }
.contra__paragrafos {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.contra__paragrafos p { line-height: 1.5; }   /* textos longos: entrelinha maior que o "normal" para leitura */

.contra__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.contra__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 60, 140, 0.1);
  font-size: var(--contra-chip-fs);
  font-weight: var(--fw-semibold);
  line-height: 24px;
  color: var(--navy-deep);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.contra__chip svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.contra__cartao {
  display: grid;
  place-items: center;
  height: 600px;
  padding: 50px;
  border-radius: 22px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1.6px) 0 0 / 7px 7px,
    var(--contra-card-grad);
  box-shadow:
    -6px 10px 25px rgba(42, 53, 84, 0.05),
    -23px 38px 45px rgba(42, 53, 84, 0.04),
    -53px 86px 61px rgba(42, 53, 84, 0.03),
    -94px 154px 72px rgba(42, 53, 84, 0.01);
  overflow: hidden;
}
.contra__cartao img {
  width: min(390px, 100%);
  height: auto;
  transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
  .contra__chip:hover { background: rgba(0, 60, 140, 0.16); transform: translateY(-2px); }
  .contra__chip:hover svg { transform: scale(1.15); }
  .contra__cartao:hover img { transform: scale(1.05) rotate(-2deg); }
}

/* Notebooks: colunas flexíveis */
@media (max-width: 1279px) {
  .contra__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; }
  .contra__cartao { height: 520px; }
}

/* Tablets e celulares: texto em cima, cartão embaixo */
@media (max-width: 1023px) {
  .contra__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contra__cartao { height: auto; padding: 60px 40px; }
}
@media (max-width: 767px) {
  .contra__chips { gap: 8px; }
  .contra__chip { gap: 6px; padding: 3px 7px; }
  .contra__chip svg { width: 15px; height: 15px; }
  .contra__cartao { padding: 42px; border-radius: 20px; }   /* site no ar: cartão de ~380×166 */
  .contra__cartao img { width: 150px; }
}

/* ==========================================================================
   Diferenciais (Figma 10:835 sobre o fundo 69:1231, liso #f8fafc / mobile 92:2774).
   Fundo do Figma: y 1945–2989 (1044px); conteúdo começa 55px abaixo.
   ========================================================================== */

:root {
  --dif-pad-top: 55px;
  --dif-pad-bottom: 106px;
  --dif-card-pad: 32px;
  --dif-shadow:
    -157px 116px 55px 0 rgba(14, 44, 86, 0),
    -101px 74px 50px 0 rgba(14, 44, 86, 0.01),
    -57px 42px 42px 0 rgba(14, 44, 86, 0.03),
    -25px 19px 31px 0 rgba(14, 44, 86, 0.04),
    -6px 5px 17px 0 rgba(14, 44, 86, 0.05);
  --dif-shadow-hover:
    -57px 42px 42px 0 rgba(14, 44, 86, 0.05),
    -25px 24px 36px 0 rgba(14, 44, 86, 0.08),
    -6px 10px 22px 0 rgba(14, 44, 86, 0.1);
}
@media (max-width: 767px) {
  :root {
    --dif-pad-top: 68px;
    --dif-pad-bottom: 76px;
    --dif-card-pad: 20px;
  }
}

.dif {
  position: relative;
  padding: var(--dif-pad-top) 0 var(--dif-pad-bottom);
  background: var(--page);
}

.dif__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1064px;
  margin-inline: auto;
  text-align: center;
}
.dif__title { font-weight: var(--fw-bold); color: var(--navy-deep); }   /* Figma 2:516: Bold #0b1b33 */
.dif__lead { max-width: 716px; margin: 40px auto 0; text-align: center; }

.dif__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.dif-card {
  --dif-accent: var(--blue-2);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--dif-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dif-card--gold { --dif-accent: var(--gold); }
.dif-card::before {                 /* contorno superior de 3px (Figma: por dentro, sobre a foto) */
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 3px;
  background: var(--dif-accent);
}
.dif-card__img {
  width: 100%;
  height: 150px;
  margin-bottom: -28px;              /* o ícone sobe 28px sobre a foto */
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dif-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 var(--dif-card-pad) var(--dif-card-pad);
}
.dif-card__icon { width: 80px; height: 80px; transition: transform 0.4s var(--ease); }
.dif-card__name {
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  line-height: var(--lh);
  color: var(--navy);
}
.dif-card__text {
  font-size: var(--fs-body);
  color: rgba(32, 44, 79, 0.75);
}

@media (hover: hover) {
  .dif-card:hover { transform: translateY(-6px); box-shadow: var(--dif-shadow-hover); }
  .dif-card:hover .dif-card__img { transform: scale(1.06); }
  .dif-card:hover .dif-card__icon { transform: translateY(-4px) rotate(-6deg); }
}

/* Tablet: 2 colunas */
@media (max-width: 1023px) {
  .dif__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Celular: 1 coluna (Figma 92:2780) */
@media (max-width: 767px) {
  .dif__lead { margin-top: 36px; }
  .dif__grid { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .dif-card__body { padding-bottom: 24px; }
}

/* ==========================================================================
   Estrutura (Figma faixa 64:699 + grade de bolinhas 83:1360, conteúdo 5:634,
   fotos 92:1815, divisor branco com recorte 92:1820 / mobile 92:2872 sobre 92:2824).
   No ar são 6 fotos (o Figma tem 4): a grade ganha uma 3ª linha.
   A forma clara com o recorte é da Depoimentos (margin-top -55px / -61px, z-index 1): a faixa navy
   continua por baixo dela e só o botão de seta fica aqui, por cima (z-index 2).
   Sem isolation/z-index na seção, para o botão poder ficar acima da Depoimentos.
   ========================================================================== */

:root {
  --estr-bg: radial-gradient(1069px 828px at 51.56% 0, #063b7d 0%, #10284b 100%);
  --estr-dots: radial-gradient(circle, rgba(246, 246, 245, 0.025) 6.8px, transparent 7.3px);  /* Figma 83:1360: bolinhas 13,6px a cada 20px, camada a 9% */
  --estr-pad-top: 80px;
  --estr-pad-bottom: 79px;           /* do fim das fotos até a linha clara (topo da Depoimentos) */
  --estr-overlap: 55px;              /* quanto a Depoimentos sobe sobre esta faixa */
  --estr-content-top: 37px;          /* o texto começa 37px abaixo do topo das fotos */
  --estr-gap: 40px;
  --estr-title-fs: 40px;
  --estr-destaque-h: 44px;           /* caixa dourada do Figma (5:668): 380×44 */
  --estr-foto-pad: 10px;
  --estr-foto-r: 8px;
  --estr-foto-img-r: 9px;
  --estr-foto-gap: 20px;
  --estr-cap-h: 27.2px;
  --estr-cap-fs: 14px;
}
@media (max-width: 767px) {
  :root {
    --estr-pad-top: 60px;
    --estr-pad-bottom: 58.5px;
    --estr-overlap: 61px;
    --estr-content-top: 0px;
    --estr-gap: 32px;
    --estr-title-fs: 32px;
    --estr-destaque-h: 35.2px;
    --estr-foto-pad: 6.05px;
    --estr-foto-r: 4.84px;
    --estr-foto-img-r: 5.44px;
    --estr-foto-gap: 12.1px;
    --estr-cap-h: 17.4px;
    --estr-cap-fs: 10px;
  }
}

.estr {
  position: relative;
  overflow: hidden;
  padding: var(--estr-pad-top) 0 calc(var(--estr-pad-bottom) + var(--estr-overlap));
  border-radius: 24px 24px 0 0;
  background: var(--estr-bg);
  color: var(--white);
}
.estr::before {                     /* grade de bolinhas (Figma: começa 78px abaixo do topo da faixa) */
  content: "";
  position: absolute;
  inset: 78px 0 0;
  background: var(--estr-dots) -6px 0 / 20px 20px;
  pointer-events: none;
}

/* Rabiscos: mão dourada à esquerda e digital ciano à direita (Figma 5:769 e 5:768) */
.estr__mao,
.estr__digital {
  position: absolute;
  height: auto;
  max-width: none;
  pointer-events: none;
}
.estr__mao { top: 121px; left: 0; width: 176px; }
.estr__digital {
  top: 191px;
  left: calc(50% + 380px);
  width: 961px;
  opacity: 0.12;                     /* Figma: 38% × 32%, mesclagem "tela" */
  mix-blend-mode: screen;
}

.estr__inner {
  position: relative;                /* pintado depois dos rabiscos */
  display: grid;
  grid-template-columns: minmax(0, 522px) minmax(0, 630px);
  justify-content: space-between;
  align-items: start;
  column-gap: 40px;
}

.estr__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: var(--estr-content-top);
}
.estr__title {
  margin-top: 24px;
  font-size: var(--estr-title-fs);
  font-weight: 900;
  line-height: var(--lh);
  color: var(--white);
}
.estr__destaque {                   /* marca-texto dourado: a linha de base cai no mesmo lugar do Figma */
  display: inline-block;
  padding: 0 6px 0 10px;             /* Figma: a linha começa com um espaço; caixa de 380px */
  line-height: var(--estr-destaque-h);
  background: #d29200;
  color: var(--navy-deep);
}
.estr__lead { margin-top: var(--estr-gap); color: rgba(255, 255, 255, 0.75); }

.estr__lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--estr-gap);
}
.estr__item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  font-weight: var(--fw-semibold);
  line-height: var(--lh);
}
.estr__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue-2);
  color: var(--white);
  transition: transform 0.3s var(--ease);
}
.estr__ico--cyan { background: var(--cyan); }
.estr__ico svg { width: 34px; height: 34px; }
.estr__btn { margin-top: var(--estr-gap); }

/* Fotos estilo polaroide (Figma 92:1815). Legenda na fonte do site, como no ar. */
.estr__fotos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--estr-foto-gap);
}
.estr-foto figure {
  height: 100%;
  padding: var(--estr-foto-pad) var(--estr-foto-pad) 0;
  border-radius: var(--estr-foto-r);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.estr-foto img {
  width: 100%;
  height: auto;
  aspect-ratio: 285 / 260;
  border-radius: var(--estr-foto-img-r);
  object-fit: cover;
}
.estr-foto figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--estr-cap-h);
  padding: 2px 4px;
  font-size: var(--estr-cap-fs);
  font-weight: var(--fw-medium);
  line-height: 1.15;
  text-align: center;
  color: var(--navy-deep);
}

@media (hover: hover) {
  .estr__item:hover .estr__ico { transform: scale(1.1) rotate(-6deg); }
  .estr-foto:hover figure { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.55); }
  .estr-foto:nth-child(even):hover figure { transform: translateY(-6px) rotate(1deg); }
}

/* Botão de seta no recorte (Figma "Map button" 92:1820): 22px acima e 8px abaixo da linha clara */
.estr__seta {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(var(--estr-overlap) - 8px);
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.estr__seta svg { width: 30px; height: 30px; fill: var(--white); }
@media (hover: hover) {
  .estr__seta:hover { transform: translateY(3px); background: var(--yellow); }
}

/* A mão (176px) só cabe na margem lateral a partir de ~1600px; abaixo disso cobriria o texto */
@media (max-width: 1599px) {
  .estr__mao { display: none; }
}

/* Tablet e celular: fotos em cima, texto embaixo (Figma mobile 92:2872) */
@media (max-width: 1023px) {
  .estr { border-radius: 0; }
  .estr__inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .estr__fotos { order: -1; width: 100%; max-width: 630px; }
  .estr__mao,
  .estr__digital { display: none; }
}
@media (max-width: 767px) {
  .estr::before { inset: 0; }
  .estr-foto figcaption { padding-inline: 1px; }
}

/* ==========================================================================
   Depoimentos (Figma 69:1252 / mobile 92:2879; fundo branco com o recorte 92:1820).
   No site no ar são cards de texto em carrossel (o Figma tinha só placeholders de imagem).
   ========================================================================== */

:root {
  --depo-overlap: 55px;        /* Figma: o fundo branco começa 55px antes do fim da faixa azul da Estrutura */
  --depo-pad-top: 80px;
  --depo-pad-bottom: 80px;
  --depo-title: #0b1b33;
  --depo-gap: 18px;            /* Figma: espaço entre os cards */
  --depo-per-view: 3;
  --depo-card-h: 345px;        /* Figma: altura dos cards */
  --depo-card-bg: var(--page);
  --depo-notch: 22.5px;        /* raio do recorte no topo (Figma: círculo de 45px) */
}
@media (max-width: 1023px) {
  :root { --depo-per-view: 2; }
}
@media (max-width: 767px) {
  :root {
    --depo-overlap: 61px;      /* Figma mobile */
    --depo-pad-top: 61px;
    --depo-pad-bottom: 120px;
    --depo-per-view: 1;
  }
}

.depo {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--depo-overlap));
  padding: var(--depo-pad-top) 0 var(--depo-pad-bottom);
  background: var(--white);
  /* recorte semicircular no topo, onde fica o botão de seta da seção anterior */
  -webkit-mask: radial-gradient(circle var(--depo-notch) at 50% 0, transparent calc(var(--depo-notch) - 0.5px), #000 var(--depo-notch));
  mask: radial-gradient(circle var(--depo-notch) at 50% 0, transparent calc(var(--depo-notch) - 0.5px), #000 var(--depo-notch));
}
.depo__defs { position: absolute; overflow: hidden; }

.depo__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.depo__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  line-height: var(--lh);
  color: var(--depo-title);
}

/* Carrossel */
.depo__carousel { margin-top: 40px; }
.depo__track {
  display: flex;
  gap: var(--depo-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding-block: 8px 20px;     /* respiro para a sombra do hover */
  margin-block: -8px -20px;
}
.depo__track::-webkit-scrollbar { display: none; }
.depo__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 11px; }

.depo__item {
  flex: 0 0 calc((100% - (var(--depo-per-view) - 1) * var(--depo-gap)) / var(--depo-per-view));
  scroll-snap-align: start;
  display: flex;
}
.depo__card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: var(--depo-card-h);
  padding: 32px;
  border-radius: 11px;
  background: var(--depo-card-bg);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.depo__who { display: flex; align-items: center; gap: 14px; }
.depo__avatar { flex: none; width: 44px; height: 44px; }
.depo__meta { display: flex; flex-direction: column; gap: 8px; }
.depo__role {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: var(--text);
  text-box: trim-both cap alphabetic;
}

/* Estrelas com nota fracionada (--nota de 0 a 5): contorno dourado claro + preenchimento recortado */
.depo__stars { position: relative; display: block; width: 78px; height: 14px; color: rgba(214, 149, 43, 0.3); }
.depo__stars svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; }
.depo__stars .depo__stars-fill {
  color: var(--gold);
  clip-path: inset(0 calc(100% - var(--nota) / 5 * 100%) 0 0);
}

.depo__quote p {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--navy);
  text-box: none;
}

/* Setas (Figma 10:839 / 10:838: círculos dourados de 44px) e pontos */
.depo__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.depo__nav {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.depo__nav svg { width: 44px; height: 44px; }
.depo__nav--prev svg { transform: scaleX(-1); }
.depo__dots { display: flex; align-items: center; gap: 8px; }
.depo__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(32, 44, 79, 0.2);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.depo__dot[aria-current="true"] { width: 24px; background: var(--gold); }
/* área de toque de 24px sem mudar o desenho */
.depo__dot { position: relative; }
.depo__dot::after { content: ""; position: absolute; inset: -8px -4px; }

@media (hover: hover) {
  .depo__card:hover { background: var(--white); box-shadow: 0 18px 40px -22px rgba(11, 27, 51, 0.45); transform: translateY(-4px); }
  .depo__nav:hover { background: var(--blue-2); }
  .depo__nav--next:hover { transform: translateX(2px); }
  .depo__nav--prev:hover { transform: translateX(-2px); }
  .depo__dot:not([aria-current="true"]):hover { background: rgba(32, 44, 79, 0.45); }
}

@media (max-width: 767px) {
  .depo__eyebrow { font-size: 12px; letter-spacing: 1.44px; }     /* Figma mobile 92:2881 */
  .depo__title { font-size: 30px; font-weight: var(--fw-bold); }  /* Figma mobile 92:2882 */
  .depo__carousel { margin-top: 36px; }                            /* Figma mobile 92:2893 */
  .depo__controls { margin-top: 20px; }
  .depo__card { padding: 28px 24px; }
  .depo__quote p { font-size: 17px; }
}

/* ==========================================================================
   Contato (Figma 92:1789 / mobile 92:2894). Layout do site no ar: mapa à esquerda e,
   no painel azul, textos + formulário (o envio abre o WhatsApp). Estilo do card pelo Figma.
   ========================================================================== */

:root {
  --contato-map-w: 446px;      /* site no ar (o Figma, sem formulário, tinha 593px) */
  --contato-pad: 80px;
  --contato-grad: linear-gradient(147.95deg, #003c8c 18.526%, #202c4f 71.075%);
  --contato-shadow:
    -147px 240px 79px 0 rgba(42, 53, 84, 0),
    -94px 154px 72px 0 rgba(42, 53, 84, 0.01),
    -53px 86px 61px 0 rgba(42, 53, 84, 0.03),
    -23px 38px 45px 0 rgba(42, 53, 84, 0.04),
    -6px 10px 25px 0 rgba(42, 53, 84, 0.05);
  --contato-text: rgba(255, 255, 255, 0.75);
  --contato-field-h: 48px;
  --contato-field-border: #69727d;
  --contato-erro: #ffc2b8;
}
.contato {
  position: relative;
  padding-bottom: 80px;        /* Figma: 80px até o FAQ */
  background: linear-gradient(var(--white), var(--page));
  overflow-x: clip;
}

/* Mão dourada à direita (Figma 92:1786: x 1547, 400px abaixo do topo do card, 756px, 85%) */
.contato__mao {
  position: absolute;
  top: 400px;
  left: calc(50% + 587px);
  width: 756px;
  height: auto;
  max-width: none;
  z-index: 1;                   /* passa por cima do fundo do FAQ, como no Figma; o card (mesmo z-index, depois no HTML) fica na frente */
  opacity: 0.85;
  pointer-events: none;
}

.contato__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--contato-map-w) 1fr;
  overflow: hidden;
  border: 1px solid rgba(32, 44, 79, 0.35);
  border-radius: 22px;
  background: var(--contato-grad);
  box-shadow: var(--contato-shadow);
}

.contato__mapa {
  position: relative;
  min-height: 300px;
  border-right: 4px solid var(--gold);
  background: #e5e3df;          /* cor do mapa enquanto carrega */
}
.contato__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contato__painel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: var(--contato-pad);
}
/* Digital ciano decorativa (Figma 92:1791: girada 15°, opacidade 0,38 × 0,28) */
.contato__digital {
  position: absolute;
  z-index: -1;
  top: -63px;
  left: 318px;
  width: 564px;
  height: auto;
  max-width: none;
  opacity: 0.106;
  transform: rotate(15deg);
  pointer-events: none;
}

.contato__head { display: flex; flex-direction: column; gap: 24px; }
.contato__eyebrow { font-size: 14px; letter-spacing: 1.68px; }   /* Figma 83:1324 */
.contato__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh);
  color: var(--white);
}

.contato__texto {
  display: flex;
  flex-direction: column;
  gap: 32px;                    /* Figma: uma linha em branco entre os parágrafos */
  font-size: var(--fs-lead);
  color: var(--contato-text);
}
.contato__chamada { font-weight: var(--fw-bold); color: var(--gold); }

/* Formulário (site no ar): nome inteiro; WhatsApp + email; aluno + etapa */
.contato__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}
.contato__campo { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.contato__campo--full,
.contato__enviar,
.contato__nota,
.contato__status { grid-column: 1 / -1; }

.contato__campo label {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: var(--white);
  text-box: trim-both cap alphabetic;
}
.contato__campo input,
.contato__campo select {
  width: 100%;
  height: var(--contato-field-h);
  padding: 0 16px;
  border: 1px solid var(--contato-field-border);
  border-radius: 9px;
  background-color: var(--white);
  font-size: var(--fs-body);
  color: var(--navy-deep);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contato__campo input::placeholder { color: #7d8597; opacity: 1; }
.contato__campo select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23202c4f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.contato__campo select:invalid { color: #7d8597; }
.contato__campo select option { color: var(--navy-deep); }
.contato__campo input:focus-visible,
.contato__campo select:focus-visible {
  outline: 2px solid var(--cyan-2);
  outline-offset: 2px;
  border-color: var(--cyan);
}
.contato__campo [aria-invalid="true"] { border-color: var(--contato-erro); box-shadow: 0 0 0 2px var(--contato-erro); }
.contato__erro {
  font-size: 13px;
  line-height: 1.3;
  color: var(--contato-erro);
  text-box: none;
}
.contato__erro:empty { display: none; }

.contato__enviar {
  height: 55px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: var(--grad-cyan);
  background-size: 160% 100%;
  background-position: 0 0;
  font-size: 16px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background-position 0.45s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contato__nota {
  font-size: 14px;
  font-style: italic;
  text-align: center;
  color: var(--contato-text);
}
.contato__status { font-size: 14px; font-weight: var(--fw-semibold); text-align: center; color: var(--cyan-2); }
.contato__status:empty { display: none; }

@media (hover: hover) {
  .contato__campo input:hover,
  .contato__campo select:hover { border-color: var(--cyan); }
  .contato__enviar:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(67, 199, 222, 0.9); }
}

/* Notebooks: menos respiro no painel */
@media (max-width: 1279px) {
  :root { --contato-map-w: 35%; --contato-pad: 56px; }
  .contato__mao { display: none; }
}

/* Tablets e celulares: mapa em cima, painel embaixo */
@media (max-width: 1023px) {
  :root { --contato-pad: 60px 40px; }
  .contato__card { grid-template-columns: 1fr; }
  .contato__mapa { height: 320px; min-height: 0; border-right: 0; border-bottom: 4px solid var(--gold); }
}
@media (max-width: 767px) {
  :root { --contato-pad: 60px 19px; }        /* 20px do Figma menos a borda de 1px do card */
  .contato > .container { padding-inline: 18px; }   /* Figma mobile: card de 384px */
  .contato__mapa { height: 283px; }                 /* Figma mobile 92:2895 */
  .contato__painel { gap: 32px; }                   /* Figma mobile */
  .contato__title { font-size: 28px; }              /* Figma mobile 92:2899 */
  .contato__texto { font-size: var(--fs-body); gap: 28px; }
  .contato__form { grid-template-columns: 1fr; }
  .contato__digital { left: 60px; }
}

/* ==========================================================================
   FAQ (Figma 19:2 desktop / 92:2915 mobile). Perguntas e respostas do site no ar.
   Fundo: grade de bolinhas do Figma (92:1819, shader "Pattern grid" estático) em CSS.
   ========================================================================== */

:root {
  --faq-ink: #0b1b33;
  --faq-muted: rgba(11, 27, 51, 0.75);
  --faq-line: rgba(152, 152, 152, 0.21);
  --faq-pad-top: 80px;
  --faq-pad-bottom: 109px;
  --faq-item-pad: 31px;              /* Figma 32px com a borda por dentro (1px) */
}
@media (max-width: 767px) {
  :root {
    --faq-pad-top: 60px;
    --faq-pad-bottom: 80px;
    --faq-item-pad: 23px 19px;
  }
}

.faq {
  position: relative;
  isolation: isolate;
  padding: var(--faq-pad-top) 0 var(--faq-pad-bottom);
  background: var(--page);
}
.faq::before,
.faq::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.faq::before {                        /* bolinhas de 13,6px a cada 20px, cor #f6f6f5 sobre branco, camada a 61% */
  background: radial-gradient(circle, #f6f6f5 6.8px, transparent 7.3px) 0 0 / 20px 20px, var(--white);
  opacity: 0.61;
}
.faq::after {                         /* como no render do Figma: liso no topo, bolinhas aparecendo embaixo */
  background: linear-gradient(180deg, var(--page) 0%, rgba(248, 250, 252, 0) 100%);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.faq__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1064px;
}
.faq__eyebrow { font-size: 14px; letter-spacing: 1.68px; text-box: trim-both cap alphabetic; }
.faq__title {
  font-size: 40px;
  font-weight: var(--fw-bold);
  line-height: var(--lh);
  color: var(--faq-ink);
}
.faq__intro {
  max-width: 716px;
  font-size: 20px;
  color: var(--faq-muted);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1064px;
  text-align: left;
}

.faq__item {
  border: 1px solid var(--faq-line);
  border-radius: 14px;
  background: var(--white);
  interpolate-size: allow-keywords;   /* abre e fecha com animação onde o navegador suporta */
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: var(--faq-item-pad);
  list-style: none;
  cursor: pointer;
  border-radius: 14px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__q {
  font-size: 20px;
  font-weight: var(--fw-semibold);
  line-height: var(--lh);
  color: var(--faq-muted);
  transition: color 0.25s var(--ease);
}

/* "+" do Figma (8,7 × 8,9, traço de 1,6px); aberto vira "−" */
.faq__icon {
  position: relative;
  flex: none;
  width: 8.7px;
  height: 8.9px;
  color: var(--faq-muted);
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq__icon::before { left: 0; right: 0; top: 3.68px; height: 1.54px; }
.faq__icon::after { top: 0; bottom: 0; left: 3.55px; width: 1.6px; transition: transform 0.3s var(--ease); }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }

.faq__answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 31px 32px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--faq-muted);
}
.faq__answer p { text-box: none; }
.faq__answer strong { font-weight: var(--fw-semibold); color: var(--faq-ink); }
.faq__answer a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

@media (hover: hover) {
  .faq__item:hover { border-color: rgba(214, 149, 43, 0.45); box-shadow: 0 16px 32px -24px rgba(11, 27, 51, 0.35); }
  .faq__question:hover .faq__q { color: var(--faq-ink); }
  .faq__question:hover .faq__icon { color: var(--gold); }
  .faq__item:not([open]) .faq__question:hover .faq__icon { transform: rotate(90deg); }
  .faq__answer a:hover { color: var(--gold); }
}

@media (max-width: 1023px) {
  .faq__title-line { display: block; }   /* uma frase por linha (Figma mobile) */
}

@media (max-width: 767px) {
  .faq__inner { gap: 36px; }
  .faq__head { max-width: none; }
  .faq__eyebrow { font-size: 12px; letter-spacing: 1.44px; }
  .faq__title { font-size: 32px; }
  .faq__intro { font-size: 16px; }
  .faq__list { gap: 16px; }
  .faq__q { font-size: 18px; }
  .faq__answer { padding: 0 19px 24px; font-size: 16px; }
}

/* ==========================================================================
   Página 404 e Política de Privacidade (não existem no Figma; seguem os tokens)
   ========================================================================== */

.not-found { background: var(--navy); color: var(--white); }
.not-found .title { color: var(--white); }
.not-found .lead { color: rgba(255, 255, 255, 0.8); }
.not-found__inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.policy { background: var(--page); }
.policy__header { background: var(--white); border-bottom: 1px solid rgba(32, 44, 79, 0.12); }
.policy__bar { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.policy__back { font-weight: var(--fw-semibold); color: var(--navy); }
.policy__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: calc(860px + 2 * var(--gutter));
  padding-block: var(--section-y);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--navy);
}
.policy__content p,
.policy__content li { text-box: none; }
.policy__content h2 { margin-top: 24px; font-family: var(--font); font-size: 22px; text-box: none; }
.policy__content ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; list-style: disc; }
.policy__content a,
.policy__link { color: var(--navy); text-decoration: underline; }
.policy__link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.policy__updated { font-size: 14px; color: var(--text); }
.policy__table { overflow-x: auto; }
.policy__table table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.policy__table th,
.policy__table td { padding: 10px 12px; border: 1px solid rgba(32, 44, 79, 0.12); text-align: left; }
@media (hover: hover) {
  .policy__back:hover { color: var(--gold); }
}


/* ==========================================================================
   Aviso de cookies (LGPD) — não existe no Figma; segue os tokens do site
   ========================================================================== */

.consent {
  position: fixed;
  z-index: 60;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__box {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 860px;
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 50px -20px rgba(0, 20, 50, 0.45), 0 0 0 1px rgba(32, 44, 79, 0.12);
  color: var(--text);
}
.consent__title { font-size: 18px; font-weight: 700; color: var(--navy); }
.consent__text { font-size: 14px; line-height: 1.5; text-box: none; }
.consent__text a { color: var(--navy); text-decoration: underline; }
.consent__prefs { display: flex; flex-direction: column; gap: 10px; }
.consent__prefs[hidden] { display: none; }
.consent__opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.consent__opt input { margin-top: 2px; accent-color: var(--navy); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.consent__btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.consent__btn[hidden] { display: none; }
.consent__btn--primary { border-color: transparent; background: var(--grad-cyan); color: var(--white); }
.consent__btn--link {
  border-color: transparent;
  padding-inline: 4px;
  font-weight: 600;
  text-decoration: underline;
  text-transform: none;
}

@media (hover: hover) {
  .consent__btn:hover { background: var(--navy); color: var(--white); }
  .consent__btn--primary:hover { background: var(--cyan); color: var(--white); }
  .consent__btn--link:hover { background: none; color: var(--navy); text-decoration-thickness: 2px; }
}

/* ==========================================================================
   Rodapé (Figma 92:2187 desktop / 92:2938 mobile) + botão flutuante do WhatsApp (site no ar)
   ========================================================================== */

:root {
  --footer-bg: #0b1b33;
  --footer-bar: #081427;
  --footer-text: rgba(251, 249, 251, 0.7);   /* Figma: #fbf9fb com opacidade 70% */
  --footer-wa: #4d8c00;                      /* site no ar */
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer__cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 40px;                  /* em 1920 sobra espaço; em notebooks evita colunas encostadas */
  padding-block: 80px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 305px;
}
.footer__logo img { width: 197px; height: 95px; }
.footer__text { font-size: 18px; }

.footer__social { display: flex; gap: 11px; }
.footer__social a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--white);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__social-icon { width: 40px; height: 40px; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer__col--nav { width: 325px; }
.footer__col--contact { width: 379px; }
.footer__title {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 18px;
}
.footer__links a { display: block; text-box: trim-both cap alphabetic; transition: color 0.25s var(--ease), transform 0.25s var(--ease); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: color 0.25s var(--ease);
}
.footer__contact-item span { text-box: trim-both cap alphabetic; }
.footer__contact-icon { flex: none; color: var(--white); }
.footer__contact-icon--phone { width: 19.9px; height: 20px; }
.footer__contact-icon--mail { width: 20px; height: 16px; }
.footer__contact-icon--pin { width: 16px; height: 20px; }

/* Barra inferior (Figma: 90px, #081427) */
.footer__bar { background: var(--footer-bar); }
.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 37.5px 27.5px;
  font-size: 14px;
  color: var(--white);
}
.copyright__text,
.copyright__dev span { text-box: trim-both cap alphabetic; }
.copyright__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.copyright__links a,
.copyright__links button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.copyright__dev {
  display: flex;
  flex: none;
  align-items: center;
  gap: 20px;
}
.copyright__dev img { width: 59px; height: 25px; transition: transform 0.3s var(--ease); }

/* Botão flutuante do WhatsApp (sobe acima do aviso de cookies enquanto ele estiver aberto) */
.wa-float {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  translate: 0 calc(-1 * var(--consent-h, 0px) - min(var(--consent-h, 0px), 12px));   /* sobe acima do aviso de cookies (+12px de respiro) sem deslocar o layout (CLS) */
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--footer-wa);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), translate 0.3s var(--ease);
}
.wa-float__icon { width: 30px; height: 30px; }

@media (hover: hover) {
  .footer__social a:hover { background: var(--white); color: var(--gold); transform: translateY(-2px); }
  .footer__links a:hover { color: var(--gold); transform: translateX(3px); }
  .footer__contact-item:is(a):hover { color: var(--gold); }
  .copyright__links a:hover,
  .copyright__links button:hover { color: var(--gold); }
  .copyright__dev:hover img { transform: translateY(-2px); }
  .wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 30px -10px rgba(77, 140, 0, 0.7); }
}

/* Notebooks: barra inferior quebra centralizada */
/* Até 1439px a barra encosta na borda: reserva o canto do botão flutuante do WhatsApp */
@media (min-width: 768px) and (max-width: 1439px) {
  .copyright { padding-right: calc(var(--gutter) + 64px); }
}

@media (max-width: 1279px) {
  .copyright { flex-wrap: wrap; justify-content: center; text-align: center; padding-block: 32px; }
}

/* Tablet: marca em cima, navegação e contato lado a lado */
@media (max-width: 1023px) {
  .footer__cols { flex-wrap: wrap; gap: 60px 48px; justify-content: flex-start; }
  .footer__brand { width: 100%; }
  .footer__col--nav,
  .footer__col--contact { width: auto; flex: 1 1 260px; }
}

/* Celular (Figma 92:2938): colunas empilhadas, barra centralizada */
@media (max-width: 767px) {
  .footer__cols { flex-direction: column; flex-wrap: nowrap; gap: 60px; }
  .footer__col--nav,
  .footer__col--contact { flex: none; width: 100%; }
  .copyright { flex-direction: column; gap: 22px; padding-block: 40px; }
  .wa-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .wa-float__icon { width: 26px; height: 26px; }
}
