/* ═══════════════════════════════════════════════════════════════════════════
   IFL-SP — 2º Processo Seletivo 2026
   Identidade visual baseada no Manual de Marca oficial do IFL-SP.
   Paleta: Dourado Pantone CF 10858 (#a5801b) + Azul Marinho Pantone 2756 C (#0f206c)
   Tipografia: Montserrat (Gotham fallback) + Allura (script)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────────────
   1. VARIÁVEIS — Tokens da marca IFL-SP
   ─────────────────────────────────────────────────────────────────────────── */
:root {
  /* Cores primárias da marca (Manual oficial) */
  --gold:           #a5801b;   /* Pantone CF 10858 — 70% dos materiais */
  --gold-dark:      #715a23;   /* Variação escura — C46 M54 Y100 K33 */
  --gold-deep:      #8a6a17;   /* Hover/active dourado */
  --navy:           #0f206c;   /* Pantone 2756 C — 30% dos materiais */
  --navy-dark:      #091552;   /* Hover azul */

  /* Cores secundárias da marca */
  --champagne:      #d4bf8d;   /* 50% Pantone CF 10858 */
  --champagne-soft: #ede2c8;   /* Mais claro ainda — backgrounds */
  --gray-soft:      #9d9fa2;   /* Cinza claro institucional */
  --text-deep:      #2a2a2a;   /* 85% K — textos densos */
  --text-mute:      #6a6a6a;   /* Textos secundários */

  /* Cores de apoio */
  --white:          #ffffff;
  --cream:          #faf6ee;   /* Background base — branco quente */
  --cream-deeper:   #f4eede;   /* Variação ligeiramente mais saturada */
  --error:          #b91c1c;
  --success:        #15803d;

  /* Tipografia */
  --font-display:   'Montserrat', system-ui, -apple-system, sans-serif;
  --font-script:    'Allura', 'Brush Script MT', cursive;
  --font-body:      'Montserrat', system-ui, -apple-system, sans-serif;

  /* Escala tipográfica */
  --fs-hero:        clamp(2.5rem, 6vw, 5rem);
  --fs-h1:          clamp(2rem, 4vw, 3.25rem);
  --fs-h2:          clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3:          clamp(1.25rem, 2vw, 1.5rem);
  --fs-body:        1rem;
  --fs-sm:          0.875rem;
  --fs-xs:          0.75rem;

  /* Espaçamento */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Bordas */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* Sombras (com tom dourado sutil) */
  --shadow-sm:   0 1px 2px rgba(165,128,27,0.06), 0 1px 3px rgba(15,32,108,0.04);
  --shadow-md:   0 4px 6px rgba(165,128,27,0.08), 0 4px 12px rgba(15,32,108,0.06);
  --shadow-lg:   0 8px 24px rgba(165,128,27,0.12), 0 16px 32px rgba(15,32,108,0.08);
  --shadow-xl:   0 20px 50px rgba(165,128,27,0.18), 0 30px 60px rgba(15,32,108,0.12);
  --shadow-glow: 0 0 0 4px rgba(165,128,27,0.12);

  /* Easing */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);

  /* Transições */
  --t-fast:   180ms var(--ease-out);
  --t-base:   280ms var(--ease-out);
  --t-slow:   500ms var(--ease-out);

  /* Container */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

/* ───────────────────────────────────────────────────────────────────────────
   2. RESET & BASE
   ─────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-deep);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--gold-deep);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

/* ───────────────────────────────────────────────────────────────────────────
   3. UTILIDADES — Container + helpers
   ─────────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.gold {
  color: var(--gold);
}

.navy {
  color: var(--navy);
}

/* ───────────────────────────────────────────────────────────────────────────
   4. CABEÇALHO (sticky com glassmorphism)
   ─────────────────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--container-pad);
  background: rgba(250, 246, 238, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(165, 128, 27, 0.18);
  transition: background var(--t-base), border-color var(--t-base);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: opacity var(--t-fast);
  justify-self: start;
}

.header__brand:hover {
  opacity: 0.85;
}

.header__logo {
  height: 44px;
  width: auto;
}

.header__titulo {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  justify-self: center;
  text-align: center;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--t-base);
  justify-self: end;
}

.header__cta:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 720px) {
  .header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .header__titulo {
    display: none;
  }
  .header__cta {
    padding: 8px 16px;
    font-size: var(--fs-xs);
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   5. HERO — Seção principal cinematográfica
   ─────────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: var(--space-9) var(--container-pad) var(--space-8);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 191, 141, 0.55), transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(165, 128, 27, 0.18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deeper) 100%);
}

/* Hexágonos de fundo decorativos */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 5 L92 27.5 L92 72.5 L50 95 L8 72.5 L8 27.5 Z' stroke='%23a5801b' stroke-width='1.2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
}

.hero::before {
  width: 280px;
  height: 280px;
  top: 8%;
  right: -60px;
  animation: float 18s ease-in-out infinite;
}

.hero::after {
  width: 180px;
  height: 180px;
  bottom: 12%;
  left: -40px;
  animation: float 22s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-24px) rotate(8deg); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(165, 128, 27, 0.3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(165, 128, 27, 0.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(165, 128, 27, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(165, 128, 27, 0); }
}

.hero__titulo {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-deep);
  margin-bottom: var(--space-5);
}

.hero__titulo .script {
  display: block;
  font-size: 0.85em;
  font-weight: 400;
  margin-top: var(--space-2);
  line-height: 1;
}

.hero__subtitulo {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 620px;
  margin: 0 auto var(--space-7);
}

.hero__acoes {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ───────────────────────────────────────────────────────────────────────────
   6. BOTÕES
   ─────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primario {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(165, 128, 27, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primario::after {
  content: "→";
  font-size: 1.1em;
  transition: transform var(--t-base);
}

.btn--primario:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold-dark) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(165, 128, 27, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primario:hover::after {
  transform: translateX(4px);
}

.btn--secundario {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(15, 32, 108, 0.25);
}

.btn--secundario:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

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

.btn--enviar {
  width: 100%;
  padding: 18px 32px;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(165, 128, 27, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--enviar:disabled {
  background: linear-gradient(135deg, var(--gray-soft), #b8babd);
  color: rgba(255, 255, 255, 0.85);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn--enviar:not(:disabled):hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(165, 128, 27, 0.45);
}

.btn--enviar.carregando .btn-texto {
  visibility: hidden;
}

.btn--enviar.carregando .spinner {
  position: absolute;
  display: block;
}

.spinner {
  display: none;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ───────────────────────────────────────────────────────────────────────────
   7. SEÇÕES GENÉRICAS
   ─────────────────────────────────────────────────────────────────────────── */
.secao {
  padding: var(--space-9) 0;
  position: relative;
}

.secao--escura {
  background: linear-gradient(180deg, var(--cream-deeper) 0%, var(--cream) 100%);
}

.secao--cream {
  background: var(--cream);
}

.secao--navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}

.secao--navy .secao__titulo,
.secao--navy .secao__sub {
  color: var(--white);
}

.secao--navy .secao__sub {
  opacity: 0.85;
}

.secao__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-8);
}

.secao__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.secao__titulo {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-deep);
  margin-bottom: var(--space-4);
}

.secao__titulo .script {
  display: block;
  font-size: 0.7em;
  font-weight: 400;
}

.secao__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-mute);
  max-width: 580px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────────────────────
   8. HEXÁGONO DA LIDERANÇA — Grid de competências
   ─────────────────────────────────────────────────────────────────────────── */
.hex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  max-width: 1100px;
  margin: 0 auto;
}

.hex-card {
  position: relative;
  padding: var(--space-7) var(--space-5);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(165, 128, 27, 0.18);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base);
  overflow: hidden;
}

.hex-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.hex-card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 128, 27, 0.45);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.92);
}

.hex-card:hover::before {
  opacity: 1;
}

.hex-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  position: relative;
  transition: transform var(--t-base);
}

.hex-card:hover .hex-card__icon {
  transform: scale(1.1) rotate(8deg);
}

.hex-card__titulo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.hex-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-mute);
}

/* ───────────────────────────────────────────────────────────────────────────
   9. CARDS DE INFORMAÇÃO (datas, números)
   ─────────────────────────────────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  max-width: 1100px;
  margin: 0 auto;
}

.info-card {
  position: relative;
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
  transition: all var(--t-base);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card--destaque {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-top-color: var(--gold);
}

.info-card--destaque .info-card__label {
  color: var(--champagne);
}

.info-card--destaque .info-card__valor {
  color: var(--white);
}

.info-card--destaque .info-card__detalhe {
  color: rgba(255, 255, 255, 0.75);
}

.info-card__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.info-card__valor {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.info-card__detalhe {
  font-size: var(--fs-sm);
  color: var(--text-mute);
  line-height: 1.5;
}

/* ───────────────────────────────────────────────────────────────────────────
   10. PROCESSO — Timeline de 4 etapas
   ─────────────────────────────────────────────────────────────────────────── */
.processo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.processo__step {
  position: relative;
  padding: var(--space-7) var(--space-5) var(--space-5);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(165, 128, 27, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base);
}

.processo__step:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.processo__numero {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-display);
  box-shadow: 0 6px 16px rgba(165, 128, 27, 0.35);
}

.processo__titulo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.processo__desc {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-mute);
}

/* ───────────────────────────────────────────────────────────────────────────
   11. CRONOGRAMA — Timeline vertical
   ─────────────────────────────────────────────────────────────────────────── */
.cronograma {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 64px;
}

.cronograma::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  opacity: 0.4;
}

.cronograma__item {
  position: relative;
  padding-bottom: var(--space-7);
}

.cronograma__item:last-child {
  padding-bottom: 0;
}

/* Marker = bullet hexagonal sólido, centrado SOBRE a linha (linha em x=24, marker em x=12 com 24px width = centro em x=24) */
.cronograma__marker {
  position: absolute;
  left: -52px;
  top: 6px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  box-shadow: 0 4px 12px rgba(165, 128, 27, 0.35);
  z-index: 2;
}

.cronograma__data {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.cronograma__evento {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.cronograma__desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-mute);
}

/* Item destaque: marker navy + halo dourado + hexágono outline animado atrás */
.cronograma__item--destaque .cronograma__marker {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  box-shadow: 0 0 0 6px rgba(165, 128, 27, 0.22), 0 4px 14px rgba(15, 32, 108, 0.4);
}

/* Halo outline hexagonal — efeito "respiração" inspirado no brand book */
.cronograma__item--destaque .cronograma__marker::before {
  content: "";
  position: absolute;
  inset: -16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 5 L92 27.5 L92 72.5 L50 95 L8 72.5 L8 27.5 Z' stroke='%23a5801b' stroke-width='2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  animation: halo-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes halo-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cronograma__item--destaque .cronograma__marker::before {
    animation: none;
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   12. CTA FINAL — Seção final emocional
   ─────────────────────────────────────────────────────────────────────────── */
.cta-final {
  position: relative;
  padding: var(--space-9) var(--container-pad);
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(165, 128, 27, 0.4), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, #0a1644 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 5 L92 27.5 L92 72.5 L50 95 L8 72.5 L8 27.5 Z' stroke='%23a5801b' stroke-width='1' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: 110% center;
  background-size: 50% auto;
  opacity: 0.15;
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-final__titulo {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}

.cta-final__titulo .script {
  color: var(--champagne);
  display: block;
  font-size: 0.85em;
}

.cta-final__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-7);
  opacity: 0.88;
}

/* ───────────────────────────────────────────────────────────────────────────
   13. FOOTER
   ─────────────────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  padding: var(--space-7) var(--container-pad) var(--space-6);
  background: var(--cream-deeper);
  border-top: 1px solid rgba(165, 128, 27, 0.2);
}

.footer__chevron {
  height: 24px;
  margin-bottom: var(--space-5);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'><path d='M0 22 L40 4 L80 22' stroke='%23a5801b' stroke-width='1' fill='none' opacity='0.5'/><path d='M0 16 L40 -2 L80 16' stroke='%23a5801b' stroke-width='1' fill='none' opacity='0.32'/></svg>");
  background-repeat: repeat-x;
  background-size: 80px 24px;
  opacity: 0.7;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-5);
  align-items: center;
}

@media (max-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer__brand img {
  height: 36px;
}

.footer__brand-text {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--navy);
}

.footer__info {
  font-size: var(--fs-sm);
  color: var(--text-mute);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .footer__links {
    justify-content: center;
  }
}

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--navy);
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FORMULÁRIO — segunda página
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────────────
   14. PÁGINA FORM
   ─────────────────────────────────────────────────────────────────────────── */
.form-page {
  min-height: calc(100vh - 80px);
  padding: var(--space-7) var(--container-pad) var(--space-9);
  background:
    radial-gradient(ellipse 70% 50% at 30% 0%, rgba(212, 191, 141, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(165, 128, 27, 0.12), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deeper) 100%);
}

.form-container {
  max-width: 760px;
  margin: 0 auto;
}

.form-hero {
  text-align: center;
  margin-bottom: var(--space-7);
}

.form-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(165, 128, 27, 0.3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.form-hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(165, 128, 27, 0.25);
}

.form-hero__titulo {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-deep);
  margin-bottom: var(--space-4);
}

.form-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 600px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────────────────────
   15. CARD DO FORMULÁRIO (glass)
   ─────────────────────────────────────────────────────────────────────────── */
.form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(165, 128, 27, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-7) clamp(var(--space-5), 4vw, var(--space-7));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    var(--shadow-lg);
}

.form-secao {
  padding-bottom: var(--space-7);
  margin-bottom: var(--space-7);
  border-bottom: 1px dashed rgba(165, 128, 27, 0.25);
}

.form-secao:last-of-type {
  border-bottom: none;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
}

.form-secao__titulo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

.form-secao__titulo::before {
  content: "";
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(165, 128, 27, 0.3);
}

/* ───────────────────────────────────────────────────────────────────────────
   16. CAMPOS DE FORMULÁRIO
   ─────────────────────────────────────────────────────────────────────────── */
.campo {
  margin-bottom: var(--space-5);
}

.campo--linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

@media (max-width: 600px) {
  .campo--linha {
    grid-template-columns: 1fr;
  }
}

.campo--oculto {
  display: none;
}

.form-card label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-2);
  letter-spacing: 0.005em;
}

.obrigatorio {
  color: var(--gold);
  font-weight: 700;
  margin-left: 2px;
}

.opcional {
  color: var(--text-mute);
  font-weight: 400;
  font-size: 0.85em;
  font-style: italic;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="date"],
.form-card input[type="tel"],
.form-card input[type="url"] {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(165, 128, 27, 0.25);
  border-radius: var(--radius-md);
  color: var(--text-deep);
  transition: all var(--t-fast);
  font-family: inherit;
}

.form-card input::placeholder {
  color: var(--gray-soft);
  font-weight: 400;
}

.form-card input[type="text"]:hover,
.form-card input[type="email"]:hover,
.form-card input[type="date"]:hover,
.form-card input[type="tel"]:hover,
.form-card input[type="url"]:hover {
  border-color: rgba(165, 128, 27, 0.45);
}

.form-card input[type="text"]:focus,
.form-card input[type="email"]:focus,
.form-card input[type="date"]:focus,
.form-card input[type="tel"]:focus,
.form-card input[type="url"]:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-glow);
}

.form-card input:read-only {
  background: rgba(165, 128, 27, 0.06);
  cursor: default;
}

.form-card input.invalido {
  border-color: var(--error);
  background: rgba(185, 28, 28, 0.04);
}

.form-card input.invalido:focus {
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.15);
}

.campo-dica {
  font-size: var(--fs-xs);
  color: var(--text-mute);
  margin-top: var(--space-2);
  line-height: 1.5;
}

.cep-loading {
  display: none;
  font-size: var(--fs-xs);
  color: var(--gold);
  font-weight: 600;
  margin-top: var(--space-2);
}

.cep-loading.visivel {
  display: block;
}

.cep-loading::before {
  content: "⏳ ";
}

.erro-msg {
  display: none;
  font-size: var(--fs-xs);
  color: var(--error);
  font-weight: 500;
  margin-top: var(--space-2);
  padding-left: 18px;
  position: relative;
}

.erro-msg::before {
  content: "⚠";
  position: absolute;
  left: 0;
  top: 0;
}

.erro-msg.visivel {
  display: block;
}

/* ───────────────────────────────────────────────────────────────────────────
   17. RADIO + CHECKBOX
   ─────────────────────────────────────────────────────────────────────────── */
.radio-grupo {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.radio-opcao {
  position: relative;
  flex: 1 1 auto;
  min-width: 140px;
  cursor: pointer;
  display: block;
}

.radio-opcao input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-opcao__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(165, 128, 27, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-deep);
  transition: all var(--t-fast);
  line-height: 1.4;
}

.radio-opcao__label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid rgba(165, 128, 27, 0.4);
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.radio-opcao:hover .radio-opcao__label {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.95);
}

.radio-opcao input[type="radio"]:checked + .radio-opcao__label {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(165, 128, 27, 0.08), rgba(165, 128, 27, 0.04));
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}

.radio-opcao input[type="radio"]:checked + .radio-opcao__label::before {
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold) 40%, var(--white) 45%);
}

.check-grupo {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.check-opcao {
  position: relative;
  cursor: pointer;
  display: block;
}

.check-opcao input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-opcao__label {
  display: block;
  position: relative;
  padding: 14px 18px 14px 50px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(165, 128, 27, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-deep);
  line-height: 1.5;
  transition: all var(--t-fast);
}

.check-opcao__label::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(165, 128, 27, 0.4);
  border-radius: 5px;
  background: var(--white);
  transition: all var(--t-fast);
}

.check-opcao:hover .check-opcao__label {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.95);
}

.check-opcao input[type="checkbox"]:checked + .check-opcao__label {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(165, 128, 27, 0.08), rgba(165, 128, 27, 0.04));
  color: var(--navy);
}

.check-opcao input[type="checkbox"]:checked + .check-opcao__label::before {
  background: var(--gold);
  border-color: var(--gold);
}

.check-opcao input[type="checkbox"]:checked + .check-opcao__label::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 22px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5 L5 9.5 L10 3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.check-opcao__label a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.check-opcao__label a:hover {
  color: var(--gold-dark);
}

/* ───────────────────────────────────────────────────────────────────────────
   18. AVISO DA TAXA + ACEITES
   ─────────────────────────────────────────────────────────────────────────── */
.aviso-taxa {
  background: linear-gradient(135deg, rgba(165, 128, 27, 0.08), rgba(212, 191, 141, 0.15));
  border: 1px solid rgba(165, 128, 27, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.aviso-taxa__titulo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.aviso-taxa__titulo::before {
  content: "💳";
  font-size: 1.3em;
}

.aviso-taxa__texto {
  font-size: 0.9375rem;
  color: var(--text-mute);
  line-height: 1.65;
}

.aviso-taxa__texto strong {
  color: var(--navy);
  font-weight: 700;
}

.aceites {
  margin-top: var(--space-6);
}

.aceites__titulo {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

/* ───────────────────────────────────────────────────────────────────────────
   19. RODAPÉ DO FORMULÁRIO + Mensagens
   ─────────────────────────────────────────────────────────────────────────── */
.form-rodape {
  margin-top: var(--space-7);
  text-align: center;
}

.form-rodape__aviso {
  font-size: var(--fs-xs);
  color: var(--text-mute);
  margin-top: var(--space-4);
  line-height: 1.6;
}

.msg-sucesso,
.msg-erro-global {
  display: none;
  padding: var(--space-7);
  border-radius: var(--radius-xl);
  text-align: center;
  margin-top: var(--space-6);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.msg-sucesso.visivel,
.msg-erro-global.visivel {
  display: block;
  animation: fadeInUp 600ms var(--ease-out);
}

.msg-sucesso {
  border: 2px solid rgba(21, 128, 61, 0.3);
  border-top: 4px solid var(--success);
  box-shadow: var(--shadow-lg);
}

.msg-sucesso__titulo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--success);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.msg-sucesso__titulo::before {
  content: "✓";
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--success);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
}

.msg-sucesso p:not(.msg-sucesso__titulo) {
  color: var(--text-mute);
  line-height: 1.7;
  font-size: 1rem;
}

.msg-erro-global {
  border: 2px solid rgba(185, 28, 28, 0.3);
  border-top: 4px solid var(--error);
}

.msg-erro-global__titulo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--error);
  margin-bottom: var(--space-3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   20. ANIMAÇÕES DE SCROLL REVEAL
   ─────────────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero::before,
  .hero::after,
  .hero__eyebrow::before {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
