/* =========================================================
   CCM SUMMIT — Landing modernizada
   Bicromática (azul profundo + branco) + gradientes
   ========================================================= */

:root {
  /* Neutros — preto KV CCM Summit (substitui o navy-blue anterior) */
  --navy-950: #0a0809;     /* near-black (fundo KV) */
  --navy-900: #131011;     /* preto elevado */
  --navy-800: #1d1a1b;     /* superfície escura */
  --navy-700: #2c2729;     /* cinza muito escuro */
  --navy-600: #3c3639;
  --navy-500: #6b1620;     /* vinho profundo (acento escuro) */
  --navy-300: #9a8e91;
  --navy-100: #ddd6d8;

  --ink: #1a1517;          /* texto escuro neutro */
  --ink-soft: #463f42;
  --muted: #847c80;

  --bg: #f6f4f2;           /* off-white levemente quente */
  --bg-soft: #edeae7;
  --surface: #ffffff;

  /* Vermelho CCM Summit (KV oficial) — accent principal */
  --gold: #d8262b;          /* vermelho principal (escarlate KV) */
  --gold-soft: #e36a64;     /* vermelho claro */
  --gold-deep: #8a141a;     /* vermelho profundo */
  --gold-bright: #f0382f;   /* vermelho brilhante */

  --red: #d8262b;
  --red-deep: #8a141a;

  --border: rgba(6, 13, 31, 0.10);
  --border-strong: rgba(6, 13, 31, 0.20);

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold-bright) 100%);
  box-shadow: 0 0 10px var(--gold);
  transition: width 0.1s linear;
}

/* =========================================================
   CURSOR SPOTLIGHT — só ativa em sections com [data-spotlight]
   ========================================================= */
.cursor-spotlight {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(circle, rgba(216, 38, 43, 0.18), transparent 50%);
  mix-blend-mode: screen;
  filter: blur(40px);
  will-change: transform, opacity;
}
.cursor-spotlight.is-active { opacity: 1; }

@media (max-width: 820px), (hover: none) {
  .cursor-spotlight { display: none; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(246, 246, 243, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 0 rgba(216, 38, 43, 0.15);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  transition: color 0.3s var(--ease);
}
.nav.is-scrolled .nav__brand { color: var(--ink); }

.nav__brand-mark {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.nav__brand-divider {
  width: 1px;
  height: 14px;
  background: currentColor;
  opacity: 0.4;
  align-self: center;
}
.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.nav__brand-logo {
  display: block;
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s var(--ease), height 0.3s var(--ease);
}
.nav.is-scrolled .nav__brand-logo {
  filter: none;
  height: 50px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__menu a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { right: 0; }
.nav__menu a:hover { color: #fff; }
.nav.is-scrolled .nav__menu a { color: var(--ink-soft); }
.nav.is-scrolled .nav__menu a:hover { color: var(--ink); }

.nav__cta {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-950) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 6px 18px -6px rgba(216, 38, 43, 0.5);
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(216, 38, 43, 0.7);
}
.nav.is-scrolled .nav__cta {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-soft) !important;
}
.nav__cta::after { display: none !important; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 0 var(--gutter) 24px;
  gap: 4px;
}
.nav__mobile a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.nav__mobile .nav__cta {
  margin-top: 12px;
  text-align: center;
  border: 0;
  padding: 14px 18px;
}

@media (max-width: 820px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.is-open {
    display: flex;
    background: rgba(248, 249, 251, 0.98);
    backdrop-filter: blur(12px);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 0 120px;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    /* overlays de tom + legibilidade do texto (lado esquerdo mais escuro) */
    radial-gradient(ellipse 80% 60% at 75% 5%, rgba(216, 38, 43, 0.22), transparent 55%),
    radial-gradient(ellipse 90% 70% at 15% 85%, rgba(138, 20, 26, 0.38), transparent 60%),
    linear-gradient(100deg, rgba(0,0,0,0.92) 0%, rgba(7,18,34,0.78) 38%, rgba(11,31,58,0.45) 70%, rgba(11,31,58,0.30) 100%),
    /* imagem de fundo do topo */
    url("img/bg-topo_ccm-summit.png");
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(216, 38, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 38, 43, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 65% 75% at 50% 50%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 50% 50%, #000 20%, transparent 85%);
}

/* AURORA — gradientes que flutuam */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  filter: blur(60px);
}
.aurora {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  will-change: transform;
}
.aurora--1 {
  width: 900px; height: 900px;
  top: -260px; right: -200px;
  background: radial-gradient(circle, rgba(216, 38, 43, 0.45), transparent 60%);
  animation: aurora1 22s ease-in-out infinite;
}
.aurora--2 {
  width: 700px; height: 700px;
  bottom: -180px; left: -180px;
  background: radial-gradient(circle, rgba(138, 20, 26, 0.65), transparent 60%);
  animation: aurora2 28s ease-in-out infinite;
}
.aurora--3 {
  width: 520px; height: 520px;
  top: 30%; left: 25%;
  background: radial-gradient(circle, rgba(216, 38, 43, 0.18), transparent 60%);
  animation: aurora3 34s ease-in-out infinite;
}
.aurora--4 {
  width: 640px; height: 640px;
  top: -100px; left: 40%;
  background: radial-gradient(circle, rgba(227, 106, 100, 0.20), transparent 60%);
  animation: aurora4 26s ease-in-out infinite;
}
@keyframes aurora4 {
  0%, 100% { transform: translate(0, 0)      scale(1)   ; opacity: 0.6; }
  50%      { transform: translate(120px, 60px) scale(1.1); opacity: 1; }
}

/* Onda cyan respirando no topo */
.hero__topwave {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(216, 38, 43, 0.10) 0%,
    rgba(216, 38, 43, 0.04) 30%,
    transparent 70%
  );
  animation: topWave 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes topWave {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50%      { opacity: 0.9; transform: translateY(-12px); }
}

/* Linha "scan" horizontal que cruza o topo lentamente */
.hero__scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(216, 38, 43, 0.0) 30%,
    rgba(216, 38, 43, 0.8) 50%,
    rgba(240, 56, 47, 0.5) 52%,
    transparent 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: -100% 0;
  animation: scanSweep 12s linear infinite;
  pointer-events: none;
  filter: blur(0.5px);
}
@keyframes scanSweep {
  0%   { background-position: -100% 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { background-position: 200% 0;  opacity: 0; }
}
@keyframes aurora1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-90px, 120px) scale(1.15); }
  66%      { transform: translate(70px, 50px)   scale(0.95); }
}
@keyframes aurora2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(130px, -70px) scale(0.9); }
  66%      { transform: translate(-50px, 90px)  scale(1.1); }
}
@keyframes aurora3 {
  0%, 100% { transform: translate(0, 0)     scale(1)   ; opacity: 0.5; }
  50%      { transform: translate(-70px, -90px) scale(1.2); opacity: 0.85; }
}

/* SHAPES decorativas com parallax */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.shape {
  position: absolute;
  will-change: transform;
}
/* Linhas topográficas — assinatura do KV (curvas fluidas em vermelho) */
.hero__topo {
  position: absolute;
  bottom: -12%;
  left: -8%;
  width: 55%;
  height: 70%;
  z-index: -2;
  color: var(--red);
  opacity: 0.3;
  pointer-events: none;
  animation: topoFloat 20s ease-in-out infinite;
}
.hero__topo path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  /* 1) desenha na entrada  2) ondula em loop contínuo */
  animation:
    topoDraw 2.6s var(--ease) forwards,
    topoWave 7s ease-in-out infinite;
}
/* animation-delay: [draw-in escalonado], [fase da onda — negativa = começa adiantada] */
.hero__topo path:nth-child(1) { animation-delay: 0.10s,  0.0s; }
.hero__topo path:nth-child(2) { animation-delay: 0.25s, -0.9s; }
.hero__topo path:nth-child(3) { animation-delay: 0.40s, -1.8s; }
.hero__topo path:nth-child(4) { animation-delay: 0.55s, -2.7s; }
.hero__topo path:nth-child(5) { animation-delay: 0.70s, -3.6s; }
.hero__topo path:nth-child(6) { animation-delay: 0.85s, -4.5s; }
.hero__topo path:nth-child(7) { animation-delay: 1.00s, -5.4s; }
.hero__topo path:nth-child(8) { animation-delay: 1.15s, -6.3s; }

@keyframes topoDraw {
  to { stroke-dashoffset: 0; }
}
/* Ondulação contínua — cada linha com fase diferente cria um ripple fluindo */
@keyframes topoWave {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes topoFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-20px, 18px); }
}

@media (max-width: 820px) {
  .hero__topo { width: 120%; left: -30%; bottom: -8%; opacity: 0.22; }
}
.shape--dot {
  top: 60%; right: 18%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px var(--gold);
}
.shape--line {
  top: 35%; left: 6%;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}
.shape--orb {
  bottom: 25%; right: 5%;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__inner {
  max-width: var(--container);
  position: relative;
  z-index: 1;
}
/* Conteúdo do hero fica na coluna esquerda (KV à direita) */
.hero__eyebrow,
.hero__title,
.hero__lead,
.hero__actions {
  max-width: 620px;
  position: relative;
  z-index: 2;
}
.hero__meta {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

/* Realizadora — item dentro da faixa de meta do hero */
.hero__meta-realizadora dd { line-height: 0; }
.hero__realizadora-logo {
  display: block;
  height: 30px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease);
}
.hero__meta-realizadora a:hover .hero__realizadora-logo { opacity: 1; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 3.4vw, 84px);
  line-height: 1.18;
  letter-spacing: 1px;
  margin: 0 0 32px;
  color: #fff;
}
.hero__title-em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
  margin-top: 12px;
}
.hero__title-em .word {
  background: linear-gradient(120deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Key Visual (chevron + foto) à direita do hero ===== */
.hero__kv {
  position: absolute;
  top: 50%;
  right: clamp(-40px, -2vw, 0px);
  transform: translateY(-50%);
  width: clamp(360px, 46vw, 680px);
  z-index: 0;
  pointer-events: none;
}
.hero__kv::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(216, 38, 43, 0.28), transparent 70%);
  filter: blur(36px);
  z-index: -1;
  animation: kvGlow 6s ease-in-out infinite;
}
.hero__kv img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.5));
  animation:
    kvEnter 1.5s var(--ease) 0.4s forwards,
    kvFloat 7s ease-in-out 2s infinite;
}
@keyframes kvEnter {
  from { opacity: 0; transform: translateX(48px) scale(0.94); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes kvFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes kvGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* Tablet/mobile: KV vira fundo atrás do texto, mais discreto */
@media (max-width: 900px) {
  .hero__kv {
    top: 16%;
    right: 50%;
    transform: translateX(50%);
    width: min(560px, 92vw);
    opacity: 0.22;
  }
  .hero__eyebrow,
  .hero__title,
  .hero__lead,
  .hero__meta,
  .hero__actions {
    max-width: 100%;
  }
}

/* word reveal — sem clipping (overflow:visible) pra não cortar italics */
.word-wrap {
  display: inline-block;
  vertical-align: baseline;
  line-height: inherit;
}
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  filter: blur(6px);
}
.word.is-visible {
  animation: wordIn 0.9s var(--ease) forwards;
}
@keyframes wordIn {
  0%   { opacity: 0; transform: translateY(40%); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 0 48px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  margin: 0 0 48px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__meta-realizadora { justify-self: start; }
.hero__meta dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  color: #fff;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__legacy {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 var(--gutter);
}
.hero__legacy strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
}
.legacy-plus {
  color: var(--gold);
  font-weight: 400;
}

/* SCROLL indicator */
.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 1;
  transition: color 0.3s var(--ease);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, currentColor);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -40%; }
  100% { top: 110%; }
}

@media (max-width: 820px) {
  .hero__scroll { display: none; }
}

@media (max-width: 600px) {
  .hero__meta { grid-template-columns: 1fr; gap: 20px; }
  .hero__legacy { position: static; transform: none; margin-top: 64px; justify-content: flex-start; padding: 0; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--navy-950);
  color: #fff;
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--navy-950), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }

.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee__track span:not(.marquee__star) {
  color: rgba(255, 255, 255, 0.85);
}
.marquee__star {
  color: var(--gold);
  font-size: 0.5em;
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: var(--navy-950);
  box-shadow: 0 12px 36px -10px rgba(216, 38, 43, 0.5), inset 0 1px 0 rgba(255,255,255,0.4);
  font-weight: 600;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold-bright) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.btn--primary:hover {
  transform: translateY(-2px);
  color: var(--navy-950);
  box-shadow: 0 24px 50px -10px rgba(216, 38, 43, 0.7), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.section--local .btn--ghost,
.section--sobre .btn--ghost {
  color: var(--ink);
  border-color: var(--border-strong);
}
.section--local .btn--ghost:hover,
.section--sobre .btn--ghost:hover {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* =========================================================
   SECTIONS — base
   ========================================================= */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
  position: relative;
  padding-left: 38px;
}
.section__kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section__kicker--light {
  color: var(--gold);
}
.section__kicker--light::before {
  background: linear-gradient(90deg, transparent, var(--gold-bright));
}
.section__head--center .section__kicker { padding-left: 0; }
.section__head--center .section__kicker::before { display: none; }

.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
}
.section__title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(110deg, var(--navy-900) 0%, var(--gold-deep) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section__title--light {
  color: #fff;
}
.section__title--light em {
  background: linear-gradient(110deg, var(--gold-bright), var(--gold) 60%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.section__lead--light {
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   SOBRE
   ========================================================= */
.section--sobre {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 70px);
}
.section--sobre::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(216, 38, 43, 0.12), transparent 60%);
  pointer-events: none;
}
.section--sobre::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.sobre__copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.sobre__copy p:last-child { margin-bottom: 0; }
.sobre__copy strong {
  color: var(--ink);
  font-weight: 600;
}

.sobre__pillars {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sobre__pillars li {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  column-gap: 28px;
  row-gap: 6px;
  align-items: start;
  transition: border-color 0.3s var(--ease);
}
.sobre__pillars li::after {
  content: "→";
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.sobre__pillars li:last-child { border-bottom: 1px solid var(--border); }
.sobre__pillars li:hover {
  border-color: var(--gold);
}
.sobre__pillars li:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.pillar__num {
  grid-column: 1;
  grid-row: 1 / 3;
  padding-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
}
.sobre__pillars h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.sobre__pillars p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .sobre__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--navy-950);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.stats__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(138, 20, 26, 0.5), transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(216, 38, 43, 0.14), transparent 60%);
}
.stats__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stats__grid li {
  background: var(--navy-950);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: background 0.3s var(--ease);
}
.stats__grid li:hover {
  background: linear-gradient(180deg, rgba(232,184,99,0.08), transparent);
}
.stats__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--gold-bright) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PROGRAMAÇÃO
   ========================================================= */
.section--prog {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.section--prog::before {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46, 91, 140, 0.08), transparent 60%);
  pointer-events: none;
}

.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.timeline__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  position: relative;
}

.timeline__time {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
  padding-top: 24px;
  position: sticky;
  top: 100px;
}

.timeline__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.timeline__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--gold), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.timeline__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(20, 16, 18, 0.18);
  border-color: transparent;
}
.timeline__card:hover::before { opacity: 1; }

.timeline__card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}
.timeline__card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.timeline__card p em {
  color: var(--muted);
  font-style: italic;
}

.timeline__card--minor {
  background: transparent;
  border-style: dashed;
  padding: 20px 32px;
}
.timeline__card--minor::before { display: none; }
.timeline__card--minor h3 { font-size: 18px; margin: 8px 0 0; color: var(--ink-soft); }

.timeline__item--highlight .timeline__card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: transparent;
  color: #fff;
}
.timeline__item--highlight .timeline__card::before {
  background: linear-gradient(135deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.timeline__item--highlight .timeline__card:hover {
  box-shadow: 0 30px 60px -20px rgba(20, 16, 18, 0.5);
}
.timeline__item--highlight .timeline__card h3 { color: #fff; }
.timeline__item--highlight .timeline__card p { color: rgba(255, 255, 255, 0.8); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.tag--common {
  background: rgba(46, 91, 140, 0.08);
  color: var(--navy-700);
}
.timeline__item--highlight .tag--common {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-soft);
}
.tag--minor {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.tag--iesm {
  background: linear-gradient(135deg, rgba(46, 91, 140, 0.12), rgba(46, 91, 140, 0.04));
  color: var(--navy-700);
  border-color: rgba(46, 91, 140, 0.2);
}
.tag--pharma {
  background: linear-gradient(135deg, rgba(29, 113, 184, 0.12), rgba(29, 113, 184, 0.04));
  color: #1d71b8;
  border-color: rgba(29, 113, 184, 0.3);
}

.timeline__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* Cards de trilha — IESM e Pharma Calling */
.timeline__card--iesm,
.timeline__card--pharma {
  border-top: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header com a logo — quebra a padding interna do card */
.timeline__brand {
  margin: -28px -32px 24px;
  padding: 32px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.timeline__brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.4s var(--ease);
}
.timeline__card--iesm .timeline__brand::before {
  background:
    radial-gradient(ellipse 90% 100% at 50% 100%, rgba(112, 55, 140, 0.10), transparent 70%),
    linear-gradient(180deg, #fafafa 0%, rgba(112, 55, 140, 0.04) 100%);
}
.timeline__card--pharma .timeline__brand::before {
  background:
    radial-gradient(ellipse 90% 100% at 50% 100%, rgba(29, 113, 184, 0.10), transparent 70%),
    linear-gradient(180deg, #fafafa 0%, rgba(29, 113, 184, 0.05) 100%);
}
.timeline__card:hover .timeline__brand::before {
  opacity: 1;
}

.timeline__brand img {
  position: relative;
  z-index: 1;
  max-height: 100%;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.timeline__card:hover .timeline__brand img {
  transform: scale(1.04);
}

/* Selo decorativo de canto */
.timeline__brand::after {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  z-index: 1;
}
.timeline__card--iesm .timeline__brand::after {
  background: #6f378c;
  box-shadow: 0 0 0 4px rgba(112, 55, 140, 0.15);
}
.timeline__card--pharma .timeline__brand::after {
  background: #1d71b8;
  box-shadow: 0 0 0 4px rgba(29, 113, 184, 0.18);
}

/* Texto descritivo */
.timeline__lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 40px 0 36px;
}

/* Tag das trilhas precisa respirar do brand acima */
.timeline__card--iesm > .tag,
.timeline__card--pharma > .tag {
  margin-top: 4px;
}

/* Lista de sessões */
.timeline__sessions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.timeline__sessions li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease);
}
.timeline__sessions li:hover { padding-left: 8px; }

.timeline__sessions li i {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
  background: rgba(216, 38, 43, 0.08);
  color: var(--gold-deep);
  border: 1px solid rgba(216, 38, 43, 0.18);
}
.timeline__card--iesm .timeline__sessions li i {
  background: rgba(112, 55, 140, 0.06);
  color: #6f378c;
  border-color: rgba(112, 55, 140, 0.16);
}
.timeline__card--pharma .timeline__sessions li i {
  background: rgba(29, 113, 184, 0.06);
  color: #1d71b8;
  border-color: rgba(29, 113, 184, 0.16);
}

.timeline__sessions li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.session__type {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.session__time {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.timeline__card--iesm .session__time {
  color: #6f378c;
}
.timeline__card--pharma .session__time {
  color: #1d71b8;
}

.timeline__hint {
  display: block;
  margin: 18px 0 4px;
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
}

.timeline__slots {
  list-style: none;
  margin: 20px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--border);
}
.timeline__slots li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
}
.timeline__slots li span:first-child {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-style: italic;
}
.timeline__slots li span:last-child {
  color: var(--muted);
  font-style: italic;
}

.prog__note {
  margin: 48px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Aviso "Em breve" enquanto a programação completa fica oculta */
.prog__soon {
  margin: 24px auto 0;
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 64px 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}
.prog__soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy-950);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prog__soon-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
.prog__soon-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  color: var(--ink);
}

@media (max-width: 820px) {
  .timeline__item { grid-template-columns: 1fr; gap: 8px; }
  .timeline__time { position: static; padding-top: 0; }
  .timeline__split { grid-template-columns: 1fr; }
}

/* =========================================================
   LOCAL
   ========================================================= */
.section--local {
  background: var(--bg);
}

.local__card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(40px, 5vw, 64px);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
}
.local__card:hover {
  box-shadow: 0 40px 80px -30px rgba(20, 16, 18, 0.25);
}
.local__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, var(--gold) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}

.local__info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.local__info p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 16px;
}

.local__date {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-left: 1px solid var(--border);
  padding-left: 48px;
}
.local__day {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--gold-deep) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.local__date > div {
  display: flex;
  flex-direction: column;
}
.local__month {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--gold-deep);
}
.local__year {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .local__card { grid-template-columns: 1fr; gap: 32px; }
  .local__date { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; }
}

/* =========================================================
   RSVP
   ========================================================= */
.section--rsvp {
  background: var(--navy-950);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.rsvp__gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46, 91, 140, 0.4), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(216, 38, 43, 0.10), transparent 60%);
}

.rsvp__widget-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}
.rsvp__widget-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent 50%, var(--gold-bright));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

#ccm-rsvp-widget {
  font-family: var(--font-sans);
  color: #fff;
}
#ccm-rsvp-widget * { font-family: inherit; }
#ccm-rsvp-widget input,
#ccm-rsvp-widget select,
#ccm-rsvp-widget textarea {
  font-family: inherit;
}

.rsvp__note {
  margin: 32px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 600px) {
  .rsvp__note br { display: none; }
}
.rsvp__note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.rsvp__note a:hover { color: var(--gold); }

/* =========================================================
   PARCEIROS — seção clara para logos
   ========================================================= */
.section--parceiros {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.section--parceiros::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.parceiros__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.parceiros__grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px clamp(20px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.parceiros__grid li:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(6, 13, 31, 0.08);
}

.parceiros__grid img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.4s var(--ease);
}
.parceiros__grid li:hover img {
  opacity: 1;
}
/* logo quadrado com fundo próprio (ex.: Atta) — um pouco maior */
.parceiro--tile img {
  max-height: 96px;
  border-radius: 10px;
}
/* Escape60 — um pouco maior */
.parceiro--escape img {
  max-height: 80px;
}

/* Placeholder enquanto os logos não chegam */
.parceiro--placeholder span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 64px;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
}

.footer__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
}
.footer__brand-mark {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.footer__brand-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
  align-self: center;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
}
.footer__brand-logo {
  display: block;
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer__realizacao {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__logo {
  height: 38px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease);
}
.footer__logo:hover { opacity: 1; }

.footer__social {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__social a:hover {
  background: var(--gold);
  color: var(--navy-950);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__legal {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s var(--ease);
}
.footer__legal a:hover { color: var(--gold); }

@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__realizacao { align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   REVEAL animations
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Children in [data-stagger] reveal with cascade */
[data-stagger] > [data-reveal] {
  transition-delay: calc(var(--stagger-index, 0) * 90ms + var(--reveal-delay, 0ms));
}

/* =========================================================
   EIXOS TEMÁTICOS — Ciência, Inovação, Estratégia, Colaboração
   ========================================================= */
.section--eixos {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 70px);
}
.section--eixos::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(216, 38, 43, 0.06), transparent 60%);
  pointer-events: none;
}
.section--eixos::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(138, 20, 26, 0.05), transparent 60%);
  pointer-events: none;
}

.eixos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.eixo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.eixo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.eixo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(216, 38, 43, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.eixo:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 38, 43, 0.3);
  box-shadow: 0 24px 48px -20px rgba(216, 38, 43, 0.25);
}
.eixo:hover::before,
.eixo:hover::after { opacity: 1; }

.eixo__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(216, 38, 43, 0.08), rgba(138, 20, 26, 0.04));
  border: 1px solid rgba(216, 38, 43, 0.18);
  color: var(--gold-deep);
  margin-bottom: 24px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.eixo:hover .eixo__icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  transform: scale(1.08);
}
.eixo__icon svg {
  width: 32px;
  height: 32px;
}

.eixo__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.eixo__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 980px) {
  .eixos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .eixos { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .word { opacity: 1; transform: none; filter: none; animation: none; }
}

/* =========================================================
   PÁGINA LEGAL — Política de Privacidade
   ========================================================= */
.page-legal {
  background: var(--bg);
}

/* Nav fica sempre em modo "scrolled" na página legal */
.nav.is-static {
  position: fixed;
  background: rgba(246, 246, 243, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 0 rgba(216, 38, 43, 0.15);
}
.nav.is-static .nav__brand { color: var(--ink); }
.nav.is-static .nav__menu a { color: var(--ink-soft); }
.nav.is-static .nav__menu a:hover { color: var(--ink); }
.nav.is-static .nav__toggle span { background: var(--ink); }
.nav.is-static .nav__cta {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-soft) !important;
}

/* HERO da página legal */
.legal-hero {
  padding: 160px 0 60px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(216, 38, 43, 0.10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.legal-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.legal-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding: 8px 0;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.legal-hero__back:hover {
  color: var(--gold-deep);
  gap: 14px;
}

.legal-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 16px 0 40px;
}
.legal-hero__title em {
  font-style: italic;
  background: linear-gradient(110deg, var(--navy-900), var(--gold-deep) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-hero__meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.legal-hero__meta dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.legal-hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

@media (max-width: 720px) {
  .legal-hero__meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* CONTEÚDO */
.legal {
  padding: 80px 0 120px;
}
.legal .container {
  max-width: 860px;
}

.legal__intro p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.legal__intro p strong {
  color: var(--ink);
  font-weight: 600;
}
.legal__intro a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal__intro a:hover { color: var(--ink); }

/* Seções numeradas */
.legal__section {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.legal__section:first-of-type {
  margin-top: 60px;
}

.legal__heading {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 28px;
}
.legal__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.legal__heading h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.legal__section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.legal__section p strong {
  color: var(--ink);
  font-weight: 600;
}
.legal__section a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__section a:hover { color: var(--ink); }

.legal__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}

/* Listas */
.legal__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: legal-item;
}
.legal__list li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}
.legal__list li:last-child { border-bottom: 0; }
.legal__list li::before {
  counter-increment: legal-item;
  content: "0" counter(legal-item);
  position: absolute;
  left: 0; top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
}
.legal__list li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Destaque/box */
.legal__highlight {
  background: linear-gradient(135deg, rgba(216, 38, 43, 0.08), rgba(216, 38, 43, 0.02));
  border-left: 3px solid var(--gold);
  padding: 18px 24px;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink) !important;
}

/* Tabelas */
.legal__table-wrap {
  margin: 28px 0 36px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}
.legal__table thead {
  background: var(--navy-950);
}
.legal__table thead th {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.legal__table tbody td {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  line-height: 1.55;
  vertical-align: top;
}
.legal__table tbody td strong {
  color: var(--ink);
  font-weight: 600;
}
.legal__table tbody tr:hover {
  background: rgba(216, 38, 43, 0.04);
}
.legal__table--4col {
  min-width: 760px;
  font-size: 13px;
}
.legal__table--4col tbody td {
  padding: 14px 16px;
}

/* Direitos do titular — grid de cards */
.legal__rights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.legal__rights article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.legal__rights article:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(20, 16, 18, 0.12);
}
.legal__rights h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.legal__rights p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .legal__rights { grid-template-columns: 1fr; }
}

/* Seção de contato */
.legal__section--contact {
  background: linear-gradient(180deg, transparent, rgba(216, 38, 43, 0.04));
  border-radius: 16px;
  padding: 48px 32px;
  margin-top: 80px;
  border-top: 0;
}
.legal__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--navy-950);
  color: var(--gold-soft) !important;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  margin: 16px 0 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.legal__contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.4);
}
.legal__contact i { color: var(--gold); }

/* Footer da página legal */
.legal__footer {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.legal__footer .btn {
  color: var(--ink);
  border-color: var(--border-strong);
}
.legal__footer .btn:hover {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
