/* ============================================================
   Tajma𝟯t — Site vitrine
   Palette extraite du logo
   ============================================================ */

:root {
  --olive: #4F5C3F;
  --olive-dark: #2C3A1F;
  --olive-soft: #6E7C5B;
  --cream: #EFE5CC;
  --cream-light: #FAF5E9;
  --cream-paper: #F5EFE0;
  --terre: #8B4F2E;
  --terre-dark: #6A3A20;
  --ink: #1A1A17;
  --ink-soft: #4A4A45;
  --line: rgba(44, 58, 31, 0.12);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;
  --font-tri: 'Noto Sans', system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(44, 58, 31, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(44, 58, 31, 0.18);

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--terre); text-decoration: none; transition: color .15s; }
a:hover { color: var(--terre-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- HEADER ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 233, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand-logo {
  height: 52px; width: auto;
}
.nav-main {
  display: flex; align-items: center; gap: 28px;
}
.nav-main a {
  color: var(--olive-dark);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
}
.nav-main a:hover { color: var(--terre); }
.nav-cta {
  background: var(--olive-dark);
  color: var(--cream-light) !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--terre); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--olive-dark);
  margin: 5px 0; transition: transform .2s;
}

/* ----- HERO MONUMENTAL --------------------------------------- */
.hero {
  position: relative;
  height: 78vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background:
    radial-gradient(ellipse at top right, rgba(139, 79, 46, .08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(79, 92, 63, .10), transparent 55%),
    var(--cream-light);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: .25;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
  padding: 0 24px;
}
/* ----- HERO MARK : 3 points qui se relient ------------------ */
.hero-mark {
  margin: 0 auto clamp(20px, 4vh, 48px);
  color: var(--terre);
  position: relative;
  z-index: 1;
  line-height: 0;
}
.hero-mark svg {
  overflow: visible;
}
.mark-line {
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  opacity: 0;
}
.hero-mark.hero-in .mark-line {
  animation: markLineDraw 1.4s cubic-bezier(.55,.05,.25,1) 0.5s forwards;
}
.mark-dot {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
.hero-mark.hero-in .mark-dot-1 { animation: markDotIn .4s cubic-bezier(.2,.7,.3,1) 0.05s forwards, markDotPulse 3.6s ease-in-out 2s infinite; }
.hero-mark.hero-in .mark-dot-2 { animation: markDotIn .4s cubic-bezier(.2,.7,.3,1) 0.95s forwards, markDotPulse 3.6s ease-in-out 2.4s infinite; }
.hero-mark.hero-in .mark-dot-3 { animation: markDotIn .4s cubic-bezier(.2,.7,.3,1) 1.85s forwards, markDotPulse 3.6s ease-in-out 2.8s infinite; }
@keyframes markLineDraw {
  0% { stroke-dashoffset: 132; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes markDotIn {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes markDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--olive-dark);
  margin: 0 0 clamp(20px, 4vh, 48px);
}
.hero-stats {
  list-style: none;
  padding: 24px 32px;
  margin: 0 auto 36px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  background: rgba(239, 229, 204, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hs-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--olive-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hs-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}
@media (max-width: 600px) {
  .hero-stats { gap: 24px; padding: 18px 22px; }
  .hs-num { font-size: 26px; }
}
.hero-trilingue {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-tri);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--olive);
  margin: 0 0 clamp(20px, 4vh, 48px);
  letter-spacing: -.01em;
}
.tri-sep {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--terre);
  border-radius: 50%;
  vertical-align: middle;
  opacity: .8;
}
.hero-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto clamp(20px, 4vh, 48px);
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta.center { justify-content: center; margin-top: 40px; }

/* ----- HERO STRIP (bandeau bas : countdown + devise) -------- */
.hero-strip {
  position: relative;
  margin-top: auto;
  padding: 14px 0;
  background: rgba(44, 58, 31, 0.04);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-height: 720px) {
  .hero { padding-top: 84px; }
  .hero-mark { margin-bottom: 16px; }
  .hero-title { margin-bottom: 20px; }
  .hero-trilingue { margin-bottom: 20px; }
  .hero-lede { margin-bottom: 22px; }
  .btn { padding: 12px 22px; font-size: 14px; }
}
.hero-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-devise {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--olive-soft);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn-primary {
  background: var(--olive-dark);
  color: var(--cream-light);
}
.btn-primary:hover {
  background: var(--terre);
  color: var(--cream-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--olive-dark);
  border-color: var(--olive-dark);
}
.btn-ghost:hover {
  background: var(--olive-dark);
  color: var(--cream-light);
}

/* ----- SECTIONS ---------------------------------------------- */
.section {
  padding: 110px 0;
}
.section-light { background: var(--cream-light); }
.section-cream { background: var(--cream-paper); }
.section-dark {
  background: var(--olive-dark);
  color: var(--cream-light);
}

.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terre);
  margin: 0 0 16px;
}
.kicker-light { color: #C9B98E; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--olive-dark);
  margin: 0 0 24px;
  max-width: 800px;
}
.section-title-light { color: var(--cream-light); }

.section-lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 0 56px;
}
.section-dark .section-lede { color: #D8D0B8; }

/* ----- VISION (#mouvement) — manifeste monumental ----------- */
.section-vision { padding: clamp(80px, 12vh, 140px) 0; }

.vision-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(60px, 10vh, 110px);
}
.vision-intro .kicker { margin-bottom: 24px; }
.vision-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--olive-dark);
  margin: 0 0 32px;
}
.vision-title-accent {
  color: var(--terre);
  font-style: italic;
  font-weight: 500;
}
.vision-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  margin: 0 auto;
  line-height: 1.6;
  max-width: 720px;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vp-item {
  padding: 56px 36px;
  position: relative;
  border-right: 1px solid var(--line);
  transition: background .25s ease;
}
.vp-item:last-child { border-right: 0; }
.vp-item:hover { background: rgba(239, 229, 204, 0.4); }
.vp-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--terre);
  font-weight: 600;
  display: block;
  margin-bottom: 24px;
}
.vp-verb {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700;
  color: var(--olive-dark);
  margin: 0 0 18px;
  letter-spacing: -.03em;
  line-height: 1;
}
.vp-text {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
  max-width: 300px;
}

.vision-values {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.vv-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  margin-right: 8px;
}
.vv-tag {
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--olive-dark);
  background: rgba(239, 229, 204, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: .02em;
}

@media (max-width: 800px) {
  .vision-pillars { grid-template-columns: 1fr; }
  .vp-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
  }
  .vp-item:last-child { border-bottom: 0; }
  .vision-values { margin-top: 32px; }
}

/* ----- PROGRAMME (cards) ------------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 32px 28px 30px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 58, 31, 0.25);
}
.card-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--terre);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--olive-dark);
  margin: 0 0 12px;
  line-height: 1.25;
}
.card p {
  color: var(--ink-soft);
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.6;
}
.card-accent {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}
.card-accent .card-num { color: #C9B98E; }
.card-accent h3 { color: var(--cream-light); }
.card-accent p { color: #D8D0B8; }
.card-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--cream-light);
  letter-spacing: .03em;
}
.card-link:hover { color: var(--cream); }

/* ----- DÉPUTÉ ------------------------------------------------ */
.depute-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.depute-text p {
  font-size: 18px;
  color: #D8D0B8;
  margin: 0 0 18px;
}
.depute-text strong { color: var(--cream-light); }
.depute-quote {
  margin-top: 28px !important;
  padding: 20px 24px;
  border-left: 3px solid var(--terre);
  font-family: var(--font-display);
  font-size: 19px !important;
  font-style: italic;
  color: var(--cream-light) !important;
  background: rgba(0,0,0,0.12);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.depute-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.depute-list li {
  padding: 22px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
}
.depute-list h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--cream-light);
}
.depute-list p {
  margin: 0;
  color: #C9C2A8;
  font-size: 15.5px;
}

/* ----- LÉGISLATIVES (countdown) ----------------------------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 20px 0 48px;
}
.cd-unit {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 12px 20px;
  text-align: center;
}
.cd-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  color: var(--olive-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
}
.legi-text {
  max-width: 760px;
  font-size: 18px;
  color: var(--ink-soft);
}

/* ----- CONTACT ----------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 6px;
}
.contact-form span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--olive-dark);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream-light);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--olive-dark);
  box-shadow: 0 0 0 4px rgba(44, 58, 31, 0.08);
}
.contact-form .btn { justify-self: start; }
.contact-form button[disabled] {
  opacity: .6;
  cursor: wait;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-status {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--olive-dark);
  min-height: 1.4em;
}
.form-status--pending { color: var(--olive); }
.form-status--success {
  color: var(--olive-dark);
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(79, 92, 63, 0.08);
  border-left: 3px solid var(--olive);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-status--error {
  color: var(--terre-dark);
  font-weight: 500;
  padding: 12px 16px;
  background: rgba(139, 79, 46, 0.08);
  border-left: 3px solid var(--terre);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--olive-dark);
  margin: 0 0 6px;
}
.contact-info p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ----- Page 404 -------------------------------------------- */
.error-hero { text-align: center; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 168px);
  font-weight: 700;
  color: var(--terre);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  font-variant-numeric: tabular-nums;
}

/* ----- ACTUALITÉS — grille communiqués --------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.news-card {
  padding: 32px 28px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 58, 31, 0.25);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .08em;
}
.news-meta time {
  color: var(--olive);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.news-tag {
  padding: 4px 10px;
  background: rgba(139, 79, 46, 0.10);
  color: var(--terre);
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--olive-dark);
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.news-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}
.news-cta-line {
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--olive);
  margin: 8px 0 0;
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ----- Bloc siège (carte Google Maps) ---------------------- */
.siege-block {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-light);
  box-shadow: var(--shadow-sm);
}
.siege-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.siege-info .kicker { margin-bottom: 14px; }
.siege-info h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--olive-dark);
  margin: 0 0 10px;
  letter-spacing: -.015em;
}
.siege-coord {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--olive);
  margin: 0 0 18px;
}
.siege-desc {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}
.siege-btn { align-self: flex-start; }
.siege-map {
  min-height: 320px;
  position: relative;
  background: var(--cream-paper);
}
.siege-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(.85) contrast(.95);
}
@media (max-width: 880px) {
  .siege-block { grid-template-columns: 1fr; }
  .siege-info { padding: 28px 24px; }
  .siege-map { min-height: 280px; }
}

/* ----- FOOTER ------------------------------------------------ */
.site-footer {
  background: var(--olive-dark);
  color: #C9C2A8;
  padding: 72px 0 32px;
}
.footer-inner {
  display: grid;
  gap: 32px;
}
.footer-brand {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 64px; width: auto;
  border-radius: var(--radius);
}
.footer-devise {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #C9B98E;
}
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.footer-nav a {
  color: #C9C2A8;
  font-size: 15px;
}
.footer-nav a:hover { color: var(--cream-light); }
.footer-trilingue {
  margin: 0;
  font-family: var(--font-tri);
  font-size: 16px;
  display: flex; flex-wrap: wrap; gap: 12px;
  color: #C9B98E;
}
.footer-trilingue .dash { opacity: .6; }
.footer-meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: #9A9277;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

/* ----- RESPONSIVE ------------------------------------------- */
@media (max-width: 900px) {
  .prose-grid,
  .depute-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section { padding: 80px 0; }
  .hero { padding: 90px 0 70px; }
}
@media (max-width: 720px) {
  .nav-main {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--cream-light);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-main.open { transform: translateY(0); }
  .nav-main a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-main a:last-child { border-bottom: 0; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }
  .nav-toggle { display: block; }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-trilingue { gap: 10px; padding: 10px 18px; }
}

/* ============================================================
   WOW EFFECTS — Hero animé · Citation · Storytelling · Reveals
   ============================================================ */

/* ----- Header rétractable au scroll ------------------------- */
.site-header {
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .2s, box-shadow .2s;
}
.site-header.hidden { transform: translateY(-100%); }

/* ----- Hero : fond animé + reveal séquentiel ---------------- */
.hero { isolation: isolate; }
.hero-bg {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 25% 30%, rgba(139, 79, 46, .14), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(79, 92, 63, .16), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(201, 185, 142, .08), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: heroBgFloat 18s ease-in-out infinite alternate;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
@media (max-width: 720px) {
  .hero-canvas { opacity: 0.6; }
}

/* ----- Carte Algérie en filigrane derrière la constellation -- */
.hero-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  padding: 4vh 6vw;
}
.hero-map svg {
  width: 100%;
  height: 100%;
  max-width: 760px;
  max-height: 78%;
  color: var(--olive-dark);
  opacity: 0.16;
}
.hero-map svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 4800;
  stroke-dashoffset: 4800;
  animation: heroMapDraw 3.2s cubic-bezier(.55,.05,.25,1) 0.5s forwards;
}
@keyframes heroMapDraw {
  to { stroke-dashoffset: 0; }
}
@media (max-width: 720px) {
  .hero-map svg { opacity: 0.12; max-height: 65%; }
}
@keyframes heroBgFloat {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, 1.5%); }
}
.hero-inner { z-index: 1; }

.hero-title .word {
  display: inline-block;
  margin-right: .22em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
.hero-trilingue .tri-glyph {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s cubic-bezier(.2,.7,.3,1), transform .55s cubic-bezier(.2,.7,.3,1);
}
.hero [data-delay]:not(.tri-glyph):not(.word) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.hero-title .word.hero-in,
.hero-trilingue .tri-glyph.hero-in,
.hero [data-delay]:not(.tri-glyph):not(.word).hero-in {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Hero countdown (dans le bandeau bas) ----------------- */
.hero-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
}
.hcd-label {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}
.hcd-num {
  font-size: 20px;
  color: var(--olive-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hcd-suffix {
  font-size: 13px;
  color: var(--olive);
  letter-spacing: .05em;
}
.hcd-sep { color: var(--olive-soft); opacity: .5; padding: 0 4px; }
.hcd-date {
  font-size: 13px;
  color: var(--olive);
  letter-spacing: .03em;
}
@media (max-width: 600px) {
  .hero-strip-inner { justify-content: center; text-align: center; }
  .hero-devise { width: 100%; }
}

/* ----- Reveal au scroll ------------------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Section CITATION pleine page ------------------------- */
.quote-section {
  position: relative;
  padding: 140px 0;
  background: var(--olive-dark);
  color: var(--cream-light);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.quote-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 50%, rgba(201, 185, 142, .14), transparent 45%),
    radial-gradient(circle at 75% 50%, rgba(139, 79, 46, .20), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.quote-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

/* Marqueur SVG animé (3 points reliés) */
.quote-mark-svg {
  color: var(--terre);
  margin: 0 auto 40px;
  line-height: 0;
}
.quote-mark-svg svg { overflow: visible; }
.quote-mark-svg .qmark-line {
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  opacity: 0;
}
.quote-mark-svg.in-view .qmark-line {
  animation: markLineDraw 1.4s cubic-bezier(.55,.05,.25,1) 0.4s forwards;
}
.quote-mark-svg .qmark-dot {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
.quote-mark-svg.in-view .qmark-dot-1 { animation: markDotIn .4s cubic-bezier(.2,.7,.3,1) 0s forwards, markDotPulse 3.6s ease-in-out 2s infinite; }
.quote-mark-svg.in-view .qmark-dot-2 { animation: markDotIn .4s cubic-bezier(.2,.7,.3,1) 0.85s forwards, markDotPulse 3.6s ease-in-out 2.4s infinite; }
.quote-mark-svg.in-view .qmark-dot-3 { animation: markDotIn .4s cubic-bezier(.2,.7,.3,1) 1.7s forwards, markDotPulse 3.6s ease-in-out 2.8s infinite; }

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.8vw, 64px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--cream-light);
  margin: 0 0 28px;
}
.quote-text .quo {
  color: var(--terre);
  font-weight: 500;
  opacity: .85;
  margin: 0 4px;
}
.quote-text .quote-accent {
  font-style: italic;
  color: var(--terre);
  font-weight: 700;
}
.quote-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  color: #C9B98E;
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: .02em;
}

/* ----- Programme : storytelling sticky --------------------- */
.section-storytelling {
  padding: 110px 0 100px;
  background: var(--cream-paper);
  position: relative;
}
.story-header { margin-bottom: 60px; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.story-sticky {
  position: sticky;
  top: 110px;
}
.story-stage {
  padding: 36px 32px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.story-stage-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 80px);
  font-weight: 700;
  color: var(--terre);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.story-stage-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--olive-dark);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 16px 0 24px;
  min-height: 2.2em;
}
.story-stage-num.stage-anim,
.story-stage-title.stage-anim {
  animation: stageIn .5s cubic-bezier(.2,.7,.3,1);
}
@keyframes stageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.story-progress {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.story-progress-bar {
  display: block;
  height: 100%;
  width: 12.5%;
  background: var(--olive-dark);
  border-radius: 999px;
  transition: width .5s cubic-bezier(.2,.7,.3,1);
}
.story-stage-count {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive);
}
.story-chapters {
  display: grid;
  gap: 80px;
}
.story-chapter {
  min-height: 55vh;
  padding: 24px 0;
  opacity: .55;
  transition: opacity .4s ease;
}
.story-chapter:hover { opacity: 1; }
.story-chapter .ch-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--terre);
  font-weight: 600;
}
.story-chapter h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--olive-dark);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 10px 0 18px;
}
.story-chapter p {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.7;
  max-width: 560px;
}
.ch-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--terre);
}
.ch-link:hover { color: var(--terre-dark); }

/* ----- Hover sur les CTAs : amplifié ------------------------ */
.btn-primary:hover {
  box-shadow: 0 8px 20px -8px rgba(139, 79, 46, 0.5);
}

/* ----- Responsive additions -------------------------------- */
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-sticky {
    position: relative;
    top: 0;
  }
  .story-stage { padding: 24px; }
  .story-stage-title { min-height: 0; }
  .story-chapter {
    min-height: 0;
    padding: 12px 0;
    opacity: 1;
  }
  .story-chapters { gap: 40px; }
  .quote-section { padding: 90px 0; }
}
@media (max-width: 720px) {
  .hero-countdown { flex-wrap: wrap; justify-content: center; }
}

/* ----- SÉLECTEUR DE LANGUE (à l'intérieur du nav-main) ------ */
.lang-switch {
  display: inline-flex !important;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  color: var(--olive-dark) !important;
  border: 1px solid var(--line) !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  background: transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.lang-switch:hover {
  background: var(--olive-dark) !important;
  color: var(--cream-light) !important;
  border-color: var(--olive-dark) !important;
}

/* Sur mobile : centré dans le menu déroulant, plus visible */
@media (max-width: 960px) {
  .nav-main .lang-switch {
    align-self: center;
    margin: 14px auto 4px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
  }
}

/* ----- VERSION ARABE — police + ajustements RTL ------------ */
html[lang="ar"] {
  font-family: 'Cairo', 'Noto Sans Arabic', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
html[lang="ar"] .hero-title,
html[lang="ar"] .vision-title,
html[lang="ar"] .section-title,
html[lang="ar"] .vp-verb,
html[lang="ar"] .quote-text,
html[lang="ar"] .story-chapter h3,
html[lang="ar"] .story-stage-title,
html[lang="ar"] .news-card h3,
html[lang="ar"] .siege-info h3,
html[lang="ar"] .depute-list h4,
html[lang="ar"] .pillar h3,
html[lang="ar"] .card h3 {
  font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
  letter-spacing: 0;
}
html[lang="ar"] .hero-title { font-weight: 800; line-height: 1.15; }
html[lang="ar"] .vision-title { font-weight: 700; line-height: 1.25; }
html[lang="ar"] .vp-verb { font-weight: 800; line-height: 1.2; }
html[lang="ar"] .quote-text { font-weight: 700; line-height: 1.3; }
html[lang="ar"] .section-title { font-weight: 700; line-height: 1.25; }

html[lang="ar"] .kicker,
html[lang="ar"] .vv-label,
html[lang="ar"] .vp-num,
html[lang="ar"] .ch-num,
html[lang="ar"] .story-stage-count,
html[lang="ar"] .cd-label,
html[lang="ar"] .hcd-label,
html[lang="ar"] .hcd-suffix,
html[lang="ar"] .footer-devise {
  letter-spacing: .12em;
  font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
}
html[lang="ar"] .vp-num,
html[lang="ar"] .ch-num,
html[lang="ar"] .story-stage-num,
html[lang="ar"] .hs-num,
html[lang="ar"] .ab-num,
html[lang="ar"] .cd-num {
  font-family: 'Space Grotesk', sans-serif; /* chiffres en latin pour lisibilité */
}

/* Conserver la latinité dans le triptyque */
html[lang="ar"] .tri-glyph[lang="zgh"],
html[lang="ar"] .tri-glyph[lang="fr"],
html[lang="ar"] .tri-glyph:not([lang]) {
  font-family: 'Noto Sans', system-ui, sans-serif;
}

/* RTL : alignement texte logique */
[dir="rtl"] .vp-text,
[dir="rtl"] .story-chapter p,
[dir="rtl"] .news-card p,
[dir="rtl"] .siege-desc,
[dir="rtl"] .depute-text p,
[dir="rtl"] .hero-lede,
[dir="rtl"] .legi-text {
  text-align: start;
}
[dir="rtl"] .story-stage-title { text-align: start; }
[dir="rtl"] .depute-quote {
  border-left: 0;
  border-right: 3px solid var(--terre);
  border-radius: var(--radius) 0 0 var(--radius);
}
[dir="rtl"] .form-status--success,
[dir="rtl"] .form-status--error {
  border-left: 0;
  border-right: 3px solid var(--olive);
  border-radius: var(--radius) 0 0 var(--radius);
}
[dir="rtl"] .form-status--error { border-right-color: var(--terre); }
[dir="rtl"] .siege-info { text-align: start; }
[dir="rtl"] .ch-link::after { content: ""; }
[dir="rtl"] .siege-btn { align-self: flex-end; }
[dir="rtl"] .contact-form .btn { justify-self: end; }

/* Barre d'action : sur RTL, le bouton passe à gauche, le compteur à droite */
[dir="rtl"] .action-bar-inner { direction: rtl; }

/* Cookie banner : boutons logiques */
[dir="rtl"] .cookie-actions { justify-content: flex-start; }

/* ----- COOKIE BANNER (consentement RGPD) -------------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  margin: 0 auto;
  z-index: 60;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px -12px rgba(44, 58, 31, 0.28);
  padding: 18px 20px 16px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), opacity .35s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-inner { display: flex; flex-direction: column; gap: 14px; }
.cookie-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.cookie-text strong { color: var(--olive-dark); }
.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 9px 18px;
  font-size: 13px;
}
.cookie-btn-ghost {
  background: transparent;
  color: var(--olive-dark);
  border: 1.5px solid var(--line);
}
.cookie-btn-ghost:hover {
  background: rgba(44, 58, 31, 0.06);
  border-color: var(--olive-dark);
}
.cookie-btn-accept {
  background: var(--olive-dark);
  color: var(--cream-light);
}
.cookie-btn-accept:hover {
  background: var(--terre);
}
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-actions .btn { flex: 1; }
}
/* Pendant la demande de consentement, on cache l'action-bar */
body.pending-consent .action-bar {
  transform: translateY(110%) !important;
}

/* ----- ACTION BAR (sticky bottom CTA) ----------------------- */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--olive-dark);
  color: var(--cream-light);
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.action-bar.visible { transform: translateY(0); }
.action-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  flex-wrap: wrap;
}
.ab-countdown {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
}
.ab-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--cream-light);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ab-label {
  font-size: 13px;
  color: #D8D0B8;
  letter-spacing: .03em;
}
.ab-cta {
  white-space: nowrap;
  background: var(--terre);
  color: var(--cream-light);
  padding: 12px 22px;
  font-size: 14px;
}
.ab-cta:hover {
  background: var(--terre-dark);
  color: var(--cream-light);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .action-bar-inner { gap: 10px; padding: 10px 16px; }
  .ab-num { font-size: 22px; }
  .ab-label { font-size: 11px; }
  .ab-cta { padding: 10px 16px; font-size: 13px; }
}

/* ============================================================
   RESPONSIVE — passe complète mobile / tablette
   ============================================================ */

/* ≤ 960px : burger menu (la nav devient trop chargée avant) */
@media (max-width: 960px) {
  .nav-main {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--cream-light);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
    z-index: 49;
  }
  .nav-main.open { transform: translateY(0); }
  .nav-main a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-main a:last-child { border-bottom: 0; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }
  .nav-toggle { display: block; }
}

/* ≤ 880px : section vision en 1 colonne, story en mode bandeau sticky */
@media (max-width: 880px) {
  .vision-pillars { grid-template-columns: 1fr; }
  .vp-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
  }
  .vp-item:last-child { border-bottom: 0; }
  .vp-text { max-width: none; }

  /* Storytelling : bandeau sticky compact + chapitres empilés */
  .story-grid { grid-template-columns: 1fr; gap: 20px; }
  .story-sticky {
    position: sticky;
    top: 64px;
    z-index: 5;
    margin: 0 -20px;
  }
  .story-stage {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--olive-dark);
    color: var(--cream-light);
    border: 0;
    border-radius: 0;
    box-shadow: 0 6px 18px -8px rgba(0,0,0,0.25);
  }
  .story-stage-num {
    font-size: 22px;
    color: var(--terre);
    margin: 0;
    flex-shrink: 0;
    line-height: 1;
  }
  .story-stage-title {
    font-size: 14px;
    margin: 0;
    flex: 1;
    color: var(--cream-light);
    line-height: 1.25;
    min-height: 0;
    letter-spacing: -.005em;
    text-align: left;
  }
  .story-progress {
    flex: 0 0 56px;
    margin: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
  }
  .story-progress-bar { background: var(--terre); }
  .story-stage-count { display: none; }

  .story-chapter {
    min-height: 0;
    padding: 8px 0 4px;
    opacity: 1;
    scroll-margin-top: 130px;
  }
  .story-chapter p {
    font-size: 17px;
    line-height: 1.65;
    max-width: none;
  }
  .story-chapter:first-child { padding-top: 24px; }
  .story-chapters { gap: 56px; }

  .depute-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ≤ 720px : ajustements mobiles */
@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Hero compact */
  .hero { height: auto; min-height: 90vh; padding: 100px 0 60px; }
  .hero-mark svg { width: 120px; height: auto; }
  .hero-title { font-size: clamp(36px, 11vw, 64px); }
  .hero-trilingue { font-size: clamp(16px, 4.5vw, 22px); gap: 10px; }
  .hero-lede { font-size: 16px; }
  .hero-cta { flex-direction: column; gap: 12px; width: 100%; }
  .hero-cta .btn { width: 100%; }

  /* Sections : padding réduit */
  .section, .section-vision, .section-storytelling { padding: 64px 0; }
  .vision-intro { margin-bottom: 48px; }
  .vision-title { font-size: clamp(28px, 7vw, 40px); }
  .vp-verb { font-size: clamp(32px, 8vw, 46px); }

  /* Quote */
  .quote-section { padding: 72px 0; }
  .quote-text { font-size: clamp(26px, 7vw, 38px); }

  /* Story chapters */
  .story-stage { padding: 20px 22px; }
  .story-stage-num { font-size: 44px; }
  .story-stage-title { font-size: 20px; min-height: 0; margin: 10px 0 16px; }
  .story-chapter h3 { font-size: 24px; }
  .story-chapter p { font-size: 16px; }

  /* Député */
  .depute-text p { font-size: 16px; }
  .depute-quote { font-size: 17px !important; padding: 16px 18px; }

  /* Countdown 2x2 */
  .countdown { grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: none; }
  .cd-unit { padding: 18px 8px 14px; }

  /* Forms : 16px pour bloquer le zoom iOS */
  .contact-form input,
  .contact-form textarea { font-size: 16px; }

  /* Action bar compacte */
  .action-bar-inner { gap: 8px; padding: 10px 16px; }
  .ab-num { font-size: 20px; }
  .ab-label { font-size: 11px; }
  .ab-cta { padding: 10px 14px; font-size: 13px; }

  /* Footer */
  .footer-inner { gap: 24px; }
  .footer-nav { gap: 16px 20px; }
  .footer-nav a { font-size: 14px; }

  /* Header */
  .brand-logo { height: 42px; }

  /* Trilingue compact */
  .hero-trilingue { padding: 8px 16px; }
}

/* ≤ 480px : très petits écrans */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { height: 64px; }
  .brand-logo { height: 38px; }
  .nav-main { inset: 64px 0 auto 0; }

  .hero { padding: 84px 0 48px; }
  .hero-title { font-size: clamp(32px, 10vw, 52px); letter-spacing: -.03em; }
  .hero-mark svg { width: 100px; }

  .section, .section-vision, .section-storytelling { padding: 56px 0; }
  .section-title, .vision-title { font-size: clamp(26px, 7.5vw, 36px); }

  .vv-tag { padding: 6px 14px; font-size: 12px; }

  .quote-section { padding: 64px 0; }
  .quote-mark-svg svg { width: 100px; }
  .quote-sub { font-size: 14px; }

  .countdown { grid-template-columns: repeat(2, 1fr); }

  .action-bar-inner { padding: 8px 14px; gap: 8px; }
  .ab-countdown { gap: 6px; }
  .ab-label { font-size: 10px; max-width: 140px; line-height: 1.3; }
}

/* ≤ 360px : ultra compact */
@media (max-width: 360px) {
  .hero-title { font-size: 30px; }
  .hero-trilingue { font-size: 15px; gap: 8px; }
  .ab-cta { padding: 8px 12px; font-size: 12px; }
}

/* ============================================================
   RESPONSIVE MOBILE — Engagements (storytelling) renforcé
   ============================================================ */

/* ≤ 880px : améliorations storytelling toutes langues */
@media (max-width: 880px) {
  /* Le bandeau sticky doit rester très lisible */
  .story-stage {
    padding: 12px 16px;
    min-height: 56px;
  }
  .story-stage-num {
    font-size: 20px;
    min-width: 30px;
    text-align: center;
  }
  .story-stage-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
  }
  .story-progress {
    flex: 0 0 48px;
    height: 3px;
  }

  /* Chapitres : titre bien visible, espacement aéré */
  .story-chapter {
    padding: 12px 0 8px;
    scroll-margin-top: 130px;
  }
  .story-chapter .ch-num {
    font-size: 12px;
    letter-spacing: .22em;
    margin-bottom: 6px;
    display: inline-block;
  }
  .story-chapter h3 {
    font-size: 22px;
    line-height: 1.3;
    margin: 4px 0 14px;
  }
  .story-chapter p {
    font-size: 16px;
    line-height: 1.7;
  }
  .story-chapters { gap: 48px; }
}

/* ≤ 720px : encore plus compact, focus engagements */
@media (max-width: 720px) {
  .story-stage {
    padding: 10px 14px;
    gap: 12px;
    min-height: 50px;
  }
  .story-stage-num {
    font-size: 18px;
    min-width: 26px;
  }
  .story-stage-title {
    font-size: 13px;
    line-height: 1.25;
  }
  .story-progress { flex: 0 0 40px; }
  .story-chapter h3 { font-size: 20px; }
  .story-chapter p { font-size: 15.5px; line-height: 1.7; }
  .story-chapters { gap: 40px; }
}

/* === Spécifique ARABE — typographie mobile === */
@media (max-width: 880px) {
  html[lang="ar"] .hero-title {
    font-size: clamp(30px, 10vw, 56px);
    line-height: 1.25;
    letter-spacing: 0;
  }
  html[lang="ar"] .hero-trilingue {
    font-size: clamp(15px, 4.2vw, 22px);
    gap: 10px;
  }
  html[lang="ar"] .hero-lede { font-size: 16px; line-height: 1.7; }
  html[lang="ar"] .vision-title { font-size: clamp(24px, 6.8vw, 36px); line-height: 1.3; }
  html[lang="ar"] .vp-verb { font-size: clamp(28px, 7.5vw, 40px); line-height: 1.25; }
  html[lang="ar"] .quote-text { font-size: clamp(22px, 6vw, 34px); line-height: 1.35; }
  html[lang="ar"] .section-title { font-size: clamp(24px, 6.5vw, 34px); line-height: 1.3; }
  html[lang="ar"] .vp-text {
    font-size: 16px;
    line-height: 1.75;
  }
  html[lang="ar"] .vv-tag { font-size: 13px; padding: 8px 16px; }
  html[lang="ar"] .story-stage-title { font-size: 14px; line-height: 1.35; }
  html[lang="ar"] .story-chapter h3 { font-size: 21px; line-height: 1.4; }
  html[lang="ar"] .story-chapter p { font-size: 16px; line-height: 1.85; }
  html[lang="ar"] .depute-text p { font-size: 16px; line-height: 1.8; }
  html[lang="ar"] .depute-quote { font-size: 17px !important; line-height: 1.5; }
  html[lang="ar"] .legi-text { font-size: 16px; line-height: 1.8; }
  html[lang="ar"] .ab-label { font-size: 11px; line-height: 1.4; max-width: 180px; }
  html[lang="ar"] .ab-num { font-size: 22px; }
  html[lang="ar"] .siege-info h3 { font-size: 22px; line-height: 1.4; }
  html[lang="ar"] .form-status { font-size: 13.5px; line-height: 1.6; }
}

/* === Très petits écrans (≤ 480px) — arabe === */
@media (max-width: 480px) {
  html[lang="ar"] .hero-title { font-size: clamp(26px, 9vw, 44px); }
  html[lang="ar"] .vision-title { font-size: clamp(22px, 7vw, 30px); }
  html[lang="ar"] .vp-verb { font-size: clamp(26px, 8vw, 34px); }
  html[lang="ar"] .quote-text { font-size: clamp(20px, 6.5vw, 28px); }
  html[lang="ar"] .section-title { font-size: clamp(22px, 7vw, 30px); }
  html[lang="ar"] .story-stage-title { font-size: 13px; }
  html[lang="ar"] .ab-label { font-size: 10.5px; max-width: 140px; }
}

/* RTL : flèches du programme inversées visuellement */
[dir="rtl"] .ch-link { unicode-bidi: plaintext; }

/* ----- Accessibilité : prefers-reduced-motion --------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .hero-title .word,
  .hero-trilingue .tri-glyph,
  .hero [data-delay] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-bg,
  .story-stage-num,
  .story-stage-title { animation: none !important; }
  html { scroll-behavior: auto; }
}
