/* Import font */
@import url('https://cdn.jsdelivr.net/npm/@fontsource/libre-franklin/index.css');

:root {
  --bleu: #1B2D6B;
  --or: #F5A623;
  --bleu-clair: #E8ECF6;
  --bleu-mid: #AABFE0;
  --blanc: #FFFFFF;
  --gris-fond: #F7F8FB;
  --texte: #1A1A2E;
  --texte-sec: #5A6A99;
  --vert-ok: #1B6B3A;
  --rouge-non: #A03020;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(27,45,107,0.10);
  --transition: 0.22s ease;
  --max-w: 1200px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Libre Franklin', 'Segoe UI', system-ui, sans-serif; background: var(--gris-fond); color: var(--texte); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* =====================
   HEADER / NAV
   ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,45,107,0.08);
  padding: 0;
}
.site-header .container {
  display: flex; align-items: center; gap: 32px; height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  text-decoration: none; height: 100%;
}
.logo-icon {
  height: 56px; width: auto; display: block;
  object-fit: contain;
}
.logo-wordmark {
  height: 36px; width: auto; display: block;
  object-fit: contain;
}
@media (max-width: 480px) {
  .logo-icon { height: 44px; }
  .logo-wordmark { height: 28px; }
}
.nav-main {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-main a {
  padding: 6px 14px; border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  color: var(--texte-sec); transition: background var(--transition), color var(--transition);
}
.nav-main a:hover, .nav-main a.active { background: var(--bleu-clair); color: var(--bleu); }
.btn-header { flex-shrink: 0; }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.4rem; padding: 8px; color: var(--bleu);
}
@media (max-width: 900px) {
  .nav-main { display: none; }
  .menu-toggle { display: block; }
  .site-header .container { justify-content: space-between; }
  .btn-header { display: none; }
  /* Mobile nav open */
  .nav-main.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--bleu-clair);
    padding: 12px 16px; gap: 2px;
    box-shadow: 0 8px 32px rgba(27,45,107,0.12);
  }
  .nav-main.open a { padding: 12px 16px; font-size: 1rem; }
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  background: var(--or); color: var(--bleu); font-weight: 700;
  padding: 13px 28px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 1rem; text-decoration: none; display: inline-block;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,166,35,0.4); }
.btn-secondary {
  background: transparent; color: var(--bleu); font-weight: 700;
  padding: 12px 27px; border-radius: 10px; border: 2px solid var(--bleu);
  cursor: pointer; font-size: 1rem; text-decoration: none; display: inline-block;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover { background: var(--bleu); color: white; }
.btn-vote {
  background: var(--bleu); color: white; font-weight: 700;
  padding: 18px 40px; border-radius: 12px; font-size: 1.1rem;
  width: 100%; text-align: center; display: block;
  text-decoration: none; margin: 24px 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-vote:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,45,107,0.3); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-vote-small {
  background: var(--bleu); color: white; font-weight: 600;
  padding: 10px 20px; border-radius: 8px; font-size: 0.9rem;
  text-decoration: none; display: inline-block;
  transition: background var(--transition);
}
.btn-vote-small:hover { background: #0f1e4a; }

/* =====================
   HERO
   ===================== */
.hero {
  background: linear-gradient(160deg, #0f1e4a 0%, #1B2D6B 60%, #2a3f8a 100%);
  color: white; padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-stat {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 18px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 16px 22px; margin-bottom: 40px;
  max-width: 720px;
}
.stat-number { font-size: 3rem; font-weight: 800; color: var(--or); line-height: 1; align-self: center; }
.stat-text { font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.4; align-self: center; }
.stat-source { font-size: 0.78rem; color: rgba(255,255,255,0.45); grid-column: 1 / -1; padding-top: 4px; }
@media (max-width: 520px) {
  .hero-stat { grid-template-columns: 1fr; padding: 14px 18px; }
  .stat-number { font-size: 2.4rem; }
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 1.0;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.hero-sub { font-size: 1.4rem; color: var(--or); font-weight: 700; margin-bottom: 20px; letter-spacing: 0.01em; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 600px; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 6px 16px; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.9);
}
@media (max-width: 600px) {
  .hero { padding: 60px 0 48px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { text-align: center; }
}

/* =====================
   COUNTER SECTION
   ===================== */
.counter-section { padding: 48px 0; background: var(--bleu-clair); }
.counter-box { text-align: center; }
.counter-label { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--texte-sec); margin-bottom: 8px; }
.counter-number { display: block; font-size: clamp(3rem, 8vw, 5rem); font-weight: 900; color: var(--bleu); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.counter-sub { display: block; font-size: 0.9rem; color: var(--texte-sec); }

/* =====================
   SECTIONS — GENERIC
   ===================== */
.section { padding: 80px 0; }
.section-alt { background: white; }
.section-dark { background: var(--bleu); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.8); }

h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--bleu); line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.3rem; font-weight: 700; color: var(--bleu); margin-bottom: 12px; }
.section-intro { font-size: 1.1rem; color: var(--texte-sec); max-width: 680px; margin-bottom: 48px; }

/* =====================
   REFERENDUM CARDS
   ===================== */
.referendums-section { padding: 80px 0; background: white; }
.referendums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.referendum-card {
  background: var(--gris-fond); border: 1px solid rgba(27,45,107,0.1);
  border-radius: var(--radius); padding: 28px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.referendum-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--bleu-mid); }
.card-status { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vert-ok); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.card-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--vert-ok); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--bleu); margin-bottom: 10px; line-height: 1.3; }
.card-question { font-size: 0.9rem; color: var(--texte-sec); margin-bottom: 20px; line-height: 1.5; }
.results-bar { height: 8px; border-radius: 4px; background: var(--bleu-clair); overflow: hidden; display: flex; margin-bottom: 8px; }
.bar-oui { height: 100%; background: var(--vert-ok); border-radius: 4px 0 0 4px; }
.bar-non { height: 100%; background: var(--rouge-non); border-radius: 0 4px 4px 0; }
.results-labels { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; margin-bottom: 6px; }
.label-oui { color: var(--vert-ok); }
.label-non { color: var(--rouge-non); }
.results-total { font-size: 0.8rem; color: var(--texte-sec); margin-bottom: 20px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* =====================
   SEUILS
   ===================== */
.seuils-section { padding: 80px 0; background: var(--bleu-clair); }
.seuils-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
@media (max-width: 700px) { .seuils-grid { grid-template-columns: 1fr; } }
.seuil-card {
  background: white; border-radius: var(--radius); padding: 32px 24px;
  border-top: 4px solid; text-align: center;
  box-shadow: var(--shadow);
}
.seuil-1 { border-color: var(--bleu-mid); }
.seuil-2 { border-color: var(--bleu); }
.seuil-3 { border-color: var(--or); }
.seuil-number { font-size: 2.2rem; font-weight: 900; color: var(--bleu); display: block; margin-bottom: 8px; }
.seuil-label { font-size: 0.9rem; font-weight: 700; color: var(--bleu); display: block; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.seuil-card p { font-size: 0.9rem; color: var(--texte-sec); }
.seuils-infographic { max-width: 600px; margin: 32px auto 0; border-radius: 8px; }

/* =====================
   HOW SECTION
   ===================== */
.how-section { padding: 80px 0; background: white; }
.steps-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 40px 0; }
.step { flex: 1; min-width: 180px; text-align: center; background: var(--bleu-clair); border-radius: var(--radius); padding: 32px 20px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bleu); color: white; font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step-text { font-size: 1rem; font-weight: 700; color: var(--bleu); }
.step-arrow { font-size: 2rem; color: var(--or); font-weight: 700; flex-shrink: 0; }
.how-cta { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 600px) { .step-arrow { transform: rotate(90deg); } }

/* =====================
   PROOF SECTION
   ===================== */
.proof-section { padding: 80px 0; background: var(--gris-fond); }
.proof-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .proof-content { grid-template-columns: 1fr; } }
.proof-photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 420px; }

/* =====================
   REFERENDUM HEADER PAGE
   ===================== */
.ref-header { background: linear-gradient(160deg, #0f1e4a 0%, var(--bleu) 100%); color: white; padding: 72px 0; }
.ref-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(27,107,58,0.25); border: 1px solid rgba(27,107,58,0.5);
  color: #6ee7a0; padding: 6px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 700;
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.06em;
}
.ref-status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6ee7a0; animation: pulse 2s infinite; }
.ref-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 20px; color: white; }
.ref-question { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 700px; margin-bottom: 36px; line-height: 1.6; font-style: italic; }

/* Live results */
.live-results { background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 28px; margin-bottom: 32px; max-width: 600px; }
.results-bar-large { height: 12px; border-radius: 6px; background: rgba(255,255,255,0.15); overflow: hidden; display: flex; margin-bottom: 16px; }
.bar-oui-live { height: 100%; background: var(--vert-ok); }
.bar-non-live { height: 100%; background: var(--rouge-non); }
.results-detail { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.result-item { text-align: center; }
.result-pct { display: block; font-size: 2rem; font-weight: 900; }
.result-label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.result-abs { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.result-item.oui .result-pct { color: #6ee7a0; }
.result-item.non .result-pct { color: #f87171; }
.result-item.blanc .result-pct { color: rgba(255,255,255,0.7); }
.results-total-live { font-size: 0.9rem; color: rgba(255,255,255,0.6); text-align: center; }

/* =====================
   PORTEUR SECTION
   ===================== */
.porteur-section { padding: 60px 0; background: white; }
.porteur-card { display: flex; gap: 32px; align-items: flex-start; background: var(--bleu-clair); border-radius: var(--radius); padding: 32px; }
@media (max-width: 600px) { .porteur-card { flex-direction: column; } }
.porteur-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; border: 3px solid var(--bleu); }
.porteur-photo-placeholder { width: 100px; height: 100px; border-radius: 50%; background: var(--bleu); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--or); flex-shrink: 0; }
.porteur-info h3 { margin-bottom: 4px; }
.porteur-role { color: var(--texte-sec); font-size: 0.9rem; margin-bottom: 12px; font-weight: 600; }
.porteur-disclaimer { font-size: 0.8rem; color: var(--texte-sec); font-style: italic; margin-top: 12px; }

/* =====================
   ARGUMENTS SECTION
   ===================== */
.arguments-section { padding: 60px 0; }
.arguments-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .arguments-grid { grid-template-columns: 1fr; } }
.arg-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid; }
.oui-title { color: var(--vert-ok); border-color: var(--vert-ok); }
.non-title { color: var(--rouge-non); border-color: var(--rouge-non); }
.arg-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.arg-list li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--texte-sec); padding: 12px; background: var(--gris-fond); border-radius: 8px; }
.arguments-oui .arg-list li::before { content: '✓'; color: var(--vert-ok); font-weight: 700; flex-shrink: 0; }
.arguments-non .arg-list li::before { content: '✗'; color: var(--rouge-non); font-weight: 700; flex-shrink: 0; }

/* =====================
   APRES SECTION
   ===================== */
.apres-section { padding: 60px 0; background: var(--bleu-clair); }
.apres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
@media (max-width: 700px) { .apres-grid { grid-template-columns: 1fr; } }
.apres-oui, .apres-non { background: white; border-radius: var(--radius); padding: 28px; }
.apres-oui { border-top: 4px solid var(--vert-ok); }
.apres-non { border-top: 4px solid var(--rouge-non); }
.seuils-title { margin: 40px 0 20px; }
.seuils-mini { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.seuil-mini { padding: 14px 20px; border-radius: 8px; background: white; font-size: 0.95rem; }
.seuil-mini.seuil-1 { border-left: 4px solid var(--bleu-mid); }
.seuil-mini.seuil-2 { border-left: 4px solid var(--bleu); }
.seuil-mini.seuil-3 { border-left: 4px solid var(--or); }
.preuve-zfe { background: var(--bleu); color: white; border-radius: var(--radius); padding: 40px; margin-top: 40px; }
.preuve-zfe h3 { color: var(--or); margin-bottom: 16px; }
.preuve-zfe p { color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.preuve-photo { border-radius: 8px; margin-top: 20px; max-width: 100%; }

/* =====================
   BOUSSOLE
   ===================== */
.boussole-section { padding: 60px 0; background: white; }
.boussole-box { background: var(--bleu-clair); border-radius: var(--radius); padding: 40px; border-left: 5px solid var(--or); max-width: 800px; margin: 0 auto; }
.boussole-box h3 { margin-bottom: 16px; }

/* =====================
   FAQ ACCORDION
   ===================== */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: white; border-radius: 10px; border: 1px solid rgba(27,45,107,0.08); overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 1rem;
  color: var(--bleu); user-select: none; gap: 16px;
}
.faq-q:hover { background: var(--bleu-clair); }
.faq-icon { font-size: 1.2rem; transition: transform 0.22s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--texte-sec); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* =====================
   STEPS (how-to)
   ===================== */
.steps-list { display: flex; flex-direction: column; gap: 20px; max-width: 700px; margin: 32px 0; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--bleu); color: white; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.step-content h4 { font-weight: 700; color: var(--bleu); margin-bottom: 4px; }
.step-content p { color: var(--texte-sec); font-size: 0.95rem; }

/* =====================
   TEAM GRID (a-propos)
   ===================== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 40px; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: white; border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--shadow); }
.team-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; border: 3px solid var(--bleu-clair); }
.team-photo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--bleu-clair); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.team-info h3 { margin-bottom: 2px; font-size: 1.05rem; }
.team-role { font-size: 0.82rem; font-weight: 700; color: var(--or); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 10px; }
.team-bio { font-size: 0.88rem; color: var(--texte-sec); line-height: 1.6; }

/* =====================
   VERBATIMS
   ===================== */
.verbatims-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 700px) { .verbatims-grid { grid-template-columns: 1fr; } }
.verbatim-card { background: var(--bleu-clair); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--or); }
.verbatim-quote { font-size: 0.95rem; color: var(--texte); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.verbatim-author { font-weight: 700; color: var(--bleu); font-size: 0.9rem; }
.verbatim-role { font-size: 0.82rem; color: var(--texte-sec); }

/* =====================
   GLOSSAIRE
   ===================== */
.glossaire-list { max-width: 780px; margin: 0 auto; }
.glossaire-item { border-bottom: 1px solid rgba(27,45,107,0.1); padding: 20px 0; }
.glossaire-term { font-size: 1rem; font-weight: 700; color: var(--bleu); margin-bottom: 8px; }
.glossaire-def { font-size: 0.93rem; color: var(--texte-sec); line-height: 1.6; }

/* =====================
   TABLE
   ===================== */
.table-container { overflow-x: auto; margin: 32px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th { background: var(--bleu); color: white; padding: 14px 20px; text-align: left; font-weight: 700; }
td { padding: 14px 20px; border-bottom: 1px solid rgba(27,45,107,0.08); color: var(--texte-sec); }
tr:nth-child(even) td { background: var(--bleu-clair); }

/* =====================
   INFOGRAPHIE PLACEHOLDER
   ===================== */
.infographic-placeholder {
  background: var(--bleu-clair); border: 2px dashed var(--bleu-mid);
  border-radius: var(--radius); padding: 40px; text-align: center;
  color: var(--texte-sec); margin: 32px 0; font-size: 0.9rem;
}

/* =====================
   CONTEXT / PROOF SECTION
   ===================== */
.context-section { padding: 80px 0; background: var(--bleu-clair); }
.context-infographic, .arguments-infographic { max-width: 800px; margin: 32px auto 0; }

/* =====================
   CTA VOTE SECTION
   ===================== */
.cta-vote-section { padding: 80px 0; background: var(--bleu); color: white; text-align: center; }
.cta-vote-section h2 { color: var(--or); font-size: 2.5rem; margin-bottom: 8px; }
.link-how { display: block; text-align: center; color: rgba(255,255,255,0.7); font-weight: 600; margin-top: 16px; text-decoration: underline; font-size: 0.95rem; }
.link-how:hover { color: white; }

/* =====================
   DEBAT SECTION
   ===================== */
.debat-section { padding: 60px 0; background: var(--gris-fond); }
.twitter-feed-placeholder { background: white; border-radius: var(--radius); padding: 32px; text-align: center; border: 1px solid rgba(27,45,107,0.08); margin-top: 24px; }
.feed-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--texte-sec); margin-bottom: 16px; }

/* =====================
   VIDE DEMO SECTION
   ===================== */
.section-vide-demo { padding: 80px 0; background: white; }
.section-vide-demo h2 { max-width: 600px; margin-bottom: 40px; }

/* =====================
   DOWNLOAD PAGE
   ===================== */
.download-hero { background: linear-gradient(160deg, #0f1e4a 0%, var(--bleu) 100%); color: white; padding: 80px 0; text-align: center; }
.download-hero h1 { color: white; }
.app-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 32px 0; }
.app-btn { background: black; color: white; border-radius: 12px; padding: 14px 24px; display: flex; align-items: center; gap: 12px; font-weight: 600; transition: transform var(--transition); }
.app-btn:hover { transform: scale(1.03); }
.app-store-icon { font-size: 2rem; }
.app-btn-text small { display: block; font-size: 0.75rem; opacity: 0.7; }
.app-btn-text strong { font-size: 1.1rem; }
.config-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.config-list li { display: flex; gap: 10px; align-items: center; }
.config-list li::before { content: '✓'; color: var(--vert-ok); font-weight: 700; }

/* =====================
   CONTACT FORM
   ===================== */
.contact-form { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; font-size: 0.9rem; color: var(--bleu); }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px; border: 1.5px solid rgba(27,45,107,0.2);
  border-radius: 8px; font-family: inherit; font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--bleu);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* =====================
   FOOTER
   ===================== */
.site-footer { background: #0d1a3d; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.site-footer .container { display: grid; grid-template-columns: 220px 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 768px) { .site-footer .container { grid-template-columns: 1fr; } }
.footer-logo { width: 180px; height: auto; display: block; background: white; padding: 10px 14px; border-radius: 10px; }
.footer-brand .slogan { font-size: 1rem; font-weight: 700; color: var(--or); margin: 16px 0 20px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
  padding: 8px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.social-links a:hover { background: var(--or); color: var(--bleu); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 600px) { .footer-nav { grid-template-columns: repeat(2, 1fr); } }
.footer-col h4 { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.875rem; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--or); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 0.82rem; }

/* =====================
   UTILITIES
   ===================== */
.text-center { text-align: center; }
.text-gold { color: var(--or); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.highlight-box { background: var(--bleu); color: white; border-radius: var(--radius); padding: 36px; }
.highlight-box h3 { color: var(--or); }
.highlight-box p { color: rgba(255,255,255,0.85); }
.legal-content h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 0.93rem; color: var(--texte-sec); line-height: 1.8; }
.legal-content ul { padding-left: 20px; margin: 12px 0; }

/* =====================
   PLAN REFORM CARDS
   ===================== */
.reform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 32px 0; }
.reform-card { background: white; border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--bleu); box-shadow: var(--shadow); }
.reform-num { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--or); margin-bottom: 8px; }
.reform-card h4 { color: var(--bleu); font-size: 1.05rem; margin-bottom: 10px; }
.reform-card p { font-size: 0.9rem; color: var(--texte-sec); line-height: 1.6; }

/* =====================
   PAGE HERO (generic inner pages)
   ===================== */
.page-hero { background: linear-gradient(160deg, #0f1e4a 0%, var(--bleu) 100%); color: white; padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: white; margin-bottom: 16px; line-height: 1.1; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 680px; }
.page-tag { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--or); margin-bottom: 16px; }

/* =====================
   REGISTRE TABLE
   ===================== */
.registre-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 32px 0; }
@media (max-width: 700px) { .registre-info { grid-template-columns: 1fr; } }
.registre-card { background: white; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.registre-icon { font-size: 2.4rem; margin-bottom: 12px; }
.registre-card h4 { color: var(--bleu); margin-bottom: 8px; }
.registre-card p { font-size: 0.88rem; color: var(--texte-sec); }

/* =====================
   TECH DIAGRAM PLACEHOLDER
   ===================== */
.tech-diagram { background: var(--bleu-clair); border-radius: var(--radius); padding: 48px 24px; text-align: center; margin: 32px 0; }
.tech-diagram svg { max-width: 100%; }
