/* ==========================================================================
   MEDGEST ROAD — VANILLA CSS
   Brand-faithful, hand-crafted, no framework.
   Source of truth: Manual de Identidade MedGest Road
   ========================================================================== */

/* ----- LOCAL FONTS ------------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Montserrat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Montserrat-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Montserrat-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Montserrat-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/Cormorant-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant';
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/Cormorant-500i.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant';
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/Cormorant-600i.woff2') format('woff2');
}

/* ----- RESET ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
button { background: none; border: none; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }

/* ----- DESIGN TOKENS ----------------------------------------------------- */
/*
   Tipografia:   Montserrat Bold (títulos) / Regular (corpo)
                 Cormorant italic — accent editorial luxuoso
*/
:root {
  /* SURFACE — paleta iOS-light (off-white + white) */
  --ink-deepest: #1D1D1F;       /* darkest text (Apple near-black) */
  --ink-deeper:  #1D1D1F;
  --ink-base:    #F5F5F7;       /* body bg — Apple off-white */
  --ink-raised:  #FFFFFF;       /* card surfaces */
  --ink-bright:  #EBEBED;       /* hover / border strong */

  /* TEAL — escala mint vibrante (mantém brand accent) */
  --teal-100: #CCFBF1;
  --teal-200: #99F6E4;
  --teal-300: #5EEAD4;
  --teal:     #2DD4BF;          /* primary accent · CTA bg */
  --teal-500: #14B8A6;
  --teal-600: #0D9488;          /* accent em em texto sobre branco */
  --teal-700: #0F766E;          /* link/hover sobre branco */

  /* TEXT — invertido pra light mode */
  --text:        #1D1D1F;       /* primary */
  --text-muted:  #6E6E73;       /* secondary (Apple gray) */
  --text-faint:  #86868B;       /* tertiary */

  /* foreground sobre fundo teal (botões) — fica escuro pra contraste AA */
  --on-teal:     #02090B;

  /* SURFACE / BORDERS — light */
  --border:        rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --surface-1:     rgba(0, 0, 0, 0.022);
  --surface-2:     rgba(0, 0, 0, 0.04);

  /* SHADOWS / GLOWS — softer p/ light bg */
  --shadow-md:        0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg:        0 16px 48px rgba(0, 0, 0, 0.10);
  --glow-teal:        0 0 80px rgba(45, 212, 191, 0.20);
  --glow-teal-strong: 0 0 120px rgba(45, 212, 191, 0.38);

  /* TYPOGRAPHY */
  --font-sans:   'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-script: 'Cormorant', ui-serif, "New York", "Times New Roman", Georgia, serif;

  /* LAYOUT */
  --container:        min(100% - 48px, 1200px);
  --container-narrow: min(100% - 48px, 760px);
  --section-py:       clamp(80px, 12vw, 160px);

  /* MOTION */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  /* RADII */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;
}

/* ----- BASE -------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--ink-base);
  color: var(--text);
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* (granulação removida pra performance) */

::selection { background: var(--teal); color: var(--on-teal); }

/* ----- ACCESSIBILITY ----------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: var(--on-teal);
  padding: 12px 20px; border-radius: var(--r-md);
  font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 2px solid var(--teal-300);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ----- LAYOUT ------------------------------------------------------------ */
.container        { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: clamp(8px, 1.6vw, 14px) 0;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.nav.scrolled {
  padding: clamp(6px, 1.2vw, 10px) 0;
  background: rgba(245, 245, 247, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.nav.in-final {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
}
/* botão do nav some quando há outro CTA visível */
.btn-pill.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.92);
}

/* FLOATING CTA — mobile bottom CTA quando não há outro botão na tela */
.floating-cta {
  display: none;
}
@media (max-width: 720px) {
  .nav .btn-pill { display: none; }
  .floating-cta {
    display: inline-flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 60;
    padding: 16px 24px;
    background: var(--teal);
    color: var(--on-teal);
    border: 1px solid var(--teal);
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.005em;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14), 0 0 56px rgba(45, 212, 191, 0.30);
    transform: translateY(160%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s var(--ease-spring), opacity 0.3s var(--ease-out);
  }
  .floating-cta svg { width: 18px; height: 18px; }
  .floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .floating-cta.visible:active { transform: translateY(2px); transition-duration: 0.1s; }
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: 56px;
}
@media (max-width: 720px) {
  .nav-inner { min-height: 60px; gap: 16px; }
  .brand img { height: 40px; }
}

/* BRAND — official logo PNG */
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }

/* Hamburger toggle — fora do .nav pra escapar stacking context */
.menu-toggle { display: none; }

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;        /* min touch target */
    flex-shrink: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 90;
  }
  .menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out), background 0.25s var(--ease-out);
    transform-origin: center;
  }
  .menu-toggle.open span { background: var(--text); }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Esconde os links inline no mobile (usamos overlay separado) */
  .nav-links { display: none; }
}

/* Mobile menu overlay — separado da nav pra escapar stacking context */
.mobile-menu {
  display: none;
}
@media (max-width: 720px) {
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(245, 245, 247, 0.96);
    backdrop-filter: saturate(180%) blur(28px);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
    align-items: center;
    justify-content: center;
  }
  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 24px;
  }
  .mobile-menu a {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
  }
  .mobile-menu a:active { color: var(--teal-700); }
  body.menu-open { overflow: hidden; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--teal);
  color: var(--on-teal);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), var(--glow-teal);
  transition: transform 0.4s var(--ease-spring),
              background 0.3s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
  white-space: nowrap;
}
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.btn-primary:hover {
  background: var(--teal-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), var(--glow-teal-strong);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:active { transform: translateY(0); transition-duration: 0.1s; }

.btn-pill {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  background: var(--teal);
  color: var(--on-teal);
  border: 1px solid var(--teal);
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.005em;
  transition: opacity 0.45s var(--ease-out),
              transform 0.45s var(--ease-spring),
              background 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn-pill:hover {
  background: var(--teal-300);
  border-color: var(--teal-300);
  transform: translateY(-1px);
}

/* Pulse — só pulsa quando NENHUM .btn-primary está no viewport */
@keyframes pill-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55),
                0 0 0 0 rgba(45, 212, 191, 0.0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.10),
                0 0 28px rgba(45, 212, 191, 0.50);
    transform: scale(1.04);
  }
}
.btn-pill.pulsing {
  animation: pill-pulse 1.6s var(--ease-smooth) infinite;
}
.btn-pill.pulsing:hover {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .btn-pill.pulsing { animation: none; }
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 22px;
  color: var(--text);
  font-weight: 500; font-size: 16px;
  border-radius: var(--r-pill);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.btn-ghost:hover { color: var(--teal-300); background: var(--surface-1); }

.btn-xl {
  padding: 22px 40px; font-size: 18px;
  animation: btn-xl-pulse 1.8s var(--ease-smooth) infinite;
}
.btn-xl:hover { animation-play-state: paused; }
@keyframes btn-xl-pulse {
  0%, 100% {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06),
                0 0 0 0 rgba(45, 212, 191, 0.55),
                var(--glow-teal);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
                0 0 0 14px rgba(45, 212, 191, 0.10),
                0 0 48px rgba(45, 212, 191, 0.45);
    transform: translateY(-2px) scale(1.025);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-xl { animation: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  max-height: 100svh;
  padding: clamp(36px, 4.5svh, 54px) 0 clamp(32px, 5svh, 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute; inset: -10%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 800px 480px at 18% 0%, rgba(45, 212, 191, 0.18), transparent 62%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(45, 212, 191, 0.10);
  border: 1px solid rgba(45, 212, 191, 0.40);
  color: var(--teal-700);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.005em;
  margin-bottom: 32px;
}
.chip svg { width: 14px; height: 14px; }

/* DISPLAY — main headline */
.display {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 28px;
  max-width: 14ch;
}

/* SCRIPT ACCENTS — Cormorant italic editorial, contraste com Montserrat */
.display em,
.section-head em,
.display-2 em {
  display: inline;
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  color: var(--teal-600);              /* contraste forte em light bg */
  letter-spacing: -0.015em;
  font-size: 1.05em;
  line-height: 1;
}
.display em { display: block; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 40px;
  font-weight: 400;
}

.cta-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 64px;
  align-items: center;
}

.hero-meta {
  display: flex; gap: clamp(24px, 4vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-meta div {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta strong {
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
}
.hero-meta span {
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
}

/* HERO VISUAL — flexbox column agrupando foto + speaker labels num bloco isolado */
.hero-visual {
  position: relative;
  justify-self: start;
  align-self: start;
  margin-top: clamp(48px, 6vw, 80px);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(8px, 1.5vw, 18px);
  isolation: isolate;
}
.poster-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-teal);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.poster-frame img { width: 100%; height: auto; }
.poster-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(255,255,255,0.06) 100%);
  pointer-events: none;
}

/* CUTOUT VARIANT — image with embedded styling, fades to transparent at bottom */
.poster-frame--cutout {
  position: relative;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transform: none;
  isolation: isolate;
}
.poster-frame--cutout::before {
  content: "";
  position: absolute;
  inset: -8% -12%;
  z-index: -1;
  background:
    radial-gradient(ellipse 75% 65% at 50% 55%, rgba(45, 212, 191, 0.55), rgba(20, 184, 166, 0.22) 50%, transparent 80%);
  filter: blur(32px);
  pointer-events: none;
}

/* HERO SPEAKERS — labels abaixo da foto, 3 colunas, dentro do flex hero-visual */
.hero-speakers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 16px);
  margin: 0;
  padding-inline: 2%;
  width: 100%;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}
.hero-speaker { min-width: 0; overflow: hidden; }
.hero-speaker-name { word-break: keep-all; hyphens: auto; }
.hero-speaker {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.hero-speaker-role {
  font-size: clamp(8px, 0.7vw, 9.5px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-speaker-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(12px, 1.15vw, 15px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.hero-speaker-ig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(8px, 0.75vw, 10px);
  letter-spacing: 0.06em;
  color: var(--teal-700);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
  transition: color 0.3s var(--ease-out);
}
.hero-speaker-ig svg {
  width: 11px; height: 11px;
}
.hero-speaker-ig:hover { color: var(--teal-600); }
/* Speakers SEMPRE lado a lado, nunca empilhados */
.poster-frame--cutout::after { display: none; }
.poster-frame--cutout:hover { box-shadow: none; }
.poster-frame--cutout img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin-left: 0;
  margin-right: auto;
  /* Single radial mask: ellipse alta (ry≈95%) + larga (rx≈120%) centrada
     no topo (50%, 15%). Cria fade radial uniforme que, na base da imagem,
     se traduz em curva côncava-pra-cima (∪): centro fica mais opaco que
     as laterais → laterais sobem antes que o centro, formando o "sorriso".
     A mask é proporcional à imagem mas seus stops extrapolam lateralmente
     (rx 120%), criando a sensação de fade rolando além das margens. */
  -webkit-mask-image:
    radial-gradient(ellipse 130% 88% at 50% 18%, #000 60%, transparent 92%);
          mask-image:
    radial-gradient(ellipse 130% 88% at 50% 18%, #000 60%, transparent 92%);
}

/* ==========================================================================
   HERO — TABLET (≤1023px): mantém 2 colunas comprimidas, ajusta tipografia
   ========================================================================== */
@media (max-width: 1023px) {
  .hero {
    padding: clamp(10px, 1.5vw, 16px) 0 clamp(64px, 10vw, 120px);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 48px);
  }
  .display { font-size: clamp(36px, 5.6vw, 64px); }
  .hero-speakers {
    padding-inline: 2%;
    gap: clamp(8px, 1.4vw, 14px);
  }
}

/* ==========================================================================
   HERO — MOBILE (≤880px): redesign editorial com fluxo vertical natural
   Image como hook visual → chip → display → lede → CTA → fineprint
   Speakers em grid limpo abaixo da foto (sem overlay, sem text-shadow)
   ========================================================================== */
/* ==========================================================================
   HERO — MOBILE (≤880px) — refactor completo, sem overlap, fluxo limpo
   Estrutura:
     .hero (flex column, min-height 100svh, gap entre seções via grid gap)
       .hero-grid (flex column com gap)
         .hero-visual (flex column, gap interno) — order -1
           .poster-frame--cutout (img com aspect ratio fixo)
           .hero-speakers (grid 3 cols, cards isolados)
         .hero-content (flex column, gap interno)
           .chip · .display · .lede · .cta-row · .hero-fineprint
   Regras:
   - tipografia escala por vw (clamp) → reduz proporcionalmente em telas estreitas
   - sem margin negativo · sem position absolute · sem z-index
   - cada bloco respeita seu container · gaps controlam espaçamento
   ========================================================================== */
@media (max-width: 880px) {
  /* ----- HERO container ------------------------------------------------- */
  .hero {
    min-height: 100svh;
    height: auto;
    max-height: none;
    padding:
      clamp(40px, 5svh, 60px)         /* topo: aproxima da nav, sem grudar */
      0
      clamp(28px, 4svh, 56px);        /* base */
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;       /* não centraliza — ancora no topo */
  }

  /* ----- Grid container do hero (visual + content) ---------------------- */
  .hero > .container.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(24px, 5.5vw, 48px);    /* separação clara entre visual e content */
    flex: 0 0 auto;
    min-height: 0;
  }

  /* ----- HERO VISUAL: foto + speaker labels ---------------------------- */
  .hero-visual {
    order: -1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 4vw, 32px);     /* gap entre foto e labels */
    isolation: isolate;
  }
  .poster-frame {
    transform: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .poster-frame--cutout {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
  .poster-frame--cutout::before {
    inset: -3% -6%;
    filter: blur(20px);
  }
  .poster-frame--cutout img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 480px;
    margin: 0 auto;
  }

  /* ----- Speaker labels: 3 cards lado a lado, isolados ------------------ */
  .hero-speakers {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 16px);
    align-items: start;
  }
  .hero-speaker {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(2px, 0.5vw, 4px);
    padding: 0;
    overflow: hidden;
  }
  .hero-speaker-role {
    font-size: clamp(7px, 1.9vw, 9px);
    letter-spacing: 0.08em;
    line-height: 1.2;
    color: var(--text-faint);
    text-transform: uppercase;
    font-weight: 600;
    text-wrap: balance;
  }
  .hero-speaker-name {
    font-size: clamp(10px, 2.7vw, 13px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text);
    font-weight: 700;
    word-break: keep-all;
    text-wrap: balance;
    max-width: 100%;
  }
  .hero-speaker-ig {
    font-size: clamp(7px, 2vw, 9px);
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: var(--teal-700);
    font-weight: 600;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
  }
  .hero-speaker-ig svg { display: none; }   /* simplifica visualmente nos labels */

  /* ----- HERO CONTENT: chip + display + lede + CTA + fineprint --------- */
  .hero-content {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(16px, 4vw, 28px);     /* respiro maior entre chip → headline → lede */
  }
  .chip {
    align-self: flex-start;
    margin: 0;
    padding: 7px 14px;
    font-size: clamp(11px, 2.8vw, 13px);
    line-height: 1.2;
    white-space: nowrap;
  }
  .display {
    margin: 0;
    max-width: 18ch;                  /* limita largura → quebra natural editorial */
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }
  .display em {
    display: block;
    margin-top: clamp(2px, 0.8vw, 8px);
    font-size: 1.06em;
    line-height: 1;
    letter-spacing: -0.018em;
    text-wrap: balance;
  }
  .lede {
    margin: 0;
    max-width: 60ch;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.55;
    text-wrap: pretty;
  }
  .cta-row {
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cta-row .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: clamp(14px, 3.8vw, 16px);
  }
  .hero-fineprint {
    margin: 0;
    text-align: center;
    font-size: clamp(11px, 2.8vw, 13px);
    line-height: 1.4;
    color: var(--text-faint);
  }
}

/* Phones muito estreitos (≤380): refinos finais sem quebrar layout */
@media (max-width: 380px) {
  .hero-speakers { gap: 6px; }
  .hero-speaker-name { font-size: 10px; }
  .hero-speaker-role { font-size: 7.5px; letter-spacing: 0.06em; }
  .hero-speaker-ig { font-size: 7.5px; letter-spacing: 0.02em; }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-head {
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 760px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 700;
  margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}

/* SECTION HEAD VARIANT — logo + tagline (used em "O Evento") */
.section-head-logo {
  max-width: none;
}
.section-h-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.section-h-logo img {
  height: clamp(72px, 9vw, 120px);
  width: auto;
  display: block;
}
.section-tagline {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.015em;
  padding-left: 2px;
}

/* HERO FINE PRINT */
.hero-fineprint {
  margin-top: 18px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-faint);
  letter-spacing: 0.005em;
}

/* ==========================================================================
   SEÇÃO 02 — O EVENTO E OS EXPERTS
   ========================================================================== */
.event-main {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: var(--section-py);
  position: relative;
}

.event-intro {
  max-width: 760px;
  margin-bottom: clamp(64px, 8vw, 96px);
}
.event-intro .lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 28px;
  font-weight: 400;
}
.event-intro .lede strong {
  color: var(--text);
  font-weight: 600;
}

.event-highlight {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--text-muted);
  letter-spacing: -0.015em;
  font-weight: 400;
  padding-left: 24px;
  border-left: 2px solid var(--teal-600);
}
/* Sub-section header inside section 02 */
.subhead {
  margin: clamp(64px, 8vw, 96px) 0 clamp(28px, 4vw, 40px);
}
.subhead h3 {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text);
}
.subhead h3 em {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  color: var(--teal-600);
  font-size: 1.05em;
  letter-spacing: -0.015em;
}

/* Speaker H4 (was H3 before — copy moved heading levels) */
.speaker h4 {
  font-family: var(--font-sans);
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  font-weight: 700;
}

/* Date + Location strip */
.event-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 32px;
  margin-top: clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.10), rgba(255, 255, 255, 0));
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.event-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 240px;
}
.event-strip-item svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--teal-600);
}
.event-strip-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-strip-item strong {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--text);
}
.event-strip-item span {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.event-strip-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-strong);
}
/* Mobile breakpoint do event-strip vive em SMALL SCREENS (≤880) abaixo */

/* CTA inline da seção */
.event-cta {
  margin-top: clamp(56px, 6vw, 96px);
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   POR QUE — CARDS-3 (legacy, mantido se reaparecer)
   ========================================================================== */
.why { padding-block: var(--section-py); }
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  padding: 40px 36px;
  background: var(--ink-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out),
              border-color 0.5s var(--ease-out),
              background 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 320px 180px at 80% 0%, rgba(45, 212, 191, 0.08), transparent 70%);
  opacity: 0; transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }
.card-num {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--teal-600);
  font-weight: 700;
  margin-bottom: 28px;
}
.card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 14px;
}
.card p {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 15px;
  font-weight: 400;
}

/* ==========================================================================
   SPEAKERS
   ========================================================================== */
.speakers {
  padding-block: var(--section-py);
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(45, 212, 191, 0.05), transparent);
}
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  perspective: 1200px;
}
.speaker {
  position: relative;
  padding: 40px 36px;
  /* mesma base visual do card featured — todos os 3 com gradiente teal + border accent */
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.10), rgba(255, 255, 255, 0));
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out),
              border-color 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
  overflow: hidden;
  will-change: transform;
}
.speaker::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle 480px at var(--mx, 50%) var(--my, 50%), rgba(45, 212, 191, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.18s var(--ease-out);
  pointer-events: none;
}
.speaker:hover {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.14), rgba(255, 255, 255, 0));
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  transition: transform 0.05s linear,
              background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}
.speaker:hover::after { opacity: 1; }
.speaker > * { position: relative; transform: translateZ(20px); }
/* speaker-featured agora compartilha o mesmo visual base — selector mantido p/ semântica */
.speaker-featured {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.10), rgba(255, 255, 255, 0));
  border-color: rgba(45, 212, 191, 0.28);
}
.speaker-role {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 20px;
  font-weight: 700;
}
.speaker h3 {
  font-family: var(--font-sans);
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  font-weight: 700;
}
.speaker-bio {
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 400;
}
.speaker-ig {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  color: var(--teal-700);
  font-weight: 600;
  transition: color 0.3s var(--ease-out);
}
.speaker-ig svg { width: 16px; height: 16px; }
.speaker-ig:hover { color: var(--teal-600); }

/* ==========================================================================
   TAKEAWAYS
   ========================================================================== */
.takeaways { padding-block: var(--section-py); }
.takeaway-list {
  display: flex; flex-direction: column;
}
.takeaway-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(14px, 1.55vw, 18px);
  letter-spacing: -0.018em;
  line-height: 1.4;
  font-weight: 500;
  transition: padding 0.5s var(--ease-out),
              color 0.3s var(--ease-out);
}
.takeaway-list li:last-child { border-bottom: none; }
.takeaway-list li:hover { padding-inline-start: 12px; }
.takeaway-list .check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.38);
  color: var(--teal-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.takeaway-list .check svg { width: 16px; height: 16px; }

/* ==========================================================================
   EVENT DETAILS
   ========================================================================== */
.event { padding-block: var(--section-py); }
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.event-card {
  padding: 40px 36px;
  background: var(--ink-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: border-color 0.5s var(--ease-out),
              transform 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
}
.event-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.event-card svg {
  width: 28px; height: 28px;
  color: var(--teal-600);
  margin-bottom: 28px;
}
.event-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.event-card strong {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.5vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 8px;
}
.event-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: var(--section-py); }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: -0.018em;
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}
.faq-item summary:hover { color: var(--teal-700); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 12px 1.5px, 1.5px 12px;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--teal-600);
  transition: transform 0.4s var(--ease-spring),
              background-size 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--teal-600);
}
.faq-item p {
  color: var(--text-muted);
  padding: 0 4px 28px;
  line-height: 1.6;
  max-width: 65ch;
  font-size: 16px;
  font-weight: 400;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final {
  position: relative;
  min-height: calc(100svh - var(--footer-h, 96px));
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 96px);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.final-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 900px 500px at 50% 50%, rgba(45, 212, 191, 0.18), transparent 65%);
}
.final-content { position: relative; }
.final-content .eyebrow { margin-bottom: 16px; }
.display-2 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 24px;
  margin-inline: auto;
  max-width: 16ch;
}
.final-content > p {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  margin-bottom: 48px;
  font-weight: 400;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding-block: 18px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-left {
  display: inline-flex; align-items: center; gap: 16px;
}
.footer-brand {
  display: inline-flex; align-items: center; line-height: 0;
}
.footer-brand img {
  height: 56px;
  width: auto;
  display: block;
  transform: translateY(8px);
}
.footer-meta {
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* Credit mark — designed by Neeva-X */
.credit-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.credit-mark a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.credit-mark img {
  height: 14px;
  width: auto;
  opacity: 0.6;
  filter: brightness(0);
  transition: opacity 0.2s var(--ease-out);
}
.credit-mark a:hover img { opacity: 1; }

/* (reveal-on-scroll removido pra performance — elementos sempre visíveis) */
.reveal { opacity: 1; transform: none; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .poster-frame { transform: none !important; }
}

/* ==========================================================================
   TABLET (≤1023px) — ajustes intermediários (iPad portrait/landscape)
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --section-py: clamp(72px, 11vw, 120px); }
  .container { width: min(100% - 40px, 1200px); }

  /* Section heads */
  .section-head { margin-bottom: clamp(40px, 5.5vw, 64px); }
  .section-head h2 { font-size: clamp(34px, 5.2vw, 52px); }
  .subhead { margin: clamp(56px, 7vw, 80px) 0 clamp(24px, 3.5vw, 36px); }
  .subhead h3 { font-size: clamp(26px, 3.4vw, 34px); }

  /* Speakers grid — featured ocupa linha inteira em layout 2-col */
  .speakers-grid { gap: 14px; }
  .speaker-featured { grid-column: 1 / -1; }
  .speaker { padding: 36px 32px; }
  .speaker h4 { font-size: 24px; }

  /* Event card paddings */
  .card, .event-card { padding: 36px 32px; }

  /* Final CTA */
  .display-2 { font-size: clamp(40px, 7vw, 72px); }
}

/* ==========================================================================
   MOBILE (≤880px) — restructuring de seções secundárias
   ========================================================================== */
@media (max-width: 880px) {
  :root { --section-py: clamp(56px, 10vw, 96px); }
  .container { width: min(100% - 32px, 1200px); }

  /* Section heads e h2 */
  .section-head { margin-bottom: clamp(32px, 6vw, 56px); }
  .section-head h2 { font-size: clamp(28px, 6vw, 44px); }

  /* Event intro */
  .event-intro { margin-bottom: clamp(48px, 8vw, 72px); }
  .event-intro .lede { font-size: 17px; }
  .event-highlight { font-size: 17px; padding-left: 18px; }

  /* Cards e grids — auto-fit cuida das colunas; featured continua spanning */
  .cards-3, .speakers-grid, .event-grid { gap: 12px; }
  .card, .speaker, .event-card { padding: 28px 24px; }
  .speaker h4 { font-size: 22px; margin-bottom: 12px; }
  .speaker-role { margin-bottom: 14px; font-size: 10px; }
  .speaker-bio { margin-bottom: 22px; font-size: 14.5px; }

  /* Todos os speakers no mobile — accent inset sutil reforça o card */
  .speaker {
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(45, 212, 191, 0.06) inset;
  }

  /* Takeaways — touch areas maiores e check alinhado ao topo */
  .takeaway-list li {
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: -0.014em;
  }
  .takeaway-list .check {
    width: 28px; height: 28px;
    margin-top: 1px;
  }
  .takeaway-list .check svg { width: 14px; height: 14px; }
  .takeaway-list li:hover { padding-inline-start: 0; }

  /* Event strip — empilhamento compacto com divisor sutil */
  .event-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 6px 20px;
    gap: 0;
  }
  .event-strip-item {
    flex: 0 0 auto;          /* anula o flex-basis 240px do desktop */
    width: 100%;
    padding: 14px 0;
    gap: 14px;
  }
  .event-strip-item svg { width: 22px; height: 22px; }
  .event-strip-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }
  .event-strip-divider { display: none; }
  .event-cta { margin-top: clamp(40px, 6vw, 60px); }
  .event-cta .btn-primary { width: 100%; max-width: 420px; justify-content: center; }

  /* FAQ */
  .faq-item summary { padding: 20px 4px; gap: 12px; }
  .faq-item p { padding: 0 4px 24px; }

  /* Final CTA */
  .display-2 { font-size: clamp(34px, 8vw, 56px); max-width: none; }
  .final-content > p { margin-bottom: 36px; font-size: 15.5px; }
  .btn-xl { padding: 18px 28px; font-size: 17px; }
  .final {
    /* compensa floating CTA pra não colidir com o btn-xl */
    padding-bottom: clamp(72px, 12vw, 112px);
  }
}

/* ==========================================================================
   MOBILE (≤640px) — phones em geral
   ========================================================================== */
@media (max-width: 640px) {
  /* Nav */
  .nav { padding: 6px 0; }
  .nav-inner { gap: 12px; }
  .brand img { height: 44px; }

  /* Footer — empilhado e centralizado */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .credit-mark { justify-content: center; }
}

/* ==========================================================================
   TINY (≤380px) — casos extremos (iPhone SE 1ª gen, etc)
   ========================================================================== */
@media (max-width: 380px) {
  .container { width: min(100% - 24px, 1200px); }
  .display { font-size: 28px; line-height: 1.08; }
  .display-2 { font-size: 30px; }
  .section-head h2 { font-size: 26px; }
  .subhead h3 { font-size: 22px; }
  .card, .speaker, .event-card { padding: 24px 20px; }
  .takeaway-list li { font-size: 12px; padding: 12px 0; gap: 10px; }
  .event-strip { padding: 20px 18px; }
  .event-strip-item strong { font-size: 16px; }
  .event-strip-item span { font-size: 12px; }
  .lede { font-size: 15px; }
  .event-intro .lede { font-size: 16px; }
  .chip { font-size: 12px; padding: 7px 12px; }
}

/* ==========================================================================
   PAGE LOADER — blur overlay até window.load
   ========================================================================== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  backdrop-filter: blur(24px) saturate(0.9);
  -webkit-backdrop-filter: blur(24px) saturate(0.9);
  background: rgba(245, 245, 247, 0.08);
  opacity: 1;
  transform: translateY(0);
  transition: transform 1000ms cubic-bezier(0.65, 0, 0.35, 1), opacity 1000ms ease;
  pointer-events: none;
}
#page-loader.loaded {
  opacity: 0;
  transform: translateY(100%);
}
