/* ==========================================================================
   Action Humanitaire Kové Grande Comore — Design system 2026
   Bleu nuit + teal + glow orange, cartes sombres, typographie Roboto +
   logo en police manuscrite Caveat. Boutons FontAwesome, glassmorphism léger.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Caveat:wght@600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

:root {
  --bg-main: #0b1329;
  --bg-card: rgba(20, 30, 55, 0.65);
  --bg-card-solid: #111c38;
  --bg-input: #1a2747;
  --border-card: rgba(255, 255, 255, 0.08);
  --text-color: #ffffff;
  --text-muted: #94a3b8;
  --nav-bg: rgba(11, 19, 41, 0.9);
  --primary: #0d9488;
  --primary-hover: #14b8a6;
  --accent-orange: #ff5500;
  --orange-glow: rgba(255, 85, 0, 0.55);
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  --font-main: 'Roboto', sans-serif;
  --font-script: 'Caveat', 'Alex Brush', cursive;
  --radius: 16px;
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-solid: #ffffff;
  --bg-input: #f1f5f9;
  --border-card: rgba(226, 232, 240, 0.9);
  --text-color: #0f172a;
  --text-muted: #475569;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 5%; }

.glow-hover { position: relative; z-index: 1; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.glow-hover:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange) !important;
  box-shadow: 0 0 22px var(--orange-glow);
}

/* ---------------------------------- Header ---------------------------------- */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 5%;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-box {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--primary);
  border: 2px solid var(--primary-hover);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 0 12px var(--primary); flex-shrink: 0;
}
.logo-box img { width: 78%; height: 78%; object-fit: contain; }
.logo-text-container { display: flex; flex-direction: column; }
.logo-main {
  font-family: var(--font-script); font-weight: 700; font-size: 1.7rem;
  line-height: 0.95; color: #ffffff; white-space: nowrap;
}
[data-theme="light"] .logo-main { color: #0f172a; }
.logo-sub {
  font-family: var(--font-main); font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--primary-hover); font-weight: 700; margin-top: 3px;
}

.main-nav { display: flex; gap: 2rem; list-style: none; align-items: center; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--text-color); padding: 4px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-hover); font-weight: 700; }

.header-tools { display: flex; align-items: center; gap: 0.9rem; }

.lang-dropdown { position: relative; }
.lang-btn {
  background: var(--bg-card-solid); border: 1px solid var(--border-card);
  padding: 0.5rem 0.9rem; border-radius: 10px; color: var(--text-color);
  cursor: pointer; display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.88rem;
}
.lang-menu {
  position: absolute; top: 115%; right: 0; background: var(--bg-card-solid);
  border: 1px solid var(--border-card); border-radius: 10px;
  box-shadow: var(--shadow); display: none; flex-direction: column;
  min-width: 150px; z-index: 1100; overflow: hidden;
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu a { padding: 0.65rem 1rem; color: var(--text-color); font-weight: 500; font-size: 0.9rem; }
.lang-menu a:hover { background: var(--primary); color: white; }
.lang-dropdown.open .lang-menu, .lang-dropdown:hover .lang-menu { display: flex; }

.theme-btn {
  background: var(--bg-card-solid); border: 1px solid var(--border-card);
  width: 38px; height: 38px; border-radius: 10px; font-size: 1rem; color: var(--text-color);
  display: flex; align-items: center; justify-content: center;
}

.btn-don, .btn-don-nav {
  background: var(--primary); color: #fff !important; border: 1px solid var(--primary-hover);
  padding: 0.65rem 1.4rem; border-radius: 25px; font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35); display: inline-flex; align-items: center; gap: 8px;
}
.btn-don:hover, .btn-don-nav:hover { background: var(--primary-hover); }

.btn-orange {
  background: var(--accent-orange); color: #fff !important; border: 1px solid var(--accent-orange);
  padding: 0.65rem 1.4rem; border-radius: 25px; font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 4px 16px var(--orange-glow); display: inline-flex; align-items: center; gap: 8px;
}
.btn-orange:hover { background: #ff7733; }

.burger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-card-solid); border: 1px solid var(--border-card);
  align-items: center; justify-content: center; color: var(--text-color); font-size: 1.1rem;
}

/* ---------------------------------- Hero ---------------------------------- */
.hero-wrapper {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 150px 5% 70px; overflow: hidden;
}
.hero-media-layer { position: absolute; inset: 0; z-index: -2; }
.hero-media-layer .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-media-layer .slide.active { opacity: 1; }
.hero-media-layer img, .hero-media-layer video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,19,41,0.25) 0%, rgba(11,19,41,0.45) 45%, var(--bg-main) 96%);
}
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; margin-bottom: 46px; }
.hero-content h1 {
  font-size: clamp(2rem, 4.2vw, 2.8rem); font-weight: 800; max-width: 900px;
  margin-bottom: 1.1rem; line-height: 1.22; text-shadow: 0 4px 15px rgba(0,0,0,.6);
}
.hero-content p {
  font-size: 1.1rem; max-width: 740px; margin: 0 auto 1.8rem; color: #f1f5f9;
  line-height: 1.6; text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.hero-cta { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.btn-secondary {
  background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.4);
  padding: 0.65rem 1.4rem; border-radius: 25px; font-weight: 700; backdrop-filter: blur(8px); display: inline-block;
}
.media-controls {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(11,19,41,.7);
  border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 30px; backdrop-filter: blur(10px);
}
.media-ctrl-btn { background: none; border: none; color: #fff; font-size: 1.05rem; padding: 4px 6px; }
.media-ctrl-btn:hover { color: var(--accent-orange); }
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; padding: 0; }
.hero-dots button.active { background: var(--accent-orange); width: 22px; border-radius: 5px; }

/* ---------------------------------- Cartes actions / missions ---------------------------------- */
.actions-section { max-width: 1250px; margin: 0 auto; width: 100%; }
.actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-action {
  background: var(--bg-card); border: 1px solid var(--border-card); backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(13,148,136,.2);
  color: var(--primary-hover); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1.1rem; border: 1px solid rgba(13,148,136,.4);
}
.card-action h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-color); }
.card-action p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }

/* ---------------------------------- Sections génériques ---------------------------------- */
.section-padding { padding: 130px 5% 80px; }
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin-bottom: 2.4rem; text-align: center;
  color: var(--primary-hover); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
}
.section-eyebrow {
  display: block; text-align: center; color: var(--accent-orange); font-weight: 700;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem;
}

/* ---------------------------------- Qui sommes-nous ---------------------------------- */
.about-box {
  background: var(--bg-card); border: 1px solid var(--border-card); backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 2.4rem; max-width: 1250px; margin: 0 auto 2.4rem; box-shadow: var(--shadow);
}
.about-box p { font-size: 1.03rem; line-height: 1.8; color: var(--text-color); opacity: .92; margin-bottom: 1rem; }
.about-box p:last-child { margin-bottom: 0; }
.about-open-banner {
  max-width: 1250px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
  background: rgba(13,148,136,.12); border: 1px solid rgba(13,148,136,.35);
  border-radius: var(--radius); padding: 1.1rem 1.5rem; color: var(--text-color); font-size: .95rem;
}
.neutrality-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 2.2rem; max-width: fit-content;
  background: rgba(13,148,136,.1); border: 1px solid rgba(13,148,136,.35);
  border-radius: 999px; padding: .7rem 1.4rem; color: var(--primary-hover); font-weight: 700;
  font-size: .88rem; text-align: center;
}
.neutrality-badge i { font-size: 1rem; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: .9rem; max-width: 1250px; margin: 2rem auto 0; }
.pillar-chip {
  display: flex; align-items: center; gap: 10px; background: var(--bg-card-solid);
  border: 1px solid var(--border-card); border-radius: 12px; padding: .8rem 1rem; font-size: .88rem; font-weight: 600;
}
.pillar-chip .card-icon { margin: 0; width: 34px; height: 34px; font-size: 1rem; flex-shrink: 0; }

.bank-card {
  background: var(--bg-card-solid); border: 1px solid var(--border-card); border-radius: var(--radius);
  padding: 1.8rem; max-width: 500px; margin: 2.4rem auto 0; box-shadow: var(--shadow);
}
.bank-card h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-color); }
.bank-card dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.bank-card dt { color: var(--text-muted); font-size: .82rem; }
.bank-card dd { margin: 0; font-family: monospace; font-weight: 600; }

/* ---------------------------------- Événements ---------------------------------- */
.events-category-title {
  font-size: 1.15rem; color: var(--accent-orange); margin: 2.2rem 0 1rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px; max-width: 1250px; margin-left: auto; margin-right: auto;
}
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; max-width: 1250px; margin: 0 auto; }
.event-card {
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); backdrop-filter: blur(12px); display: flex; flex-direction: column;
}
.event-thumb { position: relative; width: 100%; height: 190px; overflow: hidden; background: var(--bg-card-solid); }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event-card:hover .event-thumb img { transform: scale(1.07); }
.event-status-badge {
  position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 800;
  padding: 4px 11px; border-radius: 20px; text-transform: uppercase; color: #fff;
}
[dir="rtl"] .event-status-badge { left: auto; right: 12px; }
.status-upcoming { background: rgba(255,85,0,.9); }
.status-passed { background: rgba(13,148,136,.9); }
.event-date-badge {
  position: absolute; top: 12px; right: 12px; background: rgba(11,19,41,.85);
  border: 1px solid var(--border-card); color: #fff; font-weight: 700; font-size: .8rem; padding: 4px 11px; border-radius: 20px;
}
[dir="rtl"] .event-date-badge { right: auto; left: 12px; }
.event-details { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.event-details h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: .6rem; color: var(--text-color); }
.event-desc { font-size: .87rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1.1rem; flex-grow: 1; }
.btn-gallery {
  background: rgba(255,255,255,.05); border: 1px solid var(--border-card); color: var(--text-color);
  padding: .65rem 1rem; border-radius: 10px; font-size: .86rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.event-card:hover .btn-gallery { background: var(--accent-orange); color: #fff; border-color: var(--accent-orange); }
.no-events-msg { text-align: center; color: var(--text-muted); max-width: 1250px; margin: 0 auto; }

/* Page détail événement */
.event-detail-header { max-width: 900px; margin: 0 auto 2rem; }
.back-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.back-links a {
  display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--text-muted);
  background: var(--bg-card-solid); border: 1px solid var(--border-card); padding: 8px 14px; border-radius: 999px;
}
.event-detail-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; max-width: 1250px; margin: 2rem auto 0; }
.event-detail-gallery .g-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border-card); }
.event-detail-gallery img, .event-detail-gallery video { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------- Don ---------------------------------- */
.donate-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.2rem; align-items: start; max-width: 1250px; margin: 0 auto; }
@media (max-width: 920px) { .donate-grid { grid-template-columns: 1fr; } }

.trust-banner {
  display: flex; gap: 14px; align-items: center; background: rgba(13,148,136,.12);
  border: 1px solid rgba(13,148,136,.35); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-bottom: 1.6rem;
}
.trust-banner .icon { font-size: 1.5rem; color: var(--primary-hover); }
.trust-banner strong { display: block; margin-bottom: 2px; }
.trust-banner p { margin: 0; font-size: .85rem; color: var(--text-muted); }

.not-obligatory-box {
  border: 1px dashed var(--accent-orange); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  margin-bottom: 1.6rem; background: rgba(255,85,0,.06);
}
.not-obligatory-box h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--accent-orange); }
.not-obligatory-box p { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

.quran-quotes { display: grid; gap: 14px; margin-bottom: 1.8rem; }
.quote-card {
  background: var(--bg-card-solid); border-inline-start: 4px solid var(--primary-hover);
  border-radius: 10px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow);
}
.quote-card p.arabic { font-family: 'Noto Naskh Arabic', serif; font-size: 1.2rem; margin-bottom: 8px; line-height: 2; color: var(--primary-hover); }
.quote-card p.translation { margin: 0 0 6px; font-style: italic; color: var(--text-color); opacity: .9; }
.quote-card cite { font-size: .8rem; color: var(--text-muted); font-style: normal; }

.donate-form-card {
  background: var(--bg-card-solid); border: 1px solid var(--border-card); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); position: sticky; top: 100px;
}
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 16px; }
.amount-btn {
  padding: 13px 0; border-radius: 12px; border: 1.5px solid var(--border-card);
  background: var(--bg-input); font-weight: 700; font-size: 1.02rem; text-align: center; color: var(--text-color);
}
.amount-btn.selected { border-color: var(--primary-hover); background: rgba(13,148,136,.18); color: var(--primary-hover); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.field input[type=text], .field input[type=email], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--border-card);
  background: var(--bg-input); color: var(--text-color); font-family: inherit; font-size: .92rem; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-orange); box-shadow: 0 0 10px var(--orange-glow); }
.field textarea { min-height: 100px; resize: vertical; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 12px; }
.optional-info-box { border-top: 1px solid var(--border-card); margin-top: 18px; padding-top: 16px; }
.optional-info-box h4 { font-size: .88rem; margin-bottom: 3px; }
.optional-info-box > p { font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.submit-btn { width: 100%; justify-content: center; margin-top: 4px; }

.rib-box { background: rgba(255,255,255,.04); border: 1px dashed var(--primary-hover); border-radius: 10px; padding: 1rem; margin-top: 1.1rem; font-family: monospace; font-size: .88rem; }
.rib-row { display: flex; justify-content: space-between; margin-bottom: .4rem; gap: 10px; }
.rib-row:last-child { margin-bottom: 0; }

/* ---------------------------------- Contact ---------------------------------- */
.contact-wrapper { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; } }
.contact-form, .contact-map-card {
  background: var(--bg-card); border: 1px solid var(--border-card); backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
}
.contact-info { margin-bottom: 1.4rem; font-size: .9rem; color: var(--text-muted); line-height: 1.9; }
.contact-info i { color: var(--primary-hover); width: 20px; margin-right: 6px; }
.map-iframe { width: 100%; height: 240px; border: 0; border-radius: 10px; }

/* ---------------------------------- Réseaux sociaux flottants ---------------------------------- */
.social-floating {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--bg-card-solid); padding: .6rem .45rem; border-radius: 12px 0 0 12px;
  border: 1px solid var(--border-card); border-right: none; box-shadow: var(--shadow);
}
[dir="rtl"] .social-floating { right: auto; left: 0; border-radius: 0 12px 12px 0; border-right: 1px solid var(--border-card); border-left: none; }
.social-floating a {
  width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-color); font-size: 1.05rem;
}
.social-floating a:hover { color: var(--accent-orange); background: rgba(255,85,0,.1); }

/* ---------------------------------- Footer ---------------------------------- */
footer.site-footer { text-align: center; padding: 3rem 1rem 2rem; color: var(--text-muted); font-size: .86rem; border-top: 1px solid var(--border-card); }
footer.site-footer .foot-logo { display: flex; justify-content: center; margin-bottom: 14px; }

/* ---------------------------------- Responsive ---------------------------------- */
@media (max-width: 992px) {
  .actions-grid, .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .actions-grid, .events-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .burger { display: flex; }
}

/* Très petits écrans (anciens smartphones, ~320-420px) */
@media (max-width: 420px) {
  header.site-header { padding: 0.55rem 4%; }
  .logo-main { font-size: 1.3rem; }
  .logo-box { width: 40px; height: 40px; }
  .header-tools { gap: 0.5rem; }
  .lang-btn span, .btn-don span.btn-label { display: none; }
  .btn-don, .btn-don-nav { padding: 0.6rem 0.9rem; }
  .hero-wrapper { padding-top: 130px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: .95rem; }
  .donate-form-card { padding: 1.2rem; }
  .amount-grid { gap: 6px; }
}
.main-nav.mobile-open {
  display: flex; position: fixed; inset: 64px 0 0 0; background: var(--bg-main);
  flex-direction: column; padding: 20px; gap: 8px; z-index: 999; overflow-y: auto;
}
.main-nav.mobile-open a { padding: 14px; text-align: center; background: var(--bg-card-solid); border-radius: 10px; border: 1px solid var(--border-card); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-orange); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------------------------------- Lightbox photos ---------------------------------- */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,10,20,.92); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); color: #fff; width: 42px; height: 42px;
  border-radius: 50%; font-size: 1.1rem; cursor: pointer;
}
.lightbox-close:hover { background: var(--accent-orange); border-color: var(--accent-orange); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: var(--accent-orange); border-color: var(--accent-orange); box-shadow: 0 0 20px var(--orange-glow); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-playpause {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-playpause:hover { background: var(--accent-orange); border-color: var(--accent-orange); }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
  padding: 6px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
/* ---------------------------------- Statistiques d'impact ---------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
.stat-box {
  background: var(--bg-card); border: 1px solid var(--border-card); backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center; box-shadow: var(--shadow);
}
.stat-value { font-size: 2rem; font-weight: 800; color: var(--primary-hover); margin-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.stat-value i { font-size: 1.3rem; color: var(--accent-orange); }
.stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* Contour orange animé au survol des vignettes de galerie (photos et vidéos) */
.g-item { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.g-item.glow-hover:hover { border-color: var(--accent-orange) !important; box-shadow: 0 0 20px var(--orange-glow); }
@media (max-width: 700px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* Glow orange animé au survol des vignettes de galerie */
.g-item { transition: transform .2s ease, box-shadow .2s ease; }
.g-item:hover { transform: scale(1.03); }
