/* =================================================================
   MOURA ENGENHARIA | Landing Page (M² Black)
   Identidade traduzida da marca:
     - Logo TOTALMENTE QUADRADA  -> identidade ANGULAR (border-radius:0)
     - Símbolo = linhas topográficas formando um pico dentro de um quadrado
       -> vira marcador de eyebrow, divisória "roof", régua dos títulos e
          ícones das seções (mesmo traço), nunca ícone genérico.
   Paleta oficial: navy #0e1222 + bronze #164d72/#2f79ab + creme #b3d9f2.
   ================================================================= */

:root {
  --navy-950: #060c12;
  --navy-900: #0a1822;
  --navy-800: #0f2230;
  --navy-700: #16303f;
  --navy-600: #1e3646;

  --bronze-700: #164d72;
  --bronze-600: #1f5f89;
  --bronze-500: #2f79ab;
  --bronze-400: #6fb0dd;
  --cream-300: #b3d9f2;
  --cream-100: #e9eef2;
  --cream-50:  #f2f5f7;

  --white: #ffffff;
  --ink-900: #0f2230;
  --ink-700: #33424c;
  --ink-500: #4a5560;
  --ink-400: #6b747a;
  --ink-300: #acb9be;
  --line:    rgba(255,255,255,0.12);
  --line-dark: rgba(14,18,34,0.12);

  /* conversão = verde (gatilho positivo) */
  --green: #2d8f5e;
  --green-deep: #24794d;
  --green-light: #4ade80;

  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-body:    1rem;
  --fs-lead:    1.125rem;
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2:      clamp(1.6rem, 1.15rem + 1.8vw, 2.35rem);
  --fs-h1:      clamp(1.9rem, 1.2rem + 2.8vw, 3.35rem);

  --container:  1200px;
  --gutter:     clamp(20px, 4vw, 40px);
  --header-h:   72px;

  --shadow-lg:  0 30px 60px -30px rgba(0,0,0,0.6);
  --shadow-md:  0 18px 40px -20px rgba(0,0,0,0.5);
  --ease:       cubic-bezier(.2,.7,.2,1);

  /* Símbolo topográfico da Moura (pico), como máscara reaproveitável (marcadores/réguas) */
  --mark-peak: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 20'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpolyline points='2,12 10,5 14,9 20,3 32,12'/%3E%3Cpolyline points='2,17 10,10 14,14 20,8 32,17'/%3E%3C/g%3E%3C/svg%3E");
  /* Estampa fina fiel à logo: linhas de contorno finas que sobem até o cume (só o traço da marca) */
  --mark-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='0,8 44,8 60,1 76,8 120,8'/%3E%3Cpolyline points='0,18 44,18 60,11 76,18 120,18'/%3E%3Cpolyline points='0,28 44,28 60,21 76,28 120,28'/%3E%3Cpolyline points='0,38 44,38 60,31 76,38 120,38'/%3E%3Cpolyline points='0,48 44,48 60,41 76,48 120,48'/%3E%3Cpolyline points='0,58 44,58 60,51 76,58 120,58'/%3E%3Cpolyline points='0,68 44,68 60,61 76,68 120,68'/%3E%3Cpolyline points='0,78 44,78 60,71 76,78 120,78'/%3E%3C/g%3E%3C/svg%3E");
}

/* =================================================================
   RESET & BASE — IDENTIDADE ANGULAR                                  */
*,
*::before,
*::after { box-sizing: border-box; }

/* A logo da Moura é um quadrado perfeito: nada de cantos arredondados
   em nenhum elemento. É decisão de marca, não esquecimento. */
*, *::before, *::after { border-radius: 0 !important; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
img { border: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--bronze-600); color: #fff; }

:focus-visible {
  outline: 2px solid var(--bronze-500);
  outline-offset: 3px;
}

/* =================================================================
   LAYOUT HELPERS                                                     */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Marcador de eyebrow = símbolo topográfico da Moura (herda a cor) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bronze-500);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 19px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--mark-peak) left center / contain no-repeat;
  mask: var(--mark-peak) left center / contain no-repeat;
}
.eyebrow--dark { color: var(--bronze-700); }
.eyebrow--onvideo { color: var(--cream-300); filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6)); }
/* Tarja marca-texto: uma faixa bronze preenche atrás da frase da esquerda p/ a
   direita no load (marca-texto), acompanhando cada linha quando quebra no mobile
   via box-decoration-break. A frase permanece legível por cima. */
.hero__mark {
  background-image: linear-gradient(var(--bronze-600), var(--bronze-600));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0.06em 0.22em;
  border-radius: 2px;
  color: var(--cream-100);
  animation: heroMarkIn 0.8s cubic-bezier(0.45, 0, 0.2, 1) 0.55s both;
}
@keyframes heroMarkIn {
  from { background-size: 0% 100%; }
  to   { background-size: 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mark { animation: none; background-size: 100% 100%; }
}

.section-title {
  font-size: var(--fs-h2);
  max-width: 22ch;
  margin-bottom: 1rem;
}
.section-title .accent {
  color: var(--bronze-600);
  font-style: italic;
  font-weight: 500;
}
/* Régua sob os títulos = o próprio pico da Moura, desenha a largura no reveal */
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 14px;
  max-width: 54px;
  margin-top: 16px;
  background: var(--bronze-600);
  -webkit-mask: var(--mark-peak) left center / auto 100% repeat-x;
  mask: var(--mark-peak) left center / auto 100% repeat-x;
  transition: width 0.8s var(--ease);
}
.section-title.is-visible::after { width: 54px; }

.section-lead {
  font-size: var(--fs-lead);
  max-width: 62ch;
  color: var(--ink-500);
  margin-bottom: 1.75rem;
}
.section-lead--short { max-width: 58ch; }

/* =================================================================
   BOTÕES — angulares, com microinterações                           */
.btn {
  --btn-bg: var(--bronze-600);
  --btn-fg: #fff;
  --btn-bd: var(--bronze-600);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  line-height: 1.1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
  text-align: center;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }

/* Brilho que atravessa os botões primários (bronze/verde) */
.btn--accent::after,
.btn--green::after {
  content: '';
  position: absolute;
  top: 0; left: -125%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg);
  animation: btnShine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes btnShine { 0% { left: -125%; } 55%, 100% { left: 135%; } }

/* Primário = degradê bronze da marca, com pulso sutil */
.btn--accent {
  --btn-bg: linear-gradient(115deg, #3f8ec2 0%, #2f79ab 42%, #164d72 100%);
  --btn-bd: var(--bronze-600);
  box-shadow: 0 14px 34px -14px rgba(22,77,114,0.7);
  animation: bronzePulse 2.6s ease-in-out infinite;
}
.btn--accent:hover {
  --btn-bg: linear-gradient(115deg, #4a97cf 0%, #3f8ec2 45%, #1f5f89 100%);
  --btn-bd: var(--bronze-500);
  box-shadow: 0 20px 40px -16px rgba(47,121,171,0.6);
  animation-play-state: paused;
}
@keyframes bronzePulse {
  0%, 100% { box-shadow: 0 14px 34px -16px rgba(22,77,114,0.55), 0 0 0 0 rgba(47,121,171,0.45); }
  50%      { box-shadow: 0 16px 36px -16px rgba(22,77,114,0.6), 0 0 0 9px rgba(47,121,171,0); }
}

/* Verde = botões de conversão (formulário, popup, CTA fixo) — degradê + brilho */
.btn--green {
  --btn-bg: linear-gradient(115deg, #2bd46e 0%, #1fa858 55%, #17974c 100%);
  --btn-fg: #fff;
  --btn-bd: var(--green-deep);
  box-shadow: 0 14px 32px -14px rgba(31,168,88,0.7);
  animation: greenPulse 2.4s ease-in-out infinite;
}
.btn--green:hover {
  --btn-bg: linear-gradient(115deg, #35df79 0%, #1fa858 50%, #148244 100%);
  --btn-bd: var(--green-deep);
  box-shadow: 0 20px 40px -16px rgba(31,168,88,0.6);
  animation-play-state: paused;
}
@keyframes greenPulse {
  0%, 100% { box-shadow: 0 12px 30px -14px rgba(31,168,88,0.5), 0 0 0 0 rgba(43,212,110,0.45); }
  50%      { box-shadow: 0 14px 34px -14px rgba(31,168,88,0.55), 0 0 0 9px rgba(43,212,110,0); }
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,0.4);
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,0.08); --btn-bd: rgba(255,255,255,0.7); }

.btn--back {
  --btn-bg: transparent;
  --btn-fg: var(--ink-700);
  --btn-bd: #d9d5d2;
  animation: none;
  box-shadow: none;
}
.btn--back:hover { --btn-bg: #f4f1ee; --btn-bd: var(--bronze-500); }

.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn--compact { padding: 11px 20px; font-size: 0.875rem; animation: none; box-shadow: none; }
.btn--block { width: 100%; }

/* =================================================================
   READ PROGRESS BAR                                                  */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--bronze-600), var(--cream-300));
  z-index: 1000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =================================================================
   SITE HEADER — fundo sólido da marca + faixa de nav deslizante      */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, #161b30 0%, #0e1222 55%, #070a16 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.site-header::before {
  /* fio bronze no topo, ecoando a barra da marca */
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bronze-500) 30%, var(--cream-300) 50%, var(--bronze-500) 70%, transparent);
  opacity: 0.8;
}
.site-header.is-solid {
  background: linear-gradient(115deg, rgba(22,27,48,0.92) 0%, rgba(14,18,34,0.94) 55%, rgba(7,10,22,0.95) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px -14px rgba(0,0,0,0.85);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
}
.site-header__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__brand img { width: clamp(118px, 12vw, 150px); height: auto; }

/* faixa de nav: acompanha a rolagem, desliza até a seção atual (todas as telas) */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 4%, #000 92%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 4%, #000 92%, transparent 100%);
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a[data-section] {
  flex: 0 0 auto;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color 0.2s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-nav a[data-section]:hover { color: #fff; background: rgba(255,255,255,0.12); }
/* seção atual: chip preenchido creme, bem destacado conforme rola */
.site-nav a[data-section].current {
  color: var(--navy-900);
  background: var(--cream-300);
  border-color: var(--cream-300);
  font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5);
}
.site-header__cta { flex-shrink: 0; margin-left: 4px; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__cta { display: none; }
  .site-header__brand img { width: clamp(104px, 30vw, 128px); }
  /* SEM hambúrguer: os nomes continuam sempre visíveis, deslizando pro lado */
  .site-nav { margin-left: 12px; gap: 8px; }
  .site-nav a[data-section] {
    padding: 6px 12px;
    font-size: 0.82rem;
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
  }
  .site-nav a[data-section].current { background: var(--cream-300); color: var(--navy-900); border-color: var(--cream-300); }
}

/* =================================================================
   HERO | scroll-driven video                                         */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
}
.hero__scroll-track { height: 260vh; position: relative; }
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: end center;
  isolation: isolate;
}
/* vídeo full-bleed de fundo (sem deslocar, sem esticar) */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero__video--desktop { display: block; object-position: center; }
.hero__video--mobile  { display: none; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  /* escurecimento leve pra leitura + sombra à esquerda p/ contrastar as frases */
  background:
    linear-gradient(90deg, rgba(14,18,34,0.55) 0%, rgba(14,18,34,0.28) 45%, rgba(14,18,34,0) 78%),
    radial-gradient(ellipse at 50% 100%, rgba(14,18,34,0.9) 0%, rgba(14,18,34,0.5) 42%, rgba(14,18,34,0.12) 78%),
    linear-gradient(180deg, rgba(14,18,34,0.34) 0%, rgba(14,18,34,0.12) 30%, rgba(14,18,34,0.72) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  justify-self: stretch;
  width: 100%;
  padding-bottom: clamp(40px, 7vh, 110px);
  padding-top: clamp(90px, 12vh, 150px);
  max-width: 1050px;
  text-align: left;
}
.hero .eyebrow { margin-bottom: clamp(0.8rem, 1.8vh, 1.3rem); }
.hero__headline {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 30ch;
  margin-bottom: clamp(0.85rem, 1.9vh, 1.45rem);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
}
.hero__headline .accent { color: var(--bronze-400); font-style: italic; font-weight: 500; display: inline; }
.hero__sub {
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.1rem);
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
  line-height: 1.62;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.7);
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Chamada "Conheça a Moura" — em FLUXO (nunca sobre os botões), todas as telas */
.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 4vh, 44px);
  padding-top: clamp(18px, 2.6vh, 26px);
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero__cue:hover { color: var(--cream-300); }
.hero__cue-chevron {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  animation: cueBounce 1.8s ease-in-out infinite;
}
.hero__cue:hover .hero__cue-chevron { border-color: var(--cream-300); color: var(--cream-300); }
.hero__cue-chevron svg { width: 16px; height: 16px; }
@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@media (max-width: 767px) {
  .hero__scroll-track { height: 220vh; }
  .hero__video--desktop { display: none; }
  .hero__video--mobile  { display: block; object-position: center; }
  .hero__sticky { place-items: center center; }
  .hero__content {
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: clamp(24px, 5vh, 56px);
  }
  .hero__headline { font-size: clamp(1.4rem, 4.5vw, 1.85rem); line-height: 1.24; margin-bottom: 1rem; }
  .hero__sub { font-size: 0.9rem; line-height: 1.62; margin-bottom: clamp(1rem, 2.4vh, 1.7rem); }
  .eyebrow { margin-bottom: 0.75rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; padding: 14px 24px; font-size: 0.9rem; }
}

/* =================================================================
   PROOF BAR (contadores)                                             */
.proof {
  background: var(--navy-900);
  color: #fff;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.proof::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47,121,171,0.6) 50%, transparent);
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 20px;
}
@media (min-width: 800px) { .proof__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.proof__item { text-align: center; padding: 10px; }
.proof__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 700;
  color: var(--bronze-500);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  max-width: 100%;
}
.proof__num em { font-style: normal; color: var(--bronze-400); font-size: 0.7em; margin-right: 1px; }
.proof__num .counter small,
.proof__num small {
  font-size: 0.42em;
  color: var(--bronze-400);
  margin-left: 5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.proof__num--word { font-size: clamp(1.1rem, 0.8rem + 1.1vw, 1.55rem); gap: 8px; flex-wrap: wrap; }
.proof__arrow { color: var(--cream-300); font-weight: 400; }
.proof__label { margin-top: 10px; font-size: 0.875rem; color: rgba(255,255,255,0.75); font-weight: 500; }

/* =================================================================
   PILLARS (4 diferenciais)                                           */
.pillars {
  background: var(--cream-50);
  color: var(--ink-900);
  padding: clamp(64px, 7vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.pillars .eyebrow { color: var(--bronze-700); }

.pillars__grid { display: grid; gap: 18px; margin-top: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1080px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 32px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(47,121,171,0.4); box-shadow: var(--shadow-md); }
.pillar__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  margin-bottom: 1.35rem;
  background: linear-gradient(135deg, rgba(47,121,171,0.14), rgba(135,193,232,0.06));
  border: 1px solid rgba(47,121,171,0.28);
  color: var(--bronze-600);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.pillar__icon svg { width: 34px; height: 34px; }
.pillar:hover .pillar__icon {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, rgba(47,121,171,0.22), rgba(135,193,232,0.12));
  border-color: rgba(47,121,171,0.55);
  color: var(--bronze-700);
}
.pillar__title { font-size: var(--fs-h3); margin-bottom: 0.75rem; color: var(--ink-900); line-height: 1.25; }
.pillar__text { color: var(--ink-500); font-size: 0.95rem; line-height: 1.65; }

/* =================================================================
   ROOF DIVIDER — símbolo da marca tileado entre dobras               */
.roof-divider {
  height: 22px;
  background: var(--cream-50);
  position: relative;
}
.roof-divider::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--bronze-500);
  opacity: 0.5;
  -webkit-mask: var(--mark-peak) center / 34px 20px repeat-x;
  mask: var(--mark-peak) center / 34px 20px repeat-x;
}

/* =================================================================
   COMPARE (Não arrisque sua obra)                                    */
.compare { background: var(--cream-50); color: var(--ink-900); padding: clamp(64px, 7vw, 100px) 0; }
.compare .eyebrow { color: var(--bronze-700); }
.compare__grid { margin-top: 2.5rem; display: grid; gap: 22px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 860px) { .compare__grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
.compare__col { padding: 34px 30px; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line-dark); background: #fff; }
.compare__col--bad { background: #fbfafa; color: var(--ink-700); }
.compare__col--good {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
  border-color: rgba(47,121,171,0.45);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.compare__col--good::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(47,121,171,0.18), transparent 55%);
  pointer-events: none;
}
.compare__seal {
  position: absolute; top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(31,159,90,0.18);
  border: 1px solid rgba(52,209,127,0.5);
  color: #6ee7a8;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.compare__seal::before {
  content: '';
  width: 14px; height: 14px;
  background: #34d17f;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.compare__head { margin-bottom: 22px; position: relative; }
.compare__col--good .compare__head { margin-top: 22px; }
.compare__tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; }
.compare__tag--bad { color: #c14a3f; }
.compare__tag--good { color: var(--cream-300); }
.compare__title { font-size: var(--fs-h3); line-height: 1.2; }
.compare__col--good .compare__title { color: #fff; }
.compare__list { display: grid; gap: 14px; position: relative; }
.compare__list li { position: relative; padding-left: 30px; font-size: 0.95rem; line-height: 1.5; }
.compare__list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.compare__col--bad .compare__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c14a3f' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}
.compare__col--bad .compare__list li[data-strike] {
  background-image: linear-gradient(transparent 82%, rgba(193,74,63,0.28) 0);
  background-repeat: no-repeat;
  background-size: 0 100%;
  transition: background-size 0.6s var(--ease);
}
.compare__col--bad .compare__list li[data-strike].is-struck { background-size: 100% 100%; }
.compare__list--check li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d17f' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.compare__col--good .compare__list li { color: rgba(255,255,255,0.9); }
.compare__col--good .btn { margin-top: 26px; position: relative; z-index: 1; }
/* card vencedor: glow pulsante + brilho que atravessa (sheen) */
.compare__col--good { animation: goodGlow 4.5s ease-in-out infinite; }
@keyframes goodGlow {
  0%, 100% { box-shadow: var(--shadow-lg); }
  50%      { box-shadow: 0 30px 70px -24px rgba(47,121,171,0.55); }
}
.compare__col--good::after {
  content: '';
  position: absolute; top: 0; left: -70%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(135,193,232,0.16), transparent);
  animation: sheen 4.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes sheen { 0% { left: -70%; } 55%, 100% { left: 135%; } }
.compare__col--good > * { position: relative; z-index: 1; }

/* =================================================================
   FINANCING CARDS                                                    */
.financing { background-color: var(--navy-900); color: #fff; padding: clamp(64px, 7vw, 100px) 0; position: relative; overflow: hidden; }
.financing .eyebrow { color: var(--bronze-400); }
.financing .section-title { color: #fff; }
.financing .section-title .accent { color: var(--bronze-400); }
.financing .section-lead { color: rgba(255,255,255,0.78); }
.financing__grid { margin-top: 2.25rem; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .financing__grid { grid-template-columns: repeat(3, 1fr); } }
.financing__card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.financing__card:hover { transform: translateY(-4px); border-color: rgba(47,121,171,0.45); background: linear-gradient(180deg, rgba(47,121,171,0.08), rgba(255,255,255,0.02)); }
.financing__img { aspect-ratio: 4 / 3; overflow: hidden; }
.financing__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s var(--ease); filter: saturate(0.92) brightness(0.96); }
.financing__card:hover .financing__img img { transform: scale(1.05); filter: saturate(1) brightness(1); }
/* card do sobrado (foto retrato): enquadra a fachada */
.financing__card:nth-child(3) .financing__img img { object-position: center 32%; }
.financing__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.financing__type { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: #fff; margin-bottom: 12px; line-height: 1.25; }
.financing__type span { color: var(--bronze-400); font-weight: 500; }
.financing__specs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.financing__specs li { color: rgba(255,255,255,0.7); font-size: 0.875rem; padding-left: 18px; position: relative; }
.financing__specs li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--bronze-600); }
.financing__price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.financing__label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); }
.financing__value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.financing__installment {
  margin-top: auto;
  background: linear-gradient(135deg, rgba(47,121,171,0.15), rgba(135,193,232,0.08));
  border: 1px solid rgba(47,121,171,0.3);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.financing__inst-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--bronze-400); }
.financing__inst-value { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.85rem); font-weight: 700; color: var(--cream-300); letter-spacing: -0.02em; line-height: 1.1; }
.financing__inst-value small { font-size: 0.5em; font-weight: 500; color: var(--bronze-400); margin-left: 2px; }
.financing__disclaimer { margin-top: 2rem; font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 70ch; }

/* =================================================================
   PROCESS — timeline conectada com animação sequencial               */
.process {
  /* banda "spotlight" — tom mais rico que as dobras navy vizinhas,
     pra não virar um bloco escuro monótono */
  background: radial-gradient(130% 90% at 50% 0%, #1c2340 0%, #0e1222 58%, #070a16 100%);
  color: #fff;
  padding: clamp(64px, 7vw, 104px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(47,121,171,0.22);
  border-bottom: 1px solid rgba(47,121,171,0.22);
}
/* estampa fina fiel à logo (linhas de contorno subindo ao cume) — dá vida sem ser grosseira */
.process::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--bronze-500);
  opacity: 0.08;
  -webkit-mask: var(--mark-lines) 0 0 / 150px 100px repeat;
  mask: var(--mark-lines) 0 0 / 150px 100px repeat;
  pointer-events: none;
}
.process .eyebrow { color: var(--bronze-400); }
.process .section-title { color: #fff; }
.process .section-lead { color: rgba(255,255,255,0.72); }

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 8px;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}
/* trilho vertical + preenchimento que "sobe" conforme acende.
   Trilho/preenchimento ficam ATRÁS dos passos (z-index baixo); como o passo
   só é opaco no marcador, a linha some sob os números e aparece só nos vãos. */
.timeline::before {
  content: '';
  position: absolute;
  left: 33px; top: 20px; bottom: 20px;
  width: 2px;
  background: rgba(255,255,255,0.14);
  z-index: 0;
}
.timeline__fill {
  position: absolute;
  left: 33px; top: 20px;
  width: 2px; height: 0;
  background: linear-gradient(180deg, var(--cream-300), var(--bronze-500));
  box-shadow: 0 0 16px rgba(47,121,171,0.6);
  transition: height 1.1s var(--ease);
  z-index: 0;
}
.timeline__step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: start;
  gap: 20px;
  opacity: 0.42;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.timeline__step.on { opacity: 1; transform: translateY(0); }
.timeline__marker {
  position: relative;
  z-index: 2;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  background: var(--navy-800);
  border: 1.5px solid rgba(255,255,255,0.16);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.timeline__num { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: rgba(255,255,255,0.55); transition: color 0.45s var(--ease); }
.timeline__step.on .timeline__marker {
  background: linear-gradient(150deg, var(--bronze-500), var(--bronze-700));
  border-color: var(--cream-300);
  box-shadow: 0 0 0 5px rgba(47,121,171,0.16), 0 18px 34px -14px rgba(47,121,171,0.6);
  transform: scale(1.06);
}
.timeline__step.on .timeline__num { color: #fff; }
.timeline__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px 26px;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.timeline__step.on .timeline__card { background: rgba(255,255,255,0.06); border-color: rgba(47,121,171,0.4); }
.timeline__card:hover { transform: translateX(4px); }
.timeline__card h3 { font-size: var(--fs-h3); color: #fff; margin-bottom: 10px; }
.timeline__card p { color: rgba(255,255,255,0.74); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 560px) {
  .timeline::before, .timeline__fill { left: 27px; }
  .timeline__step { grid-template-columns: 56px 1fr; gap: 14px; }
  .timeline__marker { width: 56px; height: 56px; }
  .timeline__num { font-size: 1.1rem; }
}

/* =================================================================
   GALLERY                                                            */
.gallery { background-color: var(--navy-900); padding: clamp(64px, 7vw, 100px) 0; color: #fff; position: relative; }
.gallery .eyebrow { color: var(--bronze-400); }
.gallery .section-title { color: #fff; }
.gallery .section-lead { color: rgba(255,255,255,0.72); }
.gallery__grid { margin-top: 2.5rem; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.gallery__item { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; position: relative; border: 1px solid var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s var(--ease); filter: saturate(0.92) brightness(0.96); }
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
/* enquadramento: sobe a foto pra destacar a casa (não o passeio) */
.gallery__item:nth-child(3) img { object-position: center 22%; }
.gallery__item:nth-child(6) img { object-position: center 30%; }
.gallery__item:nth-child(7) img { object-position: center 16%; }

/* =================================================================
   EXPERTS (Quem somos)                                               */
.experts { background: var(--cream-50); color: var(--ink-900); padding: clamp(64px, 7vw, 100px) 0; position: relative; overflow: hidden; }
.experts .eyebrow { color: var(--bronze-700); }
/* mobile: título + reforço → foto → descrição (via grid-areas) */
.experts__inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "head" "photo" "copy";
  gap: clamp(22px, 4vw, 34px);
  position: relative;
  z-index: 1;
}
.experts__head { grid-area: head; }
.experts__photo { grid-area: photo; }
.experts__copy { grid-area: copy; }
.experts__reinforce { margin-top: 14px; font-size: 1.08rem; line-height: 1.55; color: var(--ink-700); font-weight: 500; max-width: 44ch; }
@media (min-width: 900px) {
  .experts__inner {
    grid-template-columns: minmax(280px, 0.82fr) 1.18fr;
    grid-template-areas: "photo head" "photo copy";
    column-gap: clamp(40px, 5vw, 64px);
    row-gap: 20px;
    align-items: start;
  }
  .experts__photo { align-self: center; }
}
.experts__photo { margin: 0; overflow: hidden; box-shadow: var(--shadow-md); position: relative; aspect-ratio: 4 / 5; background: var(--navy-900); }
@media (min-width: 900px) { .experts__photo { aspect-ratio: 3 / 4; } }
.experts__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.experts:hover .experts__photo img { transform: scale(1.02); }
.experts__copy { max-width: 560px; }
.experts__lead { font-size: 1rem; line-height: 1.7; color: var(--ink-700); margin-top: 1rem; }
.experts__lead strong { color: var(--bronze-700); font-weight: 600; }
.experts__cta { margin-top: 2rem; }

/* Equipe (fundadores) — cartões com barra bronze da marca */
.experts__team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 1.75rem;
}
@media (min-width: 560px) { .experts__team { grid-template-columns: 1fr 1fr; gap: 24px; } }
.expert-member { border-left: 2px solid var(--bronze-500); padding-left: 16px; }
.expert-member__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 4px;
}
.expert-member__role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bronze-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin-bottom: 10px;
}
.expert-member__bio { font-size: 0.9rem; color: var(--ink-500); line-height: 1.6; }

/* =================================================================
   FAQ                                                                */
.faq { background: var(--cream-50); padding: clamp(64px, 7vw, 100px) 0; }
/* mobile: título/subtítulo → FAQ → botão (via grid-areas) */
.faq__inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "head" "list" "cta";
  gap: clamp(24px, 4vw, 40px);
}
.faq__head { grid-area: head; }
.faq__list { grid-area: list; }
.faq__cta { grid-area: cta; justify-self: start; margin-top: 4px; }
@media (min-width: 940px) {
  .faq__inner {
    grid-template-columns: 0.85fr 1.15fr;
    grid-template-areas: "head list" "cta list";
    column-gap: clamp(32px, 4vw, 56px);
    row-gap: 24px;
    align-items: start;
  }
  .faq__cta { align-self: start; }
}
.faq .eyebrow { color: var(--bronze-700); }
.faq__list { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line-dark); overflow: hidden; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.faq__item.is-open { border-color: rgba(47,121,171,0.5); box-shadow: var(--shadow-md); }
.faq__q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.faq__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--bronze-600); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 24px 24px; color: var(--ink-500); font-size: 0.95rem; line-height: 1.7; }

/* =================================================================
   VIABILITY / FORM (padrão Militão)                                  */
.viability { background-color: var(--navy-900); color: #fff; padding: clamp(64px, 7vw, 104px) 0; position: relative; overflow: hidden; }
.viability::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 10% 0%, rgba(22,77,114,0.12), transparent 45%), radial-gradient(ellipse at 90% 100%, rgba(47,121,171,0.10), transparent 50%);
  pointer-events: none;
}
.form-head { text-align: center; max-width: 660px; margin: 0 auto clamp(26px, 3vw, 40px); position: relative; z-index: 1; }
.form-head .eyebrow { justify-content: center; color: var(--bronze-400); }
.form-head .section-title { color: #fff; margin-inline: auto; }
.form-head .section-title::after { margin-inline: auto; }
.form-head .section-lead { color: rgba(255,255,255,0.78); margin-inline: auto; margin-bottom: 0; }

.steps-indicator { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 460px; margin: 0 auto 26px; position: relative; z-index: 1; }
.step-item { display: flex; align-items: center; gap: 10px; }
.step-circle { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; transition: all 0.3s var(--ease); }
.step-circle.active { background: var(--bronze-600); border-color: var(--bronze-600); color: #fff; }
.step-circle.complete { background: var(--green); border-color: var(--green); color: #fff; }
.step-label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7); white-space: nowrap; }
.step-item.active .step-label { color: #fff; }
.step-connector { flex: 1; height: 2px; background: rgba(255,255,255,0.18); margin: 0 14px; position: relative; min-width: 30px; }
.step-connector-fill { position: absolute; inset: 0; width: 0; background: var(--green); transition: width 0.4s var(--ease); }

.form-card { max-width: 640px; margin: 0 auto; background: #fff; color: var(--ink-900); padding: 36px 30px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
@media (min-width: 700px) { .form-card { padding: 42px 40px; } }
.form-step { display: none; }
.form-step.active { display: block; animation: formFade 0.35s var(--ease); }
@keyframes formFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.form-step-title { font-size: 1.15rem; color: var(--navy-900); margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--ink-700); letter-spacing: 0.02em; }
.form-group input, .form-group select {
  height: 50px; padding: 0 16px;
  border: 1.5px solid #e2e2ea;
  background: #fafafb;
  font-size: 0.975rem;
  color: var(--navy-900);
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-group input::placeholder { color: var(--ink-400); }
.form-group input:focus, .form-group select:focus { outline: 0; border-color: var(--bronze-600); background: #fff; box-shadow: 0 0 0 4px rgba(47,121,171,0.15); }
.form-group input.error, .form-group select.error { border-color: #c83232; background: #fff6f6; }
.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%239c765a' d='M6 7L0 1 1.4-.4 6 4.2 10.6-.4 12 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 42px;
}
.error-msg { display: none; font-size: 0.78rem; color: #c83232; font-weight: 500; }
.error-msg.show { display: block; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-actions { display: flex; gap: 12px; margin-top: 8px; align-items: stretch; }
.form-actions .btn--back { flex: 0 0 auto; }

.form-success { display: none; text-align: center; padding: 24px 10px; }
.form-success.show { display: block; animation: formFade 0.4s var(--ease); }
.form-success .success-icon, .lead-popup__success .success-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: rgba(31,168,88,0.12); border: 1.5px solid rgba(31,168,88,0.4); color: var(--green);
}
.form-success .success-icon svg, .lead-popup__success .success-icon svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.3rem; color: var(--navy-900); margin-bottom: 8px; }
.form-success p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.6; max-width: 46ch; margin: 0 auto; }

.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; max-width: 640px; margin: 26px auto 0; position: relative; z-index: 1; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.72); }
.trust-item svg { width: 18px; height: 18px; stroke: var(--bronze-400); fill: none; }

/* =================================================================
   FOOTER (sem navegação e sem contato — o caminho é o funil)         */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.72); padding: 70px 0 34px; border-top: 1px solid var(--line); text-align: center; }
.site-footer__logo { display: inline-flex; margin: 0 auto; }
.site-footer__logo img { width: clamp(200px, 24vw, 260px); height: auto; }
.site-footer__divider { width: 54px; height: 12px; margin: 26px auto; background: var(--bronze-500); opacity: 0.7; -webkit-mask: var(--mark-peak) center / auto 100% repeat-x; mask: var(--mark-peak) center / auto 100% repeat-x; }
.site-footer__tagline { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 60ch; line-height: 1.7; margin: 0 auto; }
.site-footer__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin: 32px auto; max-width: 820px; }
.site-footer__info-item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.85rem; color: rgba(255,255,255,0.66); }
.site-footer__info-item svg { width: 18px; height: 18px; stroke: var(--bronze-400); fill: none; flex-shrink: 0; }
.site-footer__copy { font-size: 0.82rem; color: rgba(255,255,255,0.44); max-width: 920px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer__dev { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 8px; }
/* crédito M² BLACK: link para o site, selo com borda + pulso (padrão Militão, no bronze da Moura) */
.site-footer__dev a {
  display: inline-block;
  color: var(--bronze-400);
  font-weight: 600;
  padding: 4px 12px;
  margin-left: 4px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  animation: m2Pulse 2.8s ease-in-out infinite;
}
.site-footer__dev a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.42); color: #fff; animation-play-state: paused; }
@keyframes m2Pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47,121,171,0); border-color: rgba(255,255,255,0.22); }
  50%      { box-shadow: 0 0 0 4px rgba(47,121,171,0.14); border-color: rgba(47,121,171,0.5); }
}

/* =================================================================
   MOBILE CTA fixo (verde)                                            */
/* CTA fixo de conversão — barra full-width no rodapé, em TODAS as versões (padrão Militão) */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  z-index: 850;
  display: flex;
  justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 18, 34, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn {
  width: 100%;
  max-width: 560px;
  animation: none; /* na barra fixa, sem pulso — evita distração */
}

/* =================================================================
   FAB WhatsApp — REDONDO (exceção proposital à identidade angular)   */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 95;
  width: 58px; height: 58px;
  border: 0; cursor: pointer;
  border-radius: 50% !important;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), bottom 0.3s var(--ease);
  animation: waPulse 2.6s var(--ease) infinite;
}
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 18px 36px -8px rgba(37,211,102,0.75); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0); }
}
.wa-fab.lifted { bottom: calc(94px + env(safe-area-inset-bottom)); }
@media (max-width: 767px) {
  .wa-fab { bottom: 18px; width: 52px; height: 52px; }
  .wa-fab.lifted { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .wa-fab svg { width: 28px; height: 28px; }
}

/* =================================================================
   LEAD POPUP (40s)                                                   */
.lead-popup { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; }
.lead-popup[hidden] { display: none; }
.lead-popup__backdrop { position: absolute; inset: 0; background: rgba(7,10,22,0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: popupFade 0.3s var(--ease); }
/* O popup carrega o formulario completo em 2 passos e nao cabe em tela baixa.
   O overlay centraliza por grid (place-items:center): card maior que a tela
   transborda pros DOIS lados e o topo fica inalcancavel, sem scroll pra
   recuperar. 40px = os 20px de padding do overlay, dos dois lados. */
.lead-popup__card { position: relative; width: 100%; max-width: 440px; background: #fff; padding: 40px 32px 34px; box-shadow: var(--shadow-lg); animation: popupRise 0.4s var(--ease); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; }
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.lead-popup__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--ink-400); cursor: pointer; transition: color 0.2s var(--ease); }
.lead-popup__close:hover { color: var(--navy-900); }
.lead-popup__title { font-size: var(--fs-h3); color: var(--navy-900); margin-bottom: 8px; line-height: 1.2; }
.lead-popup__title .accent { color: var(--bronze-600); font-style: italic; font-weight: 500; }
.lead-popup__sub { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 22px; line-height: 1.6; }
.lead-popup__form .btn { margin-top: 4px; }
.lead-popup__success { display: none; text-align: center; padding: 10px 0; }
.lead-popup__success.show { display: block; animation: formFade 0.4s var(--ease); }
.lead-popup__success h3 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 6px; }
.lead-popup__success p { color: var(--ink-500); font-size: 0.9rem; line-height: 1.6; }

/* =================================================================
   REVEAL ON SCROLL                                                   */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* cascata: itens de grade entram em sequência (mais vivo, menos monótono) */
.pillars__grid .pillar:nth-child(2),
.financing__grid .financing__card:nth-child(2),
.gallery__grid .gallery__item:nth-child(2) { transition-delay: 0.08s; }
.pillars__grid .pillar:nth-child(3),
.financing__grid .financing__card:nth-child(3),
.gallery__grid .gallery__item:nth-child(3) { transition-delay: 0.16s; }
.pillars__grid .pillar:nth-child(4),
.gallery__grid .gallery__item:nth-child(4) { transition-delay: 0.24s; }
.gallery__grid .gallery__item:nth-child(5) { transition-delay: 0.32s; }
.gallery__grid .gallery__item:nth-child(6) { transition-delay: 0.40s; }
.gallery__grid .gallery__item:nth-child(7) { transition-delay: 0.48s; }
.gallery__grid .gallery__item:nth-child(8) { transition-delay: 0.56s; }

/* =================================================================
   REDUCED MOTION                                                     */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .wa-fab, .btn--accent, .btn--green { animation: none; }
}

/* ============================================================
   MENINEA OVERRIDES (reskin sobre o template Moura)
   ============================================================ */
/* Hero estático (sem vídeo scroll-driven) */
.hero__scroll-track { height: 100vh !important; }
.hero__sticky { place-items: center center; }

/* Accent legível nos títulos sobre fundo escuro */
.process .section-title .accent,
.viability .section-title .accent { color: var(--bronze-400); }
