/* =========================================================
   13º ENEFAV — Landing Page
   Sistema visual baseado em resumo-identidade-visual-enefav.md
   Cores, tipografia e formas extraídas da peça de referência
   ========================================================= */

/* ---------- Fontes ---------- */
/* Poppins: carregada via Google Fonts no index.html (todos os textos)          */
/* Audiowide (Brian J. Bonislawsky / Astigmatic): usada SOMENTE na palavra      */
/* "formação" do hero. Arquivos hospedados em assets/fonts/.                    */
/* Licença: SIL Open Font License 1.1 — assets/fonts/OFL-Audiowide.txt          */
/* (livre para uso comercial, incorporação como webfont e redistribuição)       */
@font-face {
  font-family: 'Audiowide';
  src: url('../assets/fonts/Audiowide.woff2') format('woff2'),
       url('../assets/fonts/Audiowide.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Cores — extraídas por amostragem da peça de referência */
  --navy-deep: #011F37;   /* fundo mais escuro / sombra */
  --navy-base: #013051;   /* azul profundo — base */
  --teal: #1F4B62;        /* azul petróleo — grafismos/linhas */
  --gold: #FEC307;        /* amarelo/dourado — destaque principal */
  --gold-dark: #E7B20F;   /* variação do dourado */
  --off-white: #F7F8F9;   /* branco/off-white — texto principal */
  --ink: #071824;         /* texto sobre fundo claro */

  /* Tipografia */
  --font-display: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Poppins', 'Montserrat', sans-serif;
  --font-hero: 'Audiowide', 'Poppins', 'Montserrat', sans-serif; /* só a palavra "formação" do hero */

  /* Espaçamento / layout */
  --container: 1180px;
  --radius: 6px;
  --gap: clamp(1.5rem, 3vw, 3rem);

  /* Sombra */
  --shadow-soft: 0 20px 60px -20px rgba(1, 31, 55, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }

/* Ícones Phosphor (inline SVG, peso Light) */
.ph-icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
i .ph-icon, i.ph-icon { vertical-align: -0.15em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.08; }
p { margin: 0; line-height: 1.65; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }
.section--dark { background: var(--navy-base); color: var(--off-white); }
.section--light { background: var(--off-white); color: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.section-lede { max-width: 62ch; font-size: 1.05rem; opacity: .88; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Grafismo: trio de triângulos (assinatura visual) ---------- */
.triangle-trio { display: inline-flex; gap: .35rem; align-items: center; }
.triangle-trio span {
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--gold);
}
.triangle-trio.outline span {
  border-left-color: transparent;
  position: relative;
}
.triangle-trio.outline span::before {
  content: '';
  position: absolute; inset: -7px -11px auto auto;
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--gold);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%);
}

/* ---------- Grafismo: padrão de circuito (fundo) ---------- */
.circuit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%231F4B62' stroke-width='1.5'%3E%3Cpath d='M-10 44 H44 q14 0 14 14 V116 q0 14 14 14 H150 q14 0 14 14 V210'/%3E%3Cpath d='M44 -10 V26 q0 14 14 14 H128 q14 0 14 14 V96'/%3E%3Cpath d='M330 68 H250 q-14 0 -14 14 V150 q0 14 -14 14 H150'/%3E%3Cpath d='M-10 226 H74 q14 0 14 -14 V150 q0 -14 14 -14 H150'/%3E%3Cpath d='M160 330 V262 q0 -14 14 -14 H244 q14 0 14 -14 V150'/%3E%3Cpath d='M112 330 V276 q0 -14 -14 -14 H40 q-14 0 -14 -14 V180'/%3E%3Cpath d='M330 250 H262 q-14 0 -14 -14 V196'/%3E%3Cpath d='M204 -10 V40 q0 14 -14 14 H150'/%3E%3C/g%3E%3Cg fill='none' stroke='%23FEC307' stroke-width='1.5'%3E%3Cpath d='M-10 158 H40 q14 0 14 -14 V72 q0 -14 14 -14 H150'/%3E%3Cpath d='M330 190 H214 q-14 0 -14 14 V252'/%3E%3Cpath d='M258 330 V286 q0 -14 14 -14 H330'/%3E%3C/g%3E%3Cg fill='%231F4B62'%3E%3Ccircle cx='150' cy='210' r='3.5'/%3E%3Ccircle cx='150' cy='96' r='3.5'/%3E%3Ccircle cx='150' cy='164' r='3.5'/%3E%3Ccircle cx='150' cy='136' r='3.5'/%3E%3Ccircle cx='88' cy='212' r='3.5'/%3E%3Ccircle cx='248' cy='196' r='3.5'/%3E%3Ccircle cx='26' cy='180' r='3.5'/%3E%3Ccircle cx='258' cy='150' r='3.5'/%3E%3Ccircle cx='190' cy='54' r='3.5'/%3E%3C/g%3E%3Cg fill='%23FEC307'%3E%3Ccircle cx='150' cy='58' r='4.5'/%3E%3Ccircle cx='54' cy='144' r='4.5'/%3E%3Ccircle cx='200' cy='204' r='4.5'/%3E%3Ccircle cx='214' cy='190' r='4.5'/%3E%3Ccircle cx='272' cy='272' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 320px 320px;
}

/* Modificador reutilizável (padrão do hero): o circuito aparece só em duas
   manchas em cantos opostos, desvanecendo no miolo.
   .circuit-bg--corners      -> topo-esquerda + inferior-direita
   .circuit-bg--corners-alt  -> topo-direita   + inferior-esquerda
   Alternar entre os dois ao descer a página cria ritmo sem repetição.
   Uso: <div class="circuit-bg circuit-bg--corners"></div> */
.circuit-bg--corners,
.circuit-bg--corners-alt {
  opacity: .5;
  -webkit-mask-composite: source-over;
  mask-composite: add;
}
.circuit-bg--corners {
  -webkit-mask-image:
    radial-gradient(58% 42% at -5% -8%, #000 0%, #000 42%, transparent 78%),
    radial-gradient(70% 48% at 108% 108%, #000 0%, #000 45%, transparent 80%);
  mask-image:
    radial-gradient(58% 42% at -5% -8%, #000 0%, #000 42%, transparent 78%),
    radial-gradient(70% 48% at 108% 108%, #000 0%, #000 45%, transparent 80%);
}
.circuit-bg--corners-alt {
  -webkit-mask-image:
    radial-gradient(58% 42% at 105% -8%, #000 0%, #000 42%, transparent 78%),
    radial-gradient(70% 48% at -8% 108%, #000 0%, #000 45%, transparent 80%);
  mask-image:
    radial-gradient(58% 42% at 105% -8%, #000 0%, #000 42%, transparent 78%),
    radial-gradient(70% 48% at -8% 108%, #000 0%, #000 45%, transparent 80%);
}

/* ---------- Grafismo: triângulo vazado atrás do título (hero) ---------- */
.hero-triangle {
  position: absolute;
  z-index: 0;
  opacity: .9;
}

/* ---------- Grafismo: dois triângulos brancos preenchidos (topo direito do hero) ---------- */
.hero-corner-marks {
  position: absolute;
  top: clamp(6rem, 9vw, 8rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  gap: .55rem;
  z-index: 3;
  pointer-events: none;
}
.hero-corner-marks span {
  width: 23px;
  height: 27.6px;
  background: var(--off-white);
  clip-path: polygon(2px 2px, 21px 13.8px, 2px 25.6px);
}
@media (max-width: 600px) {
  .hero-corner-marks span { width: 17px; height: 20.4px; clip-path: polygon(1px 1px, 16px 10.2px, 1px 19.4px); }
}

/* ---------- Grafismo: triângulo vazado grande nas seções claras ----------
   Um único triângulo dourado vazado, alternando entre esquerda e direita
   ao descer a página. Recebe parallax via GSAP (mesmo efeito do hero).   */
.section--light { overflow: hidden; }
.section-triangle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: clamp(260px, 40vw, 500px);
  height: auto;
  opacity: .4;
  will-change: transform;
}
.section-triangle--right { right: -7%; top: 6%; }
.section-triangle--left  { left: -9%; bottom: 4%; }

@media (max-width: 640px) {
  .section-triangle { width: 60vw; opacity: .28; }
}

/* ---------- Grafismo: corte diagonal (bloco de assinatura) ---------- */
.diagonal-panel { position: relative; overflow: hidden; }
.diagonal-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--off-white);
  clip-path: polygon(0 100%, 0 35%, 45% 100%);
  z-index: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-block: .9rem;
  background: rgba(1, 31, 55, 0.0);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.is-scrolled {
  background: rgba(1, 31, 55, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  padding-block: .55rem;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--off-white); }
.brand img { height: 64px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--off-white); font-size: .88rem; font-weight: 500; opacity: .85;
  position: relative; padding-block: .3rem;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold);
  transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 400; font-size: .85rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 20px -14px rgba(254,195,7,.4); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--off-white); border-color: rgba(247,248,249,.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink { background: var(--navy-base); color: var(--off-white); }
.btn-ink:hover { background: var(--navy-deep); }
.btn-sm { padding: .6rem 1rem; font-size: .78rem; }

.nav-toggle {
  display: none; background: transparent; border: 0; color: var(--off-white); font-size: 1.5rem;
  flex-shrink: 0; width: 2.2rem; height: 2.2rem;
  align-items: center; justify-content: center;
  position: relative; z-index: 60;
}

@media (max-width: 760px) {
  /* Menu mobile: painel em tela cheia com slide da direita para a esquerda */
  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.8rem;
    position: fixed; inset: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    background: var(--navy-deep);
    padding: 6rem clamp(1.5rem, 8vw, 3rem) 3rem;
    z-index: 55;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), visibility .4s;
    visibility: hidden;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); visibility: visible; }
  .nav-links a {
    font-size: 1.5rem; font-weight: 600;
    opacity: 0; transform: translateX(20px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav-links.is-open a { opacity: 1; transform: translateX(0); }
  .nav-links.is-open a:nth-child(1) { transition-delay: .12s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: .17s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: .22s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: .27s; }
  .nav-links.is-open a:nth-child(5) { transition-delay: .32s; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex; align-items: center;
  background: radial-gradient(120% 120% at 80% -10%, var(--teal) 0%, var(--navy-base) 45%, var(--navy-deep) 100%);
  color: var(--off-white);
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 7rem;
}
.hero .container { position: relative; z-index: 2; }
.hero-top-marks { margin-bottom: 1.2rem; }
.hero-top-marks .triangle-trio { gap: .55rem; }
.hero-top-marks .triangle-trio span {
  width: 23px;
  height: 27.6px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpolygon points='2,2 18,12 2,22' fill='none' stroke='%23FEC307' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-date {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: .4rem;
}
.hero-date strong { font-weight: 800; color: var(--gold); }
.hero-date-sep { opacity: .5; margin-inline: .15em; }
.hero-kicker { font-size: clamp(1rem,1.6vw,1.2rem); font-weight: 300; margin-bottom: .3rem; }
.hero-title-wrap { position: relative; margin-block: .4rem 1.1rem; }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.01em;
  position: relative; z-index: 1;
  max-width: 19ch;
}
.hero-title .line { display: block; font-size: .62em; }
.hero-title .line-tail { font-size: .62em; margin-top: .12em; }
.hero-title .accent {
  color: var(--gold);
  font-family: var(--font-hero);
  font-weight: 400;              /* Audiowide possui um único peso */
  letter-spacing: -.02em;
  font-size: 1.57em;             /* "formação" como protagonista tipográfico do hero */
  display: inline-block;
  line-height: 1;
  margin-block: .04em 0;         /* aproxima a linha "em segurança privada..." de "formação" */
}
@media (max-width: 600px) {
  .hero-title .accent { font-size: 1.2em; letter-spacing: -.03em; }
  /* Triângulo grande amarelo do hero: joga para a direita, saindo da tela */
  .hero-triangle { right: -55% !important; top: 4% !important; opacity: .4; }
}
.hero-desc { max-width: 82ch; opacity: .82; font-size: 1rem; margin-bottom: .7rem; }
.hero-desc + .hero-desc { margin-bottom: 1.4rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  font-size: .85rem; opacity: .85; margin-bottom: 1.8rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta i { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--off-white); opacity: .7; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  z-index: 2;
}
.hero-scroll i,
.hero-scroll svg {
  font-size: 1.2rem;
  width: 1.4rem; height: 1.4rem;
  color: var(--gold);
  animation: scroll-hint 1.8s cubic-bezier(.45,0,.2,1) infinite;
}
@keyframes scroll-hint {
  0%      { transform: translateY(-4px); opacity: 0; }
  35%     { opacity: 1; }
  70%     { transform: translateY(7px); opacity: .35; }
  71%,100%{ transform: translateY(-4px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll i,
  .hero-scroll svg { animation: none; opacity: .8; transform: none; }
}

/* ---------- Cards genéricos ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(1,31,55,.06);
}
.section--dark .card {
  background: rgba(247,248,249,.04);
  border: 1px solid rgba(247,248,249,.1);
  box-shadow: none;
}
.card-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(254,195,7,.12);
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.card p { font-size: .92rem; opacity: .85; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: start; }
.about-text p + p { margin-top: 1.1rem; }
.about-audience {
  background: var(--navy-base); color: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative; overflow: hidden;
}
.about-audience h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; color: var(--gold); }
.about-audience p { font-size: .92rem; opacity: .88; }

/* ---------- Programação (tabs) ---------- */
.schedule-tabs { display: flex; gap: .75rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.schedule-tab {
  padding: .8rem 1.4rem; border-radius: 999px;
  background: rgba(247,248,249,.06); color: var(--off-white);
  border: 1px solid rgba(247,248,249,.16);
  font-weight: 600; font-size: .88rem;
}
.schedule-tab.is-active { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.schedule-panel { display: none; }
.schedule-panel.is-active { display: block; animation: schedule-fade .35s ease both; }

.schedule-day-theme {
  font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: .03em;
  margin-bottom: 1.4rem;
}
.schedule-location-note {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: 1rem 1.2rem; margin-bottom: 1.4rem;
  background: rgba(254,195,7,.08);
  border: 1px solid rgba(254,195,7,.3);
  border-radius: var(--radius);
}
.schedule-location-note svg:first-child { color: var(--gold); flex-shrink: 0; width: 22px; height: 22px; align-self: flex-start; margin-top: .1rem; }
.schedule-location-note > div { flex: 1 1 260px; }
.schedule-location-note strong { display: block; font-size: .92rem; margin-bottom: .2rem; }
.schedule-location-note-btn {
  padding: .6rem 1.1rem; font-size: .8rem; flex-shrink: 0; margin-left: auto;
}
.schedule-location-note span { font-size: .85rem; opacity: .8; }

/* fade-in ao trocar de dia (fallback sem GSAP e reforço visual) */
@keyframes schedule-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .schedule-panel.is-active { animation: none; }
}

.schedule-list { display: flex; flex-direction: column; border-top: 1px solid rgba(247,248,249,.14); }
.schedule-row {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(247,248,249,.14);
}
.schedule-time { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: .95rem; white-space: nowrap; }
.schedule-activity strong { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.schedule-activity span { font-size: .85rem; opacity: .78; display: block; }
.schedule-row.is-break .schedule-activity strong { opacity: .6; font-weight: 500; }
.schedule-tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); font-weight: 700; margin-bottom: .35rem;
}

/* ---------- Arena de Inovação ---------- */
.arena-tags { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.arena-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: rgba(254,195,7,.08);
  border: 1px solid rgba(254,195,7,.35);
  color: var(--off-white);
  font-size: .88rem; font-weight: 500;
}
.arena-tag i { color: var(--gold); font-size: 1.1rem; }

/* ---------- Para quem é ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.audience-item {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.1rem 1.2rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid rgba(1,31,55,.08);
}
.audience-item i { font-size: 1.5rem; color: var(--navy-base); flex-shrink: 0; }
.audience-item span { font-size: .9rem; font-weight: 500; }

/* Estrutura: 3 na primeira linha, 2 centralizados na segunda */
.audience-grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.audience-grid--center .audience-item { flex: 0 1 300px; }

/* ---------- Patrocínio ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.4rem; }
.tier {
  padding: 2rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(247,248,249,.04);
  border: 1px solid rgba(247,248,249,.14);
  text-align: center;
}
.tier.is-master { background: linear-gradient(160deg, rgba(254,195,7,.16), rgba(254,195,7,.02)); border-color: rgba(254,195,7,.5); }
.tier i { font-size: 1.8rem; color: var(--gold); margin-bottom: .8rem; }
.tier h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Fechamento (CTA final) ---------- */
.closing { position: relative; background: var(--navy-deep); color: var(--off-white); overflow: hidden; }
.closing .container { position: relative; z-index: 1; text-align: center; }
.closing .section-head { margin-inline: auto; }
.closing-participe { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--gold); margin-top: 1.8rem; }
.closing-tagline { font-size: 1.05rem; opacity: .82; margin-top: .6rem; font-style: italic; }
.closing-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* ---------- Formulário ---------- */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gap); align-items: center; }
.form-card {
  background: transparent; color: var(--ink);
  border-radius: var(--radius); padding: 0;
  box-shadow: none;
  position: relative;
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .8rem; margin-bottom: .4rem; opacity: .7; }
.field input, .field select {
  width: 100%; padding: .8rem .9rem;
  background: #fff;
  border: 1px solid rgba(31,75,98,.28);
  border-radius: var(--radius);
  color: var(--ink); font-size: .92rem; font-family: inherit;
}
.field input::placeholder { color: rgba(31,75,98,.45); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field select option { color: var(--ink); }
.interest-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.interest-chip {
  font-size: .8rem; padding: .5rem .9rem; border-radius: 999px;
  border: 1px solid rgba(31,75,98,.28);
  background: #fff;
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
}
.interest-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.interest-chip.is-checked {
  border-color: var(--gold);
  background: rgba(254,195,7,.2);
  color: var(--ink);
  font-weight: 600;
}
.consent-check {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .8rem; opacity: .85; line-height: 1.45; cursor: pointer;
}
.consent-check input {
  flex-shrink: 0; margin-top: .2rem;
  width: 16px; height: 16px;
  accent-color: var(--gold);
}
.consent-check a { text-decoration: underline; text-underline-offset: 2px; color: var(--navy-base); font-weight: 600; }
.consent-check a:hover { color: var(--gold-dark); }
.form-card button[type="submit"] { width: 100%; justify-content: center; margin-top: .5rem; }
.form-status { margin-top: .8rem; min-height: 1.2em; font-size: .85rem; text-align: center; }
.form-status.is-error { color: #c0392b; }
.form-status.is-success { color: #1f7a3d; }
.cf-turnstile { width: 100%; }
.cf-turnstile iframe { width: 100% !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--off-white); padding-block: 3rem 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(247,248,249,.12); }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { height: 52px; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; opacity: .78; }
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .78rem; opacity: .6; flex-wrap: wrap; }
.footer-legal-link { text-decoration: underline; text-underline-offset: 2px; opacity: .85; }
.footer-legal-link:hover { opacity: 1; color: var(--gold); }

/* ---------- Reveal (GSAP hook) ---------- */
.reveal { opacity: 0; transform: translateY(28px); }

/* ---------- Página institucional (Política de Privacidade) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: radial-gradient(120% 120% at 80% -10%, var(--teal) 0%, var(--navy-base) 45%, var(--navy-deep) 100%);
  color: var(--off-white);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .6rem; }
.page-hero-meta { font-size: .88rem; opacity: .75; }
.page-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 500; color: var(--off-white); opacity: .8;
  margin-bottom: 1.6rem;
}
.page-back:hover { opacity: 1; color: var(--gold); }
.page-back svg { transform: rotate(180deg); }

.policy-wrap { max-width: 780px; margin-inline: auto; }
.policy-wrap h2 {
  font-size: 1.35rem; font-weight: 700;
  margin-top: 2.6rem; margin-bottom: .9rem;
  padding-top: 2.6rem; border-top: 1px solid rgba(1,31,55,.1);
  color: var(--navy-base);
}
.policy-wrap > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.policy-wrap h3 { font-size: 1.02rem; font-weight: 700; margin-top: 1.6rem; margin-bottom: .5rem; }
.policy-wrap p { margin-bottom: 1rem; font-size: .96rem; opacity: .82; }
.policy-wrap ul { margin: 0 0 1.1rem; padding: 0; }
.policy-wrap li {
  position: relative; padding-left: 1.15rem; margin-bottom: .55rem;
  font-size: .96rem; opacity: .82;
}
.policy-wrap li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 0; height: 0;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-left: 6px solid var(--gold);
}
.policy-wrap strong { color: var(--ink); font-weight: 700; }
.policy-wrap a { color: var(--navy-base); text-decoration: underline; text-underline-offset: 2px; }
.policy-wrap a:hover { color: var(--gold-dark); }
.policy-highlight {
  background: rgba(254,195,7,.08);
  border: 1px solid rgba(254,195,7,.35);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin-top: 1rem;
}
.policy-highlight p:last-child { margin-bottom: 0; }
.policy-highlight strong { display: block; margin-bottom: .3rem; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 1.5rem; bottom: 1.5rem;
  z-index: 200;
  width: calc(100% - 3rem);
  max-width: 380px;
  background: var(--navy-deep);
  color: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid rgba(254,195,7,.25);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transform: translateY(calc(100% + 1.5rem));
  opacity: 0;
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s ease;
  pointer-events: none;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner .eyebrow { margin-bottom: 0; }
.cookie-banner p:not(.eyebrow) { font-size: .82rem; opacity: .85; line-height: 1.55; margin: 0; }
.cookie-banner a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner a:hover { color: var(--gold-dark); }
.cookie-banner-actions { display: flex; gap: .7rem; }
.cookie-banner-actions .btn { flex: 1; justify-content: center; }
@media (max-width: 600px) {
  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; width: auto; max-width: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-header .container > div:last-child { gap: .4rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .schedule-row { grid-template-columns: 90px 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .hero-actions .btn, .closing-actions .btn { width: 100%; justify-content: center; }
}
