/* theme.css — charte UMP Guinée, reprise de front_politique v1 (css/dashboard.css) */

:root {
  --rouge       : #E32219;
  --rouge-dark  : #A8180F;
  --rouge-light : rgba(227,34,25,.08);
  --or          : #F2B705;
  --or-light    : rgba(242,183,5,.12);
  --bleu-nuit   : #1E293B;
  --bleu-light  : rgba(30,41,59,.06);
  --vert        : #159A46;
  --vert-light  : rgba(21,154,70,.1);
  --muted       : #6B7280;
  --border      : #E5E7EB;
  --bg          : #F4F5F7;
  --surface     : #FFFFFF;
  --sidebar-w   : 256px;
  --topbar-h    : 60px;
  --radius      : 14px;
  --radius-sm   : 10px;
  --shadow      : 0 1px 2px rgba(15,23,42,.04), 0 1px 10px rgba(15,23,42,.05);
  --shadow-md   : 0 8px 28px rgba(15,23,42,.12), 0 2px 6px rgba(15,23,42,.06);
  --ease        : cubic-bezier(.2,.8,.2,1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

body {
  font-family:'DM Sans',sans-serif;
  font-size:14px;
  background:var(--bg);
  color:var(--bleu-nuit);
}

h1,h2,h3,h4,.font-serif { font-family:'Playfair Display',serif; }

a { color:var(--rouge); text-decoration:none; }
a:hover { text-decoration:underline; }

/* ── Layout dashboard ─────────────────────────────────────────── */
.app-shell { display:flex; min-height:100vh; }

.sidebar {
  width:var(--sidebar-w); flex-shrink:0; background:var(--bleu-nuit); color:#fff;
  min-height:100vh; position:sticky; top:0; align-self:flex-start;
  display:flex; flex-direction:column;
}
.sidebar .brand { padding:20px; font-family:'Playfair Display',serif; font-weight:800; font-size:18px; border-bottom:1px solid rgba(255,255,255,.1); }
.sidebar .brand small { display:block; font-family:'DM Sans',sans-serif; font-weight:400; font-size:11px; opacity:.6; }
.sidebar nav { flex:1; overflow-y:auto; padding:12px 0; }
.sidebar .nav-section { padding:10px 20px 4px; font-size:11px; text-transform:uppercase; letter-spacing:.06em; opacity:.5; }

/* ── Onglets de page (sectionne une page longue, évite le scroll sans fin) ── */
.page-tabs-nav { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:20px; padding-bottom:2px; border-bottom:1px solid var(--border); }
.page-tab-btn {
  display:inline-flex; align-items:center; gap:7px; padding:9px 16px; border:none; background:none; cursor:pointer;
  font-family:inherit; font-size:13px; font-weight:600; color:var(--muted); border-radius:var(--radius-sm) var(--radius-sm) 0 0;
  position:relative; top:1px; border-bottom:2px solid transparent; transition:color .15s var(--ease), background .15s var(--ease);
}
.page-tab-btn:hover { color:var(--bleu-nuit); background:var(--bg); }
.page-tab-btn.active { color:var(--rouge); border-bottom-color:var(--rouge); }
.page-tab-btn .tab-count { font-size:10.5px; font-weight:700; color:var(--muted); background:var(--bg); border-radius:999px; padding:1px 7px; }
.page-tab-btn.active .tab-count { color:var(--rouge); background:var(--rouge-light); }
.page-tab-panel { display:none; animation:tab-fade .18s var(--ease); }
.page-tab-panel.active { display:block; }
@keyframes tab-fade { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

/* ── Groupes de menu dépliables ──────────────────────────────────── */
.nav-section-toggle {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  background:none; border:none; cursor:pointer; font-family:inherit;
  padding:10px 20px 4px; font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  color:inherit; opacity:.6;
}
.nav-section-toggle:hover { opacity:.9; }
.nav-section-chevron { font-size:11px; transition:transform .2s ease; }
.nav-group.open .nav-section-chevron { transform:rotate(180deg); }
.nav-group-items { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.nav-group.open .nav-group-items { max-height:1000px; }
.sidebar .nav-link {
  display:flex; align-items:center; gap:10px; padding:10px 20px; color:rgba(255,255,255,.8);
  font-size:13.5px; border-left:3px solid transparent;
}
.sidebar .nav-link:hover { background:rgba(255,255,255,.06); text-decoration:none; color:#fff; }
.sidebar .nav-link.active { background:rgba(227,34,25,.18); border-left-color:var(--rouge); color:#fff; font-weight:600; }
.sidebar .nav-link .badge { margin-left:auto; background:var(--rouge); border-radius:20px; font-size:10px; padding:1px 7px; }

.main-area { flex:1; min-width:0; display:flex; flex-direction:column; }
.topbar {
  height:var(--topbar-h); background:var(--surface); border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; padding:0 24px; position:sticky; top:0; z-index:10;
}
.topbar h1 { font-size:16px; font-weight:700; }
.topbar .subtitle { font-size:12px; color:var(--muted); }
.content { padding:24px; flex:1; }

.user-chip { display:flex; align-items:center; gap:8px; font-size:13px; }
.avatar-circle {
  width:34px; height:34px; border-radius:50%; background:var(--rouge); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0;
}

/* ── Composants ───────────────────────────────────────────────── */
.panel { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); margin-bottom:20px; overflow:hidden; transition:box-shadow .2s var(--ease); }
.panel-header { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:16px 20px; border-bottom:1px solid var(--border); }
.panel-title { font-weight:700; font-size:14.5px; display:flex; align-items:center; gap:9px; letter-spacing:-.01em; }
.panel-title i { color:var(--rouge); font-size:14px; }
.panel-subtitle { font-size:12.5px; color:var(--muted); margin-top:3px; font-weight:400; line-height:1.5; }
.panel-header-text { min-width:0; }
.panel-body { padding:20px; }

.btn { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--border); background:#fff; color:var(--bleu-nuit);
  padding:8px 15px; border-radius:var(--radius-sm); font-size:13px; font-weight:500; cursor:pointer; font-family:inherit;
  transition:background .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { background:var(--bg); text-decoration:none; }
.btn:active { transform:scale(.97); }
.btn-rouge { background:var(--rouge); border-color:var(--rouge); color:#fff; box-shadow:0 1px 2px rgba(227,34,25,.25); }
.btn-rouge:hover { background:var(--rouge-dark); border-color:var(--rouge-dark); color:#fff; box-shadow:0 4px 10px rgba(227,34,25,.28); }
.btn-sm { padding:6px 11px; font-size:12px; border-radius:8px; }
.btn:disabled { opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }

.form-label { display:block; font-size:12.5px; font-weight:600; margin-bottom:6px; color:var(--bleu-nuit); }
.form-control, .form-select {
  width:100%; padding:9px 12px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:13.5px; font-family:inherit; background:#fff;
  transition:border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-control:focus, .form-select:focus { outline:none; border-color:var(--rouge); box-shadow:0 0 0 4px var(--rouge-light); }
.form-control::placeholder { color:#9CA3AF; }
.form-control.is-invalid { border-color:var(--rouge); background:var(--rouge-light); }
.form-row { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
.form-group { flex:1; min-width:200px; margin-bottom:14px; }

table.data-table { width:100%; border-collapse:collapse; font-size:13px; }
table.data-table th { text-align:left; padding:11px 16px; background:var(--bg); font-weight:700; font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); }
table.data-table td { padding:12px 16px; border-bottom:1px solid var(--border); vertical-align:middle; }
table.data-table tr:last-child td { border-bottom:none; }
table.data-table tr:hover td { background:var(--bg); }

.badge-statut { display:inline-flex; align-items:center; gap:5px; padding:3px 11px; border-radius:20px; font-size:11px; font-weight:600; }
.badge-statut::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; flex-shrink:0; }
.badge-actif    { background:var(--vert-light); color:var(--vert); }
.badge-inactif  { background:var(--rouge-light); color:var(--rouge); }
.badge-attente  { background:var(--or-light); color:#8a6600; }
.badge-neutre   { background:var(--bleu-light); color:var(--muted); }
.badge-info     { background:rgba(37,99,235,.1); color:#1d4ed8; }

/* ── Encarts d'information (pages sécurité, journal, démentis) ── */
.alert { padding:11px 14px; border-radius:var(--radius-sm); font-size:13.5px; line-height:1.5; border:1px solid transparent; }
.alert-warning { background:var(--or-light); border-color:rgba(242,183,5,.35); color:#7a5a00; }
.alert-danger  { background:var(--rouge-light); border-color:rgba(227,34,25,.25); color:var(--rouge-dark); }
.alert-info    { background:var(--bleu-light); border-color:var(--border); color:var(--bleu-nuit); }
.btn-danger { background:var(--rouge-dark); color:#fff; border-color:var(--rouge-dark); }
.btn-danger:hover { background:#8c130c; }

.icon-btn { width:30px; height:30px; border-radius:var(--radius-sm); border:1px solid var(--border); background:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:background .15s var(--ease), border-color .15s var(--ease); }
.icon-btn:hover { background:var(--bg); border-color:#d1d5db; }

/* ── Barre de filtres (recherche + filtres rapides) ──────────────── */
.filter-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:14px 20px; border-bottom:1px solid var(--border); background:#FAFAFB; }
.filter-search { position:relative; flex:1; min-width:200px; max-width:320px; }
.filter-search i { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:#9CA3AF; font-size:13px; pointer-events:none; }
.filter-search input { width:100%; padding:8px 12px 8px 34px; border:1.5px solid var(--border); border-radius:999px; font-size:13px; font-family:inherit; background:#fff; transition:border-color .15s var(--ease), box-shadow .15s var(--ease); }
.filter-search input:focus { outline:none; border-color:var(--rouge); box-shadow:0 0 0 4px var(--rouge-light); }
.filter-chips { display:flex; gap:6px; flex-wrap:wrap; }
.filter-chip { display:inline-flex; align-items:center; gap:6px; padding:6px 13px; border-radius:999px; border:1.5px solid var(--border); background:#fff; color:var(--muted); font-size:12.5px; font-weight:500; cursor:pointer; transition:all .15s var(--ease); }
.filter-chip:hover { border-color:#d1d5db; color:var(--bleu-nuit); }
.filter-chip.active { background:var(--bleu-nuit); border-color:var(--bleu-nuit); color:#fff; }
.filter-chip .count { opacity:.65; font-size:11px; }

/* ── Modal (générique, réutilisable) ─────────────────────────────── */
.modal-overlay { position:fixed; inset:0; background:rgba(13,20,33,.6); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); z-index:1000; display:flex; align-items:center; justify-content:center; padding:20px; animation:modal-fade .15s var(--ease); }
.modal-box { background:#fff; border-radius:18px; box-shadow:var(--shadow-md); width:100%; max-width:560px; max-height:85vh; display:flex; flex-direction:column; animation:modal-pop .18s var(--ease); }
.modal-box .modal-header { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:18px 22px; border-bottom:1px solid var(--border); }
.modal-box .modal-title { font-weight:700; font-size:15.5px; letter-spacing:-.01em; }
.modal-box .modal-subtitle { font-size:12.5px; color:var(--muted); margin-top:4px; font-weight:400; line-height:1.5; }
.modal-box .modal-close { background:var(--bg); border:none; cursor:pointer; font-size:16px; color:var(--muted); line-height:1; width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .15s var(--ease), color .15s var(--ease); }
.modal-box .modal-close:hover { background:var(--rouge-light); color:var(--rouge); }
.modal-box .modal-body { padding:20px 22px; overflow-y:auto; }
@keyframes modal-fade { from { opacity:0; } to { opacity:1; } }
@keyframes modal-pop { from { opacity:0; transform:translateY(8px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }

/* ── Toasts ───────────────────────────────────────────────────── */
#toast-container { position:fixed; top:20px; right:20px; z-index:9999; display:flex; flex-direction:column; gap:8px; }
.toast-msg { display:flex; align-items:center; gap:8px; background:var(--bleu-nuit); color:#fff; padding:12px 16px; border-radius:8px; box-shadow:var(--shadow-md); font-size:13px; min-width:260px; }
.toast-msg.success { background:var(--vert); }
.toast-msg.danger  { background:var(--rouge); }
.toast-msg.warning { background:#B8860B; }

/* ── Auth (login) ─────────────────────────────────────────────── */
.auth-shell { min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--bleu-nuit); padding:20px; }
.auth-card { background:#fff; border-radius:12px; padding:40px; width:100%; max-width:400px; box-shadow:var(--shadow-md); }
.auth-card h1 { font-size:22px; margin-bottom:4px; }
.auth-card .subtitle { color:var(--muted); font-size:13px; margin-bottom:24px; }
.auth-error { background:var(--rouge-light); color:var(--rouge-dark); border-radius:6px; padding:10px 14px; font-size:13px; margin-bottom:16px; }

/* ── Badge du parti (carte d'adhérent imprimable) ──────────────────
   Format portrait (CR80 tourné, 53.98 × 85.60mm) avec fiche de champs
   libellés au recto et photo pleine carte + puce décorative au verso. */
.badge-print-area { display:flex; justify-content:center; align-items:flex-start; gap:24px; padding:20px; flex-wrap:wrap; }
.badge-card {
  position:relative; width:260px; aspect-ratio:53.98/85.60; overflow:hidden;
  border-radius:14px; background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow-md);
  display:flex; flex-direction:column;
}
.badge-card-watermark {
  position:absolute; inset:0; background-repeat:no-repeat; background-position:center; background-size:80%;
  opacity:.06; pointer-events:none;
}
.badge-card-header {
  position:relative; display:flex; align-items:center; gap:10px; padding:14px 14px 12px;
  background:linear-gradient(120deg, var(--bleu-nuit), var(--rouge)); color:#fff;
}
.badge-card-header img { height:30px; width:30px; object-fit:contain; background:#fff; border-radius:6px; padding:3px; flex-shrink:0; }
.badge-card-parti { font-family:'Playfair Display',serif; font-weight:800; font-size:14px; line-height:1.15; }
.badge-card-souscription { font-size:9.5px; opacity:.85; text-transform:uppercase; letter-spacing:.05em; }
.badge-card-body { position:relative; padding:16px 14px 6px; flex:1; display:flex; flex-direction:column; gap:12px; }
.badge-card-photo {
  width:84px; height:104px; border-radius:8px; object-fit:cover; object-position:center 15%; align-self:center;
  font-size:26px; border:2px solid var(--surface); box-shadow:var(--shadow);
}
.badge-card-fields { display:flex; flex-direction:column; gap:9px; }
.badge-card-field-label { font-size:9.5px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.badge-card-field-value { font-size:13.5px; font-weight:600; color:var(--bleu-nuit); }
.badge-card-footer {
  position:relative; margin-top:auto; border-top:1px solid var(--border);
  padding:8px 14px; display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.badge-card-numero { font-size:10.5px; color:var(--muted); font-weight:600; }
.badge-card-responsable {
  font-size:9.5px; font-weight:700; color:#8a6600; display:flex; align-items:center; gap:5px;
}

/* ── Verso du badge : photo du président (le badge sert aussi à mettre
   en avant le président du parti) + accroche + puce décorative ──── */
.badge-card-verso-photo {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:top center; background:var(--bleu-nuit);
}
.badge-card-verso-photo-fallback { display:flex; align-items:center; justify-content:center; }
.badge-card-verso-photo-fallback img { max-width:55%; max-height:55%; object-fit:contain; opacity:.85; }
.badge-card-verso-motto {
  position:absolute; top:0; left:0; right:0; z-index:1; padding:14px 16px 24px; text-align:center;
  font-family:'Playfair Display',serif; font-weight:700; font-size:13px; color:#fff;
  background:linear-gradient(180deg, rgba(13,27,42,.85), rgba(13,27,42,0));
}
.badge-card-verso-chip {
  position:absolute; left:16px; top:112px; z-index:1; width:38px; height:28px; border-radius:5px;
  background:linear-gradient(135deg, #f2d38c, var(--or));
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);
}
.badge-card-verso-chip::before {
  content:''; position:absolute; inset:5px; border:1px solid rgba(0,0,0,.25); border-radius:2px;
  background:
    linear-gradient(rgba(0,0,0,.25) 1px, transparent 1px) 0 50% / 100% 33.3%,
    linear-gradient(90deg, rgba(0,0,0,.25) 1px, transparent 1px) 33.3% 0 / 33.3% 100%;
}
.badge-card-verso-caption {
  position:absolute; left:0; right:0; bottom:0; z-index:1; padding:12px 16px; color:#fff;
  background:linear-gradient(0deg, rgba(13,27,42,.92), rgba(13,27,42,.15));
}
.badge-card-verso-nom { font-family:'Playfair Display',serif; font-weight:800; font-size:14px; }
.badge-card-verso-poste { font-size:10.5px; opacity:.9; }

@media print {
  .sidebar, .topbar, .no-print { display:none !important; }
  .app-shell, .main-area, .content { display:block; padding:0; margin:0; }
  body { background:#fff; }
  .badge-print-area { padding:0; justify-content:flex-start; gap:6mm; }
  .badge-card { width:53.98mm; aspect-ratio:53.98/85.60; box-shadow:none; -webkit-print-color-adjust:exact; print-color-adjust:exact; break-inside:avoid; }
}

/* ══════════════════════════════════════════════════════════════════
   SITE PUBLIC v2 — maquette de référence (charte UMP Guinée)
   ══════════════════════════════════════════════════════════════════ */
.container { max-width:1180px; margin:0 auto; padding:0 24px; }
.site-section { padding:80px 0; }
.site-section h2 { font-size:28px; margin-bottom:8px; }
.site-header { background:var(--bleu-nuit); color:#fff; }

/* liseré tricolore */
.flag-strip { height:4px; display:flex; }
.flag-strip span { flex:1; }
.flag-strip .fs-r { background:var(--rouge); }
.flag-strip .fs-y { background:var(--or); }
.flag-strip .fs-g { background:var(--vert); }

/* barre utilitaire au-dessus du menu */
.topbar-utility { background:var(--bleu-nuit); color:rgba(255,255,255,.65); font-size:12px; padding:8px 0; }
.topbar-utility .container { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.tu-left { display:flex; gap:22px; flex-wrap:wrap; }
.tu-left span { display:inline-flex; align-items:center; gap:6px; }
.tu-right { display:flex; align-items:center; gap:16px; }
.tu-right a { color:rgba(255,255,255,.65); font-size:12px; }
.tu-right a:hover { color:#fff; text-decoration:none; }
.tu-social { display:flex; gap:8px; }
.tu-social a { width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,.08); display:inline-flex; align-items:center; justify-content:center; font-size:11px; }

/* navbar principale */
.site-nav { background:#fff; padding:0; position:sticky; top:0; z-index:100; box-shadow:0 1px 3px rgba(0,0,0,.07); }
.site-nav .container { display:flex; align-items:center; justify-content:space-between; height:78px; gap:20px; }
.site-nav .brand { display:flex; align-items:center; gap:12px; }
.site-nav .brand:hover { text-decoration:none; }
.brand-mark { width:46px; height:46px; border-radius:10px; background:linear-gradient(135deg,var(--rouge),var(--rouge-dark)); display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Playfair Display',serif; font-weight:800; font-size:18px; flex-shrink:0; }
.brand-text { line-height:1.2; }
.brand-text strong { display:block; font-family:'Playfair Display',serif; font-weight:800; font-size:17px; color:var(--bleu-nuit); letter-spacing:.02em; }
.brand-text small { display:block; font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.nav-links { display:flex; align-items:center; gap:30px; }
.nav-links a.nav-item { color:var(--bleu-nuit); font-weight:500; font-size:13.5px; opacity:.75; }
.nav-links a.nav-item:hover { opacity:1; color:var(--rouge); text-decoration:none; }
.nav-cta { display:flex; align-items:center; gap:18px; flex-shrink:0; }

/* boutons additionnels */
.btn-lg { padding:13px 26px; font-size:14px; border-radius:8px; font-weight:600; }
.btn-outline-light { border:1.5px solid rgba(255,255,255,.35); color:#fff; background:transparent; }
.btn-outline-light:hover { background:rgba(255,255,255,.1); color:#fff; }
.btn-white { background:#fff; color:var(--rouge-dark); border-color:#fff; font-weight:700; }
.btn-white:hover { background:#f2f2f2; color:var(--rouge-dark); }
.btn-outline-dark2 { border:1.5px solid rgba(255,255,255,.25); color:#fff; background:transparent; }
.btn-outline-dark2:hover { background:rgba(255,255,255,.08); color:#fff; }
.btn-outline { border:1.5px solid var(--border); color:var(--bleu-nuit); background:transparent; }
.btn-outline:hover { background:var(--bg); color:var(--bleu-nuit); }

/* entête de section */
.section-head { text-align:center; max-width:640px; margin:0 auto 46px; }
.section-head.left { text-align:left; margin:0 0 40px; max-width:none; }
.section-eyebrow { display:inline-flex; align-items:center; gap:9px; font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--rouge); margin-bottom:12px; }
.section-eyebrow::before, .section-eyebrow::after { content:''; width:22px; height:2px; background:var(--or); }
.section-head.left .section-eyebrow::before, .section-head.left .section-eyebrow::after { display:none; }
.section-head.left .section-eyebrow { padding-left:0; }
.section-head h2 { font-size:32px; }
.section-head p.lead { color:var(--muted); margin-top:10px; font-size:14.5px; }
.section-head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.section-link { font-size:13px; font-weight:700; color:var(--rouge); display:inline-flex; align-items:center; gap:6px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero-v2 {
  background:
    radial-gradient(circle at 12% 15%, rgba(227,34,25,.18), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(21,154,70,.16), transparent 42%),
    var(--bleu-nuit);
  color:#fff; padding:76px 0 56px; overflow:hidden; position:relative;
}
.hero-v2 .container { display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.hero-eyebrow { display:inline-flex; align-items:center; gap:8px; background:rgba(227,34,25,.16); border:1px solid rgba(227,34,25,.4); color:#ff9891; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:7px 15px; border-radius:30px; margin-bottom:22px; }
.hero-eyebrow .dot { width:6px; height:6px; border-radius:50%; background:var(--or); flex-shrink:0; }
.hero-v2 h1 { font-size:42px; line-height:1.16; max-width:640px; }
.hero-v2 h1 .accent-r { color:#ff5a50; }
.hero-v2 h1 .accent-y { color:var(--or); }
.hero-v2 p.lead { margin-top:18px; max-width:520px; color:rgba(255,255,255,.72); font-size:15.5px; line-height:1.65; }
.hero-actions { display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-stats { display:flex; gap:0; margin-top:54px; flex-wrap:wrap; }
.hero-stats .stat { padding-right:34px; margin-right:34px; border-right:1px solid rgba(255,255,255,.14); }
.hero-stats .stat:last-child { border-right:none; margin-right:0; padding-right:0; }
.hero-stats .stat .num { font-family:'Playfair Display',serif; font-size:32px; font-weight:800; color:var(--or); line-height:1; }
.hero-stats .stat .lbl { font-size:11.5px; color:rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.04em; margin-top:8px; }

.hero-card { background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 30px 60px rgba(0,0,0,.35); color:var(--bleu-nuit); }
.hero-card-head { background:linear-gradient(120deg,var(--rouge),var(--rouge-dark)); color:#fff; padding:20px 22px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hero-card-head .yr { font-family:'Playfair Display',serif; font-size:26px; font-weight:800; }
.hero-card-head .tag { font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; opacity:.9; text-align:right; line-height:1.4; }
.hero-card-emblem {
  height:190px; position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  background:
    repeating-linear-gradient(135deg, rgba(227,34,25,.10) 0 18px, rgba(242,183,5,.10) 18px 36px, rgba(21,154,70,.10) 36px 54px),
    radial-gradient(circle at 30% 20%, rgba(227,34,25,.16), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(21,154,70,.16), transparent 55%),
    linear-gradient(160deg,#f7f8fa,#e9ecf1);
}
.hero-card-emblem-badge {
  width:72px; height:72px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; color:#fff;
  background:linear-gradient(135deg,var(--rouge),var(--rouge-dark)); box-shadow:0 10px 24px rgba(227,34,25,.35), 0 0 0 6px rgba(255,255,255,.6);
}
.hero-card-emblem-sub { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--bleu-nuit); opacity:.6; text-align:center; padding:0 20px; }
.hero-card-name { padding:18px 22px 2px; font-family:'Playfair Display',serif; font-weight:800; font-size:17px; }
.hero-card-role { padding:0 22px 14px; font-size:11.5px; color:var(--rouge); font-weight:700; text-transform:uppercase; letter-spacing:.03em; }
.hero-card-list { padding:6px 10px 18px; border-top:1px solid var(--border); }
.hero-card-list a { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:8px; color:var(--bleu-nuit); font-size:13px; font-weight:600; }
.hero-card-list a:hover { background:var(--bg); text-decoration:none; }
.hero-card-list .ic { width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:13px; flex-shrink:0; }
.hero-card-list .chev { margin-left:auto; opacity:.35; }

/* ── Ticker ───────────────────────────────────────────────────── */
.ticker-v2 { background:linear-gradient(90deg,var(--or),#e0a800); color:var(--bleu-nuit); overflow:hidden; white-space:nowrap; position:relative; }
.ticker-v2 .ticker-label { position:relative; z-index:2; display:inline-flex; align-items:center; gap:8px; background:var(--bleu-nuit); color:#fff; padding:10px 20px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; float:left; height:100%; }
.ticker-v2 .ticker-viewport { overflow:hidden; }
.ticker-v2 .ticker-track { display:inline-flex; padding:11px 0; animation:ticker-scroll 26s linear infinite; font-size:13px; font-weight:600; }
.ticker-v2 .ticker-track span { padding:0 10px; }
.ticker-v2:hover .ticker-track { animation-play-state:paused; }
@keyframes ticker-scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.ticker-v2 .ticker-item { padding:0 14px; color:inherit; }
.ticker-v2 a.ticker-item { text-decoration:underline; text-underline-offset:3px; }
.ticker-v2 .ticker-important { font-weight:800; }
.ticker-v2 .ticker-urgent { background:var(--rouge); color:#fff; border-radius:4px; padding:2px 10px; margin:0 6px; }
.ticker-epingle { background:var(--bleu-nuit); color:#fff; padding:10px 0; font-size:13.5px; font-weight:600; }
.ticker-epingle-urgent { background:var(--rouge); }
.ticker-epingle a, .ticker-epingle .ticker-item { color:#fff; }

/* ── Mode « Jour J » (jour de scrutin) ───────────────────────── */
.jourj { background:linear-gradient(135deg,var(--vert),#0e6e32); color:#fff; padding:26px 0; }
.jourj-titre { font-family:'Playfair Display',serif; font-size:28px; font-weight:800; display:flex; align-items:center; gap:10px; }
.jourj-horaires { margin-top:6px; font-size:15px; }
.jourj-texte { margin-top:10px; font-size:14.5px; opacity:.95; max-width:760px; }
.jourj-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

/* ── Démentis ────────────────────────────────────────────────── */
.dementi-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
.dementi-card { position:relative; display:block; background:#fff; border:1px solid var(--border); border-left:4px solid var(--rouge); border-radius:12px; padding:18px; color:inherit; transition:box-shadow .15s var(--ease); }
.dementi-card:hover { box-shadow:var(--shadow-md); text-decoration:none; }
.dementi-card h3 { font-size:17px; margin:8px 0 6px; }
.dementi-card p { font-size:13.5px; color:var(--muted); }
.dementi-date { display:block; margin-top:10px; font-size:12px; color:var(--muted); }
.dementi-badge { position:absolute; top:14px; right:14px; background:var(--rouge); color:#fff; font-size:10.5px; font-weight:700; padding:2px 8px; border-radius:10px; text-transform:uppercase; }
.dementi-faux { display:inline-flex; align-items:center; gap:6px; color:var(--rouge); font-weight:800; font-size:12px; letter-spacing:.08em; }
.dementi-bloc { border-radius:12px; padding:18px 20px; margin-bottom:16px; font-size:15px; line-height:1.75; }
.dementi-bloc-titre { font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
.dementi-rumeur { background:var(--rouge-light); }
.dementi-rumeur .dementi-bloc-titre { color:var(--rouge); }
.dementi-reponse { background:var(--vert-light); }
.dementi-reponse .dementi-bloc-titre { color:var(--vert); }

/* ── Partage WhatsApp & mode léger ───────────────────────────── */
.btn-whatsapp { background:#25D366; color:#fff; border-color:#25D366; }
.btn-whatsapp:hover { background:#1da851; text-decoration:none; }
.leger-suggestion { background:var(--or-light); padding:8px 0; font-size:13px; text-align:center; }

/* ── État vide (section liée au menu mais sans contenu publié) ─── */
.section-empty { text-align:center; padding:50px 20px; color:var(--muted); background:#fff; border:1px dashed var(--border); border-radius:12px; }
.section-empty i { font-size:26px; display:block; margin-bottom:10px; opacity:.5; }
.section-empty p { font-size:13.5px; }

/* ── Présentation / Historique ───────────────────────────────── */
.presentation-wrap { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.timeline { position:relative; padding-left:28px; }
.timeline::before { content:''; position:absolute; left:5px; top:4px; bottom:4px; width:2px; background:var(--border); }
.timeline-item { position:relative; padding-bottom:26px; }
.timeline-item:last-child { padding-bottom:0; }
.timeline-dot { position:absolute; left:-28px; top:3px; width:12px; height:12px; border-radius:50%; background:var(--rouge); border:3px solid var(--bg); box-shadow:0 0 0 2px var(--rouge); }
.timeline-year { font-family:'Playfair Display',serif; font-weight:800; font-size:16px; color:var(--rouge); margin-bottom:4px; }
.timeline-text { font-size:13.5px; color:var(--muted); line-height:1.6; }

/* ── Propositions ─────────────────────────────────────────────── */
.props-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.prop-card { background:#fff; border-radius:12px; border:1px solid var(--border); border-top:4px solid var(--rouge); padding:26px 22px; box-shadow:var(--shadow); transition:transform .18s ease, box-shadow .18s ease; }
.prop-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.prop-card .prop-icon { width:48px; height:48px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:19px; margin-bottom:16px; }
.prop-card h3 { font-size:16px; margin-bottom:8px; font-family:'Playfair Display',serif; }
.prop-card p { font-size:13.5px; color:var(--muted); line-height:1.55; margin-bottom:14px; }
.prop-card .prop-link { font-size:12.5px; font-weight:700; color:var(--rouge); display:inline-flex; align-items:center; gap:6px; }

.manifest-banner { margin-top:40px; background:linear-gradient(120deg,var(--rouge),var(--rouge-dark)); border-radius:14px; padding:26px 30px; display:flex; align-items:center; justify-content:space-between; gap:20px; color:#fff; flex-wrap:wrap; }
.manifest-banner .mb-left { display:flex; align-items:center; gap:16px; }
.manifest-banner .mb-icon { width:52px; height:52px; border-radius:12px; background:rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.manifest-banner h3 { font-family:'Playfair Display',serif; font-size:17px; }
.manifest-banner p { font-size:12.5px; opacity:.85; margin-top:2px; }

/* ── Galerie vidéos & photos (symposiums) ────────────────────────── */
.symp-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.symp-card { position:relative; border-radius:14px; overflow:hidden; background:var(--bleu-nuit); aspect-ratio:4/3; box-shadow:var(--shadow); }
.symp-card img, .symp-card iframe { width:100%; height:100%; object-fit:cover; border:0; display:block; }
.symp-card .symp-play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(13,27,42,.25); transition:background .18s ease; cursor:pointer; border:0; padding:0; }
.symp-card .symp-play i { font-size:42px; color:#fff; filter:drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.symp-card .symp-play:hover { background:rgba(13,27,42,.42); }
.symp-caption { position:absolute; left:0; right:0; bottom:0; padding:14px 16px; background:linear-gradient(0deg, rgba(13,27,42,.92), rgba(13,27,42,0)); color:#fff; pointer-events:none; }
.symp-caption h4 { font-size:13.5px; margin:0 0 3px; font-family:'Playfair Display',serif; }
.symp-caption span { font-size:10.5px; opacity:.85; text-transform:uppercase; letter-spacing:.04em; }

/* ── Direction ────────────────────────────────────────────────── */
.direction-featured { display:grid; grid-template-columns:.8fr 1.2fr; background:#fff; border-radius:16px; overflow:hidden; box-shadow:var(--shadow-md); margin-bottom:40px; }
.direction-featured .df-photo { background:linear-gradient(160deg,var(--bleu-nuit),#0f172a); display:flex; align-items:center; justify-content:center; min-height:280px; }
.direction-featured .df-photo img { width:100%; height:100%; object-fit:cover; object-position:center 15%; }
.direction-featured .df-photo .avatar-circle { width:130px; height:130px; font-size:40px; }
.direction-featured .df-body { padding:36px 38px; align-self:center; }
.direction-featured .df-role { color:var(--rouge); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:8px; }
.direction-featured .df-name { font-family:'Playfair Display',serif; font-size:26px; margin-bottom:14px; }
.direction-featured .df-bio { color:var(--muted); font-size:13.5px; line-height:1.65; margin-bottom:20px; }
.direction-featured .df-social { display:flex; gap:10px; }
.direction-featured .df-social a { width:34px; height:34px; border-radius:50%; background:var(--bg); color:var(--bleu-nuit); display:flex; align-items:center; justify-content:center; }
.direction-featured .df-social a:hover { background:var(--rouge); color:#fff; text-decoration:none; }

.direction-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.direction-grid .member { text-align:center; padding:22px 14px; background:#fff; border-radius:12px; border:1px solid var(--border); }
.direction-grid .avatar-circle, .direction-grid .member img { width:80px; height:80px; margin:0 auto 14px; }
.direction-grid .member img { border-radius:50%; object-fit:cover; object-position:center 20%; display:block; border:3px solid var(--or); }
.direction-grid .member-name { font-weight:700; font-size:13.5px; }
.direction-grid .member-role { font-size:11px; color:var(--rouge); text-transform:uppercase; font-weight:700; margin-top:4px; letter-spacing:.02em; }

/* ── Fédérations ──────────────────────────────────────────────── */
.fed-wrap { display:grid; grid-template-columns:.85fr 1.15fr; gap:44px; align-items:center; }
.fed-map { position:relative; background:linear-gradient(150deg,var(--bleu-nuit),#0f2942); border-radius:18px; min-height:340px; height:420px; overflow:hidden; }
.fed-map #fed-leaflet-map { width:100%; height:100%; border-radius:18px; background:#1a2634; }
.fed-map .leaflet-popup-content-wrapper { border-radius:10px; }
.fed-map .leaflet-popup-content { font-family:'DM Sans',sans-serif; font-size:13px; margin:10px 14px; }
.fed-map .leaflet-popup-content a:hover { text-decoration:underline; }
/* Fonds OpenStreetMap assombris en CSS (pas de variante "dark" gratuite et sans clé) : */
.fed-map .fed-map-tiles { filter:invert(1) hue-rotate(180deg) brightness(.85) contrast(.95) saturate(.5); }
.fed-map .leaflet-control-attribution { background:rgba(13,20,33,.55) !important; color:rgba(255,255,255,.55) !important; font-size:9.5px !important; backdrop-filter:blur(2px); }
.fed-map .leaflet-control-attribution a { color:rgba(255,255,255,.75) !important; }
.fed-map .leaflet-control-zoom a { background:#fff !important; color:var(--bleu-nuit) !important; }
.fed-map-badge { position:absolute; z-index:500; top:18px; left:18px; background:rgba(255,255,255,.12); color:#fff; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:6px 12px; border-radius:20px; display:flex; align-items:center; gap:6px; pointer-events:none; }
.fed-map-caption { position:absolute; z-index:500; bottom:18px; left:20px; color:#fff; pointer-events:none; text-shadow:0 1px 4px rgba(0,0,0,.6); }
.fed-map-caption strong { font-family:'Playfair Display',serif; font-size:18px; display:block; }
.fed-map-caption span { font-size:11.5px; opacity:.85; }

.fed-list { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fed-list a { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--border); border-radius:10px; padding:14px 16px; color:var(--bleu-nuit); font-weight:600; font-size:13.5px; }
.fed-list a:hover { border-color:var(--rouge); text-decoration:none; }
.fed-list .fed-ic { width:34px; height:34px; border-radius:8px; background:var(--rouge-light); color:var(--rouge); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.fed-list .chev { margin-left:auto; opacity:.35; }

/* ── Actualités ───────────────────────────────────────────────── */
.news-wrap { display:grid; grid-template-columns:1.3fr 1fr; gap:28px; }
.news-featured { background:#fff; border-radius:14px; overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow); }
.news-featured .nf-img { height:280px; background:linear-gradient(135deg,var(--bleu-light),var(--border)); background-size:cover; background-position:center; }
.news-featured .nf-body { padding:26px; }
.news-badge { display:inline-block; background:var(--rouge); color:#fff; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; padding:4px 10px; border-radius:4px; margin-bottom:10px; }
.news-date { font-size:12px; color:var(--muted); margin-bottom:8px; }
.news-featured h3 { font-family:'Playfair Display',serif; font-size:20px; margin-bottom:10px; line-height:1.3; }
.news-featured p { color:var(--muted); font-size:13.5px; line-height:1.6; margin-bottom:16px; }

.news-list { display:flex; flex-direction:column; gap:16px; }
.news-item { display:flex; gap:14px; background:#fff; border:1px solid var(--border); border-radius:10px; padding:14px; }
.news-item .ni-thumb { width:74px; height:74px; border-radius:8px; background:var(--bleu-light); flex-shrink:0; background-size:cover; background-position:center; }
.news-item h4 { font-size:13.5px; margin-bottom:4px; line-height:1.35; }

/* ── Événements ───────────────────────────────────────────────── */
.ev-wrap { display:grid; grid-template-columns:1.3fr 1fr; gap:28px; align-items:start; }
.ev-item { display:flex; gap:18px; background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px; margin-bottom:16px; }
.ev-date { width:64px; height:64px; border-radius:10px; background:var(--rouge); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; flex-shrink:0; }
.ev-date .d { font-size:20px; font-weight:800; line-height:1; }
.ev-date .m { font-size:10px; text-transform:uppercase; letter-spacing:.03em; margin-top:3px; }
.ev-item h3 { font-size:15px; margin-bottom:6px; }
.ev-meta { display:flex; gap:16px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.ev-meta i { color:var(--rouge); margin-right:4px; }

.join-card { background:linear-gradient(160deg,var(--bleu-nuit),#0f2942); color:#fff; border-radius:16px; padding:32px 28px; position:sticky; top:96px; }
.join-card h3 { font-family:'Playfair Display',serif; font-size:21px; margin-bottom:12px; }
.join-card p { font-size:13.5px; color:rgba(255,255,255,.72); margin-bottom:22px; line-height:1.6; }
.join-card .jc-item { display:flex; align-items:center; gap:12px; margin-bottom:14px; font-size:13px; }
.join-card .jc-ic { width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; color:var(--or); flex-shrink:0; }
.join-card .jc-actions { display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }

/* ── Adhésion / Don (fond teinté) ─────────────────────────────── */
.tinted-section .section-head p.lead { color:var(--bleu-nuit); opacity:.65; }

/* ── Contact ──────────────────────────────────────────────────── */
.contact-wrap { display:grid; grid-template-columns:.8fr 1.2fr; gap:44px; }
.contact-info-item { display:flex; gap:14px; margin-bottom:22px; }
.contact-info-item .ci-ic { width:42px; height:42px; border-radius:10px; background:var(--rouge-light); color:var(--rouge); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:16px; }
.contact-info-item strong { display:block; font-size:13.5px; }
.contact-info-item span { font-size:12.5px; color:var(--muted); }
.contact-form-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:30px; box-shadow:var(--shadow); }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { background:var(--bleu-nuit); color:rgba(255,255,255,.65); padding-top:56px; }
.footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr 1.3fr; gap:36px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-grid h4 { color:#fff; font-size:13.5px; margin-bottom:18px; text-transform:uppercase; letter-spacing:.04em; }
.footer-grid p { font-size:13px; line-height:1.7; }
.footer-grid ul { list-style:none; }
.footer-grid ul li { margin-bottom:10px; }
.footer-grid ul a { color:rgba(255,255,255,.65); font-size:13px; }
.footer-grid ul a:hover { color:#fff; text-decoration:none; }
.footer-brand .brand-mark-sm { width:42px; height:42px; border-radius:9px; background:linear-gradient(135deg,var(--rouge),var(--rouge-dark)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-family:'Playfair Display',serif; margin-bottom:16px; }
.footer-social { display:flex; gap:10px; margin-top:18px; }
.footer-social a { width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:#fff; }
.footer-social a:hover { background:var(--rouge); text-decoration:none; }
.footer-newsletter p { font-size:13px; margin-bottom:14px; line-height:1.6; }
.footer-newsletter-form { display:flex; gap:8px; }
.footer-newsletter-form .form-control { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.15); color:#fff; }
.footer-newsletter-form .form-control::placeholder { color:rgba(255,255,255,.4); }
.footer-bottom { padding:20px 0; display:flex; align-items:center; justify-content:space-between; font-size:12px; flex-wrap:wrap; gap:10px; }
.footer-bottom .fb-flags { display:flex; gap:4px; }
.footer-bottom .fb-flags span { width:14px; height:10px; border-radius:2px; }
.footer-bottom .fb-links { display:flex; gap:18px; }
.footer-bottom a { color:rgba(255,255,255,.55); }
.footer-bottom a:hover { color:#fff; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width:980px) {
  .hero-v2 .container { grid-template-columns:1fr; }
  .hero-v2 h1 { font-size:34px; }
  .props-grid, .symp-grid { grid-template-columns:repeat(2,1fr); }
  .direction-featured { grid-template-columns:1fr; }
  .direction-featured .df-photo { min-height:220px; }
  .direction-grid { grid-template-columns:repeat(2,1fr); }
  .fed-wrap, .news-wrap, .ev-wrap, .contact-wrap, .presentation-wrap { grid-template-columns:1fr; }
  .fed-list { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .join-card { position:static; }
  .nav-links { display:none; }
}
@media (max-width:640px) {
  .props-grid, .direction-grid, .symp-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-stats { gap:20px 0; }
  .hero-stats .stat { border-right:none; margin-right:0; padding-right:0; width:45%; }
  .site-section { padding:56px 0; }
  .topbar-utility .tu-left { display:none; }
}

/* ── Consentement cookies (site public) ───────────────────────────── */
.cookie-bandeau {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200; max-width: 980px; margin: 0 auto;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  background: var(--bleu-nuit); color: rgba(255,255,255,.85); border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35); border-top: 4px solid var(--or); font-size: 13.5px; line-height: 1.55;
  animation: modal-pop .25s var(--ease);
}
.cookie-bandeau .cookie-texte { flex: 1; min-width: 260px; }
.cookie-bandeau .cookie-texte strong { display: block; color: #fff; font-size: 14.5px; margin-bottom: 4px; }
.cookie-bandeau .cookie-texte strong i { color: var(--or); }
.cookie-bandeau a { color: var(--or); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-bandeau .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.cookie-bandeau .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.cookie-option small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.45; }
.cookie-option input { width: 20px; height: 20px; accent-color: var(--rouge); flex-shrink: 0; }
@media (max-width: 640px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; justify-content: center; } }

/* Contenus tiers en attente d'accord (vidéo, carte) */
.externe-avis {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; text-align: center; background: rgba(13,27,42,.92); color: #fff; font-size: 13px;
}
.externe-avis p { margin: 0; max-width: 320px; line-height: 1.5; }
.externe-avis a { color: var(--or); font-size: 12.5px; }
.externe-carte { border-radius: 18px; }

/* Case de consentement dans les formulaires */
.consent-case { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 13px; line-height: 1.5; color: var(--bleu-nuit); cursor: pointer; }
.consent-case input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rouge); flex-shrink: 0; }
.consent-case a { text-decoration: underline; }
.consent-note { font-size: 11.5px; opacity: .7; margin-top: 8px; }
.consent-note a { color: inherit; text-decoration: underline; }

/* Vérification de carte d'adhérent */
.verif-carte { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 14px; border: 2px solid; background: #fff; }
.verif-carte > i { font-size: 44px; flex-shrink: 0; }
.verif-carte strong { display: block; font-size: 19px; margin-bottom: 4px; }
.verif-carte span { display: block; font-size: 13.5px; color: var(--muted); }
.verif-carte .verif-nom { font-size: 16px; font-weight: 700; color: var(--bleu-nuit); }
.verif-ok { border-color: var(--vert); } .verif-ok > i, .verif-ok strong { color: var(--vert); }
.verif-attention { border-color: var(--or); } .verif-attention > i, .verif-attention strong { color: #a87b00; }
.verif-ko { border-color: var(--rouge); } .verif-ko > i, .verif-ko strong { color: var(--rouge); }

/* Pages juridiques */
.texte-juridique h2 { font-size: 19px; margin: 26px 0 10px; color: var(--bleu-nuit); }
.texte-juridique h2:first-child { margin-top: 0; }
.texte-juridique h3 { font-size: 15px; margin: 16px 0 6px; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--rouge); }
.texte-juridique p, .texte-juridique li { font-size: 14px; line-height: 1.75; color: #374151; }
.texte-juridique p { margin-bottom: 10px; }
.texte-juridique ul { margin: 6px 0 12px 20px; }
