/* ============================================================
   ADSS – Associação de Desenvolvimento Semeando Sorrisos
   Landing page · HTML + CSS puro · AOS para animaciones
   Diseñado y desarrollado por Victecnology Lda · 2026
   ============================================================ */

:root {
  --navy-950: #0a2136;
  --navy-900: #143a61;
  --navy-800: #17416b;
  --navy-700: #1f5185;
  --navy-text: #143659;

  --coral: #e2734f;
  --coral-dark: #cd5c39;

  --cream: #f5eddd;
  --cream-light: #fbf7ec;
  --card: #fffdf8;

  --text: #4f5d6f;
  --muted: #7d8794;
  --line: #e9e0cd;

  --blue: #3d6fa8;
  --teal: #2f9d94;
  --green: #55a05e;
  --orange: #e6952f;
  --purple: #8a6cc0;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 8px 28px rgba(18, 42, 70, 0.09);
  --border-card: 1px solid rgba(20, 54, 89, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Evita el hueco lateral en móvil (AOS desplaza elementos fuera del viewport);
     clip no crea contenedor de scroll (el header sticky sigue funcionando),
     hidden queda como fallback para navegadores antiguos */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
}

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

/* Los anclajes no quedan tapados por el header fijo */
[id] { scroll-margin-top: 84px; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Iconos de marca a todo color: los colores viven dentro del símbolo,
   por eso NO llevan la clase .icon (que forzaría fill:none / stroke) */
.social-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); }

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px rgba(226, 115, 79, 0.35);
}
.btn-coral:hover { background: var(--coral-dark); }

.btn-navy {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 65, 107, 0.3);
}
.btn-navy:hover { background: var(--navy-700); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- Títulos de sección ---------- */
.section-title {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 600;
  color: var(--navy-text);
  text-align: center;
  margin-bottom: 26px;
  line-height: 1.25;
}
.section-title.left { text-align: left; }

.panel {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: var(--border-card);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--navy-950);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(4, 16, 30, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0;
}
.brand-logo-lg { height: 92px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 0.7vw, 26px);
}
.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: #d3dde7;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; }
.nav-sep {
  color: rgba(211, 221, 231, 0.3);
  font-size: 12px;
  user-select: none;
}
/* Enlaces secundarios: ocultos en escritorio, presentes en el menú móvil */
.nav-extra { display: none; }

/* El CTA se ancla a la derecha; el logo y el menú quedan juntos a la izquierda */
.header-cta { margin-left: auto; }

/* --- Redes sociales en el header --- */
.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 14px;
}
.header-socials a { color: #d3dde7; display: inline-flex; transition: color 0.2s, transform 0.2s; }
.header-socials a:hover { color: #fff; transform: translateY(-2px); }
.header-socials .icon { width: 19px; height: 19px; }
.header-socials .social-icon { width: 21px; height: 21px; }

/* --- Menú móvil (hamburguesa, CSS puro) --- */
.nav-burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger .icon { width: 22px; height: 22px; }
.nav-burger .icon-close { display: none; }
.nav-toggle:checked ~ .nav-burger .icon-open { display: none; }
.nav-toggle:checked ~ .nav-burger .icon-close { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy-950);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Carrusel del hero: crossfade automático en CSS puro (4 fotos × 6s) */
.hero-photos {
  position: absolute;
  inset: 0 0 0 auto;
  /* El borde izquierdo (26%) queda bajo la zona opaca del degradado (28%):
     la costura foto/fondo nunca es visible */
  width: 74%;
  height: 100%;
}
.hero-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  opacity: 0;
  animation: hero-fade 32s infinite;
}
/* Encuadre por foto: las verticales centran los rostros,
   la fachada baja el encuadre para no mostrar solo cielo */
.hero-photos img:nth-child(1) { object-position: 50% 22%; }
.hero-photos img:nth-child(3) { object-position: 50% 22%; animation-delay: 16s; }
.hero-photos img:nth-child(4) { object-position: 50% 40%; animation-delay: 24s; }
.hero-photos img:nth-child(2) { animation-delay: 8s; }
@keyframes hero-fade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  25%  { opacity: 1; }
  28%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photos img { animation: none; }
  .hero-photos img:first-child { opacity: 1; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy-950) 28%,
    rgba(10, 33, 54, 0.82) 42%,
    rgba(10, 33, 54, 0.2) 58%,
    rgba(10, 33, 54, 0) 72%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 58px 0 100px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  color: #f8f3ec;
  margin-bottom: 22px;
}
.hero p {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.65;
  color: #ddd3c8;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Planetas decorativos */
.planet {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.planet-footer {
  width: 240px;
  height: 240px;
  right: -70px;
  bottom: -85px;
  background: radial-gradient(circle at 32% 30%, #efa763 0%, #cd6f47 45%, #7e3626 85%);
  opacity: 0.92;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -66px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(8, 24, 44, 0.4);
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1.05fr 1.35fr;
  padding: 24px 12px;
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px 20px;
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.15); }
.stat-icon { width: 34px; height: 34px; color: #9db8d4; stroke-width: 1.4; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.stat span { font-size: 13.5px; color: #bfccdb; }
.stat-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: #d3dfeb;
  flex-shrink: 0;
}
.stat-badge .icon { width: 24px; height: 24px; }
.stat-cep .stat-title { font-size: 20px; }
.stat-cep span { font-size: 12px; line-height: 1.45; }

/* ============================================================
   MANIFESTO / MENSAGEM INSTITUCIONAL
   ============================================================ */
.manifesto {
  padding: 64px 0 12px;
  text-align: center;
}
.manifesto-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}
.manifesto-eyebrow span { margin: 0 6px; color: var(--teal); }
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy-text);
  max-width: 760px;
  margin: 0 auto;
}
.manifesto-quote em { font-style: normal; color: var(--coral-dark); }

/* ============================================================
   O QUE FAZEMOS
   ============================================================ */
.what { padding: 72px 0 38px; }
.what-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.what-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-card);
  padding: 10px 15px 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.what-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(18, 42, 70, 0.14);
}
.what-media { position: relative; }
.what-media img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
}
.what-badge {
  position: absolute;
  left: 12px;
  bottom: -18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 3px solid var(--card);
  box-shadow: 0 4px 12px rgba(18, 42, 70, 0.2);
}
.what-badge .icon { width: 19px; height: 19px; }
.badge-coral { background: var(--coral); }
.badge-blue { background: var(--blue); }
.badge-navy { background: var(--navy-800); }
.what-card h3 {
  margin-top: 29px;
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-text);
}
.what-card p {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ============================================================
   MODELO CEP
   ============================================================ */
.cep { padding: 38px 0; }
.cep-panel {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr minmax(250px, 300px);
  gap: 30px;
  align-items: center;
  padding: 34px 38px;
}
.cep-intro .section-title {
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.32;
  margin-bottom: 16px;
}
.cep-intro p {
  font-size: 14px;
  margin-bottom: 28px;
  max-width: 280px;
}

/* --- Diagrama circular (fluido) --- */
.cep-diagram {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 1.06;
  margin-inline: auto;
}
.cep-ring {
  position: absolute;
  inset: 6% 15%;
  border: 1.5px dashed #b3bdc9;
  border-radius: 50%;
}
.cep-ring::before,
.cep-ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b3bdc9;
  left: calc(50% - 4px);
}
.cep-ring::before { top: -5px; }
.cep-ring::after { bottom: -5px; }
.cep-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 37.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  box-shadow: 0 12px 30px rgba(12, 36, 64, 0.4);
  z-index: 2;
}
.cep-center strong {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 29px);
  font-weight: 600;
}
.cep-center span {
  font-size: clamp(8.5px, 0.8vw, 10.5px);
  line-height: 1.45;
  color: #cdd9e6;
}

.cep-node {
  position: absolute;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 42, 70, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  z-index: 2;
  padding: 4px;
}
.cep-node .icon { width: 21px; height: 21px; }
.cep-node span {
  font-size: clamp(7.5px, 0.68vw, 9.5px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.node-educacao    { left: 15%;  top: 0;   color: var(--blue); }
.node-cultura     { right: 15%; top: 0;   color: var(--coral); }
.node-comunidade  { right: 0;   top: 50%; transform: translateY(-50%); color: var(--teal); }
.node-ambiente    { right: 15%; bottom: 0; color: var(--green); }
.node-bemestar    { left: 15%;  bottom: 0; color: var(--purple); }
.node-performance { left: 0;    top: 50%; transform: translateY(-50%); color: var(--orange); }

/* --- Tarjetas laterales --- */
.cep-side { display: grid; gap: 14px; align-content: center; }
.cep-side-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-card);
  padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cep-side-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(18, 42, 70, 0.14);
}
.cep-side-card img {
  width: 98px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.cep-side-card span {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-text);
}

/* ============================================================
   LOJA SOCIAL
   ============================================================ */
.loja { padding: 38px 0; }
.loja-panel {
  background: var(--card);
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: 32px;
  padding: 22px;
  align-items: center;
}
.loja-photo {
  width: 100%;
  /* Altura fija: la foto vertical del cliente no debe estirar el panel */
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}
.loja-body {
  padding: 16px 12px 8px 0;
  display: flex;
  flex-direction: column;
}
.loja-body .section-title { margin-bottom: 26px; }
.loja-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  flex: 1;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}
.feature-icon .icon { width: 22px; height: 22px; }
.tint-coral  { background: #fae4d9; color: var(--coral); }
.tint-teal   { background: #d9efec; color: var(--teal); }
.tint-navy   { background: #dde8f3; color: var(--navy-800); }
.tint-blue   { background: #dfeaf6; color: var(--blue); }
.tint-orange { background: #fcecd5; color: var(--orange); }
.feature h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-text);
  line-height: 1.35;
  margin-bottom: 8px;
}
.feature p { font-size: 12.5px; line-height: 1.6; }
.loja-lead {
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 580px;
  margin: -8px 0 18px;
}
.loja-protocolo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 580px;
  margin: 0 0 24px;
  padding: 12px 15px;
  background: #f4efe3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.55;
  color: var(--navy-text);
}
.loja-protocolo .icon {
  width: 20px;
  height: 20px;
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 1px;
}
.loja-protocolo strong { font-weight: 700; }
.loja-horario {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.loja-horario .icon { color: var(--coral); margin-top: 2px; }
.loja-horario p { font-size: 12.5px; line-height: 1.8; }
.loja-horario strong { color: var(--navy-text); }
.loja-horario a { color: var(--coral-dark); font-weight: 600; }
.loja-horario a:hover { text-decoration: underline; }

/* ============================================================
   FORMAÇÃO + TOUR
   ============================================================ */
.duo { padding: 38px 0; }
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}
.formacao { display: flex; flex-direction: column; }
.formacao-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  flex: 1;
}
.lang-card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: var(--border-card);
  padding: 12px 15px 17px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.lang-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(18, 42, 70, 0.14);
}
.lang-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 11px;
  margin-bottom: 15px;
}
.lang-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.lang-card p {
  font-size: 12.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.badges {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-cert {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f0e4;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--navy-text);
}
.cert-mark { width: 20px; height: 20px; flex-shrink: 0; }

/* CTA hacia la sección de inscripciones */
.formacao-cta { text-align: center; margin-top: 22px; }

/* Logos de certificação (Formação em Línguas) */
.cert-logos { margin-top: 26px; text-align: center; }
.cert-logos-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.cert-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4.5vw, 54px);
}
.cert-logos-row img {
  height: 34px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity 0.25s, filter 0.25s;
}
.cert-logos-row img:hover { opacity: 1; filter: none; }

/* --- Tour Planeta Água --- */
.tour-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: #0a1f38;
  box-shadow: var(--shadow);
}
.tour-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 33, 0.78) 0%, rgba(6, 18, 33, 0.35) 55%, rgba(6, 18, 33, 0.15) 100%);
}
.tour-content {
  position: relative;
  z-index: 2;
  padding: 42px 44px;
  max-width: 66%;
}
.tour-content h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 29px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.tour-content p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #e8eef6;
  margin-bottom: 28px;
}

/* Formação em Línguas, ahora en sección propia (sin la card del Tour) */
.formacao-solo { max-width: 780px; margin-inline: auto; }

/* ============================================================
   TOUR PLANETA ÁGUA (proyecto paraguas: Meninas da Terra + ES)
   ============================================================ */
.tour-main { padding: 38px 0; }
.tour-lead {
  max-width: 660px;
  margin: -12px auto 24px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.tour-lead strong { color: var(--navy-text); font-weight: 600; }
/* La card del Tour pasa a ser un banner de misión, más bajo */
.tour-banner { min-height: 240px; margin-bottom: 24px; }
/* Mini-galería de fotos reales del Tour (conciertos) */
.tour-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 26px;
}
.tour-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
/* Los dos subproyectos se apilan y reutilizan el layout .ensemble-* */
.tour-projects { display: flex; flex-direction: column; gap: 22px; }

/* Meninas da Terra: columna izquierda con vídeo (arriba) + foto (abajo) */
.mdt-media { display: flex; flex-direction: column; gap: 16px; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0a1f38;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mdt-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-text);
  margin-bottom: 2px;
}
/* Este bloque tiene mucha media a la izquierda y poco texto: alinear el
   texto arriba (junto al vídeo) en vez de centrarlo en el panel alto */
#meninas .ensemble-points { justify-content: flex-start; padding-top: 30px; }
.project-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.project-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-800);
  background: #edf2f8;
  border: 1px solid #dde7f1;
  border-radius: 999px;
  padding: 7px 14px;
  transition: background 0.2s, transform 0.2s;
}
.project-socials a:hover { background: #e2ecf6; transform: translateY(-2px); }
.project-socials .icon { width: 17px; height: 17px; }
.project-socials .social-icon { width: 18px; height: 18px; }
.mdt-song {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 2px;
  font-size: 13.5px;
}
.mdt-song-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  padding: 4px 10px;
}
.mdt-song a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--navy-800);
  transition: color 0.2s;
}
.mdt-song a:hover { color: var(--coral-dark); }
.mdt-song .social-icon { width: 19px; height: 19px; }

/* ============================================================
   INSCRIÇÕES (formularios de Google)
   ============================================================ */
.inscricoes { padding: 38px 0; }
.inscricoes-lead {
  max-width: 620px;
  margin: -12px auto 30px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
/* Flex con wrap centrado: 3 + 2 tarjetas en escritorio,
   ambas filas quedan centradas */
.inscricoes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.insc-card {
  flex: 1 1 330px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.insc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(18, 42, 70, 0.14);
}
.insc-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-text);
  margin: 12px 0 8px;
}
.insc-card p {
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}
.insc-card .btn { margin-top: 14px; }

/* ============================================================
   ENSEMBLE + CADERNOS
   ============================================================ */
.trio { padding: 38px 0; }
.trio-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.5fr;
  gap: 20px;
  align-items: stretch;
}
.ensemble-block { display: flex; }
.ensemble-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.ensemble-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}
.ensemble-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ensemble-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 3, 0.55) 0%, rgba(8, 6, 3, 0) 45%);
}
.ensemble-photo h2 {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  padding: 24px 26px;
}
.ensemble-points {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: var(--border-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
}
.point { display: flex; gap: 14px; align-items: flex-start; }
.point .feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  margin-bottom: 0;
}
.point .feature-icon .icon { width: 19px; height: 19px; }
.point h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-text);
  margin-bottom: 4px;
}
.point p { font-size: 12.5px; line-height: 1.55; }
.ensemble-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}
.ensemble-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ensemble-tags span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy-800);
  background: #edf2f8;
  border: 1px solid #dde7f1;
  border-radius: 999px;
  padding: 4px 10px;
}
.ensemble-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--navy-text);
}

/* --- Cadernos (sección propia, ya no comparte fila con o ES) --- */
.cadernos-section { padding: 38px 0; }
.cadernos {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: var(--border-card);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.cadernos .section-title { margin-bottom: 14px; }
.cadernos-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.cadernos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  flex: 1;
  align-content: center;
}
.caderno {
  position: relative;
  border-radius: 14px;
  padding: 16px 15px 15px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.caderno:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(18, 42, 70, 0.12);
}
/* Número grande en marca de agua */
.caderno-num {
  position: absolute;
  top: 4px;
  right: 10px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.22;
  pointer-events: none;
}
.caderno-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
}
.caderno-icon .icon { width: 17px; height: 17px; }
.caderno strong {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-text);
}
.caderno small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(20, 54, 89, 0.62);
}
/* Los cadernos son enlaces a documentos (Google Drive restringido) */
.caderno {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.caderno-go {
  margin-top: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-text);
  opacity: 0.5;
  transition: opacity 0.2s, gap 0.2s;
}
.caderno-go .icon { width: 12px; height: 12px; }
.caderno:hover .caderno-go { opacity: 1; gap: 8px; }
.tile-blue     { background: #ddeaf7; color: var(--blue); }
.tile-coral    { background: #fbe2d6; color: var(--coral); }
.tile-teal     { background: #d9efec; color: var(--teal); }
.tile-blue2    { background: #dbe8f8; color: #3577b4; }
.tile-pink     { background: #fce2dd; color: #d9645a; }
.tile-orange   { background: #fdedd4; color: var(--orange); }
.tile-green    { background: #e1efd9; color: var(--green); }
.tile-lavender { background: #e7e1f4; color: var(--purple); }


/* ============================================================
   EQUIPA + JUNTE-SE
   ============================================================ */
.people { padding: 38px 0; }
.team { display: flex; flex-direction: column; }
/* Flex con wrap centrado: las tarjetas quedan centradas
   sea cual sea el número de miembros del equipo */
.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  flex: 1;
}
.team-card {
  flex: 1 1 240px;
  max-width: 300px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: var(--border-card);
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(18, 42, 70, 0.14);
}
.team-card img {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #f0e7d6;
  margin-bottom: 13px;
}
/* Tarjeta reservada para el próximo miembro (pendiente de foto/bio) */
.team-card-placeholder {
  border: 1.5px dashed #d9cdb4;
  background: #fdfaf2;
  box-shadow: none;
  justify-content: flex-start;
}
.team-card-placeholder:hover { transform: none; box-shadow: none; }
.team-avatar-placeholder {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #f0e7d6;
  display: grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
  margin-bottom: 13px;
}
.team-avatar-placeholder .icon { width: 34px; height: 34px; }
.team-card-placeholder h4 em { color: var(--muted); }
.team-card-placeholder p { color: var(--muted); }
.team-card h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-text);
  line-height: 1.35;
  margin-bottom: 8px;
}
.team-card h4 em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--coral);
}
.team-card p {
  font-size: 12px;
  line-height: 1.6;
}
.linkedin { color: #46708f; display: inline-block; transition: color 0.2s; }
.linkedin .icon { width: 18px; height: 18px; }
.linkedin:hover { color: var(--navy-800); }

/* ============================================================
   COMO APOIAR
   ============================================================ */
.apoiar { padding: 38px 0 72px; }
.apoiar-panel {
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 100%);
  border-radius: var(--radius-lg);
  padding: 34px 32px 30px;
  box-shadow: 0 16px 40px rgba(8, 24, 44, 0.3);
}
.apoiar-panel h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 29px);
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}
.apoiar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.apoiar-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  color: #c6d4e2;
}
.apoiar-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.11);
  display: inline-grid;
  place-items: center;
  color: #edf2f8;
}
.apoiar-icon .icon { width: 23px; height: 23px; }
.apoiar-tile h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 8px;
}
.apoiar-tile p { font-size: 12.5px; line-height: 1.6; }
.apoiar-nipc {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
}
.apoiar-tile a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #f2a98d;
  transition: color 0.2s;
}
.apoiar-tile a:hover { color: #ffc9b3; text-decoration: underline; }

/* ============================================================
   PARCEIROS
   ============================================================ */
.parceiros { padding: 38px 0; }
.parceiros-lead {
  max-width: 620px;
  margin: 0 auto 26px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.parceiros-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.parceiro-card {
  background: var(--card);
  border: var(--border-card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 230px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.parceiro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(18, 42, 70, 0.14);
}
.parceiro-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--cream-light);
  display: grid;
  place-items: center;
  color: var(--coral);
  overflow: hidden;
}
.parceiro-logo .icon { width: 24px; height: 24px; }
.parceiro-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.parceiro-card strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--navy-950);
  color: #bcc9d7;
  overflow: hidden;
}
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.15fr 1.15fr;
  gap: 36px;
  padding: 46px 0 36px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-slogan {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 600;
  font-style: italic;
  color: #f3ede2;
  max-width: 260px;
  margin-bottom: 16px;
}
.footer-slogan span { color: var(--coral); font-style: normal; margin: 0 4px; }
.footer-brand > p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 20px;
}
.socials { display: flex; gap: 14px; }
.socials a { color: #d3dde7; display: inline-flex; transition: color 0.2s, transform 0.2s; }
.socials a:hover { color: #fff; transform: translateY(-2px); }
.socials .icon { width: 20px; height: 20px; }
.socials .social-icon { width: 22px; height: 22px; }

.footer-col h5 {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul li {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 9px;
}
.footer-col ul a { transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contacts .icon { width: 16px; height: 16px; color: #8fa5bb; }

.footer-map-btn { margin-top: 4px; }
.footer-map-btn .icon { color: var(--coral); }

.reclamacoes {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 12.5px;
  font-weight: 600;
  color: #edf2f8;
  line-height: 1.4;
  margin-bottom: 18px;
  transition: border-color 0.2s, background 0.2s;
}
.reclamacoes:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
}
.reclamacoes .icon { width: 18px; height: 18px; }
.ral { font-size: 12px; line-height: 1.75; }
.ral a {
  color: #85b6e8;
  text-decoration: underline;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.ral a:hover { color: #aecff2; }

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: 11.5px;
  color: #93a5b8;
}
.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e6edf4;
  font-weight: 500;
}
.dev-credit .icon {
  width: 13px;
  height: 13px;
  color: var(--coral);
  fill: var(--coral);
}
.legal-links a { transition: color 0.2s; }
.legal-links a:hover { color: #fff; }
.legal-links span { margin: 0 8px; color: #55677c; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Navbar colapsa a hamburguesa --- */
/* Con 6 destinos visibles en el menú, el hamburguesa entra antes
   para que el header no se desborde en anchuras intermedias */
@media (max-width: 1020px) {
  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-950);
    padding: 8px 24px 18px;
    box-shadow: 0 18px 30px rgba(4, 16, 30, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-nav a {
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-sep { display: none; }
  .main-nav a.nav-extra { display: block; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-burger { display: inline-flex; margin-left: 0; }
  .header-cta { margin-left: auto; }
}

/* --- Tablets grandes / portátiles pequeños --- */
@media (max-width: 1180px) {
  .what-grid { grid-template-columns: repeat(3, 1fr); }

  .cep-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 40px;
    padding: 40px 28px;
  }
  .cep-intro .section-title { text-align: center; }
  .cep-intro p { margin-inline: auto; }
  .cep-side {
    width: 100%;
    max-width: 440px;
  }

  .loja-panel { grid-template-columns: 1fr; }
  .loja-photo { min-height: 280px; max-height: 380px; }
  .loja-body { padding: 8px 6px 4px; }
  .loja-body .section-title { text-align: center; }

  .duo-grid { grid-template-columns: 1fr; }
  .tour-card { min-height: 340px; }

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

  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

/* --- Tablets --- */
@media (max-width: 820px) {
  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .what-media img { height: 130px; }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    padding: 24px 8px;
  }
  .stat { justify-content: flex-start; padding: 4px 22px; }
  .stat:nth-child(3) { border-left: none; }

  .ensemble-inner { grid-template-columns: 1fr; }
  .ensemble-photo { min-height: 300px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* --- Móviles --- */
@media (max-width: 560px) {
  body { font-size: 14.5px; }

  .tour-gallery { grid-template-columns: 1fr 1fr; }
  .tour-gallery img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

  .brand-logo { height: 48px; }
  .header-socials { display: none; }
  .header-cta { margin-left: auto; }

  .hero { min-height: 520px; }
  .hero-photos { width: 100%; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(10, 33, 54, 0.55) 0%,
      rgba(10, 33, 54, 0.75) 60%,
      rgba(10, 33, 54, 0.9) 100%);
  }
  .hero-content { padding: 60px 0 110px; }
  .hero p { font-size: 14px; }
  .hero-actions .btn { flex: 1; }

  .stats {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: -56px;
  }
  .stat { border-left: none !important; padding: 12px 22px; }
  .stat + .stat { border-top: 1px solid rgba(255, 255, 255, 0.12); }

  .what { padding: 56px 0 32px; }
  .cep, .loja, .duo, .inscricoes, .tour-main, .cadernos-section, .people { padding: 32px 0; }
  .apoiar { padding: 32px 0 56px; }
  .apoiar-panel { padding: 26px 18px 22px; }
  .what-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .what-media img { height: 104px; }

  .cep-panel { padding: 34px 18px; }
  .cep-node .icon { width: 16px; height: 16px; }
  .cep-side-card img { width: 84px; height: 60px; }

  .loja-panel { padding: 16px; }
  .loja-features { grid-template-columns: 1fr; gap: 20px; }
  .feature { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; }
  .feature .feature-icon { grid-row: 1 / 3; margin-bottom: 0; }

  .formacao-cards { grid-template-columns: 1fr; }
  .tour-content { max-width: 100%; padding: 32px 26px; }

  .cadernos { padding: 24px 16px; }
  .cadernos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }


  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 34px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .planet-footer { width: 170px; height: 170px; right: -55px; bottom: -60px; }
}
