/* ============================================================
   TOKENS
============================================================ */
:root {
  --red:        #d53529;
  --cream:      #fef2d0;
  --dark:       #311b17;
  --terracotta: #683625;
  --grey:       #8f8f8f;
  --white:      #ffffff;
  --black:      #000000;

  --font-mono:  'Geist Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  --font-body:  'Inter', system-ui, sans-serif;

  /* spacing scale */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;

  --nav-w: 200px;
  --page-max: 1440px;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}

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

ul { list-style: none; }

address { font-style: normal; }

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

/* ============================================================
   SIDEBAR NAV
============================================================ */
.nav-sidebar {
  position: fixed;
  top: 45px;
  left: 30px;
  width: 171px;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.nav-inner {
  display: flex;
  flex-direction: column;
}

.nav-top {
  background: var(--cream);
  padding: 25px 25px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: gap 0.4s ease;
}

.nav-logo-link { display: block; }
.nav-logo-img { width: 120px; height: auto; }

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  max-height: 300px;
  transition: max-height 0.4s ease;
}

/* Compact nav — triggered by scroll past fold */
.nav-sidebar--compact .nav-top { gap: 0; }
.nav-sidebar--compact .nav-links { max-height: 0; }
.nav-sidebar--compact .nav-arrow { display: none; }

/* Manually re-expanded while scrolled */
.nav-sidebar--compact.nav-sidebar--expanded .nav-top { gap: 20px; }
.nav-sidebar--compact.nav-sidebar--expanded .nav-links { max-height: 300px; }
.nav-sidebar--compact.nav-sidebar--expanded .nav-arrow { display: block; }

.nav-link {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  line-height: normal;
  transition: opacity 0.15s;
}
.nav-link:hover { opacity: 0.6; }
.nav-link--underline { text-decoration: underline; }

.nav-bottom {
  background: var(--dark);
  padding: 14px 25px;
}

.nav-link--contato {
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
}

.nav-arrow { width: 16px; height: 16px; filter: invert(1); }

/* Close button — hidden globally, shown only in mobile open state */
.nav-close { display: none; }

/* Mobile toggle — hidden on desktop */
.nav-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 20px;
  z-index: 300;
  background: var(--dark);
  border: none;
  cursor: pointer;
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  background: var(--dark);
}

.hero-video {
  display: block;
  width: 100%;
  height: calc(85svh + 20px);
  object-fit: cover;
  object-position: center;
}

/* Center logo mark on hero */
.hero-logo-center {
  position: absolute;
  top: clamp(20px, 3.2vw, 47px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  pointer-events: none;
}

/* esquerda */
.hero-logo-mark {
  display: block;
  width: clamp(34px, 4.74vw, 69px);
  height: clamp(57px, 7.87vw, 112px);
  position: relative;
  z-index: 1;
}

/* direita: fumando.webp — sobrepõe levemente o da esquerda */
.hero-logo-sun {
  display: block;
  width: clamp(87px, 11.97vw, 171px);
  height: auto;
  margin-top: -12px;
  margin-left: -48px;
  position: relative;
  z-index: 2;
}

/* Colored headline bands */
.hero-bands {
  width: 100%;
}

.hero-band {
  width: 100%;
  overflow: hidden;
}

.hero-band--red  { background: var(--red);  padding: clamp(12px, 1.6vw, 24px) 0; }
.hero-band--dark { background: var(--dark); padding: clamp(12px, 1.6vw, 24px) 0; }

.hero-headline {
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: clamp(2.2rem, 6.6vw, 95px);
  letter-spacing: clamp(-1px, -0.33vw, -4.75px);
  line-height: 1.26;
  white-space: nowrap;
  padding-left: clamp(20px, 3.3vw, 48px);
}

.hero-headline--red  { color: var(--cream); }
.hero-headline--dark { color: var(--cream); }

.hero-headline .u { text-decoration: underline; text-underline-position: from-font; }

/* ============================================================
   INTRO
============================================================ */
.intro {
  background: var(--cream);
  padding: clamp(40px, 5.1vw, 74px) clamp(20px, 11.2vw, 161px);
}

.intro-text {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 36px);
  line-height: 1.5;
  color: var(--red);
  text-align: center;
  max-width: 1101px;
  margin: 0 auto;
}

.intro-link {
  text-decoration: underline;
  text-underline-position: from-font;
}

.intro-text em { font-style: italic; }

/* ============================================================
   FESTIVAL
============================================================ */
.festival {
  position: relative;
  background: var(--red);
  overflow: hidden;
  padding: clamp(60px, 8.3vw, 120px) clamp(20px, 3.9vw, 56px) clamp(60px, 8.3vw, 120px);
  min-height: clamp(500px, 58vw, 835px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.festival-bg-shape {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.festival-bg-shape img {
  width: min(83vw, 1199px);
  height: auto;
  object-fit: contain;
}

.festival-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 2.8vw, 40px);
  width: 100%;
  max-width: 1200px;
}

.festival-eyebrow {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(1.1rem, 3vw, 44px);
  line-height: 1;
  color: var(--dark);
  text-align: center;
}

.festival-label {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 50px);
  line-height: 1.5;
  color: var(--cream);
}

.festival-wordmark {
  width: min(67vw, 966px);
}
.festival-wordmark img { width: 100%; height: auto; }

.festival-desc {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--cream);
  max-width: min(54.7vw, 788px);
}

.festival-info {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--cream);
  text-align: center;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  padding: clamp(8px, 0.7vw, 10px) clamp(16px, 1.7vw, 24px);
  white-space: nowrap;
  border: 4px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }

.btn--dark {
  background: var(--terracotta);
  color: var(--white);
  font-size: clamp(1rem, 2.2vw, 32px);
  border-color: var(--terracotta);
}
.btn--dark:hover { border-color: var(--cream); }

.btn--terracotta {
  background: var(--terracotta);
  color: var(--white);
  font-size: clamp(1rem, 2.2vw, 32px);
  border-color: var(--terracotta);
}
.btn--terracotta:hover { text-decoration: underline; }

.btn--outline-terracotta {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
  font-size: clamp(0.85rem, 1.4vw, 20px);
}
.btn--outline-terracotta:hover { background: var(--terracotta); color: var(--cream); }

.btn--outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
  font-size: clamp(0.85rem, 1.4vw, 20px);
}
.btn--outline-cream:hover { background: var(--cream); color: var(--dark); border-color: var(--cream); }

/* ============================================================
   SPEAKERS HEADER
============================================================ */
.speakers-header {
  background: var(--dark);
  padding: clamp(24px, 2.8vw, 40px) clamp(20px, 4.3vw, 62px);
}

.speakers-header-title {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(1.4rem, 4.2vw, 60px);
  color: var(--cream);
  line-height: normal;
}

/* ============================================================
   SPEAKER ROWS
============================================================ */
.speakers { overflow: hidden; }

.speaker-row {
  display: flex;
  align-items: stretch;
  min-height: clamp(220px, 24.6vw, 354px);
  overflow: hidden;
  position: relative;
}

.speaker-row--cream     { background: var(--cream); }
.speaker-row--red       { background: var(--red); }
.speaker-row--terracotta { background: var(--terracotta); height: clamp(220px, 24.6vw, 354px); overflow: hidden; }

.speaker-info .btn {
  width: calc(clamp(260px, 30.5vw, 440px) - 2 * clamp(20px, 3.5vw, 50px) - 40px);
  align-self: flex-start;
}

.speaker-info {
  flex: 0 0 auto;
  width: clamp(320px, 52vw, 750px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 20px);
  padding: clamp(30px, 4.2vw, 60px) clamp(20px, 3.5vw, 50px) clamp(30px, 4.2vw, 60px) calc(clamp(20px, 3.5vw, 50px) + 40px);
  z-index: 1;
}

.speaker-time {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1rem, 2.1vw, 30px);
  line-height: 1.5;
}

.speaker-time--red   { color: var(--red); }
.speaker-time--cream { color: var(--cream); }

.speaker-names {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.4vw, 20px);
  line-height: 1.5;
  min-height: calc(clamp(0.85rem, 1.4vw, 20px) * 1.5 * 2);
}
.speaker-names--dark      { color: var(--dark); }
.speaker-names--cream     { color: var(--cream); }
.speaker-names--red       { color: var(--red); }
.speaker-names--terracotta { color: var(--terracotta); }

.speaker-photos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.speaker-img {
  position: absolute;
  object-fit: cover;
  object-position: top center;
}

/* ── Posições e tamanhos em vw (canvas Figma 1440px)
   left/width = px ÷ 14.4   height = px ÷ 14.4
   bottom:0 = ancorado na base da row
   top negativo = extrapola acima (cortado pelo overflow:hidden da row) ── */

/* Row 1 — 15h | cream — grupo único exportado do Figma (865×346px @ 1×) */
.sp-group-r1 {
  position: absolute;
  left: calc(37.57% + 240px);
  bottom: 0;
  height: 95%;
  width: auto;
}

/* Row 2 — 16h15 | red — grupo único exportado do Figma (node 1280:385) */
.sp-group-r2 {
  position: absolute;
  left: calc(37.57% + 246px);
  bottom: -80px;
  height: 140%;
  width: auto;
  transform-origin: bottom left;
}

/* Row 3 — 17h30 | terracotta — grupo único exportado do Figma (node 1284:9) */
.sp-group-r3 {
  position: absolute;
  left: calc(37.57% + 240px);
  bottom: 0;
  height: 96%;
  width: auto;
  transform-origin: bottom left;
}

/* Row 4 — 18h45 | cream — grupo único exportado do Figma (node 1284:25) */
.sp-group-r4 {
  position: absolute;
  left: calc(37.57% + 240px);
  bottom: 0;
  height: 100%;
  width: auto;
  transform-origin: bottom left;
}

/* ── Individual speaker images — 2-person layout (sem convidado) ──
   Mobile order (left → right): sp-carol/vera-r3, sp-vera/andrea-r3, etc.
   Desktop positions within .speaker-photos (position:absolute; inset:0) ── */
.sp-carol-r1, .sp-vera-r3, .sp-carol-r4 {
  position: absolute;
  left: 39%;
  bottom: 0;
  height: 95%;
  width: auto;
}

.sp-vera-r1, .sp-andrea-r3, .sp-vera-r4 {
  position: absolute;
  left: 60%;
  bottom: 0;
  height: 95%;
  width: auto;
}

/* ============================================================
   FAQ BANNER (index → faq.html)
============================================================ */
.faq-banner {
  display: block;
  background: var(--dark);
  padding: clamp(20px, 1.8vw, 26px) clamp(20px, 4.2%, 61px);
  text-decoration: none;
  transition: opacity 0.15s;
}
.faq-banner:hover { opacity: 0.85; }

.faq-banner-text {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 36px);
  line-height: normal;
  color: var(--cream);
}

.faq-banner-link {
  text-decoration: underline;
  text-underline-position: from-font;
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  position: relative;
  height: clamp(400px, 60vw, 864px);
  overflow: hidden;
}

.about-photo-wrap {
  position: absolute;
  inset: 0 43% 0 0;
  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 43%;
  background: var(--red);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(40px, 8.5vw, 123px) clamp(24px, 4.9vw, 70px) clamp(40px, 7vw, 100px);
  gap: clamp(20px, 3vw, 44px);
}

.about-title {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(2rem, 5.8vw, 84px);
  line-height: 1;
  color: var(--black);
}

.about-content .btn {
  align-self: flex-start;
  min-width: calc(16ch + 2 * clamp(16px, 1.7vw, 24px) + 8px);
}

.about-quote {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1rem, 2.1vw, 30px);
  line-height: 1.5;
  color: var(--dark);
  text-decoration: underline;
  text-underline-position: from-font;
}

/* ============================================================
   EVENTS ACCORDION
============================================================ */
.events {
  background: var(--cream);
}

.events-header {
  padding: clamp(20px, 1.5vw, 21px) clamp(20px, 4.3vw, 62px);
  border-bottom: 1px solid rgba(49,27,23,0.15);
}

.events-title {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(1.4rem, 4.2vw, 60px);
  color: var(--black);
  line-height: normal;
}

.events-accordion { width: 100%; }

.accordion-item { overflow: hidden; }

.accordion-tab {
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(10px, 2vw, 28px) clamp(20px, 3.6vw, 52px);
  min-height: clamp(60px, 7.4vw, 107px);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.15s;
}
.accordion-tab:hover { opacity: 0.85; }
.accordion-tab:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }

.accordion-item--grey .accordion-tab  { background: var(--dark); }
.accordion-item--brown .accordion-tab { background: var(--terracotta); }

.accordion-tab-label {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 64px);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--red);
}

.accordion-tab-label--active { color: var(--cream); }

.accordion-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}
.accordion-panel--open { height: auto; }
.accordion-panel[hidden] { display: none; }

.accordion-content {
  padding: clamp(24px, 2vw, 28px) clamp(20px, 4.3vw, 62px) 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.1vw, 30px);
}

.accordion-content--red   { background: var(--red); }
.accordion-content--dark  { background: var(--dark); }
.accordion-content--cream { background: var(--cream); }

.accordion-content--dark .event-title,
.accordion-content--dark .event-desc { color: var(--cream); }

.events-fixed-card { width: 100%; }

.event-title {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.7vw, 96px);
  line-height: 1.25;
  color: var(--black);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-position: from-font;
}

.event-desc {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(0.9rem, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--dark);
  max-width: 1117px;
}

/* ============================================================
   ARTICLES
============================================================ */
.articles {
  background: var(--dark);
  padding: clamp(30px, 4.5vw, 64px) clamp(24px, 4.8vw, 69px);
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4.4vw, 63px);
}

.articles-title {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.7vw, 96px);
  color: var(--cream);
  line-height: normal;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8.7vw, 125px);
}

.article-item {
  display: flex;
  align-items: flex-start;
  gap: calc(clamp(20px, 3vw, 44px) + 32px);
}

.article-date {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 36px);
  color: var(--cream);
  text-decoration: underline;
  text-underline-position: from-font;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.5;
  min-width: clamp(110px, 14vw, 198px);
}

.article-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 32px);
}

.article-headline {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.9vw, 42px);
  line-height: 1.3;
  color: var(--red);
  text-decoration: none;
  display: block;
  transition: opacity 0.15s;
}
.article-headline:hover { opacity: 0.75; text-decoration: underline; text-underline-position: from-font; }

.article-summary {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.8vw, 26px);
  line-height: 1.5;
  color: var(--cream);
}

/* ============================================================
   FOOTER
============================================================ */
.footer { overflow: hidden; }

.footer-red {
  background: var(--red);
  position: relative;
  min-height: clamp(280px, 53.7vw, 773px);
  overflow: hidden;
}

.footer-illustration {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
}

.footer-fumando {
  position: absolute;
  top: calc(-11vw + 6px);
  right: calc(-4% - 80px);
  width: clamp(483px, 86vw, 1145px);
  height: auto;
  transform: scaleX(1.15);
  transform-origin: right top;
  pointer-events: none;
}

.footer-dog-clip {
  flex: 0 0 auto;
  height: clamp(300px, 60.8vw, 875px);
  overflow: hidden;
}

.footer-dog {
  display: block;
  height: 100%;
  width: auto;
}

.footer-dark {
  background: var(--dark);
  padding: clamp(20px, 2.2vw, 32px) clamp(20px, 1.7vw, 25px) 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 4vw, 56px);
}

.footer-nav-link, .footer-location, .footer-copy {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.75rem, 1.1vw, 16px);
  color: var(--red);
  line-height: 1.5;
}

.footer-nav-link { text-decoration: underline; text-underline-position: from-font; }
.footer-nav-link:hover { opacity: 0.75; }
.footer-location, .footer-copy { text-decoration: none; }

.footer-wordmark {
  width: 100%;
  overflow: hidden;
}

.footer-wordmark-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
============================================================ */
@media (max-width: 1024px) {
  html { scroll-behavior: auto; }
  body { overflow-x: clip; }

  .nav-toggle { display: block; }

  /* Dropdown from top — no scroll, all items visible */
  .nav-sidebar {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    background: var(--cream);
    border-right: none;
    border-bottom: 2px solid var(--dark);
    z-index: 400; /* acima do botão Menu (z-index: 300) */
  }

  .nav-sidebar.is-open { transform: translateY(0); }

  .nav-inner {
    height: auto;
    justify-content: flex-start;
  }

  /* nav-top: cream bg + logo + links — igual ao desktop */
  .nav-top {
    flex: none;
    background: var(--cream);
    padding: 20px 25px 20px;
    gap: 14px;
    transition: none;
    position: relative;
  }

  .nav-logo-link { display: block; }
  .nav-logo-img { width: 100px; }

  /* × close button — aparece no canto direito na altura do logo */
  .nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 300;
    color: var(--dark);
    line-height: 1;
    padding: 0;
  }
  .nav-sidebar.is-open .nav-close { display: block; }

  /* Override compact-nav so it doesn't collapse the dropdown */
  .nav-sidebar--compact .nav-top,
  .nav-sidebar--compact.nav-sidebar--expanded .nav-top { gap: 14px; }
  .nav-sidebar--compact .nav-links,
  .nav-sidebar--compact.nav-sidebar--expanded .nav-links { max-height: none; overflow: visible; }
  .nav-sidebar--compact .nav-arrow,
  .nav-sidebar--compact.nav-sidebar--expanded .nav-arrow { display: none; }

  .nav-links { max-height: none; overflow: visible; }

  .nav-link { color: var(--dark); font-size: 15px; }

  /* nav-bottom: dark bg + contato em creme — igual ao desktop */
  .nav-bottom { background: var(--dark); padding: 14px 25px; }

  .nav-link--contato { color: var(--cream); }
  .nav-arrow { display: none; }

  .about { height: auto; }
  .about-photo-wrap { position: relative; inset: auto; height: 72vw; max-height: 480px; width: 100%; }
  .about-photo { object-position: top center; }
  .about-content { position: relative; top: auto; right: auto; bottom: auto; width: 100%; }

  .article-item { flex-direction: column; gap: 8px; }
  .article-date { font-size: clamp(0.85rem, 2vw, 22px); }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
============================================================ */
@media (max-width: 640px) {
  .hero-video { height: 60svh; }

  .hero-logo-center { display: none; }

  .hero-headline { white-space: normal; }

  .festival-wordmark { width: 90vw; }

  .speaker-row {
    flex-direction: column;
    min-height: unset;
    height: auto !important;
  }

  .speaker-info {
    width: 100%;
    padding: clamp(24px, 6vw, 36px) clamp(20px, 5vw, 32px);
    order: 1;
  }

  .speaker-info .btn {
    width: 100%;
    align-self: stretch;
  }

  .speaker-names {
    min-height: unset;
  }

  .speaker-photos {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(220px, 55vw, 320px);
    overflow: hidden;
    order: 2;
  }

  /* Centrar todas as imagens de grupo no mobile */
  .sp-group-r1,
  .sp-group-r2,
  .sp-group-r3,
  .sp-group-r4 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: bottom center;
    bottom: 0;
    height: 100%;
    width: auto;
  }

  .sp-group-r2 {
    height: 125%;
    bottom: -30px;
  }

  .articles-title { font-size: clamp(2rem, 10vw, 56px); }

  .accordion-tab-label { font-size: clamp(1.8rem, 8vw, 40px); }

  .event-title { font-size: clamp(2rem, 9vw, 56px); }

  .footer-dog { height: clamp(240px, 68vw, 360px); }
  .footer-red { min-height: clamp(240px, 68vw, 360px); }

  .footer-fumando {
    width: 88.5vw;
    top: -53px;
    left: 100px;
    right: auto;
    transform: scaleX(1.14);
    transform-origin: left top;
  }
}

/* ============================================================
   TOAST — copy email feedback
============================================================ */
.toast {
  position: fixed;
  bottom: clamp(20px, 3vw, 40px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(12px, 1.1vw, 16px);
  padding: 10px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  white-space: nowrap;
}
.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   LERP SCROLL WRAPPER
============================================================ */
#scroll-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow-x: hidden;
  will-change: transform;
}

@media (max-width: 1024px) {
  #scroll-wrap {
    position: static;
    width: auto;
    will-change: auto;
  }
  #scroll-ghost {
    display: none;
  }
}

#scroll-ghost {
  pointer-events: none;
  visibility: hidden;
  width: 1px;
}

/* ============================================================
   ACCORDION CAROUSEL
============================================================ */
.acc-inner {
  display: flex;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: stretch;
}

.acc-carousel-wrap {
  flex: 0 0 clamp(200px, 55%, 640px);
  position: relative;
}

/* Right column: text on top, thumbs on bottom */
.acc-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 28px);
}

.acc-text {
  flex: 1;
  min-width: 0;
}

.acc-carousel-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.15);
}

.acc-carousel-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.acc-carousel-inner img.is-active {
  opacity: 1;
}

.acc-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  z-index: 2;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.acc-carousel-btn:hover {
  background: rgba(0, 0, 0, 0.62);
}

.acc-carousel-prev { left: 0; }
.acc-carousel-next { right: 0; }

/* Thumbnail strip below text */
.acc-thumbs {
  display: flex;
  gap: clamp(6px, 0.8vw, 10px);
  align-items: flex-end;
  flex-wrap: wrap;
}

.acc-thumb {
  flex: none;
  width: clamp(110px, 14vw, 180px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s;
}

.acc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: opacity 0.2s;
}

.acc-thumb:hover {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .acc-inner {
    flex-direction: column;
  }

  .acc-carousel-wrap {
    width: 100%;
    flex: none;
  }

  .acc-right {
    width: 100%;
  }
}
