/* ==========================================================================
   World Needs — Sistema de Design
   Baseado no Manual de Identidade Corporativa (maio 2020)
   Cores principais: #1CA081 (verde) · #1EA5B0 (azul) · #EA306A (rosa)
   Tipografia oficial: Simplifica (proprietária, não licenciada para web —
   ver README.md). Substituta escolhida: Comfortaa (apoio secundário
   autorizado pelo Manual) para títulos + Inter para corpo de texto.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Cores principais — Manual de Identidade */
  --verde: #1CA081;
  --azul: #1EA5B0;
  --rosa: #EA306A;

  /* Cores secundárias — Manual de Identidade */
  --cinza: #888888;
  --preto: #14171A; /* leitura suavizada do #000 oficial, para conforto de leitura em ecrã */
  --branco: #FFFFFF;

  /* Fundo — tom frio, ligado à identidade verde/azul (não o creme genérico) */
  --bg: #F5FAF9;
  --bg-alt: #EAF3F1;
  --bg-escuro: #0E2320;
  --bg-escuro-2: #123832;

  --texto: var(--preto);
  --texto-suave: #4C5A57;
  --linha: #D7E4E1;

  /* Tipografia */
  --f-display: 'Comfortaa', sans-serif;
  --f-corpo: 'Inter', sans-serif;

  /* Escala tipográfica */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.75rem;
  --fs-xl: 2.5rem;
  --fs-xxl: 3.4rem;

  --radius: 6px;
  --radius-sm: 4px;
  --container: 1180px;
  --space: 1rem;

  --shadow-soft: 0 12px 32px -18px rgba(14, 35, 32, 0.28);
}

/* Faixa-assinatura — reproduz os 5 traços de cor do sublinhado do logótipo
   (rosa · rosa · azul · verde · verde). É o motivo gráfico oficial da marca,
   usado aqui como separador de secção em vez de um <hr> genérico. */
.stripe {
  display: flex;
  height: 4px;
  width: 132px;
  gap: 4px;
  margin: 0 0 1.75rem;
}
.stripe span { flex: 1; border-radius: 2px; }
.stripe span:nth-child(1),
.stripe span:nth-child(2) { background: var(--rosa); }
.stripe span:nth-child(3) { background: var(--azul); }
.stripe span:nth-child(4),
.stripe span:nth-child(5) { background: var(--verde); }
.stripe--center { margin-left: auto; margin-right: auto; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-corpo);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--texto);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  color: var(--preto);
}
h1 { font-size: clamp(2.1rem, 4.2vw, var(--fs-xxl)); }
h2 { font-size: clamp(1.6rem, 3vw, var(--fs-xl)); }
h3 { font-size: clamp(1.2rem, 2vw, var(--fs-lg)); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 1.1em; max-width: 62ch; }
p.lead { font-size: var(--fs-md); color: var(--texto-suave); max-width: 46ch; }

a { color: var(--verde); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
}

ul, ol { padding-left: 1.2em; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--tight { padding: 3rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: linear-gradient(160deg, var(--bg-escuro) 0%, var(--bg-escuro-2) 100%);
  color: #EAF3F1;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #C7DAD6; }

.eyebrow {
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--verde);
  margin: 0 0 0.5rem;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 250, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 36px; width: 36px; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--preto);
}
.brand__word sup { font-size: 0.5em; margin-left: 1px; }
.brand--dark .brand__word { color: #fff; }
.brand__mini-stripe { display: flex; gap: 2px; height: 3px; }
.brand__mini-stripe span { width: 8px; border-radius: 1.5px; }
.brand__mini-stripe span:nth-child(1),
.brand__mini-stripe span:nth-child(2) { background: var(--rosa); }
.brand__mini-stripe span:nth-child(3) { background: var(--azul); }
.brand__mini-stripe span:nth-child(4),
.brand__mini-stripe span:nth-child(5) { background: var(--verde); }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav__links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--texto);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { border-bottom-color: var(--rosa); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--preto); margin: 5px 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-corpo);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--verde); color: #fff; }
.btn--primary:hover { background: #178a6f; }
.btn--outline { background: transparent; color: var(--preto); border-color: var(--preto); }
.btn--outline:hover { border-color: var(--rosa); color: var(--rosa); }
.btn--on-dark { background: var(--rosa); color: #fff; }
.btn--on-dark:hover { background: #cf1f57; }
.btn--ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-on-dark:hover { border-color: #fff; }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Hero / órbita ---------- */
.hero {
  padding: 4.5rem 0 4rem;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero__orbit { position: relative; display: flex; justify-content: center; }
.hero__globe-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(14, 35, 32, 0.16));
  animation: globe-float 6s ease-in-out infinite;
}
@keyframes globe-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.stat-strip {
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
  background: var(--bg-alt);
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.2rem 1.5rem;
}
.stat b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.9rem;
  color: var(--verde);
}
.stat span { font-size: var(--fs-sm); color: var(--texto-suave); }

/* ---------- Grelhas de conteúdo ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card--feature {
  background: linear-gradient(155deg, var(--verde), var(--azul));
  color: #fff;
  border: none;
}
.card--feature h3 { color: #fff; }
.card--feature p { color: rgba(255,255,255,0.92); }
.card__tag {
  font-family: var(--f-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--rosa);
}
.card--feature .card__tag { color: #fff; }

/* ---------- Espaço reservado para fotografia (a preencher pelo cliente) --- */
.photo-slot {
  position: relative;
  display: flex;
  align-items: flex-end;
  border: 2px dashed #9FC3BC;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(135deg, rgba(28,160,129,0.06) 0 10px, rgba(28,160,129,0.02) 10px 20px),
    var(--bg-alt);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photo-slot--wide { aspect-ratio: 16 / 9; }
.photo-slot--square { aspect-ratio: 1 / 1; }
.photo-slot--tall { aspect-ratio: 3 / 4; }
.photo-slot__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(14, 35, 32, 0.82);
  color: #fff;
  font-size: var(--fs-xs);
  line-height: 1.35;
}
.photo-slot__label svg { flex: none; width: 18px; height: 18px; opacity: 0.9; }

/* ---------- Linha do tempo / passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; }
.step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Faixa CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--rosa), var(--azul));
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-band p { color: rgba(255,255,255,0.92); margin: 0; }

/* ---------- ODS badges ---------- */
.ods-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.ods-badge {
  display: flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid var(--linha);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  background: #fff;
  text-decoration: none;
  color: var(--texto);
  transition: border-color 0.15s ease, color 0.15s ease;
}
a.ods-badge:hover { border-color: var(--verde); color: var(--verde); }
.ods-badge__num {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--f-display); font-size: 0.75rem;
  background: var(--verde);
}

/* ---------- Tabela de contactos / dados legais ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.info-list li { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; font-size: var(--fs-sm); }
.info-list b { color: var(--texto-suave); font-weight: 600; }

/* ---------- Formulários ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 0.4rem; }
input, textarea, select {
  width: 100%;
  font-family: var(--f-corpo);
  font-size: var(--fs-base);
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--linha);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--texto);
}
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: var(--fs-xs); color: var(--texto-suave); }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--bg-escuro);
  color: #C7DAD6;
  padding: 4rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h4 { color: #fff; font-size: var(--fs-sm); margin-bottom: 1rem; }
.site-footer a { color: #C7DAD6; text-decoration: none; font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-brand img { height: 30px; margin-bottom: 1rem; }
.footer-brand p { color: #9FB8B3; font-size: var(--fs-sm); max-width: 34ch; }
.social-row { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--rosa); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.6rem;
  padding-top: 1.4rem;
  font-size: var(--fs-xs);
  color: #7FA097;
}

/* ---------- Utilitários ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w { max-width: 44rem; }
.badge-quiet {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--texto-suave);
  border: 1px solid var(--linha);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__orbit { order: -1; max-width: 320px; margin: 0 auto; }
  .split, .split--reverse { grid-template-columns: 1fr; direction: ltr; }
  .card-grid, .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav > .btn { display: none; }
  .nav__toggle { display: block; }
  .site-header.is-open .nav__links a[href="doar.html"],
  .site-header.is-open .nav__links a[href="fazer-parte.html"] {
    color: var(--rosa);
  }
  .site-header.is-open .nav__links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 1.2rem 1.5rem 1.6rem;
    border-bottom: 1px solid var(--linha);
    gap: 1rem;
  }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .section { padding: 3.2rem 0; }
}

/* ---------- Fotografia real: figura, legenda e crédito ---------- */
.photo {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.5s ease;
}
.photo:hover img { transform: scale(1.035); }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--standard { aspect-ratio: 4 / 3; }
.photo--square { aspect-ratio: 1 / 1; }
.photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(9,20,18,0.86), rgba(9,20,18,0));
  color: #fff;
  font-size: var(--fs-xs);
  line-height: 1.4;
  pointer-events: none;
}
.photo-credit { display: block; opacity: 0.75; font-size: 0.72rem; margin-top: 0.15rem; }

/* Mini-galeria em grelha, com lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.gallery-grid .photo { aspect-ratio: 4 / 3; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 16, 15, 0.92);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}
.lightbox img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}
.lightbox figcaption {
  color: #EAF3F1;
  text-align: center;
  font-size: var(--fs-sm);
  max-width: 60ch;
  margin: 1rem auto 0;
}
.lightbox__close {
  position: fixed; top: 1.2rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  z-index: 210;
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }

/* ---------- Selo/patch oficial ---------- */
.patch-badge { width: 132px; height: auto; filter: drop-shadow(0 10px 18px rgba(14,35,32,0.18)); }
.patch-badge--rotate { transform: rotate(-6deg); }

/* ---------- Contador animado ---------- */
.stat b { display: block; }

/* ---------- Revelação suave ao scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .lightbox__close { top: 0.7rem; right: 0.7rem; }
}

/* ---------- Estado de erro no formulário ---------- */
.form-error {
  font-size: var(--fs-xs);
  color: var(--rosa);
  background: #FDECF1;
  border: 1px solid #F6C4D4;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }

/* ---------- Botão de copiar ---------- */
.btn--copied,
.btn--copied:hover { background: var(--verde) !important; color: #fff !important; border-color: var(--verde) !important; }

/* ---------- Aurora — galeria de arte ---------- */
.aurora-intro-figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, var(--bg-escuro), var(--bg-escuro-2));
}
.aurora-room { margin-bottom: 3.2rem; }
.aurora-room:last-child { margin-bottom: 0; }
.aurora-room__intro { max-width: 62ch; margin-bottom: 1.6rem; }
.aurora-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.aurora-card {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.aurora-card__frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
}
.aurora-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.aurora-card:hover .aurora-card__frame img { transform: scale(1.05); }
.aurora-card__num {
  font-family: var(--f-display);
  font-size: var(--fs-xs);
  color: var(--verde);
  font-weight: 700;
}
.aurora-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--preto);
  line-height: 1.3;
}

/* Lightbox: variante com título e narrativa mais longa (Aurora) */
.lightbox__title {
  color: #fff;
  font-family: var(--f-display);
  text-align: center;
  font-size: var(--fs-lg);
  margin: 1.1rem 0 0.3rem;
}
.lightbox__meta {
  color: #7EE0C4;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lightbox figcaption.lightbox__narrative {
  max-width: 68ch;
  font-size: var(--fs-base);
  line-height: 1.65;
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .aurora-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .aurora-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
}

/* ---------- Modal de texto (Mensagem do Presidente) ---------- */
.message-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 16, 15, 0.92);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.message-modal.is-open { opacity: 1; pointer-events: auto; }
.message-modal__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 4rem;
  color: #EAF3F1;
}
.message-modal__inner h3 {
  color: #fff;
  font-size: var(--fs-xl);
  margin-bottom: 1.2rem;
}
.message-modal__inner p { max-width: none; color: #C7DAD6; }
.message-modal__close {
  position: fixed; top: 1.2rem; right: 1.5rem;
}
@media (max-width: 520px) {
  .message-modal__inner { padding: 4rem 1.2rem 3rem; }
  .message-modal__close { top: 0.7rem; right: 0.7rem; }
}

/* ---------- Seletor de idioma ---------- */
.lang-switch { position: relative; }
.lang-switch__trigger {
  display: flex; align-items: center; gap: 0.35rem;
  background: none; border: 1.5px solid var(--linha);
  border-radius: 999px; padding: 0.4rem 0.7rem;
  cursor: pointer; font-family: inherit; font-size: var(--fs-xs); font-weight: 700;
  color: var(--texto);
}
.lang-switch__trigger:hover { border-color: var(--verde); }
.lang-switch__flag { width: 18px; height: 13px; border-radius: 2px; flex-shrink: 0; display: block; }
.lang-switch__chevron { width: 9px; height: 9px; transition: transform 0.15s ease; }
.lang-switch.is-open .lang-switch__chevron { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  background: #fff; border: 1px solid var(--linha); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft); list-style: none; margin: 0; padding: 0.4rem;
  min-width: 160px; z-index: 50;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-switch__menu li a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.6rem; border-radius: var(--radius-sm);
  color: var(--texto); text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
}
.lang-switch__menu li a:hover { background: var(--bg-alt); }
.lang-switch__menu li a[aria-current="true"] { color: var(--verde); }
@media (max-width: 1120px) {
  .lang-switch { order: -1; margin-right: 0.5rem; }
}
