/* =========================================================================
   PRAIA LIMPA TOMBO — v4
   Sistema de design cinematográfico: fotografia em tela cheia, tipografia
   confiante, storytelling por scroll (GSAP ScrollTrigger).
   v4: cada seção ocupa uma tela (scroll-snap), carrossel de resíduos,
   programação com manhã e tarde.
   Paleta fiel à marca real da Associação (preto + dourado).
   ========================================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta — preto e dourado da marca real da Associação */
  --paper: #f7f6f2;
  --paper-dim: #edeae1;
  --surface: #ffffff;
  --surface-line: #e2ddd0;

  --ink: #131210;
  --ink-soft: #4a463d;
  --ink-faint: #767061;

  --void: #0c0b09;
  --void-soft: #1c1a15;

  --gold: #b8935a;
  --gold-hover: #a17d47;
  --gold-light: #e4cfa0;
  --gold-tint: #f3e9d4;

  --accent: var(--gold);
  --accent-ink: #14120d;

  --radius-lg: 4px;
  --radius-md: 3px;
  --radius-sm: 2px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12, 11, 9, 0.08);
  --shadow-md: 0 20px 48px -20px rgba(12, 11, 9, 0.35);
  --shadow-lg: 0 40px 90px -30px rgba(12, 11, 9, 0.45);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1280px;
  --gutter: 28px;

  --section-py: 160px;
  --section-py-sm: 88px;

  --nav-h: 84px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (max-width: 900px) {
  :root {
    --section-py: 96px;
    --gutter: 20px;
    --nav-h: 68px;
  }
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--void);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 300;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 28px;
  height: 28px;
}

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-py);
  position: relative;
}

.section--tint {
  background: var(--paper-dim);
}

.section--dark {
  background: var(--void);
  color: #f4f1e9;
}

/* -------------------------------------------------------------------------
   Typography helpers
   ------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-top: 16px;
}

.section--dark .section-head h2 {
  color: #ffffff;
}

/* Cabeçalho em duas colunas: título à esquerda, texto à direita */
.section-head--row {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 80px;
  align-items: end;
}

.section-head.section-head--row p.lede {
  margin-top: 0;
}

@media (max-width: 900px) {
  .section-head--row {
    grid-template-columns: 1fr;
  }

  .section-head.section-head--row p.lede {
    margin-top: 4px;
  }
}

.section-head p.lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
}

.section--dark .section-head p.lede {
  color: rgba(244, 241, 233, 0.72);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding-inline: 30px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--gold);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--gold-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--surface-line);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
}

.btn--on-dark {
  background: #ffffff;
  color: var(--void);
}

.btn--on-dark:hover {
  background: var(--gold-light);
}

.btn--ghost-on-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost-on-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn--sm {
  height: 44px;
  padding-inline: 22px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

/* -------------------------------------------------------------------------
   Navigation — transparent over hero, solid once scrolled
   ------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--surface-line);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
}

.nav__logo-light {
  display: block;
}

.nav__logo-dark {
  display: none;
}

.nav.is-solid .nav__logo-light {
  display: none;
}

.nav.is-solid .nav__logo-dark {
  display: block;
}

.nav__brand-text {
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.4s var(--ease);
}
.nav.is-solid .nav__brand-text {
  color: var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-inline-start: auto;
}

.nav__links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.nav.is-solid .nav__links a {
  color: var(--ink-soft);
}

.nav__links a:hover {
  color: var(--gold-light);
}

.nav.is-solid .nav__links a:hover {
  color: var(--gold-hover);
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: color 0.4s var(--ease);
}

.nav.is-solid .nav__burger {
  color: var(--ink);
}

.mobile-menu {
  display: none;
}

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--void);
    z-index: 199;
    padding: 32px var(--gutter) 40px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu a {
    display: block;
    font-size: 24px;
    font-weight: 700;
    padding-block: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
  }

  .mobile-menu .btn {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    transition: none;
  }
}

/* -------------------------------------------------------------------------
   Hero — cinematic, full-bleed, parallax layer via JS transform
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: -8% -2%;
  z-index: 0;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.78) 0%, rgba(5, 7, 5, 0.52) 36%, rgba(5, 7, 5, 0.1) 62%, rgba(5, 7, 5, 0) 78%),
    linear-gradient(180deg, rgba(6, 8, 6, 0.55) 0%, rgba(6, 8, 6, 0.12) 28%, rgba(6, 8, 6, 0.3) 55%, rgba(6, 8, 6, 0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 88px;
}

.hero__inner {
  max-width: 760px;
}

.hero__banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(184, 147, 90, 0.16);
  border: 1px solid rgba(228, 207, 160, 0.55);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 22px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hero__banner:hover {
  background: rgba(184, 147, 90, 0.28);
  border-color: var(--gold-light);
}

.hero__banner .icon {
  color: var(--gold-light);
}

.hero__banner-arrow {
  transition: transform 0.2s var(--ease);
}

.hero__banner:hover .hero__banner-arrow {
  transform: translateX(3px);
}

@media (max-width: 560px) {
  .hero__banner {
    font-size: 12.5px;
    padding: 9px 14px;
  }
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  opacity: 0.92;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hero__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}



.hero__logo {
  width: clamp(240px, 28vw, 380px);
  height: auto;
  flex: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.hero__event {
  font-size: clamp(26px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
  color: #fff;
  margin: 0;
}

.hero__event strong {
  font-weight: 800;
  color: var(--gold-light);
}

.hero__title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
}

.hero__sub {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 44ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-cue::after {
  content: "";
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(10px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero__content {
    padding-bottom: 56px;
  }

  .hero__scroll-cue {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Callout — chamada para o mutirão de 26/09 (usa o convite oficial, tratado)
   ------------------------------------------------------------------------- */
.callout {
  position: relative;
  display: block;
  min-height: 300px;
  overflow: hidden;
}

.callout__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.callout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(60%) brightness(0.56) contrast(1.08);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.callout:hover .callout__media img {
  transform: scale(1.04);
  filter: grayscale(45%) brightness(0.6) contrast(1.08);
}

.callout__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(5, 7, 5, 0.86) 0%, rgba(5, 7, 5, 0.6) 46%, rgba(5, 7, 5, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 7, 5, 0.25) 0%, rgba(5, 7, 5, 0.15) 50%, rgba(5, 7, 5, 0.45) 100%);
}

.callout__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding: 52px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  min-height: 300px;
}

.callout__text {
  max-width: 620px;
}

.callout__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.callout__text h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.callout__text p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}

.callout__cta {
  flex: none;
  pointer-events: none;
}

.callout__cta .icon {
  transition: transform 0.2s var(--ease);
}

.callout:hover .callout__cta .icon {
  transform: translateX(3px);
}

@media (max-width: 760px) {
  .callout__inner {
    padding: 40px var(--gutter);
    flex-direction: column;
    align-items: flex-start;
  }

  .callout__scrim {
    background:
      linear-gradient(180deg, rgba(5, 7, 5, 0.9) 0%, rgba(5, 7, 5, 0.78) 55%, rgba(5, 7, 5, 0.9) 100%);
  }
}

/* -------------------------------------------------------------------------
   Info strip
   ------------------------------------------------------------------------- */
.info-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--surface-line);
}

.info-strip__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 36px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.info-item {
  display: flex;
  flex-direction: column;
  padding-inline: 28px;
  border-left: 1px solid var(--surface-line);
}

.info-item:first-child {
  border-left: 0;
  padding-inline-start: 0;
}

.info-item__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.info-item__value {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .info-strip__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .info-item {
    border-left: 0;
    padding-inline-start: 0;
    border-top: 1px solid var(--surface-line);
    padding-top: 18px;
  }

  .info-item:nth-child(-n + 2) {
    border-top: 0;
    padding-top: 0;
  }

  .info-item:nth-child(even) {
    padding-inline-start: 22px;
    border-left: 1px solid var(--surface-line);
  }
}

/* -------------------------------------------------------------------------
   Scroll reveal primitives (driven by GSAP, class toggled via ScrollTrigger)
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal="scale"].is-revealed {
  transform: scale(1);
}

[data-reveal="left"] {
  transform: translateX(-48px);
}

[data-reveal="left"].is-revealed {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(48px);
}

[data-reveal="right"].is-revealed {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* -------------------------------------------------------------------------
   About split
   ------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.about__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__body p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-top: 20px;
  line-height: 1.6;
}

.about__facts {
  margin-top: 44px;
  display: grid;
  gap: 24px;
}

.about__fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__fact .icon {
  color: var(--gold);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.about__fact h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.about__fact p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.about__title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__media img {
    aspect-ratio: 16 / 10;
  }
}

/* -------------------------------------------------------------------------
   Pull quote
   ------------------------------------------------------------------------- */
.pull-quote {
  margin-top: 36px;
  padding: 24px 32px;
  border-left: 3px solid var(--gold);
  background: var(--paper-dim);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pull-quote p,
.pull-quote span {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.pull-quote--sm {
  margin-top: 40px;
  background: transparent;
  padding: 0 0 0 20px;
}

.pull-quote--sm span {
  font-size: 17px;
}

/* -------------------------------------------------------------------------
   Timeline
   ------------------------------------------------------------------------- */
.timeline {
  border-top: 1px solid var(--surface-line);
}

.timeline__row {
  display: grid;
  grid-template-columns: 92px 28px 1fr;
  gap: 4px;
  padding-block: 11px;
  border-bottom: 1px solid var(--surface-line);
}

.timeline__time {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-hover);
  padding-top: 2px;
}

.timeline__dot-col {
  display: flex;
  justify-content: center;
}

.timeline__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-line);
  margin-top: 7px;
}

.timeline__row--highlight .timeline__dot {
  background: var(--gold);
}

.timeline__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.timeline__desc {
  margin-top: 5px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 620px) {
  .timeline__row {
    grid-template-columns: 86px 20px 1fr;
  }

  .timeline__time {
    font-size: 13px;
  }
}

/* -------------------------------------------------------------------------
   Frentes (bento, 5 cells)
   ------------------------------------------------------------------------- */
.frentes {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.frente-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.frente-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}


.frente-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.frente-card__icon .icon {
  color: var(--gold-hover);
  width: 22px;
  height: 22px;
}

.frente-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.frente-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .frentes {
    grid-template-columns: 1fr 1fr;
  }

  .frente-card--wide,
  .frente-card--narrow {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .frentes {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Resíduos — carrossel automático (fotos trocam a cada 2 s)
   ------------------------------------------------------------------------- */
.carousel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.carousel-info .eyebrow {
  color: var(--gold-light);
}

.carousel-info h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-top: 16px;
}

.carousel-info .lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244, 241, 233, 0.72);
  max-width: 50ch;
}

.carousel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.carousel__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: calc(100dvh - var(--nav-h) - 150px);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--void-soft);
  box-shadow: var(--shadow-lg);
}

.carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease-soft);
  background: var(--void-soft);
}

/* Fundo desfocado da própria foto: nada é cortado e o quadro fica sempre cheio */
.carousel__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg) center / cover no-repeat;
  filter: blur(26px) brightness(0.55);
  transform: scale(1.2);
}

.carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel__slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 24px 22px;
  background: linear-gradient(180deg, rgba(6, 8, 6, 0) 0%, rgba(6, 8, 6, 0.86) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.carousel__num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold-light);
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.carousel__btn:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.carousel__flip {
  transform: rotate(180deg);
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel__dot.is-active {
  background: var(--gold-light);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .carousel__slide {
    transition: none;
  }
}

@media (max-width: 900px) {
  .carousel-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .carousel {
    max-width: 440px;
  }
}

/* -------------------------------------------------------------------------
   Community photo band
   ------------------------------------------------------------------------- */
.community {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.community__text {
  background: var(--void);
  color: #fff;
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community__text h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.community__text p {
  margin-top: 18px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 42ch;
}

.community__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.community__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

@media (max-width: 860px) {
  .community {
    grid-template-columns: 1fr;
  }

  .community__text {
    padding: 44px 30px;
  }

  .community__photos img {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .community__photos {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Institutional chips
   ------------------------------------------------------------------------- */
.institutional {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.institutional__group h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.chip .icon {
  color: var(--gold-hover);
  width: 16px;
  height: 16px;
}

.institutional__note {
  grid-column: span 2;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-faint);
  padding-top: 10px;
  border-top: 1px solid var(--surface-line);
  max-width: 74ch;
}

.institutional__note .icon {
  margin-top: 2px;
  color: var(--ink-faint);
  width: 16px;
  height: 16px;
}

@media (max-width: 720px) {
  .institutional {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .institutional__note {
    grid-column: span 1;
  }
}

/* -------------------------------------------------------------------------
   Partnership tiers
   ------------------------------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.tier {
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  display: flex;
  flex-direction: column;
}

.tier--featured {
  background: var(--void);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.tier__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--gold-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.tier--featured .tier__icon {
  background: rgba(255, 255, 255, 0.1);
}

.tier__icon .icon {
  color: var(--gold-hover);
  width: 20px;
  height: 20px;
}

.tier--featured .tier__icon .icon {
  color: var(--gold-light);
}

.tier__label {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tier__desc {
  margin-top: 11px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.tier--featured .tier__desc {
  color: rgba(255, 255, 255, 0.72);
}

.tier__list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  flex: 1;
}

.tier__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.tier--featured .tier__list li {
  color: rgba(255, 255, 255, 0.85);
}

.tier__list .icon {
  color: var(--gold-hover);
  margin-top: 2px;
  flex: none;
  width: 16px;
  height: 16px;
}

.tier--featured .tier__list .icon {
  color: var(--gold-light);
}

.tier .btn {
  margin-top: auto;
}

@media (max-width: 900px) {
  .tiers {
    grid-template-columns: 1fr;
  }

  .tier--featured {
    transform: none;
    order: -1;
  }
}

/* -------------------------------------------------------------------------
   Participar — path cards + shared contact form
   ------------------------------------------------------------------------- */
.paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.path-card {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--surface-line);
  background: var(--surface);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
  cursor: pointer;
}

.path-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.path-card.is-active {
  border-color: var(--gold);
  background: var(--gold-tint);
}

.path-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.path-card.is-active .path-card__icon {
  background: rgba(255, 255, 255, 0.6);
}

.path-card__icon .icon {
  color: var(--gold-hover);
  width: 19px;
  height: 19px;
}

.path-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.path-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .paths {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .paths {
    grid-template-columns: 1fr;
  }
}

/* Form */
.contact-form {
  margin-top: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form__selected {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--gold-tint);
  color: var(--gold-hover);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.contact-form__selected[hidden] {
  display: none;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.form-row--split {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.form-row input,
.form-row textarea,
.form-row select {
  font: inherit;
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1.5px solid var(--surface-line);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
  width: 100%;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row textarea {
  resize: vertical;
  min-height: 96px;
}

.form-row--split .form-row {
  margin-bottom: 0;
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .contact-form {
    padding: 28px 22px;
  }

  .form-row--split {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* -------------------------------------------------------------------------
   Closing CTA
   ------------------------------------------------------------------------- */
.closing {
  position: relative;
  overflow: hidden;
}

.closing__inner {
  position: relative;
  padding: 140px var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.closing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 8, 6, 0.72) 0%, rgba(6, 8, 6, 0.88) 100%);
}

.closing__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.closing__content h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.closing__content p {
  margin-top: 18px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
  margin-inline: auto;
}

.closing__ctas {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .closing__inner {
    padding: 96px 24px;
  }
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer {
  background: var(--void);
  color: rgba(244, 241, 233, 0.82);
  padding-block: 80px 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.footer__logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.footer__brand strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.footer__brand span {
  display: block;
  font-size: 12.5px;
  color: rgba(244, 241, 233, 0.5);
  margin-top: 3px;
}

.footer__about p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(244, 241, 233, 0.62);
  max-width: 42ch;
}

.footer h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 233, 0.45);
  margin-bottom: 18px;
}

.footer__contact {
  display: grid;
  gap: 14px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: rgba(244, 241, 233, 0.8);
  line-height: 1.5;
}

.footer__contact li span {
  flex: 1;
  min-width: 0;
}

.footer__contact li a {
  color: inherit;
}

.footer__contact li a:hover {
  color: var(--gold-light);
}

.footer__contact .icon {
  margin-top: 2px;
  color: rgba(244, 241, 233, 0.45);
  width: 17px;
  height: 17px;
}

.footer__note {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(244, 241, 233, 0.4);
  line-height: 1.5;
}

.footer__bottom {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(244, 241, 233, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(244, 241, 233, 0.38);
}

@media (max-width: 780px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* -------------------------------------------------------------------------
   Floating WhatsApp button
   ------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 250;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.6), 0 2px 10px rgba(0, 0, 0, 0.2);
}

.wa-float:active {
  transform: scale(0.96);
}

.wa-float .icon {
  width: 30px;
  height: 30px;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: wapulse 2.6s ease-out infinite;
}

@keyframes wapulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  80% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before {
    animation: none;
  }
}

@media (max-width: 640px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .wa-float .icon {
    width: 26px;
    height: 26px;
  }
}

/* -------------------------------------------------------------------------
   Misc
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }
}

/* =========================================================================
   v3 — Programação (manhã + tarde), notas, Participe, tela de abertura
   ========================================================================= */

/* Notas de rodapé de seção (ícone + texto curto) */
.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

.note .icon {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex: none;
}

.note--on-dark {
  margin-top: 28px;
  color: rgba(244, 241, 233, 0.55);
}

/* Programação: duas colunas de mesma altura */
.schedule {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.schedule__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.schedule__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
}

.schedule__label .icon {
  color: var(--gold-hover);
}

.schedule__label strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.schedule__label span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-hover);
}

.schedule .timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.schedule .timeline__row {
  flex: 1;
  align-items: center;
}

.schedule .timeline__time {
  padding-top: 0;
}

.schedule .timeline__dot {
  margin-top: 0;
}

.pm-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 32px 22px;
  border-radius: var(--radius-lg);
  background: var(--void);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.pm-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pm-item__icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-item__icon .icon {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
}

.pm-item h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pm-item p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.pm-card__note {
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .schedule {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .schedule .timeline__row {
    align-items: start;
  }

  .pm-card {
    padding-inline: 22px;
  }
}

/* Participe: caminhos à esquerda, formulário à direita */
.participar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.participar .section-head {
  max-width: none;
  margin-bottom: 28px;
}

.participar .paths {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .participar {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .participar .paths {
    grid-template-columns: 1fr;
  }
}

/* Tela de abertura: chamada do 26/09 + faixa de informações numa só tela */
.intro-screen {
  display: flex;
  flex-direction: column;
}

.intro-screen .callout {
  flex: 1;
  display: flex;
}

.intro-screen .callout__inner {
  width: 100%;
}

/* Fotos sempre com a proporção da imagem original, sem cortes exagerados */
.about__media img {
  aspect-ratio: 4 / 3;
}

.about__media--top img {
  object-position: 50% 22%;
}

/* =========================================================================
   v3 — Uma seção = uma tela (desktop). Rolar ou usar Page Down enquadra
   a próxima seção inteira. Em telas pequenas/baixas o fluxo é contínuo.
   ========================================================================= */
@media (min-width: 901px) and (min-height: 620px) {
  html {
    scroll-snap-type: y mandatory;
  }

  .hero,
  .intro-screen,
  .section,
  .closing {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .footer {
    scroll-snap-align: end;
  }

  .section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: calc(var(--nav-h) + 16px) 40px;
  }

  .section > .wrap {
    width: 100%;
  }

  .section-head {
    margin-bottom: clamp(24px, 4.5dvh, 48px);
  }

  .intro-screen {
    min-height: 100dvh;
  }

  .intro-screen .callout__inner {
    padding-top: calc(var(--nav-h) + 40px);
  }

  .intro-screen .info-strip__inner {
    padding-block: 28px;
  }

  .about__media img {
    height: min(62dvh, 580px);
    aspect-ratio: auto;
  }

  .community {
    min-height: min(66dvh, 560px);
  }

  .community__photos img {
    min-height: 0;
  }

  .closing {
    min-height: 100dvh;
    display: flex;
  }

  .closing__inner {
    flex: 1;
    width: 100%;
    justify-content: center;
    padding-block: calc(var(--nav-h) + 24px) 48px;
  }

  .tier {
    padding: 28px 26px;
  }

  .tier--featured {
  }

  .tier__list {
    margin-top: 18px;
    gap: 9px;
  }

  .tier .btn {
    margin-top: auto;
  }

  .stat-grid__item {
    padding-block: 28px;
  }
}

/* =========================================================================
   v3 — ajustes de compactação e programação horizontal (telas largas)
   ========================================================================= */
.frente-card {
  padding: 26px 26px;
  gap: 14px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row input,
.form-row textarea,
.form-row select {
  padding: 11px 14px;
}

.form-row textarea {
  min-height: 84px;
}

.contact-form {
  padding: 30px;
}

@media (min-width: 1100px) {
  /* Manhã em 7 passos lado a lado; tarde como faixa logo abaixo */
  .schedule {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .schedule .timeline {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 0;
  }

  .schedule .timeline__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 18px 0 0;
    border-bottom: 0;
  }

  .schedule .timeline__time {
    min-height: 2.6em;
    font-size: 14px;
    line-height: 1.3;
  }

  .schedule .timeline__dot-col {
    position: relative;
    width: 100%;
    height: 12px;
    justify-content: flex-start;
    align-items: center;
  }

  .schedule .timeline__dot-col::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--surface-line);
  }

  .schedule .timeline__dot {
    position: relative;
    width: 11px;
    height: 11px;
    margin: 0;
  }

  .schedule .timeline__title {
    font-size: 15.5px;
    line-height: 1.3;
  }

  .schedule .timeline__desc {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .schedule .timeline__row--highlight .timeline__title {
    color: var(--gold-hover);
  }

  .schedule__col--pm .pm-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    align-items: center;
    padding: 0 36px;
  }

  .pm-item {
    border-bottom: 0;
    padding-block: 24px;
  }

  .pm-card__note {
    grid-column: 1 / -1;
    padding-block: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (min-width: 901px) and (min-height: 620px) {
  .hero {
    min-height: 560px;
  }

  .community {
    height: 440px;
    min-height: 0;
  }

  .community__photos {
    height: 100%;
    min-height: 0;
  }

  .community__photos img {
    height: 100%;
    min-height: 0;
  }

  .carousel__stage {
    max-height: none;
    height: min(calc(100dvh - var(--nav-h) - 170px), 560px);
    width: auto;
    aspect-ratio: 4 / 5;
  }
}

/* =========================================================================
   v3 — alinhamento e simetria
   ========================================================================= */
.about__title {
  margin-top: 14px;
}

/* Títulos em duas colunas: tamanho contido para não deixar palavra órfã */
.section-head--row h2 {
  font-size: clamp(30px, 3.5vw, 44px);
}

/* Institucional: dois cartões de mesma altura */
.institutional {
  gap: 20px;
  align-items: stretch;
}

.institutional__group {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.institutional__group h3 {
  margin-bottom: 18px;
}

.institutional .chip {
  background: var(--paper);
}

.institutional__note {
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 4px;
  border-top: 0;
}

@media (max-width: 720px) {
  .institutional__group {
    padding: 22px;
  }
}

/* Formulário ocupa a mesma altura da coluna de caminhos */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form .form-row--grow {
  flex: 1;
  margin-bottom: 16px;
}

.contact-form .form-row--grow textarea {
  flex: 1;
}

.contact-form .form-row--grow {
  grid-template-rows: auto 1fr;
}

@media (min-width: 901px) {
  .participar {
    align-items: stretch;
  }

  .participar__intro {
    display: flex;
    flex-direction: column;
  }

  .participar__intro .paths {
    flex: 1;
    grid-auto-rows: 1fr;
  }
}

/* Sobre: foto e texto com topo e base alinhados (desktop) */
@media (min-width: 901px) and (min-height: 620px) {
  .about {
    align-items: stretch;
  }

  .about__media {
    position: relative;
    min-height: 400px;
  }

  .about__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .about__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 8px;
  }
}

h1, h2, h3 {
  text-wrap: balance;
}

/* Botão fantasma na barra de navegação: legível também com a barra clara */
.nav.is-solid .btn--ghost-on-dark {
  color: var(--ink);
  border-color: var(--ink-faint);
  background: transparent;
}

.nav.is-solid .btn--ghost-on-dark:hover {
  border-color: var(--gold-hover);
  color: var(--gold-hover);
}

/* -------------------------------------------------------------------------
   Hero em telas baixas (ex.: notebook 1366×768, onde a área útil do
   navegador tem ~640px): o conteúdo nunca passa por baixo do header fixo.
   ------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-h) + 12px);
}

@media (max-height: 800px) {
  .hero__content {
    padding-bottom: 64px;
  }

  .hero__brand {
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero__logo {
    width: 220px;
  }

  .hero__event {
    font-size: clamp(26px, 3.4vw, 42px);
  }

  .hero__title {
    font-size: clamp(26px, 3vw, 36px);
  }

  .hero__sub {
    margin-top: 16px;
    font-size: 17px;
  }

  .hero__ctas {
    margin-top: 24px;
  }
}

@media (max-height: 680px) {
  .hero__content {
    padding-bottom: 52px;
  }

  .hero__logo {
    width: 170px;
  }

  .hero__event {
    font-size: clamp(24px, 3vw, 36px);
  }

  .hero__sub {
    margin-top: 12px;
    font-size: 16px;
  }

  .hero__ctas {
    margin-top: 18px;
  }
}

/* Celulares: o hero cresce com o conteúdo em vez de empurrá-lo para baixo do header */
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 100dvh;
    padding-top: calc(var(--nav-h) + 28px);
  }

  .hero__content {
    padding-bottom: 84px;
  }

  .hero__logo {
    width: min(210px, 56vw);
  }
}

/* =========================================================================
   Home da Associação (v4)
   ========================================================================= */

/* Hero com vídeo de fundo */
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}

/* Carrossel do topo: slides empilhados, controles só quando há mais de um */
.hero-carousel__track {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-soft), visibility 0.6s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-carousel__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-carousel.is-single .hero-carousel__controls {
  display: none;
}

.hero-carousel__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.hero-carousel__dot.is-active {
  background: var(--gold-light);
  transform: scale(1.25);
}

.nav__links a.nav__event {
  color: var(--gold-light);
}

.nav.is-solid .nav__links a.nav__event {
  color: var(--gold-hover);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* Somos praia do Tombo */
.somos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: stretch;
}

.somos__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.somos__text h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin-top: 16px;
}

.somos__text .lede {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 48ch;
}

.somos__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.member-card {
  border-radius: var(--radius-lg);
  background: var(--void);
  color: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  box-shadow: var(--shadow-lg);
}

.member-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(228, 207, 160, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-card__icon .icon {
  color: var(--gold-light);
  width: 24px;
  height: 24px;
}

.member-card h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.member-card p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.member-card .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* Valores: 4 cartões iguais */
.frentes--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
  .frentes--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .frentes--4 {
    grid-template-columns: 1fr;
  }
}

/* Manifesto */
.manifesto {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: stretch;
}

.manifesto__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.manifesto__body .eyebrow {
  color: var(--gold-light);
}

.manifesto__body h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin: 16px 0 24px;
}

.manifesto__body p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(244, 241, 233, 0.78);
  margin-top: 14px;
  max-width: 56ch;
}

.manifesto__body p.manifesto__call {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-light);
  margin-top: 22px;
}

.manifesto__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
}

.manifesto__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.agora__link {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .somos,
  .manifesto {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .member-card {
    padding: 36px 28px;
  }
}

/* Carrossel: slides alinhados pela base; ícone da Associação menor que o logo do evento */
.hero-slide {
  align-self: end;
}

.hero__logo.hero__logo--icon {
  width: clamp(84px, 9vw, 120px);
}

@media (max-height: 800px) {
  .hero__logo.hero__logo--icon {
    width: 84px;
  }
}

@media (max-width: 900px) {
  .hero__logo.hero__logo--icon {
    width: 84px;
  }
}

/* O hero cresce com o conteúdo (logo + carrossel) em vez de invadir o header */
.hero.hero--video {
  height: auto;
  min-height: max(100dvh, 560px);
}

/* Última tela: encerramento + rodapé ocupam exatamente uma tela */
@media (min-width: 901px) and (min-height: 620px) {
  .closing {
    min-height: calc(100dvh - var(--footer-h, 0px));
  }
}

@media (min-width: 901px) and (min-height: 620px) {
  .footer {
    padding-block: 44px 20px;
  }
}

@media (min-width: 901px) and (min-height: 620px) {
  .footer__grid {
    gap: 40px;
  }

  .footer__brand {
    margin-bottom: 12px;
  }

  .footer__logo {
    width: 56px;
    height: 56px;
  }

  .footer h4 {
    margin-bottom: 10px;
  }

  .footer__contact {
    gap: 8px;
  }

  .footer__bottom {
    margin-top: 28px;
    padding-top: 16px;
  }

  .closing__inner {
    padding-block: var(--nav-h) 20px;
  }
}

/* Notebooks (~650–800px de altura útil): última tela mais compacta */
@media (min-width: 901px) and (min-height: 620px) and (max-height: 800px) {
  .footer__about p {
    display: none;
  }

  .closing__content h2 {
    font-size: clamp(26px, 3vw, 38px);
  }

  .closing__content p {
    margin-top: 12px;
  }

  .closing__ctas {
    margin-top: 22px;
  }
}
