/* ============================================
   Instituto Brazilian Shift
   "Concert Hall Editorial" Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --color-primary:      #0C0C14;
  --color-primary-warm:  #141018;
  --color-accent:       #D4831A;
  --color-accent-light: #F5E6CC;
  --color-accent-glow:  rgba(212,131,26,0.15);
  --color-accent-dark:  #9A5F0F;
  --color-cream:        #FAF6F0;
  --color-text:         #1A1A1E;
  --color-text-muted:   #6B6878;
  --color-bg:           #FFFFFF;
  --color-bg-alt:       #F7F4EE;
  --color-border:       rgba(0,0,0,0.06);
  --color-white:        #FFFFFF;

  --font-display:       'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:          'DM Sans', 'Inter', system-ui, sans-serif;

  --max-width:          1200px;
  --max-narrow:         860px;
  --section-py:         8rem;
  --section-py-sm:      5rem;

  --ease-out-expo:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--color-accent-dark); }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400;
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.section-subtitle {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  max-width: 640px;
  line-height: 1.6;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.5;
  border-left: 3px solid var(--color-accent);
  padding-left: 1.75rem;
  margin: 2.5rem 0;
  color: var(--color-text);
}
.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: var(--section-py) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: all 250ms var(--ease-out-expo);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(212,131,26,0.3);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-ghost:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-ghost-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--color-white);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--color-white);
}

/* ── Film Grain Texture ── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
}

/* ══════════════════════════════════
   NAVBAR
   ══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 400ms var(--ease-out-expo);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--color-border);
}
.navbar.scrolled .nav-logo-text,
.navbar.scrolled .nav-links a { color: var(--color-text); }
.navbar.scrolled .nav-logo img { filter: none; }
.navbar.scrolled .hamburger span { background: var(--color-text); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 400ms ease;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-white);
  transition: color 400ms ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 200ms ease;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-cta { margin-left: 0.5rem; }

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 0.75rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  overflow: hidden;
}
.navbar.scrolled .lang-toggle {
  border-color: var(--color-border);
}

.lang-toggle a {
  padding: 0.35rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 200ms ease;
}
.navbar.scrolled .lang-toggle a {
  color: var(--color-text-muted);
}

.lang-toggle a.active {
  background: var(--color-accent);
  color: var(--color-white);
}
.navbar.scrolled .lang-toggle a.active {
  background: var(--color-accent);
  color: var(--color-white);
}

.lang-toggle a:hover:not(.active) {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}
.navbar.scrolled .lang-toggle a:hover:not(.active) {
  color: var(--color-text);
  background: var(--color-cream);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 300ms ease, opacity 200ms ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════
   HERO — Full-bleed cinematic
   ══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* Cinematic gradient: dark bottom for text, subtle vignette */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(12,12,20,0.95) 0%, rgba(12,12,20,0.6) 35%, rgba(12,12,20,0.15) 60%, rgba(12,12,20,0.3) 100%),
    radial-gradient(ellipse at 70% 20%, transparent 40%, rgba(12,12,20,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 6rem;
  max-width: 780px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll-hint span {
  writing-mode: vertical-rl;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ══════════════════════════════════
   VIDEO SECTION — Cinematic reveal
   ══════════════════════════════════ */
.video-section {
  background: var(--color-primary);
  padding: 6rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.video-section .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.video-text {
  color: var(--color-white);
}
.video-text h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
}
.video-text p {
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  max-width: 420px;
}

.video-embed-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05);
}
.video-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Decorative amber glow behind video */
.video-embed-wrapper::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%);
  z-index: -1;
}

/* ══════════════════════════════════
   SHORTS — Horizontal scroll
   ══════════════════════════════════ */
.shorts-section {
  background: var(--color-cream);
  padding: 5rem 0;
  overflow: hidden;
}

.shorts-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 2rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-light) transparent;
}
.shorts-scroll::-webkit-scrollbar { height: 4px; }
.shorts-scroll::-webkit-scrollbar-track { background: transparent; }
.shorts-scroll::-webkit-scrollbar-thumb { background: var(--color-accent-light); border-radius: 2px; }

.short-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.short-card iframe {
  width: 220px;
  height: 391px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: var(--color-primary);
}

.short-card p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 220px;
}

@media (max-width: 768px) {
  .short-card { flex: 0 0 180px; }
  .short-card iframe { width: 180px; height: 320px; }
  .short-card p { max-width: 180px; font-size: 0.75rem; }
}

/* ══════════════════════════════════
   IMPACT NUMBERS
   ══════════════════════════════════ */
.impact {
  background: var(--color-cream);
  padding: 5rem 0;
  position: relative;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.impact-item .number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
}

.impact-item .label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════
   EDITORIAL SECTIONS — About / Aldo
   ══════════════════════════════════ */
.editorial {
  padding: var(--section-py) 0;
}

.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.editorial-img {
  position: relative;
  overflow: hidden;
}
.editorial-img img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
/* Amber accent bar on image */
.editorial-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
}

.editorial-text .section-label { margin-bottom: 0.75rem; }
.editorial-text h2 { margin-bottom: 1.25rem; }
.editorial-text p { max-width: 520px; }
.editorial-text p + p { margin-top: 1.25rem; }

.facts-inline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
}
.fact svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Background alternation */
.bg-alt { background: var(--color-bg-alt); }
.bg-cream { background: var(--color-cream); }
.bg-dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--color-white); }
.bg-dark p { color: rgba(255,255,255,0.7); }
.bg-dark .pull-quote { color: rgba(255,255,255,0.85); border-color: var(--color-accent); }
.bg-dark .section-subtitle { color: rgba(255,255,255,0.5); }
.bg-dark .section-label { color: var(--color-accent); }

/* ══════════════════════════════════
   MENTOR / IDEALIZADOR
   ══════════════════════════════════ */
.mentor-highlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem;
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
}

.mentor-highlight img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

.mentor-highlight h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.mentor-highlight .member-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

/* ══════════════════════════════════
   MEMBERS GRID
   ══════════════════════════════════ */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.member-card { text-align: center; }

.member-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  filter: grayscale(30%);
  transition: filter 400ms ease, transform 400ms ease;
}
.member-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.member-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.member-card .member-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ══════════════════════════════════
   PROJECT SECTION
   ══════════════════════════════════ */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.text-center { text-align: center; }
.section-header.text-center .section-subtitle { margin: 0.75rem auto 0; }

.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 1.25rem;
}
.section-header.text-center h2::after { margin: 1.25rem auto 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.project-narrative {
  font-size: 1.05rem;
  line-height: 1.9;
}
.project-narrative strong { color: var(--color-accent); }

.teacher-card {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--color-cream);
  border-left: 3px solid var(--color-accent);
}
.teacher-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 2px;
}

/* Instrument cards */
.instrument-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.instrument-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--color-cream);
  border-bottom: 3px solid transparent;
  transition: border-color 300ms ease;
}
.instrument-card:hover { border-bottom-color: var(--color-accent); }

.instrument-card svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--color-accent);
}

.instrument-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.instrument-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Seridó Map */
.serido-map {
  max-width: 380px;
  margin: 2.5rem auto 0;
}
.serido-map svg { width: 100%; height: auto; }

/* ══════════════════════════════════
   ORCHESTRA — Full-bleed dark
   ══════════════════════════════════ */
.orchestra-section {
  position: relative;
  background: var(--color-primary);
  padding: 7rem 0;
  overflow: hidden;
}

.orchestra-section .grid-2 { align-items: center; }

.orchestra-section img {
  border-radius: 2px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* ══════════════════════════════════
   BRASILIA — Editorial photo spread
   ══════════════════════════════════ */
.brasilia-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 2rem;
}

.brasilia-photos img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 2px;
}

.photo-credit {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ══════════════════════════════════
   PHOTO GRID — 2026
   ══════════════════════════════════ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 500ms var(--ease-out-expo);
}
.photo-grid img:hover { transform: scale(1.02); }

/* ══════════════════════════════════
   TIMELINE
   ══════════════════════════════════ */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-accent-light);
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 2px solid var(--color-accent);
}

.timeline-item.highlight::before {
  background: var(--color-accent);
  box-shadow: 0 0 0 5px var(--color-accent-glow);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.timeline-location {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Highlight cards */
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.highlight-card {
  overflow: hidden;
  background: var(--color-bg);
  border-bottom: 3px solid var(--color-accent);
}

.highlight-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}
.highlight-card:hover img { transform: scale(1.05); }

.highlight-card-body { padding: 1.75rem; }
.highlight-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.highlight-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ══════════════════════════════════
   ODS Badges
   ══════════════════════════════════ */
.ods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.ods-badge { text-align: center; }

.ods-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}

.ods-4 { background: #C5192D; }
.ods-5 { background: #FF3A21; }
.ods-10 { background: #DD1367; }

.ods-badge h4 { margin-bottom: 0.25rem; }
.ods-badge p { font-size: 0.85rem; color: var(--color-text-muted); }

/* ══════════════════════════════════
   PARTNERS
   ══════════════════════════════════ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.partner-item {
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 1.25rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.partner-item img {
  max-height: 52px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.8;
  transition: filter 300ms ease, opacity 300ms ease;
}
.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Partner highlight card */
.card-accent {
  background: var(--color-cream);
  border-left: 4px solid var(--color-accent);
  padding: 2rem 2.5rem;
  border-radius: 0;
}

/* ══════════════════════════════════
   VALUES
   ══════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.value-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  margin: -0.5px;
  transition: background 300ms ease;
}
.value-card:hover { background: var(--color-cream); }

.value-card svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ══════════════════════════════════
   SUPPORT CARDS
   ══════════════════════════════════ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.support-card {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--color-border);
  margin: -0.5px;
  transition: background 300ms ease;
}
.support-card:hover { background: var(--color-cream); }

.support-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin: 0 auto 1.5rem;
}

.support-card h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.support-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ══════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════ */
.newsletter {
  background: var(--color-primary);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter h2 { color: var(--color-white); }
.newsletter p {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0.5rem auto 2.5rem;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--color-accent); }

.newsletter-form .btn { border-radius: 0; }

.newsletter-micro {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 1.25rem;
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.footer {
  background: var(--color-primary-warm);
  color: rgba(255,255,255,0.5);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
  margin-top: 0.75rem;
}

.footer h4 {
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.footer ul li { margin-bottom: 0.6rem; }
.footer ul a {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: color 200ms ease;
}
.footer ul a:hover { color: var(--color-accent); }

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.footer-social a { color: rgba(255,255,255,0.35); }
.footer-social a:hover { color: var(--color-accent); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

.footer-legal { color: rgba(255,255,255,0.25); }

/* ══════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease-out-expo), transform 800ms var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 150ms; }
.reveal-delay-2 { transition-delay: 300ms; }
.reveal-delay-3 { transition-delay: 450ms; }

/* Staggered hero entrance */
.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 900ms var(--ease-out-expo) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 300ms; }
.hero-content > *:nth-child(2) { animation-delay: 500ms; }
.hero-content > *:nth-child(3) { animation-delay: 700ms; }
.hero-content > *:nth-child(4) { animation-delay: 900ms; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Legacy class support */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-2, .editorial-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .video-section .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .members-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  section { padding: var(--section-py-sm) 0; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--color-white); }
  .nav-cta { margin-left: 0; }
  .hamburger { display: flex; }

  .hero-content { padding-bottom: 4rem; }

  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-cards, .support-grid, .values-grid,
  .instrument-cards, .ods-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .brasilia-photos { grid-template-columns: 1fr; }
  .brasilia-photos img { height: 260px; }

  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .mentor-highlight { grid-template-columns: 1fr; text-align: center; }
  .mentor-highlight img { height: 240px; max-width: 280px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,0.15); }
  .teacher-card { grid-template-columns: 1fr; }
  .editorial-layout .editorial-img { order: -1; }

  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid img { height: 220px; }
  .member-card img { width: 100px; height: 100px; }
}
