/* ============================================================
   ODFH — Observatoire des Droits des Femmes Haïtiennes
   Feuille de style principale
   ============================================================ */

:root {
  /* Palette extraite du logo officiel */
  --purple-900: #2c0a49;
  --purple-800: #3a0f60;
  --purple: #4a1273;
  --purple-600: #6b34a0;
  --purple-400: #9a63c4;
  --purple-100: #f2eaf9;
  --purple-50: #faf7fd;

  --gold: #b77c18;
  --gold-600: #9c6812;
  --gold-light: #d9a63a;
  --gold-100: #faf0da;

  --cream: #fbf8f3;
  --ink: #241a2e;
  --ink-soft: #5a4f66;
  --ink-faint: #8a7f96;
  --white: #ffffff;
  --border: #e7ddf1;

  /* Accent réservé aux repères de sécurité / aide : le calme et la confiance,
     volontairement distinct du violet (dignité) et de l'or (espoir). */
  --teal: #0f766e;
  --teal-600: #0b5c56;
  --teal-light: #14b8a6;
  --teal-100: #e3f5f3;

  --shadow-sm: 0 1px 3px rgba(44, 10, 73, 0.08);
  --shadow-md: 0 8px 24px rgba(44, 10, 73, 0.12);
  --shadow-lg: 0 20px 48px rgba(44, 10, 73, 0.18);

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1140px;

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--purple-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-purple:hover { background: var(--purple-800); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple);
}
.btn-ghost:hover { background: var(--purple-100); }

/* ---------- Safety controls (need-help + quick-exit, grouped so neither
   collides with the header logo) ---------- */
.safety-controls {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.quick-exit, .help-pill {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.quick-exit { background: var(--ink); color: #fff; }
.quick-exit:hover { background: #000; }
.help-pill { background: var(--teal); color: #fff; }
.help-pill:hover { background: var(--teal-600); }
@media (max-width: 560px) {
  .safety-controls { bottom: 14px; right: 12px; gap: 6px; }
  .quick-exit, .help-pill { font-size: 0; padding: 10px; gap: 0; }
  .quick-exit::before { content: "✕"; font-size: 15px; }
  .help-pill::before { content: "🛟"; font-size: 14px; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1200;
  background: var(--purple-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-item img, .gallery-item::after, .gallery-item::before,
  .lightbox, .lightbox-figure, .lightbox-img { transition: none; }
  .gallery-item:hover img { transform: none; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-900);
}
.brand img { height: 48px; width: 48px; border-radius: 50%; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand .brand-text strong { font-size: 1.15rem; letter-spacing: 0.02em; }
.brand .brand-text span {
  font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
@media (max-width: 480px) {
  .brand .brand-text span { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--purple-100); color: var(--purple); }
.nav-links a.active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-900);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 22px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 560px) {
  .nav-links.open { padding-top: 54px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--purple-100) 0%, rgba(242,234,249,0) 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; margin: 0 auto; }
}
.hero .eyebrow { color: var(--gold-600); }
.hero h1 {
  color: var(--purple-900);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 0.45em;
}
.hero p.lead {
  color: var(--ink-soft);
  font-size: 1.18rem;
  max-width: 560px;
}
@media (max-width: 900px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.hero-visual {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  background: radial-gradient(circle, var(--gold-100) 0%, rgba(250,240,218,0) 72%);
}
.hero-visual img { border-radius: 20px; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero-badge .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge strong { display: block; font-size: 0.86rem; color: var(--purple-900); line-height: 1.3; }
.hero-badge span { font-size: 0.72rem; color: var(--ink-faint); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--purple);
}
.hero-stats div span { font-size: 0.85rem; color: var(--ink-faint); }
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; gap: 16px; text-align: center; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(150deg, var(--purple-900), var(--purple) 70%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}
.page-header .eyebrow { color: var(--gold-light); }
.page-header h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 0.4em; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: #fff; }

/* ---------- Pull quote / banner ---------- */
.quote-banner {
  background: var(--purple-100);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 44px;
  margin: 0 0 8px;
}
.quote-banner p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--purple-900);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 720px) { .quote-banner { padding: 28px; } .quote-banner p { font-size: 1.12rem; } }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-100);
  color: var(--purple);
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--purple-900); }
.card p { margin: 0; font-size: 0.96rem; }

.card.gold .icon { background: var(--gold-100); color: var(--gold-600); }

/* Value badge */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-light);
  opacity: 0.6;
  position: absolute;
  top: 14px;
  right: 20px;
}
.value-card h3 { color: var(--purple); margin-bottom: 6px; font-size: 1.1rem; }
.value-card p { margin: 0; font-size: 0.93rem; }

/* Method steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid var(--border);
}
.step .step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step h4 { font-size: 1rem; margin-bottom: 6px; color: var(--purple-900); letter-spacing: 0.02em; }
.step p { font-size: 0.9rem; margin: 0; }

/* Chain quote (terrain -> données -> plaidoyer -> action) */
.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin: 32px 0;
}
.chain span.item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--purple-900);
  background: var(--purple-50);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: 12px;
}
.chain span.arrow { color: var(--gold); font-size: 1.3rem; }

/* Two column content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1px solid var(--gold-light);
}
.list-check li::after {
  content: "✓";
  position: absolute;
  left: 3.5px; top: 1px;
  font-size: 11px;
  color: var(--gold-600);
  font-weight: 700;
}

/* Bands */
.band-purple { background: var(--purple-50); }
.band-cream { background: var(--cream); }

.cta-band {
  background: var(--cream);
  border: 1.5px solid var(--gold-light);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--purple-900); }
.cta-band p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: 44px 24px; margin: 0 12px; } }

.tagline-strip {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.tagline-strip span { color: var(--gold-light); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--teal-100); padding: 36px 0; border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal-600);
}
.trust-item .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--white);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--purple-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-600);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; margin: 0; }

/* ---------- Newsletter ---------- */
.newsletter-band {
  background: var(--purple-900);
  border-radius: 28px;
  padding: 48px;
  margin: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-band h3 { color: #fff; margin-bottom: 4px; font-size: 1.3rem; }
.newsletter-band p { color: rgba(255,255,255,0.72); margin: 0; font-size: 0.92rem; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.newsletter-form input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  min-width: 220px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { outline: none; border-color: var(--gold-light); background: rgba(255,255,255,0.14); }
.newsletter-status { flex-basis: 100%; font-size: 0.85rem; color: var(--gold-light); display: none; }
.newsletter-status.show { display: block; }
@media (max-width: 640px) { .newsletter-band { padding: 36px 24px; margin: 0 12px; } .newsletter-form { width: 100%; } .newsletter-form input { flex: 1; min-width: 0; } }

/* ---------- Actualités / news ---------- */
.news-date {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 600;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.news-cover { width: 100%; height: auto; }
.news-body { padding: 36px 40px; }
.news-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.news-meta .eyebrow { margin: 0; }
.news-body h2 { margin-bottom: 0.5em; }
@media (max-width: 640px) { .news-body { padding: 26px 24px; } }

.news-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.news-teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-teaser img { width: 100%; height: 100%; object-fit: cover; }
.news-teaser-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.news-teaser-body h3 { margin: 6px 0 10px; font-size: 1.3rem; }
.news-teaser-body p { margin-bottom: 14px; }
.news-teaser-link { font-weight: 700; color: var(--gold-600); font-size: 0.92rem; }
@media (max-width: 760px) {
  .news-teaser { grid-template-columns: 1fr; }
  .news-teaser-body { padding: 24px; }
}

/* ---------- Photo gallery ---------- */
.news-gallery { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.news-gallery h3 { font-size: 1.1rem; color: var(--purple-900); margin-bottom: 18px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: var(--purple-50);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,10,73,0) 55%, rgba(44,10,73,0.6) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item::before {
  content: "🔍";
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 0.95rem;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item:hover::after, .gallery-item:focus-visible::after,
.gallery-item:hover::before, .gallery-item:focus-visible::before { opacity: 1; transform: translateY(0); }

/* ---------- Lightbox ---------- */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 8, 32, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  padding: 24px;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}
.lightbox-figure {
  position: relative;
  max-width: min(92vw, 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-figure { transform: scale(1); }
.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: block;
  transition: opacity 0.15s ease;
}
.lightbox-img.fade { opacity: 0; }
.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  text-align: center;
  margin: 14px 0 0;
  max-width: 640px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 20px; right: 20px; width: 42px; height: 42px; font-size: 1.1rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.8rem; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-close { width: 38px; height: 38px; top: 12px; right: 12px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { color: var(--purple-900); font-size: 1.2rem; }
.contact-info-card p { color: var(--ink-soft); }
.contact-info-card .row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact-info-card .row:first-of-type { border-top: none; }
.contact-info-card .row .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold-600);
}
.contact-info-card .row div strong { display: block; font-size: 0.92rem; margin-bottom: 2px; color: var(--purple-900); }
.contact-info-card .row div span, .contact-info-card .row div a { font-size: 0.9rem; color: var(--ink-soft); }
.contact-info-card .regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.contact-info-card .regions span {
  font-size: 0.78rem;
  background: var(--purple-100);
  color: var(--purple);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.safety-note {
  background: var(--gold-100);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 28px;
  display: flex;
  gap: 12px;
}
.safety-note strong { color: var(--gold-600); }

.whatsapp-note {
  background: var(--teal-100);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.whatsapp-note strong { color: var(--teal-600); display: block; margin-bottom: 2px; }
.whatsapp-note .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--white);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.whatsapp-btn { display: inline-flex; margin-top: 12px; }

.whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.76rem;
  font-weight: 700;
}
.whatsapp-badge:hover { background: var(--teal-light); color: #fff; }
.contact-info-card .row .whatsapp-badge { color: var(--teal-600); font-size: 0.76rem; }
.contact-info-card .row .whatsapp-badge:hover { color: #fff; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--purple-900);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 130px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 12px; }
.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { color: #1c7a4c; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { height: 54px; width: 54px; border-radius: 50%; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer-social a:hover { background: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
