/* =====================================================================
   FÓRUM PRODUTTARE DE COMPETITIVIDADE — Design System v2
   Linguagem visual fiel às referências: warm-dark + acento laranja único,
   ênfase em itálico, divisores finos, pills de contorno, muito respiro.
   ===================================================================== */

/* ------------------------------- TOKENS ------------------------------ */
:root {
  /* Marca */
  --orange: #ed8500;
  --amber: #f5ab00;
  --red: #de000a;

  /* Papéis semânticos — TEMA CLARO (padrão, como a referência) */
  --bg: #ffffff;
  --bg-alt: #f5f4f1; /* seção alternada, branco levemente quente */
  --surface: #ffffff;
  --fg: #191919;
  --fg-muted: #616167;
  --border: rgba(0, 0, 0, 0.1);
  --accent: var(--orange);

  /* Áreas escuras (hero, CTA, rodapé) — constantes nos dois temas */
  --dark-1: #17120c; /* espresso quente */
  --dark-2: #0c0906;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.7);
  --dark-border: rgba(255, 255, 255, 0.14);

  /* Divisor fino assinatura */
  --rule: linear-gradient(90deg, transparent, var(--orange), transparent);

  /* Tipografia */
  --font: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --fs-hero: clamp(2.4rem, 5.5vw, 4.25rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 2.85rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.6rem);
  --fs-lead: clamp(1.075rem, 1.5vw, 1.3rem);
  --fs-body: 1.0625rem;

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Tema escuro (alterna só as áreas de conteúdo; hero/CTA/rodapé seguem dark) */
:root[data-theme='dark'] {
  --bg: #0f0b08;
  --bg-alt: #17120c;
  --surface: #1b1610;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.66);
  --border: rgba(255, 255, 255, 0.12);
}

/* ------------------------------- RESET ------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------------------------- TIPOGRAFIA ----------------------------- */
h1,
h2,
h3 {
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.015em;
}
h1 {
  font-size: var(--fs-hero);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
.em {
  color: var(--orange);
}
.it {
  font-style: italic;
}
.lead {
  font-size: var(--fs-lead);
  color: var(--fg-muted);
  font-weight: 400;
  line-height: 1.55;
}

/* Kicker: rótulo pequeno laranja com traço à esquerda (eyebrow das seções) */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

/* Pill de contorno (edição / rótulos) */
.pill {
  display: inline-block;
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(237, 133, 0, 0.55);
  color: var(--orange);
}

/* Divisor fino assinatura */
.rule {
  height: 2px;
  width: 100%;
  background: var(--rule);
  border: 0;
}
.rule--short {
  width: 120px;
}

/* ------------------------------ LAYOUT ------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--sec-y);
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
}
.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section-head .kicker {
  margin-bottom: 1.1rem;
}
.section-head .lead {
  margin-top: 1.1rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .kicker {
  justify-content: center;
}

/* ------------------------------ BOTÕES ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
}
.btn--primary:hover {
  background: #ff9317;
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn--lg {
  padding: 1.1rem 2.1rem;
  font-size: 1rem;
}
/* Botões sobre fundo escuro */
.on-dark .btn--outline {
  color: #fff;
  border-color: var(--dark-border);
}
.on-dark .btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ------------------------------ NAVBAR ------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  transition:
    background 0.3s var(--ease),
    backdrop-filter 0.3s,
    padding 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding-block: 0.7rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
}
.nav__logo {
  height: 36px;
  width: auto;
  display: block;
}
.nav__brand--lg .nav__logo {
  height: 46px;
}
/* No topo (sobre hero escuro) mostra o logo branco; ao rolar, alterna por tema */
.nav__logo--light {
  display: none;
}
.nav.is-scrolled .nav__logo--dark {
  display: none;
}
.nav.is-scrolled .nav__logo--light {
  display: block;
}
[data-theme='dark'] .nav.is-scrolled .nav__logo--dark {
  display: block;
}
[data-theme='dark'] .nav.is-scrolled .nav__logo--light {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}
.nav__links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}
.nav__links a:hover {
  color: #fff;
}
.nav.is-scrolled .nav__links a {
  color: var(--fg-muted);
}
.nav.is-scrolled .nav__links a:hover {
  color: var(--fg);
}
.nav__cta a {
  color: #fff !important;
}
/* o seletor .nav__links a (peso 600) vencia o .btn — devolve o peso 800 do botão */
.nav__links .btn {
  font-weight: 800;
  font-size: 0.95rem;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 0.25rem;
}
.nav.is-scrolled .nav__toggle {
  color: var(--fg);
}
.nav__toggle svg {
  width: 28px;
  height: 28px;
}

.theme-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease);
}
.nav.is-scrolled .theme-btn {
  border-color: var(--border);
  color: var(--fg);
}
.theme-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: rotate(-12deg);
}
.theme-btn svg {
  width: 19px;
  height: 19px;
}
[data-theme='dark'] .theme-btn__sun {
  display: none;
}
[data-theme='light'] .theme-btn__moon {
  display: none;
}
:root:not([data-theme='dark']) .theme-btn__moon {
  display: none;
}
:root:not([data-theme='dark']) .theme-btn__sun {
  display: block;
}

/* ------------------------------- HERO -------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 8rem 0 4rem;
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
  background: var(--dark-2);
}
/* Fundo escuro sólido — o vídeo é a única imagem do hero */
.hero {
  background: #0c0906;
}

/* Vídeo de fundo em loop (YouTube), cobrindo o hero */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

.hero::before {
  /* overlay quente para leitura, por cima do vídeo */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 70% 5%, rgba(237, 133, 0, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(18, 12, 7, 0.55) 0%, rgba(11, 8, 5, 0.74) 60%, rgba(8, 5, 3, 0.88) 100%);
}
.hero::after {
  /* leve vinheta inferior */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.4));
}
.hero__inner {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
}
.hero__logo {
  width: min(430px, 80%);
  height: auto;
  margin: 0 auto 1.9rem;
}
.hero h1 {
  font-style: italic;
  margin: 1.4rem 0 1.6rem;
  text-wrap: balance;
}
.hero .lead {
  color: var(--on-dark-muted);
  max-width: 44ch;
  margin-inline: auto;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 2rem;
  margin: 2rem 0;
  font-weight: 700;
  font-size: 1.02rem;
}
.hero__meta div {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hero__meta svg {
  width: 19px;
  height: 19px;
  color: var(--orange);
  flex: none;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}
/* Selo de escassez: chip com contorno + ponto pulsando, em vez de texto solto. */
.hero__scarcity {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.75rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(237, 133, 0, 0.45);
  border-radius: 999px;
  background: rgba(237, 133, 0, 0.08);
  font-size: 0.92rem;
  color: var(--on-dark-muted);
}
.hero__scarcity strong {
  color: #fff;
  font-weight: 800;
}
.hero__scarcity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  box-shadow: 0 0 0 0 rgba(237, 133, 0, 0.55);
  animation: scarcityPulse 2s ease-out infinite;
}
@keyframes scarcityPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 133, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(237, 133, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(237, 133, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scarcity-dot {
    animation: none;
  }
}
.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --------------------------- CARDS GENÉRICOS ------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 133, 0, 0.45);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}
.card__ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(237, 133, 0, 0.12);
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.card__ico svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--fg-muted);
  font-size: 1rem;
}
.card--min {
  padding: 1.4rem 1.6rem;
}
.card--min h3 {
  font-size: 1.1rem;
}

/* --------------------------- PALESTRANTES ---------------------------- */
.speaker {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #201a14;
}
.speaker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.speaker:hover img {
  transform: scale(1.04);
}
.speaker__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #241d15, #14100b);
  color: rgba(255, 255, 255, 0.35);
  font-weight: 800;
  letter-spacing: 0.05em;
}
.speaker__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.2rem;
  background: linear-gradient(to top, rgba(8, 6, 4, 0.94) 25%, transparent);
  color: #fff;
}
.speaker__body h3 {
  font-size: 1.1rem;
}
.speaker__body p {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.15rem;
}
.speaker__li {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  transition:
    opacity 0.25s,
    background 0.2s;
}
.speaker:hover .speaker__li {
  opacity: 1;
}
.speaker__li:hover {
  background: var(--orange);
}
.speaker__li svg {
  width: 16px;
  height: 16px;
}

/* --------------------------- BLOCOS PERÍODO -------------------------- */
.block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.block__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.block h3 {
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
}
.block__list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.7rem;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
}
.block__list li:first-child {
  border-top: 0;
}
.block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.block__list strong {
  color: var(--fg);
  font-weight: 800;
}
.block__list em {
  font-style: normal;
  opacity: 0.75;
}
.agenda__note {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-top: 1.75rem;
  text-align: center;
}

/* ------------------------------ AGENDA ------------------------------- */
.agenda {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 860px;
}
.agenda__period {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 1.6rem 0 0.6rem;
}
.agenda__period:first-child {
  margin-top: 0;
}
.ag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.25rem;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--fg);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s;
}
.ag:hover {
  transform: translateX(3px);
}
.ag span {
  font-weight: 600;
  color: var(--fg-muted);
}
.ag--talk {
  color: var(--orange);
}
.ag--talk span {
  color: var(--fg-muted);
}
.ag--mark {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  letter-spacing: 0.01em;
}
.ag--mark:hover {
  transform: none;
  filter: brightness(1.05);
}

/* ----------------------------- "EM BREVE" ---------------------------- */
.soon {
  text-align: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  max-width: 700px;
  margin-inline: auto;
}
.soon .pill {
  margin-bottom: 1.3rem;
}
.soon h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin-bottom: 0.7rem;
}
.soon p {
  color: var(--fg-muted);
  max-width: 44ch;
  margin: 0 auto 1.6rem;
}

/* ---------------------------- LOCAL / MAPA --------------------------- */
.local {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.local__list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
}
.local__list li:first-child {
  border-top: 0;
}
.local__list svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex: none;
  margin-top: 0.15rem;
}
.local__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
}
.local__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* -------------------- ÁREA ESCURA (CTA + COUNTDOWN) ------------------ */
.feature {
  position: relative;
  color: var(--on-dark);
  overflow: hidden;
  background:
    linear-gradient(rgba(12, 9, 6, 0.86), rgba(12, 9, 6, 0.93)),
    url('../assets/img/crowd-forum.jpg') center/cover no-repeat;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 120% at 50% -10%, rgba(237, 133, 0, 0.16), transparent 55%);
  pointer-events: none;
}
.feature .container {
  position: relative;
  text-align: center;
}
.feature h2 {
  text-wrap: balance;
}
.feature .lead {
  color: var(--on-dark-muted);
  margin: 1.1rem auto 0;
  max-width: 50ch;
}
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0;
}
.count__box {
  min-width: 104px;
  padding: 1.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
}
.count__num {
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  font-style: italic;
}
.count__lbl {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
  margin-top: 0.55rem;
}

/* ------------------------------ RODAPÉ ------------------------------- */
.footer {
  background: var(--dark-2);
  color: var(--on-dark);
  padding-block: 3.5rem 2.25rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer__logo {
  height: 40px;
  margin-bottom: 1.1rem;
}
.footer p.muted {
  color: var(--on-dark-muted);
  max-width: 34ch;
}
.footer h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
  margin-bottom: 1rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.78);
  display: inline-block;
  padding: 0.28rem 0;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--orange);
}
.footer__bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--on-dark-muted);
  font-size: 0.85rem;
}

/* ------------------- FAIXA DE PALAVRAS-CHAVE (marquee) --------------- */
.marquee {
  background: var(--dark-1);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding-block: 1.05rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: mq 38s linear infinite;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  padding-right: 2.2rem;
}
.marquee__track span::after {
  content: '✦';
  color: var(--amber);
  font-size: 0.85em;
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------------------- DOBRA LARANJA (fold) ------------------------- */
.fold {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: #1a0f00;
}
.fold h2,
.fold h3,
.fold .fold__title {
  color: #1a0f00;
}
.fold .em {
  color: #ffffff;
}
.fold .lead {
  color: rgba(26, 15, 0, 0.8);
}
.fold .kicker {
  color: #1a0f00;
}
.fold .kicker::before {
  background: #1a0f00;
}
.fold .card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
}
.fold .card:hover {
  border-color: rgba(0, 0, 0, 0.28);
}

.fold__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.fold__title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 1.9rem;
}
.fold__title em {
  font-style: italic;
  color: #fff;
}
.fold__media {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Acordeão (FAQ) */
.faq details {
  border-top: 1.5px solid rgba(26, 15, 0, 0.22);
}
.faq details:last-child {
  border-bottom: 1.5px solid rgba(26, 15, 0, 0.22);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: #1a0f00;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq summary:hover {
  opacity: 0.72;
}
.faq p {
  padding: 0 0 1.35rem;
  color: rgba(26, 15, 0, 0.82);
  max-width: 62ch;
  font-size: 1rem;
}

/* Botão escuro (sobre laranja) */
.btn--dark {
  background: #14100b;
  color: #fff;
}
.btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
}

/* ------------------------------ GALERIA ------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.4vw, 1rem);
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.05);
}
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------- CARDS DE VÍDEO --------------------------- */
.vcard {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #14100b;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.vcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.5);
}
.vcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s var(--ease),
    filter 0.3s;
}
.vcard:hover img {
  transform: scale(1.05);
  filter: brightness(0.82);
}
.vcard__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(237, 133, 0, 0.92);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.25s var(--ease),
    background 0.2s;
}
.vcard:hover .vcard__play {
  transform: scale(1.1);
  background: var(--orange);
}
.vcard__play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}
.vcard__tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ------------------------------ LIGHTBOX ----------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: rgba(6, 4, 2, 0.9);
  backdrop-filter: blur(6px);
}
.lightbox.is-open {
  display: grid;
}
.lightbox__frame {
  width: min(1000px, 100%);
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
}
.lightbox__close svg {
  width: 22px;
  height: 22px;
}

.feature .container {
  z-index: 1;
}

/* --------------------------- REVEAL ANIM ----------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay='1'] {
  transition-delay: 0.08s;
}
[data-reveal][data-delay='2'] {
  transition-delay: 0.16s;
}
[data-reveal][data-delay='3'] {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------- RESPONSIVO ----------------------------- */
@media (max-width: 900px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .local {
    grid-template-columns: 1fr;
  }
  .fold__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    margin-left: 0;
    background: var(--dark-1);
    border-left: 1px solid var(--dark-border);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  .nav__links a,
  .nav.is-scrolled .nav__links a {
    color: rgba(255, 255, 255, 0.85);
  }
  .nav__links.is-open {
    transform: none;
  }
  .nav__toggle {
    display: block;
    z-index: 2;
  }
}
@media (max-width: 560px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   BANDA DE NÚMEROS — prova social logo abaixo do hero
   ===================================================================== */
.stats {
  background: var(--dark-1);
  color: var(--on-dark);
  padding: clamp(2.5rem, 4vw, 3.25rem) var(--gutter);
}
.stats__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--dark-1);
  padding: 1.6rem 1.25rem;
  text-align: center;
  transition: background 0.25s var(--ease);
}
.stat:hover {
  background: rgba(237, 133, 0, 0.08);
}
.stat__num {
  display: block;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.stat__lbl {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--on-dark-muted);
}
@media (max-width: 760px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================================
   PALESTRANTES DE EDIÇÕES ANTERIORES — quem já subiu ao palco
   ===================================================================== */
.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.speaker {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.speaker:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(237, 133, 0, 0.18);
}
.speaker img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  display: block;
}
.speakers__note {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
@media (prefers-reduced-motion: reduce) {
  .stat,
  .speaker {
    transition: none;
  }
}

/* Selo do ano no card do palestrante — deixa claro, na própria foto, que são
   os nomes de 2025 (os de 2026 ainda não foram anunciados). */
.speaker__year {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 9, 6, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}

/* Widget de inscrição da 4.events: no celular o botão flutuante cobre o conteúdo
   e atrapalha mais do que ajuda (decisão Anette). Escondemos apenas o LANÇADOR —
   o modal continua abrindo pelos CTAs da página, que o acionam por JS. */
@media (max-width: 900px) {
  #mi-widget-button,
  #btn-show-widget,
  #widget-widget4Events > button {
    display: none !important;
  }
}
