/* ============================================================
   AgroDigital Week · 1ª edição — OnePage
   Linguagem visual seguindo assets/referencia.png:
   página clara e editorial, hero como cartão de foto arredondado,
   verde vindo da fotografia; lime e dourado em doses pequenas.
   ============================================================ */

/* ---------- Fontes (Space Grotesk, local) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green-deepest: #0a2a19;
  --green-deep:    #0f3823;
  --green-mid:     #17492e;
  --lime:          #8fc740;
  --gold:          #cba447;
  --cream:         #f3f2ea;
  --ink:           #122019;
  --ink-soft:      #4c5a52;
  --paper:         #ffffff;
  --page:          #fcfbf7;

  --hairline: rgba(18, 32, 25, .12);
  --hairline-soft: rgba(18, 32, 25, .08);

  --font: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --container: 1160px;
  --gutter: 24px;
  --section-y: clamp(40px, 5vw, 56px);

  --radius-hero: 28px;
  --radius-card: 20px;
  --radius-media: 14px;
  --radius-btn: 999px;

  --nav-h: 84px;
  --frame: clamp(10px, 1.4vw, 16px); /* respiro entre o cartão do hero e a borda da tela */

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* textura de circuito (folha-de-circuito do logo) */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%238fc740' stroke-width='1'%3E%3Cpath d='M14 34h96v72h74'/%3E%3Cpath d='M34 246v-64h62'/%3E%3Cpath d='M212 18v54h48'/%3E%3Cpath d='M136 262h76v-54'/%3E%3Cpath d='M262 138h-56v44'/%3E%3C/g%3E%3Cg fill='%238fc740'%3E%3Ccircle cx='14' cy='34' r='3'/%3E%3Ccircle cx='184' cy='106' r='3'/%3E%3Ccircle cx='34' cy='246' r='3'/%3E%3Ccircle cx='96' cy='182' r='3'/%3E%3Ccircle cx='212' cy='18' r='3'/%3E%3Ccircle cx='260' cy='72' r='3'/%3E%3Ccircle cx='136' cy='262' r='3'/%3E%3Ccircle cx='212' cy='208' r='3'/%3E%3Ccircle cx='262' cy='138' r='3'/%3E%3Ccircle cx='206' cy='182' r='3'/%3E%3C/g%3E%3C/svg%3E");

  /* etiqueta pendente (contexto claro por padrão) */
  --pend-c: #5b6a60;
  --pend-b: rgba(18, 32, 25, .32);

  --focus-ring: var(--green-deep);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
ul[role="list"], ol[role="list"] { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--lime); color: var(--green-deepest); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -56px;
  left: 16px;
  z-index: 200;
  background: var(--green-deep);
  color: var(--cream);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 16px; }

/* ---------- Utilitários ---------- */
.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
  overflow: clip;
}

/* contexto escuro (hero, banda de CTA, lightbox): etiqueta e foco adaptados */
.hero, .cta-band, .lightbox {
  --pend-c: rgba(243, 242, 234, .75);
  --pend-b: rgba(243, 242, 234, .35);
  --focus-ring: var(--lime);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 5.5vw, 64px);
}

h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.06;
  color: var(--ink);
  text-wrap: balance;
}

.lead {
  font-size: 17px;
  font-weight: 400;
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 58ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lime); flex: none; }

/* ---------- Botões (pílula, como na referência) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn--lg { padding: 16px 34px; font-size: 16px; }

.btn--primary {
  background: var(--lime);
  color: var(--green-deepest);
  font-weight: 600;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(143, 199, 64, .35); }
.btn--primary:active { transform: translateY(0); box-shadow: none; }

/* pílula branca sobre foto (referência: "Join the waitlist") */
.btn--light {
  background: var(--paper);
  color: var(--green-deepest);
  font-weight: 600;
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn--light:active { transform: translateY(0); box-shadow: none; }

/* brilho lime que varre o botão da faixa de inscrição */
.cta-band .btn {
  position: relative;
  overflow: hidden;
}
.cta-band .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(143, 199, 64, .45) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cta-band .btn:hover::after {
    transform: translateX(130%);
    transition: transform .65s var(--ease);
  }
}

.btn--ghost {
  border: 1px solid rgba(243, 242, 234, .45);
  color: var(--cream);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--paper); background: rgba(243, 242, 234, .12); }
.btn--ghost:active { transform: translateY(0); }

/* ---------- Selo dourado (exclusivo "1ª edição") ---------- */
.seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(203, 164, 71, .6);
  background: rgba(10, 42, 25, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: fit-content;
}
.seal::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Etiqueta "pendente" ---------- */
.pend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--pend-b);
  color: var(--pend-c);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}
.pend--overlay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  --pend-c: rgba(243, 242, 234, .85);
  --pend-b: rgba(243, 242, 234, .4);
  background: rgba(10, 42, 25, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pend--dark {
  --pend-c: rgba(243, 242, 234, .75);
  --pend-b: rgba(243, 242, 234, .35);
}

.pend-block {
  border-left: 3px solid rgba(143, 199, 64, .55);
  background: rgba(18, 32, 25, .04);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  margin-top: 24px;
}
.pend-block p { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; }

/* placeholder de mídia (imagem/mapa pendente) */
.ph {
  border: 1.5px dashed var(--hairline);
  background: rgba(18, 32, 25, .035);
  border-radius: var(--radius-card);
  color: #7c8880;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}
.ph--photo { aspect-ratio: 4 / 3; }

/* ---------- Animação de entrada por scroll ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   01 · NAV — transparente sobre a foto do hero;
   branca com texto escuro após a rolagem
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__logo { flex: none; display: inline-flex; }
.nav__logo img { width: 68px; height: 68px; }
.nav__logo .nav__logo-dark { display: none; }

.nav__menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__menu ul { display: flex; gap: 26px; }
.nav__menu ul a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(243, 242, 234, .9);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav__menu ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__menu ul a:hover { color: var(--paper); }
.nav__menu ul a:hover::after,
.nav__menu ul a.is-active::after { transform: scaleX(1); }

.nav__cta { padding: 10px 22px; font-size: 14.5px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 242, 234, .35);
  border-radius: 50%;
  color: var(--cream);
  place-items: center;
  margin-left: auto;
}
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-burger { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }

/* estado rolado: barra clara, texto escuro, logo colorido */
.nav.is-scrolled {
  background: rgba(252, 251, 247, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline-soft);
  box-shadow: 0 10px 30px rgba(18, 32, 25, .07);
}
.nav.is-scrolled .nav__logo .nav__logo-light { display: none; }
.nav.is-scrolled .nav__logo .nav__logo-dark { display: block; }
.nav.is-scrolled .nav__menu ul a { color: var(--ink-soft); }
.nav.is-scrolled .nav__menu ul a:hover,
.nav.is-scrolled .nav__menu ul a.is-active { color: var(--ink); }
.nav.is-scrolled .nav__toggle { border-color: var(--hairline); color: var(--ink); }

/* ============================================================
   02 · HERO — cartão de foto arredondado, recuado das bordas
   (composição central da referência)
   ============================================================ */
.hero {
  padding: var(--frame) var(--frame) 0;
  background: var(--page);
}

.hero__card {
  position: relative;
  min-height: min(92svh, 860px);
  border-radius: var(--radius-hero);
  overflow: clip;
  background: var(--green-deepest);
  color: var(--cream);
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/campo-hero-mobile.jpg');
  background-size: cover;
  background-position: center;
}
@media (min-width: 769px) {
  .hero__bg { background-image: url('../assets/campo-hero-poster.jpg'); }
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero__video.is-on { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 42, 25, .5) 0%, rgba(10, 42, 25, .12) 34%, rgba(10, 42, 25, .3) 62%, rgba(10, 42, 25, .78) 100%),
    radial-gradient(80% 60% at 50% 62%, rgba(10, 42, 25, .5), transparent 68%);
}

/* textura de circuito bem sutil dentro do cartão */
.hero__card.texture::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: 1;
  background-image: var(--circuit);
  background-size: 280px;
  opacity: .07;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: calc(var(--nav-h) + 40px) clamp(24px, 4.5vw, 64px) clamp(32px, 4.5vw, 52px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero__logo { margin-top: 26px; }
.hero__logo img {
  width: clamp(260px, 34vw, 480px);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(10, 42, 25, .45));
}

.hero__tagline {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 400;
  color: rgba(243, 242, 234, .9);
  max-width: 460px;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* linha de stats no pé do hero (referência: 1K+ / 360+ / 10+)
   segue ancorada à esquerda, equilibrando com o cartão flutuante à direita */
.hero__stats {
  justify-self: start;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4.5vw, 64px);
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid rgba(243, 242, 234, .22);
  width: min(620px, 100%);
}
.hero__stats strong {
  display: block;
  font-weight: 300;
  font-size: clamp(34px, 3.6vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--paper);
}
.hero__stats span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(243, 242, 234, .7);
}

/* ============================================================
   03 · SOBRE — abertura editorial em duas colunas + lista de setas
   ============================================================ */
.intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.intro__aside p {
  font-size: 15.5px;
  color: var(--ink-soft);
}
.intro__aside p + p { margin-top: 14px; }

/* cartão do texto de apresentação: verde suave + circuito no canto */
.intro__note p:first-child { font-weight: 600; }
.intro__note {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  background: linear-gradient(150deg, rgba(143, 199, 64, .13), rgba(18, 32, 25, .035));
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-media);
}
.intro__note::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--circuit);
  background-repeat: no-repeat;
  background-size: 240px;
  background-position: top -34px right -44px;
  opacity: .16;
  pointer-events: none;
}
.intro__aside { padding-top: 46px; }

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.sobre__media { border-radius: var(--radius-card); overflow: clip; }
.sobre__media img { width: 100%; height: auto; }

.sobre__body h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.12;
}
.sobre__body > p {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* lista com seta em disco escuro (referência) */
.arrow-list {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}
.arrow-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 500;
}
.arrow-list li::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--green-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f3f2ea' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   04 · CRONOGRAMA — linhas claras com fio, data grande
   ============================================================ */
.crono {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
  position: relative;
  padding-left: 34px;
  --crono-p: 0; /* progresso (0–1) da linha do tempo, atualizado pelo main.js */
}
.crono::before,
.crono::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
}
.crono::before { background: var(--hairline-soft); }
.crono::after {
  background: linear-gradient(180deg, var(--lime), var(--green-deep));
  transform: scaleY(var(--crono-p));
  transform-origin: top;
}
html:not(.js) .crono::after { transform: none; }

.cro {
  position: relative;
  display: grid;
  grid-template-columns: 170px 215px 1fr;
  gap: 0 24px;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--hairline);
  padding: 26px 8px;
  border-radius: 0;
  transition: background-color .25s var(--ease);
}
.cro:hover { background: var(--paper); }

.cro::before {
  content: "";
  position: absolute;
  left: -29.5px; /* centro do ponto sobre o trilho (padding 34px, trilho em 9px) */
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--page);
  border: 2px solid rgba(18, 32, 25, .25);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.cro.is-lit::before,
html:not(.js) .cro::before {
  background: var(--lime);
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(143, 199, 64, .2);
}

.cro__date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cro__day {
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -1.2px;
  line-height: 1.02;
  color: var(--ink);
}
.cro__hour {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green-deep);
}

.cro__place {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 24px;
  border-left: 1px solid var(--hairline-soft);
}
.cro__venue { font-weight: 700; font-size: 16px; color: var(--ink); }
.cro__room  { font-size: 13px; color: var(--ink-soft); }

.cro__act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 24px;
  border-left: 1px solid var(--hairline-soft);
}

.cro__kicker {
  display: inline-block;
  background: rgba(143, 199, 64, .22);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.cro__title {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -.3px;
  color: var(--ink);
}
.cro__who { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

/* ============================================================
   05 · PALESTRANTES E MENTORES — cards claros como na referência
   ============================================================ */
.speakers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sp {
  background: transparent;
  border: 0;
  padding: 0;
}

.sp__photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-media);
  background: linear-gradient(160deg, #dfe6d8, #cdd8c4);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.sp__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--circuit);
  background-size: 220px;
  opacity: .18;
  pointer-events: none;
}
.sp__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fotos em retrato: mantém o rosto (terço superior) dentro do recorte quadrado */
  object-position: center 22%;
}
.sp__photo:has(img)::after { display: none; }
.sp__initials {
  font-weight: 300;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -1px;
  color: rgba(15, 56, 35, .5);
}

.sp__role {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.sp__role::before { content: ""; width: 10px; height: 2px; background: var(--lime); flex: none; }

.sp__name { font-size: 17px; font-weight: 700; line-height: 1.22; letter-spacing: -.2px; color: var(--ink); }
.sp__bio { margin-top: 10px; }

.sp__lattes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color .25s var(--ease);
}
.sp__lattes:hover { border-bottom-color: var(--lime); }

/* linha de ações do card: botão de mini bio + Lattes */
.sp__links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.sp__links .sp__lattes { margin-top: 0; }
.sp__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-deep);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .18s var(--ease);
}
.sp__more::after { content: "+"; font-weight: 700; }
.sp__more:hover { border-color: var(--green-deep); background: rgba(143, 199, 64, .14); transform: translateY(-1px); }

/* modal de mini bio */
.bio-modal {
  margin: auto; /* o reset global zera o margin do dialog e ele perde a centralização */
  border: none;
  padding: 0;
  border-radius: var(--radius-card);
  width: min(760px, calc(100vw - 32px));
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(10, 42, 25, .35);
  overflow: hidden;
}
.bio-modal::backdrop {
  background: rgba(10, 42, 25, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.bio-modal[open] { animation: bio-in .35s var(--ease); }
@keyframes bio-in { from { opacity: 0; transform: translateY(14px); } }
.bio-modal__grid { display: grid; grid-template-columns: 280px 1fr; }
.bio-modal__foto { width: 100%; height: 100%; object-fit: cover; }
.bio-modal__body { padding: clamp(22px, 3.5vw, 34px); max-height: min(70vh, 560px); overflow-y: auto; }
.bio-modal__nome { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.5px; line-height: 1.15; }
.bio-modal__texto { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.bio-modal__lattes { margin-top: 16px; }
.bio-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(252, 251, 247, .92);
  border: 1px solid var(--hairline);
  color: var(--ink);
  transition: transform .18s var(--ease), border-color .2s var(--ease);
}
.bio-modal__close:hover { transform: scale(1.07); border-color: var(--green-deep); }
@media (max-width: 640px) {
  .bio-modal__grid { grid-template-columns: 1fr; }
  .bio-modal__foto { aspect-ratio: 16 / 10; height: auto; }
}

/* hover: foto viva + traço lime sob o nome */
.sp__photo img { transition: transform .5s var(--ease); }
.sp__name::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 6px;
  background: var(--lime);
  transition: width .35s var(--ease);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sp:hover .sp__photo img { transform: scale(1.045); }
  .sp:hover .sp__name::after { width: 34px; }
}

.mentores {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
  gap: clamp(22px, 3.5vw, 44px);
  border: 1px solid var(--hairline-soft);
  background: var(--paper);
  border-radius: var(--radius-card);
  padding: 18px;
}
.mentores__img { width: 100%; height: auto; border-radius: var(--radius-media); }
.mentores__body { padding: 6px clamp(6px, 2vw, 26px) 6px 0; }
.mentores h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: -.4px; }
.mentores p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; max-width: 58ch; }

/* ============================================================
   06 · LOCAIS — cards brancos com fio
   ============================================================ */
.venues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ven {
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-card);
  padding: 14px 14px 22px;
  transition: transform .22s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ven:hover {
  transform: translateY(-4px);
  border-color: var(--hairline);
  box-shadow: 0 20px 44px rgba(18, 32, 25, .1);
}

.ven__map {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-media);
  overflow: hidden;
  margin-bottom: 18px;
  color: var(--green-deep);
  display: grid;
  place-items: center;
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(15, 56, 35, .18) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, rgba(18, 32, 25, .05) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(18, 32, 25, .05) 0 1px, transparent 1px 36px),
    linear-gradient(150deg, #eef0e6, #dfe6d8);
}

.ven__name { font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; padding-inline: 6px; color: var(--ink); }
.ven__use {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  margin: 6px 0 12px;
  padding-inline: 6px;
}
.ven__addr { padding-inline: 6px; }
.ven__addr a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(143, 199, 64, .6);
  text-underline-offset: 3px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.ven__addr a:hover { color: var(--green-deep); text-decoration-color: var(--green-deep); }

/* mapa embed preenche o cartão (o padrão de grade fica visível até o iframe carregar).
   A altura extra empurra a barra de rodapé do OSM para fora do recorte; o crédito
   "© OpenStreetMap", exigido pela licença ODbL, fica no ::after abaixo. */
.ven__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 44px);
  border: 0;
}
.ven__map::after {
  content: "© OpenStreetMap";
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .85);
  font-size: 10.5px;
  letter-spacing: .2px;
  color: var(--ink-soft);
  pointer-events: none;
}

/* ============================================================
   07 · PATROCINADORES — faixas com fio, como a régua de logos
   ============================================================ */
.tier {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px 32px;
  align-items: center;
  padding-block: 26px;
  border-top: 1px solid var(--hairline);
}
.tier:last-of-type { border-bottom: 1px solid var(--hairline); }
.tier + .tier { margin-top: 0; }

.tier__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--ink-soft);
}

.tier__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  min-width: 140px;
  padding: 14px 26px;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--hairline);
  box-shadow: 0 10px 22px rgba(18, 32, 25, .08);
}
.chip--main { min-height: 70px; min-width: 172px; font-size: 15.5px; }

/* chips com arte de logo (caixa 240×100, substituem os de texto conforme as artes chegam) */
.chip--logo { padding: 9px 20px; }
.chip--logo img { height: 40px; width: auto; }
.chip--main.chip--logo img { height: 48px; }

.tier-note { margin-top: 26px; }

/* ============================================================
   08 · GALERIA + LIGHTBOX
   ============================================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: var(--cream);
  padding: 0;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.06); }

/* botão "Ver mais fotos" — pílula de contorno sobre fundo claro */
.gallery__more { display: flex; justify-content: center; margin-top: clamp(24px, 3.5vw, 36px); }
.gallery__more[hidden] { display: none; }
.gallery__more-btn {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-btn);
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--paper);
  transition: transform .18s var(--ease), border-color .2s var(--ease),
              background-color .2s var(--ease), box-shadow .25s var(--ease);
}
.gallery__more-btn:hover {
  transform: translateY(-2px);
  border-color: var(--green-deep);
  background: rgba(143, 199, 64, .12);
  box-shadow: 0 12px 26px rgba(18, 32, 25, .08);
}
.gallery__more-btn:active { transform: translateY(0); box-shadow: none; }

.gallery__empty {
  border: 1.5px dashed var(--hairline);
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: clamp(40px, 6vw, 64px) 24px;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
  color: var(--ink-soft);
}
.gallery__empty svg { color: rgba(15, 56, 35, .55); }
.gallery__empty p { font-size: 15px; font-weight: 500; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 42, 25, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox:not([hidden]) { animation: lb-in .28s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }

.lightbox__figure { max-width: min(1100px, 100%); }
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.lightbox__btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(243, 242, 234, .35);
  background: rgba(15, 56, 35, .55);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .18s var(--ease);
}
.lightbox__btn:hover { border-color: var(--lime); color: var(--lime); transform: scale(1.06); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 14px; top: 50%; translate: 0 -50%; }

.lightbox__count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  translate: -50% 0;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(243, 242, 234, .65);
}

/* ============================================================
   09 · INSCRIÇÃO — banda de foto de ponta a ponta (referência:
   "Stay informed and inspired")
   ============================================================ */
.cta-band {
  position: relative;
  overflow: clip;
  padding-block: clamp(96px, 13vw, 170px);
  color: var(--cream);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/campo-hero-mobile.jpg');
  background-size: cover;
  background-position: center 65%;
}
@media (min-width: 769px) {
  .cta-band__bg { background-image: url('../assets/campo-hero-poster.jpg'); }
}

.cta-band__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(10, 42, 25, .55), rgba(10, 42, 25, .75));
}

.cta-band__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
}
.cta-band__content h2 { color: var(--paper); }
.cta-band__content .lead { color: rgba(243, 242, 234, .85); margin-top: 0; }
.cta-band__content .btn { margin-top: 10px; }
.cta-band__note { margin-top: 2px; }

/* ============================================================
   10 · RODAPÉ — claro, com fio superior
   ============================================================ */
.footer {
  background: var(--page);
  color: var(--ink);
  padding: clamp(56px, 7vw, 76px) 0 28px;
  border-top: 1px solid var(--hairline);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer__brand img { width: 88px; height: 88px; }
.footer__brand p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 360px;
}

.footer__h {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.footer__social svg { color: var(--green-deep); flex: none; }
.footer__social:hover { color: var(--green-deep); }

.footer__bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1000px) {
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .intro { grid-template-columns: 1fr; }
  .intro__aside { padding-top: 0; }
}

@media (max-width: 900px) {
  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 28px;
    background: rgba(252, 251, 247, .98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s .25s;
  }
  .nav__menu.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav__menu ul { flex-direction: column; gap: 0; }
  .nav__menu ul a {
    display: block;
    font-size: 17px;
    padding: 15px 2px;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-soft);
  }
  .nav__menu ul a::after { content: none; }
  .nav__cta { margin-top: 20px; justify-content: center; }
  .nav__toggle { display: grid; }

  /* menu aberto: barra clara mesmo sem rolagem */
  .nav:has(.nav__menu.is-open) {
    background: rgba(252, 251, 247, .98);
    border-bottom-color: var(--hairline-soft);
  }
  .nav:has(.nav__menu.is-open) .nav__logo .nav__logo-light { display: none; }
  .nav:has(.nav__menu.is-open) .nav__logo .nav__logo-dark { display: block; }
  .nav:has(.nav__menu.is-open) .nav__toggle { border-color: var(--hairline); color: var(--ink); }

  .mentores { grid-template-columns: 1fr; }
  .hero__card { flex-direction: column; justify-content: flex-end; }

  .sobre__grid { grid-template-columns: 1fr; }

  .cro { grid-template-columns: 1fr; gap: 12px 0; padding: 22px 4px; }
  .cro::before { top: 36px; margin-top: 0; } /* alinha o ponto à data, não ao centro do bloco */
  .cro__date { flex-direction: row; align-items: baseline; gap: 14px; }
  .cro__place, .cro__act { border-left: none; padding-left: 0; }

  .venues { grid-template-columns: 1fr; }

  .tier { grid-template-columns: 1fr; gap: 14px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }

  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero__tagline { font-size: 16px; }
  .hero__stats { gap: 22px; }

  .speakers { gap: 14px; }
  .sp__name { font-size: 15px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* ============================================================
   Preferências do usuário
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__video { display: none; }
  .lightbox:not([hidden]) { animation: none; }

  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
