/* =============================================
   AESE PGL 41 — Stylesheet
   Cores: #FE5000 (laranja), #222 (dark), #fff
   ============================================= */

:root {
  --orange: #FE5000;
  --orange-dark: #c43c00;
  --orange-light: #ff6a20;
  --dark: #1a1a1a;
  --dark-2: #2d2d2d;
  --gray: #6b6b6b;
  --gray-light: #e8e8e8;
  --bg: #f7f7f5;
  --white: #ffffff;
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Merriweather', serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(254,80,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(254,80,0,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  margin: 16px auto 0;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.logo-aese {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.logo-sep {
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
}

.logo-pgl {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--orange); }

/* ── NAV TOGGLE (hamburger) ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(254,80,0,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(254,80,0,0.08) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--orange);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.hero-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(254,80,0,0.4);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(254,80,0,0.5);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(254,80,0,0.8), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ── PROGRAMA ── */
.section-programa {
  background: var(--white);
}

.programa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.programa-text .lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.programa-text p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.programa-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.pilares {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pilar {
  padding: 32px 24px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.pilar.visible {
  opacity: 1;
  transform: translateY(0);
}

.pilar:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pilar-icon {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 16px;
}

.pilar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.pilar p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── EQUIPA DO PROGRAMA ── */
.equipa-programa {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 2px solid var(--gray-light);
}

.equipa-label {
  text-align: center;
  margin-bottom: 40px;
}

.equipa-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 12px;
}

.equipa-cards {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.equipa-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  flex: 0 0 480px;
  max-width: 480px;
  transition: var(--transition);
}

.equipa-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.equipa-card-photo {
  flex-shrink: 0;
}

.equipa-card-photo .card-photo,
.equipa-card-photo .equipa-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.equipa-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.equipa-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.equipa-role-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.equipa-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 4px;
}

.equipa-position {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.equipa-bio {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── LIDERANÇA ── */
.section-lideranca {
  background: var(--white);
}

.leadership-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.leadership-card {
  flex: 0 0 340px;
  max-width: 340px;
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.leadership-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(254,80,0,0.2);
}

.leadership-card-inner {
  padding: 48px 36px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leadership-photo-wrap {
  margin-bottom: 24px;
}

.leadership-photo-wrap .card-photo,
.leadership-photo-wrap .leadership-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 6px rgba(254,80,0,0.15);
}

.leadership-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.leadership-role-title {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(254,80,0,0.12);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.leadership-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.leadership-position {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.leadership-company {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

.leadership-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin: 0;
}

/* ── PARTICIPANTES ── */
.section-participantes {
  background: var(--bg);
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ── Secção de grupo ── */
.group-section {}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-light);
}

.group-label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.group-letter {
  width: 52px;
  height: 52px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(254,80,0,0.3);
}

.group-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.group-count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--gray-light);
  padding: 6px 14px;
  border-radius: 100px;
}

.group-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.participant-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
  cursor: default;
}

.participant-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.participant-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.card-header {
  position: relative;
  height: 180px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(254,80,0,0.15), transparent 70%);
}

.card-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.card-group-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 4px 10px;
  border-radius: 100px;
}

.card-body {
  padding: 24px;
}

.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.card-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.card-company {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.card-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--dark-2);
  line-height: 1.65;
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  margin: 0;
}

/* ── GALERIA / CARROSSEL ── */
.section-galeria {
  background: var(--dark);
  padding-bottom: 0;
}

.galeria-header {
  text-align: center;
  padding: 80px 0 48px;
}

.galeria-header .section-tag {
  background: rgba(254,80,0,0.15);
}

.galeria-header .section-title {
  color: var(--white);
  margin-top: 12px;
}

/* Carrossel principal */
.carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-slide.active {
  opacity: 1;
}

/* Fundo desfocado — preenche o espaço para qualquer proporção */
.carousel-slide .slide-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.45);
  transform: scale(1.06);
  transition: transform 6s ease;
}

.carousel-slide.active .slide-bg {
  transform: scale(1);
}

/* Foto principal — mostra-a inteira sem cortar */
.carousel-slide img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.98);
  transition: transform 6s ease;
  border-radius: 2px;
}

.carousel-slide.active img {
  transform: scale(1);
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--orange);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

/* Overlay com contador e controlo */
.carousel-overlay {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 80px;
}

.carousel-counter {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 100px;
}

.carousel-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.carousel-play {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-play:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* Barra de progresso */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width 0.1s linear;
}

/* Miniaturas */
.carousel-thumbs {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  overflow-x: auto;
  background: #111;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) #222;
}

.carousel-thumbs::-webkit-scrollbar { height: 4px; }
.carousel-thumbs::-webkit-scrollbar-track { background: #222; }
.carousel-thumbs::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

.carousel-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition), opacity var(--transition);
  opacity: 0.5;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-thumb.active,
.carousel-thumb:hover {
  border-color: var(--orange);
  opacity: 1;
}

@media (max-width: 600px) {
  .carousel { height: 50vh; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.3rem; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-thumb { width: 56px; height: 44px; }
}

/* ── SECÇÃO FINAL ── */
.section-final {
  background: var(--dark);
  padding: 120px 0;
}

.final-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.final-content .section-tag {
  background: rgba(254,80,0,0.15);
}

.final-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin: 20px 0 28px;
}

.final-content > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 48px;
}

.final-quote {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}

.final-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 16px;
}

.final-quote cite {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ── FOOTER ── */
.footer {
  background: #111;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .programa-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .hero-title { font-size: 2.2rem; }

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

  .programa-stats { grid-template-columns: 1fr 1fr; }

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

  .footer-inner { flex-direction: column; text-align: center; }

  .footer-brand { flex-direction: column; gap: 4px; }
}
