/* ==========================================================================
   MOVAE · A Casa da Marca Pessoal
   Folha de estilos principal
   --------------------------------------------------------------------------
   Layout: faixas de largura total (navy / branco / névoa) com conteúdo
   centralizado em 1240px; grids auto-fit que viram 1 coluna no celular.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonte oficial · Aptos
   Pesos usados: 300 Light · 400 Regular · 600 SemiBold · 700 Bold
   O navegador tenta primeiro a Aptos instalada no computador (local) e,
   em seguida, os arquivos .woff2 em assets/fonts/ (ver README de fontes).
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Aptos";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("Aptos Light"), local("Aptos-Light"),
       url("../fonts/Aptos-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Aptos";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Aptos"), local("Aptos-Regular"),
       url("../fonts/Aptos-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Aptos";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Aptos SemiBold"), local("Aptos-SemiBold"),
       url("../fonts/Aptos-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Aptos";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Aptos Bold"), local("Aptos-Bold"),
       url("../fonts/Aptos-Bold.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Cores da marca */
  --navy: #1E1C59;
  --navy-hover: #3B3990;
  --accent: #DDEB7E;          /* verde-limão MOVAE */
  --white: #FFFFFF;
  --mist: #F4F4F8;            /* fundo de seções alternadas */

  /* Texto */
  --ink: var(--navy);
  --ink-soft: #4A4878;        /* parágrafos em fundo claro */
  --violet: #5C5A9C;          /* eyebrows e legendas */
  --lavender: #8E8CC0;        /* numeração */
  --on-navy: #D9D8EC;         /* parágrafos em fundo navy */
  --on-navy-muted: #C4C3E0;
  --footer-muted: #B5B4D6;

  /* Linhas */
  --line: #E4E3EE;
  --line-strong: #D9D8E8;
  --line-dashed: #B9B7D6;
  --ph-line: #C9C8DE;
  --ph-text: #6E6C9A;
  --line-on-navy: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.14);

  /* Tipografia */
  --font: "Aptos", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Escala tipográfica */
  --fs-display: clamp(44px, 6vw, 84px);
  --fs-h2: clamp(34px, 4vw, 52px);
  --fs-h2-sm: clamp(30px, 3.5vw, 44px);
  --fs-lead: 20px;
  --fs-intro: 18px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-eyebrow: 14px;

  /* Espaçamento e forma */
  --gutter: max(16px, 5%);
  --section-y: 112px;
  --container: 1240px;
  --container-narrow: 960px;
  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 18px;
  --r-xs: 12px;
  --pill: 999px;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: var(--fw-bold); }
p { text-wrap: pretty; }
strong, b { font-weight: var(--fw-bold); }

a { color: var(--navy); }
a:hover { color: var(--navy-hover); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-light :focus-visible, .section--white :focus-visible, .section--mist :focus-visible {
  outline-color: var(--navy-hover);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--navy);
  padding: 10px 16px; border-radius: var(--pill);
  font-weight: var(--fw-semibold); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
  padding-inline: var(--gutter);
}
.section--white { background: var(--white); }
.section--mist  { background: var(--mist); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--tight { padding-block: 96px var(--section-y); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.container--narrow { max-width: var(--container-narrow); }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-56 { gap: 56px; }

.stack { display: flex; flex-direction: column; gap: var(--stack, 16px); min-width: 0; }

/* Grid responsivo: defina a largura mínima da coluna com --min */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr));
  gap: var(--gap, 20px);
}
.grid > * { min-width: 0; }

/* Duas colunas (texto + mídia / texto + formulário) */
.split {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 440px)), 1fr));
  gap: var(--gap, 56px);
  align-items: var(--align, center);
}
.split > * { min-width: 0; }

/* Cabeçalho de seção: título à esquerda, texto de apoio à direita */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section-head__title { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.section-head__text { max-width: 460px; }
.section-head--stacked { flex-direction: column; align-items: flex-start; }
.section-head--stacked .section-head__title { max-width: 760px; }

/* --------------------------------------------------------------------------
   5. Tipografia
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--muted { color: var(--on-navy-muted); }
.eyebrow--sm { font-size: 13px; letter-spacing: 0.12em; }

.display {
  font-size: var(--fs-display);
  line-height: 0.98;
  font-weight: var(--fw-bold);
  letter-spacing: -0.025em;
}
.display--xl { font-size: clamp(56px, 8vw, 120px); line-height: 0.92; letter-spacing: -0.035em; }
.display--md { font-size: clamp(42px, 5.5vw, 76px); line-height: 1.02; }

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.05;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}
.h2--lg { font-size: clamp(40px, 5vw, 68px); line-height: 1; }
.h2--sm { font-size: var(--fs-h2-sm); line-height: 1.1; }

.h3 { font-size: 30px; line-height: 1.15; font-weight: var(--fw-bold); letter-spacing: -0.01em; }
.h3--md { font-size: 26px; }
.h3--sm { font-size: 22px; }
.h4 { font-size: 20px; line-height: 1.25; font-weight: var(--fw-bold); }
.h4--sm { font-size: 19px; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  font-weight: var(--fw-light);
  color: var(--on-navy);
  max-width: 560px;
}
.intro {
  font-size: var(--fs-intro);
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--ink-soft);
}
.section--navy .intro { color: var(--on-navy); }

.body { font-size: var(--fs-body); line-height: 1.6; color: var(--ink-soft); }
.body--lg { font-size: 18px; line-height: 1.7; }
.small { font-size: var(--fs-small); line-height: 1.55; color: var(--ink-soft); }
.muted-on-navy { color: var(--on-navy); }
.text-accent { color: var(--accent); }
.text-violet { color: var(--violet); }
.text-ink { color: var(--ink); }
.semibold { font-weight: var(--fw-semibold); }

.statement {
  font-size: 20px;
  line-height: 1.45;
  font-weight: var(--fw-semibold);
}

/* --------------------------------------------------------------------------
   6. Botões e links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { font-size: 14px; padding: 12px 20px; }
.btn--md { font-size: 15px; padding: 14px 22px; }

.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: #E8F29E; color: var(--navy); }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--mist); color: var(--navy); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-hover); color: var(--white); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--hero { padding-top: 8px; }

.text-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: var(--fw-bold);
  padding: 6px 0;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   7. Etiquetas (pills)
   -------------------------------------------------------------------------- */
.tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 6px 12px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
}
.tag--accent { background: var(--accent); color: var(--navy); }
.tag--outline { border-color: var(--navy); color: var(--navy); padding: 5px 12px; }
.tag--outline-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); padding: 4px 12px; }
.tag--plain { text-transform: none; letter-spacing: 0; }
.tag--soft-light {
  background: rgba(255, 255, 255, 0.1); color: var(--white);
  font-size: 13px; font-weight: var(--fw-regular);
  text-transform: none; letter-spacing: 0; padding: 6px 12px;
}
.tag--sm { padding: 3px 10px; }
.tag--lg { font-size: 14px; text-transform: none; letter-spacing: 0; padding: 6px 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: var(--stack, 14px);
  min-width: 0;
}
.card--mist { background: var(--mist); }
.card--white { background: var(--white); }
.card--navy { background: var(--navy); color: var(--white); }
.card--navy .body, .card--navy .small, .card--navy p.muted { color: var(--on-navy); }
.card--outline { border: 1.5px solid var(--line); }
.card--dashed { background: var(--white); border: 2px dashed var(--line-dashed); }
.card--glass { background: var(--glass); border: 1px solid var(--glass-line); }
.card--line-light { border: 1px solid var(--line-on-navy); }
.card--accent-soft { background: rgba(221, 235, 126, 0.12); border: 1px solid var(--accent); }

.card--lg { padding: 40px; border-radius: var(--r-xl); }
.card--md { padding: 28px; border-radius: var(--r-md); }
.card--sm { padding: 24px; border-radius: var(--r-md); }
.card--row { flex-direction: row; align-items: baseline; gap: 16px; padding: 22px 24px; border-radius: var(--r-sm); }

.card-media { overflow: hidden; padding: 0; gap: 0; }
.card-media__body { padding: 36px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-media__subtitle { margin-top: -8px; font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--violet); }

/* Listas com linhas divisórias */
.line-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.line-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.line-list--light li { border-top-color: var(--line-on-navy); }
.line-list--roomy li { padding: 14px 0; }
.line-list small { display: block; font-size: 14px; color: var(--violet); }

.bullet-list { padding-left: 20px; font-size: 16px; line-height: 1.8; color: var(--ink-soft); }

/* Números de sequência */
.num { font-weight: var(--fw-bold); color: var(--lavender); font-size: 15px; font-variant-numeric: tabular-nums; }
.num--accent { color: var(--accent); }
.num-item { display: flex; gap: 14px; align-items: baseline; font-size: 18px; line-height: 1.45; }
.num-item--sm { font-size: 16px; }

.circle-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: var(--fw-bold);
  background: var(--navy); color: var(--accent);
  flex: none;
}
.circle-num--accent { background: var(--accent); color: var(--navy); }
.circle-num--sm { width: 28px; height: 28px; font-size: 14px; }

/* --------------------------------------------------------------------------
   9. Mídia (fotos)
   Para trocar um espaço reservado por foto, substitua o <div class="media
   media--placeholder"> por <img class="media" src="..." alt="...">.
   A altura vem de --h (ou --ratio para proporção).
   -------------------------------------------------------------------------- */
.media {
  width: 100%;
  max-width: 100%;
  height: var(--h, auto);
  aspect-ratio: var(--ratio, auto);
  border-radius: var(--r-xl);
  object-fit: cover;
}
.media--placeholder {
  display: flex; align-items: center; justify-content: center;
  padding: 32px; text-align: center;
  font-size: 15px; line-height: 1.5;
  background: var(--mist);
  border: 2px dashed var(--ph-line);
  color: var(--ph-text);
}
.media--placeholder.on-white { background: var(--white); }
.media--placeholder-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(221, 235, 126, 0.55);
  color: var(--on-navy);
}
.media--card {
  border-radius: 0;
  border-width: 0 0 2px 0;
  font-size: 14px;
}
.media--team { --ratio: 4 / 5; border-radius: 22px; font-size: 14px; }

/* --------------------------------------------------------------------------
   10. Cabeçalho / navegação
   -------------------------------------------------------------------------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60;
  background: var(--navy);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  padding-block: 20px;
  padding-inline: var(--gutter);
  transition: padding .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { padding-block: 12px; box-shadow: 0 8px 24px rgba(15, 14, 50, 0.25); }

.nav {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none;
}
.brand:hover { color: var(--white); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__logo { display: block; height: 52px; width: auto; }
.brand__logo--footer { height: 92px; }
@media (max-width: 720px) { .brand__logo { height: 44px; } .brand__logo--footer { height: 64px; } }
.brand__name { font-weight: var(--fw-bold); font-size: 22px; letter-spacing: 0.06em; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--pill);
  padding: 6px;
  list-style: none;
  margin: 0;
}
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: var(--fw-regular);
  padding: 8px 16px;
  border-radius: var(--pill);
  background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.nav__link:hover { color: var(--accent); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--accent); font-weight: var(--fw-semibold); }
.nav__chevron { width: 10px; height: 10px; transition: transform .2s ease; }

.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, -4px);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 8px;
  list-style: none; margin: 0;
  box-shadow: 0 18px 40px rgba(15, 14, 50, 0.22);
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__dropdown::before { /* ponte de hover */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__item.is-open .nav__dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav__item:hover .nav__chevron, .nav__item.is-open .nav__chevron { transform: rotate(180deg); }
.nav__dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px; border-radius: var(--r-xs);
  color: var(--navy); text-decoration: none;
  font-size: 15px; font-weight: var(--fw-semibold);
}
.nav__dropdown a span { font-size: 13px; font-weight: var(--fw-regular); color: var(--ink-soft); }
.nav__dropdown a:hover, .nav__dropdown a[aria-current="page"] { background: var(--mist); }

.nav__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: none; color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav-open .nav__toggle .icon-open { display: none; }
.nav-open .nav__toggle .icon-close { display: block; }

.mobile-panel { display: none; }

@media (max-width: 1020px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__toggle { display: inline-flex; }

  .mobile-panel {
    display: block;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-open .mobile-panel { max-height: 80vh; overflow-y: auto; }
  .mobile-panel__inner {
    max-width: var(--container); margin-inline: auto;
    padding-top: 20px; display: flex; flex-direction: column; gap: 6px;
  }
  .mobile-panel a.mobile-link {
    color: var(--white); text-decoration: none;
    font-size: 20px; font-weight: var(--fw-semibold);
    padding: 12px 0; border-bottom: 1px solid var(--line-on-navy);
  }
  .mobile-panel a.mobile-link[aria-current="page"] { color: var(--accent); }
  .mobile-panel a.mobile-link--sub { font-size: 17px; font-weight: var(--fw-regular); padding-left: 16px; }
  .mobile-panel .btn-row { padding-top: 16px; padding-bottom: 8px; }
}

/* --------------------------------------------------------------------------
   11. Hero
   -------------------------------------------------------------------------- */
/* Hero que cabe na primeira tela (Home, no computador):
   ocupa a altura da janela menos o menu, e título, foto e espaços
   encolhem conforme a altura disponível. */
@media (min-width: 1080px) {
  .hero.hero--fit {
    --header-h: 92px;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(24px, 5.5vh, 72px) clamp(24px, 5vh, 72px);
  }
  .hero--fit > .split, .hero--fit > .hero__pillars { width: 100%; }
  .hero--fit .hero__copy { gap: clamp(14px, 2.8vh, 28px); }
  .hero--fit .display { font-size: clamp(48px, min(5.9vw, 11vh), 96px); }
  .hero--fit .lead { font-size: clamp(17px, 2.5vh, 20px); }
  .hero--fit .btn-row--hero { padding-top: 0; }
  .hero--fit .media--hero { --h: clamp(240px, 50vh, 480px) !important; }
  .hero--fit .hero__pillars { margin-top: clamp(36px, 7.5vh, 88px); }
  .hero--fit .pillar { padding-block: clamp(12px, 2.2vh, 22px); }
}
.hero { padding-block: 72px 96px; }
.hero--tall { padding-block: 88px 112px; }
.hero--mid { padding-block: 72px 104px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero__pillars {
  max-width: var(--container);
  margin: 64px auto 0;
  --min: 260px; --gap: 16px;
}
.pillar {
  background: var(--white); color: var(--navy);
  border-radius: var(--r-sm);
  padding: 22px 26px;
  display: flex; align-items: center; gap: 12px;
  font-size: 18px;
}
.pillar strong { font-weight: var(--fw-bold); }

/* Textura animada do hero (Home)
   Três camadas discretas: grade de pontos que desliza, dois brilhos
   suaves que flutuam e uma granulação leve. Tudo atrás do conteúdo. */
.hero--textured { position: relative; overflow: hidden; isolation: isolate; }
.hero--textured > .split,
.hero--textured > .hero__pillars { position: relative; z-index: 1; }

.hero__texture {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* some suavemente no topo para emendar com o menu */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px);
          mask-image: linear-gradient(to bottom, transparent 0, #000 160px);
}

/* Grade de pontos */
.hero__texture::before {
  content: "";
  position: absolute; inset: -60px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 40%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
          mask-image: radial-gradient(ellipse 75% 70% at 70% 40%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
  animation: texture-drift 40s linear infinite;
}

/* Granulação */
.hero__texture::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: soft-light;
}

/* Brilhos suaves */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.hero__glow--violet {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: 4%; right: -8%;
  background: radial-gradient(circle, rgba(92, 90, 156, 0.55), transparent 70%);
  animation: glow-float-a 22s ease-in-out infinite alternate;
}
.hero__glow--accent {
  width: 34vw; height: 34vw; max-width: 480px; max-height: 480px;
  bottom: -22%; left: -6%;
  background: radial-gradient(circle, rgba(221, 235, 126, 0.13), transparent 70%);
  animation: glow-float-b 28s ease-in-out infinite alternate;
}

@keyframes texture-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(26px, 52px, 0); }
}
@keyframes glow-float-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-6vw, 6vh, 0) scale(1.08); }
  100% { transform: translate3d(-12vw, 2vh, 0) scale(0.96); }
}
@keyframes glow-float-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8vw, -6vh, 0) scale(1.1); }
  100% { transform: translate3d(14vw, -2vh, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__texture::before, .hero__glow { animation: none; }
}
@media (max-width: 720px) {
  .hero__glow--violet { width: 90vw; height: 90vw; top: -10%; right: -30%; }
  .hero__glow--accent { width: 80vw; height: 80vw; bottom: -10%; left: -30%; }
}

/* --------------------------------------------------------------------------
   12. Componentes específicos
   -------------------------------------------------------------------------- */
/* Faixa de destaque */
.banner {
  background: var(--navy); color: var(--white);
  border-radius: var(--r-md);
  padding: 26px 32px;
}

/* Citação */
.quote {
  padding: 24px 28px;
  background: var(--mist);
  border-radius: var(--r-sm);
  font-size: 19px; line-height: 1.55;
  font-weight: var(--fw-semibold);
}
.quote--navy { background: var(--navy); color: var(--white); padding: 28px 30px; border-radius: 22px; font-size: 21px; line-height: 1.5; }

/* Números (prova social) */
.stats { --min: 260px; --gap: 24px 40px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__value {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__value sup { font-size: 0.5em; vertical-align: top; position: relative; top: 0.1em; font-weight: var(--fw-semibold); }
.stat__label { font-size: 17px; line-height: 1.4; color: var(--ink-soft); }

.proof-band {
  border-top: 1.5px solid var(--line-strong);
  border-bottom: 1.5px solid var(--line-strong);
  padding-block: 32px;
  display: flex; flex-direction: column; gap: 28px;
}
.proof-band__segments {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.segments-text {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  font-weight: var(--fw-light);
  letter-spacing: -0.01em;
}

/* Depoimentos */
.testimonial { gap: 22px; padding: 36px; }
.testimonial__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; overflow: hidden;
}
.testimonial__avatar svg { width: 28px; height: 28px; }
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial blockquote {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.45;
  font-weight: var(--fw-light);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.testimonial figcaption {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 28px;
  margin-top: auto;
}
.testimonial__name { font-size: 16px; color: var(--ink); }
.testimonial__role {
  font-size: 18px; line-height: 1.3;
  background: #CDCCF6;
  color: var(--ink);
  padding: 6px 24px;
  border-radius: 8px;
}

/* Links-porta (CTA grandes) */
.door-list { display: flex; flex-direction: column; gap: 14px; }
.door {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-decoration: none;
  border-radius: 22px;
  padding: 28px 30px;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.door:hover { transform: translateX(4px); }
.door__text { display: flex; flex-direction: column; gap: 6px; }
.door__title { font-size: 22px; font-weight: var(--fw-bold); }
.door__desc { font-size: 15px; }
.door__arrow { font-size: 26px; flex: none; }
.door--navy { background: var(--navy); color: var(--white); }
.door--navy:hover { color: var(--white); background: var(--navy-hover); }
.door--navy .door__desc { color: var(--on-navy); }
.door--navy .door__arrow { color: var(--accent); }
.door--mist { background: var(--mist); color: var(--navy); }
.door--mist:hover { color: var(--navy); background: #ECECF3; }
.door--mist .door__desc { color: var(--ink-soft); }
.door--outline { border: 1.5px solid var(--line); color: var(--navy); padding: 22px 30px; }
.door--outline:hover { color: var(--navy); border-color: var(--line-dashed); }
.door--outline .door__title { font-size: 18px; }
.door--outline .door__desc { font-size: 14px; color: var(--ink-soft); }
.door--outline .door__arrow { font-size: 22px; }

/* Convicções */
.convictions { list-style: none; padding: 0; display: flex; flex-direction: column; }
.conviction {
  display: flex; flex-wrap: wrap; gap: 16px 40px;
  padding-block: 32px;
  border-top: 1.5px solid var(--line);
}
.conviction:last-child { border-bottom: 1.5px solid var(--line); }
.conviction__num { flex: 0 0 56px; font-size: 20px; font-weight: var(--fw-bold); color: var(--lavender); }
.conviction__title {
  flex: 1 1 420px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}
.conviction__text { flex: 1 1 320px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.conviction__text strong { color: var(--ink); }

/* Time */
.team-card { display: flex; flex-direction: column; gap: 16px; }
.team-card__role { font-size: 14px; font-weight: var(--fw-bold); color: var(--accent); }
.team-card p.bio { font-size: 15px; line-height: 1.6; color: var(--on-navy); }

/* Logos */
.logo-slot {
  height: 72px; border: 2px dashed var(--ph-line); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ph-text); font-size: 14px;
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 22px 26px;
}
.faq--mist details { background: var(--mist); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 18px; font-weight: var(--fw-semibold);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDEB7E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   13. Formulários
   -------------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 22px; }
.form--card {
  background: var(--white); color: var(--navy);
  border-radius: var(--r-xl);
  padding: 36px;
}
.form--shadow { box-shadow: 0 24px 60px rgba(30, 28, 89, 0.08); }

.fieldset {
  margin: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  min-width: 0;
}
.fieldset legend { padding: 0 10px; font-size: 18px; font-weight: var(--fw-bold); }
.fieldset--bare { border: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fieldset--bare legend { padding: 0; font-size: 14px; margin-bottom: 10px; }
.full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: var(--fw-bold); min-width: 0; }
.field__hint { font-weight: var(--fw-regular); color: var(--violet); }
.input {
  font: inherit;
  font-size: 16px;
  font-weight: var(--fw-regular);
  padding: 14px 16px;
  border: 1.5px solid transparent;
  border-radius: var(--r-xs);
  background: var(--mist);
  color: var(--navy);
  width: 100%;
  transition: border-color .2s ease, background-color .2s ease;
}
.input::placeholder { color: #8583AE; }
.input:hover { border-color: var(--line); }
.input:focus { outline: none; border-color: var(--navy); background: var(--white); }
.input[aria-invalid="true"] { border-color: #C2410C; }
textarea.input { resize: vertical; min-height: 120px; }
select.input {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1C59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: var(--fw-regular);
  background: var(--mist);
  padding: 10px 14px; border-radius: var(--pill);
  cursor: pointer; border: 1.5px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.check-pill:has(input:checked) { border-color: var(--navy); background: var(--white); }
.choice {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; font-weight: var(--fw-regular); line-height: 1.45;
  background: var(--mist);
  padding: 14px; border-radius: var(--r-xs);
  cursor: pointer; border: 1.5px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.choice--center { align-items: center; padding: 12px 14px; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--white); }
.choice--plain { background: none; padding: 0; }
.choice--plain:has(input:checked) { background: none; border-color: transparent; }
.choice input, .check-pill input { accent-color: var(--navy); width: 18px; height: 18px; flex: none; margin: 2px 0 0; }

.form__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form__footer .btn { margin-left: auto; }
.form__status { font-size: 15px; line-height: 1.5; font-weight: var(--fw-semibold); color: var(--navy); }
.form__status:empty { display: none; }
.form__status.is-error { color: #B42318; }

/* --------------------------------------------------------------------------
   14. Rodapé
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
  padding-block: 64px 24px;
  padding-inline: var(--gutter);
}
/* Marca d'água: a onda "M" da logo, grande e em tom mais escuro do navy */
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 2%;
  top: 50%;
  width: min(720px, 50vw);
  aspect-ratio: 1449 / 678;
  transform: translateY(-50%);
  background: #16144A;
  -webkit-mask: url("../img/marca-dagua-m.png") center / contain no-repeat;
          mask: url("../img/marca-dagua-m.png") center / contain no-repeat;
  pointer-events: none;
}
.footer {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr auto;
  align-items: center;
  gap: 48px 56px;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__tagline { font-size: 17px; font-weight: var(--fw-light); color: var(--white); margin-top: -4px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 14px; }
.footer__nav a, .footer__contact > a {
  font-size: 20px;
  font-weight: var(--fw-light);
  line-height: 1.3;
}
.footer__nav a[aria-current="page"] { font-weight: var(--fw-bold); }
.footer__contact { gap: 12px; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.footer__actions .btn { min-width: 186px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:not(.btn):hover { color: var(--accent); }
.footer a[aria-current="page"] { color: var(--accent); }
.footer .btn--white, .footer .btn--white:hover { color: var(--navy); }
.footer .btn--accent, .footer .btn--accent:hover { color: var(--navy); }

/* Botão com ícone circular à direita */
.btn--icon { justify-content: space-between; gap: 20px; padding-right: 8px; }
.btn__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  transition: transform .2s ease;
}
.btn__icon svg { width: 18px; height: 18px; }
.btn--icon:hover .btn__icon { transform: translateX(3px); }
.btn--icon { padding-block: 9px; }

/* Ícones sociais */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.social__link {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--navy) !important;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, transform .2s ease;
}
.social__link svg { width: 22px; height: 22px; }
.social__link:hover { background: var(--accent); transform: translateY(-2px); }

.footer__copy {
  max-width: var(--container);
  margin: 40px auto 0;
  font-size: 13px;
  color: var(--footer-muted);
}

@media (max-width: 1080px) {
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer { padding-block: 52px 24px; }
  .site-footer::before { width: 110vw; right: -30%; top: auto; bottom: 0; transform: none; }
  .footer { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav a, .footer__contact > a { font-size: 18px; }
  .footer__actions .btn { flex: 1 1 100%; }
  .footer__copy { margin-top: 48px; }
}

/* --------------------------------------------------------------------------
   15. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  :root { --section-y: 80px; }
  .hero, .hero--mid { padding-block: 48px 72px; }
  .hero--tall { padding-block: 56px 80px; }
  .card { padding: 26px; }
  .card--lg { padding: 28px; }
  .card-media__body { padding: 26px; }
  .form--card { padding: 24px; }
  .fieldset { padding: 22px; }
  .door { padding: 22px 22px; }
  .banner { padding: 22px 24px; }
  .lead { font-size: 18px; }
  .h3 { font-size: 26px; }
  .media--hero { --h: 320px !important; }
  .media--portrait { --h: 420px !important; }
  .form__footer .btn { width: 100%; }
  .site-header { padding-block: 14px; }
}

/* Animação de entrada (respeita prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .reveal-2 { animation-delay: .08s; }
  .reveal-3 { animation-delay: .16s; }
  .reveal-4 { animation-delay: .24s; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------------------------
   16. Animações de rolagem e interações
   -------------------------------------------------------------------------- */
/* Só esconde quando o JavaScript confirmou que vai animar (classe js-reveal) */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .75s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms),
    transform .75s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Itens da primeira seção: pequeno zoom ao passar o mouse */
.pillar {
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
  cursor: default;
}
@media (hover: hover) {
  .pillar:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 36px rgba(10, 9, 40, 0.35);
  }
  .pillar:hover .circle-num { transform: scale(1.1); }
}
.pillar .circle-num { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  .pillar, .pillar .circle-num { transition: none; }
}

/* Blocos "Para você" / "Para a sua empresa": ficam azuis ao passar o mouse */
.path-card {
  transition: background-color .35s ease, color .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.path-card .eyebrow, .path-card .num { transition: color .35s ease; }
@media (hover: hover) {
  .path-card:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(30, 28, 89, 0.22);
  }
  .path-card:hover .eyebrow,
  .path-card:hover .num { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .path-card { transition: background-color .2s ease, color .2s ease; }
  .path-card:hover { transform: none; }
}

/* Textura em outras seções azuis (mesma linguagem do topo da Home) */
.section--textured { position: relative; overflow: hidden; isolation: isolate; }
.section--textured > *:not(.hero__texture) { position: relative; z-index: 1; }
.section--textured .hero__texture { -webkit-mask-image: none; mask-image: none; }
/* variação: brilhos espelhados e grade concentrada à esquerda */
.hero__texture--alt::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 25% 55%, #000 0%, rgba(0,0,0,.5) 45%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 75% at 25% 55%, #000 0%, rgba(0,0,0,.5) 45%, transparent 80%);
}
.hero__texture--alt .hero__glow--violet { top: auto; bottom: -20%; right: auto; left: -10%; }
.hero__texture--alt .hero__glow--accent { bottom: auto; top: -18%; left: auto; right: -4%; }

/* --------------------------------------------------------------------------
   17. A Casa · primeira seção
   -------------------------------------------------------------------------- */
/* Marca d'água "M" bem suave, flutuando devagar */
.hero__watermark {
  position: absolute;
  right: -4%;
  bottom: -14%;
  width: min(780px, 58vw);
  aspect-ratio: 1449 / 678;
  background: rgba(10, 9, 44, 0.26);
  -webkit-mask: url("../img/marca-dagua-m.png") center / contain no-repeat;
          mask: url("../img/marca-dagua-m.png") center / contain no-repeat;
  animation: watermark-float 24s ease-in-out infinite alternate;
}
@keyframes watermark-float {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(-3vw, -2vh, 0) rotate(-2deg); }
}
@media (max-width: 720px) {
  .hero__watermark { width: 120vw; right: -35%; bottom: -6%; }
}

/* Animação exclusiva do título "A Casa / MOVAE" */
.casa-eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.casa-eyebrow::before {
  content: "";
  display: block;
  height: 2px;
  width: 40px;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: left center;
}
.casa-title {
  display: flex;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.casa-title__char { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .casa-eyebrow::before { animation: casa-line .7s cubic-bezier(.65, 0, .35, 1) .1s both; }
  .casa-eyebrow span { display: inline-block; animation: casa-spread 1s cubic-bezier(.2, .7, .2, 1) .25s both; }
  .casa-title__char {
    animation: casa-char 1s cubic-bezier(.2, .8, .2, 1) both;
    animation-delay: calc(.35s + var(--i) * 0.09s);
  }
  .casa-fade { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--delay, 1s); }
  @keyframes casa-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes casa-spread {
    from { opacity: 0; letter-spacing: .6em; filter: blur(4px); }
    to   { opacity: 1; letter-spacing: .14em; filter: blur(0); }
  }
  @keyframes casa-char {
    from { transform: translate3d(0, 105%, 0) rotate(8deg); opacity: 0; }
    60%  { opacity: 1; }
    to   { transform: none; opacity: 1; }
  }
}

/* Âncoras: compensa o menu fixo ao pular para uma seção */
section[id] { scroll-margin-top: 96px; }

/* --------------------------------------------------------------------------
   18. Seção "Ficou alguma dúvida?" · azul profundo com ondas de voz
   -------------------------------------------------------------------------- */
.section--deep { background: #13113F; }
.section--rings { position: relative; overflow: hidden; isolation: isolate; }
.section--rings > .container { position: relative; z-index: 1; }

.rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* trama fixa de círculos concêntricos finos */
.rings::before {
  content: "";
  position: absolute;
  right: 6%; top: 50%;
  width: 1100px; height: 1100px;
  transform: translate(50%, -50%);
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.055) 0 1px, transparent 1.5px 26px);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 35%, transparent 70%);
          mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 35%, transparent 70%);
}
/* brilho central suave */
.rings::after {
  content: "";
  position: absolute;
  right: 6%; top: 50%;
  width: 420px; height: 420px;
  transform: translate(50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 90, 156, 0.45), transparent 70%);
  filter: blur(30px);
}
/* ondas que se expandem */
.rings span {
  position: absolute;
  right: 6%; top: 50%;
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(221, 235, 126, 0.28);
  transform: translate(50%, -50%) scale(.15);
  opacity: 0;
  animation: ring-wave 11s cubic-bezier(.25, .6, .35, 1) infinite;
  animation-delay: calc(var(--i) * -2.2s);
}
@keyframes ring-wave {
  0%   { transform: translate(50%, -50%) scale(.12); opacity: 0; }
  12%  { opacity: .9; }
  100% { transform: translate(50%, -50%) scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rings span { animation: none; opacity: .5; transform: translate(50%, -50%) scale(calc(.3 + var(--i) * .3)); }
}
@media (max-width: 720px) {
  .rings::before, .rings::after, .rings span { right: 50%; top: 100%; }
}

/* --------------------------------------------------------------------------
   19. Blocos azuis "Demanda / Talentos / Capital / Reputação"
   -------------------------------------------------------------------------- */
.why-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, background-color .45s ease;
}
/* linha verde-limão que se desenha no topo */
.why-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 3px; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.65, 0, .35, 1);
}
/* brilho de luz que atravessa o bloco */
.why-card::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(221, 235, 126, 0.10) 48%, rgba(255, 255, 255, 0.06) 52%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.why-card h3 { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.why-card p { transition: color .45s ease; }

@media (hover: hover) {
  .why-card:hover {
    transform: translateY(-8px);
    background: #262470;
    box-shadow: 0 24px 50px rgba(30, 28, 89, 0.35);
  }
  .why-card:hover::before { transform: scaleX(1); }
  .why-card:hover::after { transform: translateX(110%); }
  .why-card:hover h3 { transform: translateX(4px); }
  .why-card:hover p { color: var(--white); }
}
@media (prefers-reduced-motion: reduce) {
  .why-card, .why-card::before, .why-card::after, .why-card h3 { transition: none; }
}

/* --------------------------------------------------------------------------
   20. Formulário em etapas (Influência Executiva · Solicitar proposta)
   -------------------------------------------------------------------------- */
.next-steps { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; }
.next-steps li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line-on-navy);
  font-size: 16px; line-height: 1.5;
  color: var(--on-navy);
}
.next-steps li:last-child { border-bottom: 1px solid var(--line-on-navy); }

.step-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex; flex-direction: column; gap: 32px;
  color: var(--white);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.step-form__head { display: flex; flex-direction: column; gap: 14px; }
.step-form__count {
  font-size: 13px; font-weight: var(--fw-semibold);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-navy-muted);
}
.step-form__current { color: var(--accent); }
.step-form__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.step-form__bar span {
  position: relative; height: 3px; border-radius: 3px; overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}
.step-form__bar span::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}
.step-form__bar span.is-done::after { transform: scaleX(1); }

.step-form__body { min-height: 282px; }
.form-step {
  border: 0; margin: 0; padding: 0; min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px 32px;
  align-content: start;
}
.form-step[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .form-step:not([hidden]) { animation: step-in .45s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
}

.line-field {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
  font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: 0.03em;
  color: var(--on-navy-muted);
}
.line-input {
  font: inherit;
  font-size: 18px; font-weight: var(--fw-light); letter-spacing: 0;
  color: var(--white);
  background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 10px 0 12px;
  width: 100%;
  transition: border-color .25s ease;
}
.line-input::placeholder { color: rgba(255, 255, 255, 0.38); }
.line-input:hover { border-bottom-color: rgba(255, 255, 255, 0.5); }
.line-input:focus { outline: none; border-bottom-color: var(--accent); }
.line-input[aria-invalid="true"] { border-bottom-color: #FFA796; }
textarea.line-input { resize: vertical; min-height: 120px; line-height: 1.5; }

.choice-group { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.choice-group legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: 0.03em; color: var(--on-navy-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--pill);
  font-size: 15px; line-height: 1.3;
  color: var(--white);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover span { border-color: rgba(255, 255, 255, 0.6); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--navy); font-weight: var(--fw-semibold); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }

.step-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.step-form__footer .btn { margin-left: auto; }
.step-form__back {
  background: none; border: 0; padding: 8px 0;
  font: inherit; font-size: 15px; font-weight: var(--fw-semibold);
  color: var(--on-navy); cursor: pointer;
}
.step-form__back:hover { color: var(--accent); }
.step-form .form__status { color: var(--accent); flex: 1 1 200px; font-size: 14px; }
.step-form .form__status.is-error { color: #FFB4A6; }

@media (max-width: 720px) {
  .step-form { padding: 26px; gap: 26px; }
  .step-form__body { min-height: 0; }
  .step-form__footer .btn { width: 100%; }
}

/* Depoimentos em versão compacta (4 por linha) */
.testimonials-4 { text-align: left; }
.testimonial--sm { padding: 28px; gap: 18px; border-radius: 22px; }
.testimonial--sm .testimonial__avatar { width: 48px; height: 48px; }
.testimonial--sm .testimonial__avatar svg { width: 24px; height: 24px; }
.testimonial--sm blockquote { font-size: 19px; line-height: 1.45; }
.testimonial--sm figcaption { gap: 10px 16px; }
.testimonial--sm .testimonial__name { font-size: 15px; }
.testimonial--sm .testimonial__role { font-size: 15px; padding: 5px 16px; }

/* --------------------------------------------------------------------------
   21. Faixa de números (Influência Executiva · Lideranças que já passaram)
   -------------------------------------------------------------------------- */
.proof-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr;
  align-items: stretch;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 48px 0;
}
/* grade de pontos discreta + brilho, como nas outras áreas azuis */
.proof-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.proof-panel::after {
  content: ""; position: absolute; z-index: -1;
  width: 420px; height: 420px; right: -120px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 90, 156, 0.55), transparent 70%);
  filter: blur(40px);
}
.proof-panel__intro {
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 8px 48px 8px 56px;
}
.proof-panel__mark { width: 40px; height: 3px; border-radius: 3px; background: var(--accent); }
.proof-panel__title {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: var(--fw-bold);
  letter-spacing: -0.015em;
}
.proof-panel__stat {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 8px 48px;
  border-left: 1px solid var(--line-on-navy);
}
.proof-panel__value {
  font-size: clamp(52px, 5.4vw, 76px);
  line-height: 1;
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.proof-panel__value sup { font-size: 0.5em; vertical-align: top; position: relative; top: 0.1em; }
.proof-panel__label { font-size: 16px; line-height: 1.45; font-weight: var(--fw-light); color: var(--on-navy); max-width: 280px; min-height: 2.9em; }

@media (max-width: 1020px) {
  .proof-panel { grid-template-columns: 1fr 1fr; padding: 40px 0; row-gap: 32px; }
  .proof-panel__intro { grid-column: 1 / -1; padding: 0 40px; }
  .proof-panel__stat { padding: 0 40px; }
  .proof-panel__stat:nth-of-type(2) { border-left: 0; }
}
@media (max-width: 600px) {
  .proof-panel { grid-template-columns: 1fr; padding: 32px 0; row-gap: 0; }
  .proof-panel__intro { padding: 0 26px 26px; }
  .proof-panel__stat { padding: 24px 26px; border-left: 0; border-top: 1px solid var(--line-on-navy); }
}

/* --------------------------------------------------------------------------
   22. Textura minimalista para seções claras
   -------------------------------------------------------------------------- */
.section--light-texture { position: relative; overflow: hidden; isolation: isolate; }
.section--light-texture > *:not(.light-texture) { position: relative; z-index: 1; }
.light-texture { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* grade de pontos azul-marinho bem fraquinha, deslizando devagar */
.light-texture::before {
  content: "";
  position: absolute; inset: -60px;
  background-image: radial-gradient(rgba(30, 28, 89, 0.16) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, #000 0%, rgba(0,0,0,.45) 45%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, #000 0%, rgba(0,0,0,.45) 45%, transparent 78%);
  animation: texture-drift 45s linear infinite;
}
/* brilho lilás suave atrás dos cartões */
.light-texture::after {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -8%; top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 183, 214, 0.45), transparent 68%);
  filter: blur(30px);
}
@media (prefers-reduced-motion: reduce) { .light-texture::before { animation: none; } }
@media (max-width: 720px) {
  .light-texture::before {
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 70%, #000 0%, transparent 80%);
            mask-image: radial-gradient(ellipse 90% 60% at 50% 70%, #000 0%, transparent 80%);
  }
  .light-texture::after { width: 420px; height: 420px; right: -30%; top: 70%; }
}

/* Cartões com foto no topo: a imagem vai até as bordas também no celular */
.card.card-media { padding: 0; }

/* Etiqueta em caixa alta (ex.: "Cerca de 6 semanas") */
.tag.tag--caps { text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; padding: 7px 14px; }

/* --------------------------------------------------------------------------
   23. Seja um parceiro · primeira seção
   -------------------------------------------------------------------------- */
/* "Casa." em destaque com traço desenhado */
.hl { position: relative; display: inline-block; color: var(--accent); }
.hl::after {
  content: "";
  position: absolute; left: 0.02em; right: 0.06em; bottom: 0.02em;
  height: 0.08em; border-radius: 0.04em;
  background: var(--accent);
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .hl::after { animation: hl-draw .9s cubic-bezier(.65, 0, .35, 1) .7s both; }
  @keyframes hl-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Marca d'água no canto inferior esquerdo nesta página */
.hero--parceiro .hero__watermark { right: auto; left: -8%; bottom: -26%; width: min(680px, 50vw); }

/* Cartões com ícone */
.partner-stack { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.partner-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 28px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), background-color .4s ease, border-color .4s ease;
}
.partner-card__icon {
  flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(221, 235, 126, 0.12);
  color: var(--accent);
  border: 1px solid rgba(221, 235, 126, 0.35);
  transition: background-color .4s ease, color .4s ease;
}
.partner-card__icon svg { width: 22px; height: 22px; }
.partner-card__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.partner-card__text p:last-child { font-size: 18px; line-height: 1.5; }
@media (hover: hover) {
  .partner-card:hover {
    transform: translateX(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(221, 235, 126, 0.45);
  }
  .partner-card:hover .partner-card__icon { background: var(--accent); color: var(--navy); }
}

/* Selo circular giratório */
.spin-badge {
  position: absolute;
  bottom: -86px; right: -34px;
  z-index: 2;
  width: 124px; height: 124px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(221, 235, 126, 0.35);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(8, 7, 35, 0.45);
  transition: transform .3s ease;
}
.spin-badge:hover { transform: scale(1.06); }
.spin-badge__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.spin-badge__ring text {
  fill: var(--accent);
  font-family: var(--font);
  font-size: 10.4px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
}
.spin-badge__center {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: var(--fw-bold);
}
@media (prefers-reduced-motion: no-preference) {
  .spin-badge__ring { animation: badge-spin 22s linear infinite; }
  .spin-badge:hover .spin-badge__center { animation: badge-bounce 1s ease-in-out infinite; }
  @keyframes badge-spin { to { transform: rotate(360deg); } }
  @keyframes badge-bounce { 50% { transform: translateY(4px); } }
}
@media (max-width: 1200px) { .spin-badge { right: -12px; } }
@media (max-width: 720px) {
  .spin-badge { position: relative; bottom: auto; right: auto; align-self: flex-end; width: 104px; height: 104px; margin-top: 6px; }
  .spin-badge__center { width: 36px; height: 36px; font-size: 17px; }
  .partner-card { padding: 20px; gap: 16px; }
  .partner-card__text p:last-child { font-size: 16px; }
  .hero--parceiro .partner-stack { margin-top: 8px; }
  .hero--parceiro .hero__watermark { width: 110vw; left: -30%; bottom: -8%; }
}

/* Grade fixa de 3 colunas (2 em telas médias, 1 no celular) */
@media (min-width: 980px) { .grid.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 979px) { .grid.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   24. Perguntas frequentes · novo desenho
   -------------------------------------------------------------------------- */
.split.faq-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 120px;
  display: flex; flex-direction: column; gap: 18px;
}
.faq-intro .intro { max-width: 380px; }
.faq-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 6px;
  font-size: 16px; font-weight: var(--fw-semibold);
  color: var(--navy); text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 3px no-repeat;
  transition: background-size .3s ease, gap .3s ease;
}
.faq-cta:hover { color: var(--navy); gap: 14px; background-size: 100% 6px; }

.faq.faq--lines { display: block; border-top: 1px solid var(--line-strong); }
.faq.faq--lines details {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border-bottom: 1px solid var(--line-strong);
}
.faq.faq--lines summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  font-size: 19px; line-height: 1.4;
  font-weight: var(--fw-semibold);
  color: var(--ink);
}
.faq.faq--lines summary::after { display: none; }
.faq__num {
  font-size: 14px; font-weight: var(--fw-bold);
  color: var(--lavender);
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}
.faq__q { transition: transform .3s ease; }
.faq__icon {
  position: relative;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line-dashed);
  transition: background-color .3s ease, border-color .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; border-radius: 2px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: background-color .3s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

@media (hover: hover) {
  .faq.faq--lines summary:hover .faq__q { transform: translateX(4px); }
  .faq.faq--lines summary:hover .faq__icon { border-color: var(--navy); }
}
.faq.faq--lines details[open] .faq__num { color: var(--navy); }
.faq.faq--lines details[open] .faq__icon {
  background: var(--navy); border-color: var(--navy);
  transform: rotate(45deg);
}
.faq.faq--lines details[open] .faq__icon::before,
.faq.faq--lines details[open] .faq__icon::after { background: var(--accent); }

.faq__a { padding: 0 54px 28px 60px; }
.faq.faq--lines .faq__a p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .faq.faq--lines details[open] .faq__a { animation: faq-open .45s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
  .split.faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-intro { position: static; }
}
@media (max-width: 600px) {
  .faq.faq--lines summary { grid-template-columns: 30px minmax(0, 1fr) 34px; gap: 12px; padding: 22px 0; font-size: 17px; }
  .faq__icon { width: 34px; height: 34px; }
  .faq__a { padding: 0 0 24px 42px; }
}

/* --------------------------------------------------------------------------
   25. Linha do tempo (Seja um parceiro · Formação MOVAE)
   -------------------------------------------------------------------------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 23px; top: 24px; bottom: 24px;
  width: 2px; border-radius: 2px;
}
.timeline::before { background: rgba(255, 255, 255, 0.14); }
.timeline::after { background: var(--white); transform-origin: top center; transform: scaleY(1); }
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.timeline__node {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  background: var(--white); color: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 6px var(--navy);
}
.timeline__card {
  padding: 20px 24px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-on-navy);
  background: rgba(255, 255, 255, 0.04);
  font-size: 17px; line-height: 1.5;
}

/* Estado inicial (só quando o JavaScript vai animar) */
.js-timeline .timeline::after {
  transform: scaleY(0);
  transition: transform 1.8s cubic-bezier(.65, 0, .35, 1) .15s;
}
.js-timeline .timeline__item {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(.2s + var(--i) * .6s);
}
.js-timeline .timeline__node {
  background: var(--navy); color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(.6);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), background-color .4s ease, color .4s ease, border-color .4s ease;
  transition-delay: calc(.2s + var(--i) * .6s);
}
.js-timeline .timeline.is-in::after { transform: scaleY(1); }
.js-timeline .timeline.is-in .timeline__item { opacity: 1; transform: none; }
.js-timeline .timeline.is-in .timeline__node { background: var(--white); color: var(--navy); border-color: var(--white); transform: scale(1); }

@media (max-width: 600px) {
  .timeline__item { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .timeline__node { width: 40px; height: 40px; font-size: 14px; }
  .timeline::before, .timeline::after { left: 19px; top: 20px; bottom: 20px; }
  .timeline__card { padding: 16px 18px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   26. A Casa · primeira seção em formato de verbete
   -------------------------------------------------------------------------- */
.hero.hero--casa .casa-title { font-size: clamp(64px, min(10.5vw, 17vh), 172px); line-height: .9; }
.hero--casa .hero__copy { gap: clamp(14px, 2.4vh, 24px); }

.casa-phonetic {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: var(--fw-light);
  letter-spacing: 0.04em;
  color: var(--on-navy);
}
.casa-phonetic span:first-child { font-style: italic; color: var(--white); }
.casa-phonetic__sep { width: 32px; height: 1px; background: rgba(255, 255, 255, 0.4); }

.casa-manifesto {
  margin: 0;
  padding-left: 28px;
  border-left: 2px solid var(--accent);
  max-width: 540px;
  justify-self: end;
}
.casa-manifesto p {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--on-navy);
}

.casa-meanings { list-style: none; padding: 0; }
.meaning {
  display: flex; align-items: flex-start; gap: 18px;
  padding: clamp(18px, 2.6vh, 26px) 26px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s ease, background-color .4s ease;
}
.meaning__num { font-size: 14px; font-weight: var(--fw-bold); color: var(--accent); padding-top: 6px; font-variant-numeric: tabular-nums; }
.meaning__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.meaning__verb { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; font-weight: var(--fw-bold); letter-spacing: -0.01em; color: var(--white); }
.meaning__text { font-size: 15px; line-height: 1.5; font-weight: var(--fw-light); color: var(--on-navy); }
@media (hover: hover) {
  .meaning:hover { transform: translateY(-4px); border-color: rgba(221, 235, 126, 0.5); background: rgba(255, 255, 255, 0.09); }
}
@media (max-width: 900px) {
  .casa-manifesto { justify-self: start; }
}

/* --------------------------------------------------------------------------
   27. Marca-texto (pega só a parte de baixo da palavra)
   -------------------------------------------------------------------------- */
.marker {
  color: inherit;
  background: linear-gradient(var(--accent), var(--accent)) left 88% / 100% 0.36em no-repeat;
  padding: 0 0.06em;
  margin: 0 -0.06em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
/* o traço se pinta da esquerda para a direita quando o título aparece */
.js-reveal [data-reveal] .marker {
  background-size: 0% 0.36em;
  transition: background-size 1s cubic-bezier(.65, 0, .35, 1) .55s;
}
.js-reveal [data-reveal].is-visible .marker { background-size: 100% 0.36em; }

/* --------------------------------------------------------------------------
   28. Conteúdo de páginas criadas no WordPress (texto livre do editor)
   -------------------------------------------------------------------------- */
.movae-content { gap: 0; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.movae-content > * + * { margin-top: 1.1em; }
.movae-content h2, .movae-content h3 { color: var(--ink); line-height: 1.2; margin-top: 1.6em; }
.movae-content h2 { font-size: 30px; }
.movae-content h3 { font-size: 22px; }
.movae-content a { color: var(--navy); text-underline-offset: 3px; }
.movae-content ul, .movae-content ol { padding-left: 1.3em; }
.movae-content img { border-radius: var(--r-md); height: auto; }

/* Blocos ocultos (ex.: depoimentos e logos, até o conteúdo real chegar) */
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   29. Pop-up de confirmação de envio
   -------------------------------------------------------------------------- */
.modal-open { overflow: hidden; }
.success-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.success-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 14, 50, 0.62);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s ease;
}
.success-modal__dialog {
  position: relative;
  width: 100%; max-width: 460px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(221, 235, 126, 0.35);
  border-radius: var(--r-xl);
  padding: 48px 40px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  box-shadow: 0 30px 80px rgba(5, 4, 25, 0.5);
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}
/* textura de pontos discreta, como nas seções azuis */
.success-modal__dialog::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 50% 20%, #000, transparent 70%);
}
.success-modal__dialog > * { position: relative; }
.success-modal.is-open .success-modal__backdrop { opacity: 1; }
.success-modal.is-open .success-modal__dialog { opacity: 1; transform: none; }

.success-modal__icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(221, 235, 126, 0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.success-modal__icon svg { width: 56px; height: 56px; }
.success-modal__check { stroke-dasharray: 36; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .success-modal.is-open .success-modal__check { animation: draw-check .6s cubic-bezier(.65, 0, .35, 1) .2s both; }
  @keyframes draw-check { from { stroke-dashoffset: 36; } to { stroke-dashoffset: 0; } }
}
.success-modal__eyebrow {
  font-size: 13px; font-weight: var(--fw-semibold);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.success-modal__eyebrow:empty { display: none; }
.success-modal__title { font-size: clamp(28px, 4vw, 36px); line-height: 1.1; font-weight: var(--fw-bold); letter-spacing: -0.015em; }
.success-modal__text { font-size: 17px; line-height: 1.6; font-weight: var(--fw-light); color: var(--on-navy); max-width: 360px; }
.success-modal__btn { margin-top: 12px; min-width: 180px; }
.success-modal__x {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
.success-modal__x svg { width: 18px; height: 18px; }
.success-modal__x:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent); }
@media (max-width: 600px) { .success-modal__dialog { padding: 44px 24px 28px; } }
@media (prefers-reduced-motion: reduce) {
  .success-modal__backdrop, .success-modal__dialog { transition: none; }
}
