/* ============================================================
   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: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 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: 1100px;
  text-align: center;
  margin: 0 auto;
  padding: 0 24px 24px;
}
/* ----- HERO MARK : 3 points qui se relient ------------------ */
.hero-mark {
  margin: 0 auto 24px;
  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(40px, 7.5vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--olive-dark);
  margin: 0 0 28px;
}
.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(18px, 2.5vw, 28px);
  font-weight: 500;
  color: var(--olive);
  margin: 0 0 32px;
  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(15px, 1.4vw, 18px);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 28px;
  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) ----------------------------------- */
.prose-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.prose p {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.prose p:first-child {
  font-size: 20px;
  color: var(--olive-dark);
  font-weight: 500;
}
.pillars {
  display: grid;
  gap: 16px;
}
.pillar {
  padding: 24px;
  background: var(--cream-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--terre);
  font-weight: 600;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--olive-dark);
  margin: 6px 0 6px;
}
.pillar p { margin: 0; color: var(--ink-soft); }

/* ----- 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; }
.form-status {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--olive-dark);
}
.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;
}

/* ----- 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.65;
}
@media (max-width: 720px) {
  .hero-canvas { opacity: 0.45; }
}
@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; }
.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  color: var(--terre);
  line-height: 0.7;
  margin: 0 0 16px;
  opacity: .9;
}
.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-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; }
}

/* ----- 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; }
}

/* ----- 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; }
}
