/* =============================================================
   Home — styles spécifiques à la page d'accueil.
   ----------------------------------------------------------------
   Les composants partagés (.cta-card, .quote-card, .page-hero,
   .editorial, .manifesto, .bridge, .factbox) sont dans site.css.
   Ce fichier ne contient que les sections propres à la home :
   le grand hero, les stats, les thématiques, les projets et le
   processus.
   ============================================================= */

/* =========================================================
   HERO — éditorial, fond crème, alignement à gauche
   ----------------------------------------------------------
   Spécifique à la home : taille display monumentale (jusqu'à
   104 px) et cercles ocre décoratifs. Les autres pages utilisent
   .page-hero (cf. site.css §6.1).
   ========================================================= */
.hero {
  background: var(--marine);
  color: var(--marine);
  padding: clamp(96px, 12vw, 168px) 0 clamp(80px, 11vw, 144px);
  position: relative; overflow: hidden;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  justify-items: start; text-align: left;
}
.hero-inner { max-width: 880px; margin-left: 0; }

.hero .eyebrow { color: color-mix(in srgb, var(--marine) 60%, transparent); }

.btn-hero-home {
  background-color: var(--ocher);
  height: 60px;
}
.btn-secondary-hero-home {
  border: 0.01em solid var(--paper);
  color: var(--sand);
}
.btn-secondary-hero-home:hover {
  background-color: #142540;
  
  
}

.eyebrow_white {
  color: #fdfaf3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(72px, 104px);
  line-height: 1.02; letter-spacing: -0.022em;
  color: #fdfaf3;
  max-width: 14ch; margin: 28px 0 32px;
}
.hero h1 em { font-style: italic; color: var(--ocher); font-weight: 300; }
.hero-lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  color: #fdfaf3;
  max-width: 54ch;
  text-wrap: pretty;
}
.hero-actions {
  display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 72px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: var(--sand);
  letter-spacing: 0.04em;
}
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ocher); }
.hero-rule {
  display: block; width: 56px; height: 1px;
  background: var(--ocher);
  margin-bottom: 8px;
}

/* Ornements (cercles ocres) — discrets */
.hero-decor::before, .hero-decor::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-decor::before {
  top: -160px; right: -120px; width: 520px; height: 520px;
  border: 1px solid color-mix(in srgb, var(--ocher) 36%, transparent);
}
.hero-decor::after {
  bottom: -240px; right: 14%; width: 360px; height: 360px;
  border: 1px solid color-mix(in srgb, var(--ocher) 18%, transparent);
}

/* =========================================================
   STATS — bandeau chiffres
   ========================================================= */
.stats { background: var(--sand); padding: clamp(72px, 9vw, 112px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { padding-left: 28px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(56px, 6.5vw, 88px); line-height: 1; color: var(--marine);
  letter-spacing: -0.025em;
}
.stat-num .unit { font-size: 0.4em; color: var(--stone-500); margin-left: 4px; font-style: normal; }
.stat-label { font-size: 14px; color: var(--stone-700); margin-top: 18px; line-height: 1.55; max-width: 24ch; }

/* =========================================================
   THÉMATIQUES — trois cartes
   ========================================================= */
.themes { padding: var(--section-y) 0;  }
.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theme-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-2); padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.theme-card:hover { border-color: var(--ocher); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.theme-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ocher-deep); }
.theme-card h3 { color: var(--marine); font-size: 22px; font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.theme-card p { font-size: 14px; color: var(--stone-700); line-height: 1.65; }
.theme-link {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule);
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--marine); display: inline-flex; align-items: center; gap: 10px;
  transition: color var(--t-fast), gap var(--t-base);
}
.theme-link::after { content: "→"; transition: transform var(--t-base); }
.theme-link:hover { color: var(--ocher-deep); }
.theme-link:hover::after { transform: translateX(4px); }

/* =========================================================
   PROJETS — section conteneur (le pattern .project lui-même
   est promu dans site.css §6.3b)
   ========================================================= */
.projects { padding: var(--section-y) 0; background: var(--sand);}
.section-foot { margin-top: 56px; display: flex; justify-content: center; }

/* =========================================================
   PROCESSUS — section sombre, 4 étapes reliées par un filet ocre
   ========================================================= */
.process { padding: var(--section-y) 0; background: var(--marine); color: var(--paper); }
.process .section-head h2 { color: var(--paper); }
.process .section-head .desc { color: rgba(251, 247, 238, 0.78); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 32px; position: relative;
}
.process-steps::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    color-mix(in srgb, var(--ocher) 55%, transparent),
    color-mix(in srgb, var(--ocher) 55%, transparent),
    transparent);
}
.step { position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--marine); border: 1px solid var(--ocher); color: var(--ocher);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 16px;
  margin-bottom: 22px; position: relative; z-index: 2;
}
.step h3 { font-family: var(--sans); font-size: 16px; color: var(--paper); margin-bottom: 10px; font-weight: 600; letter-spacing: 0; }
.step p { font-size: 13px; line-height: 1.65; color: rgba(251, 247, 238, 0.78); }
.step-tag {
  margin-top: 16px; display: inline-block; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ocher); padding-top: 12px; border-top: 1px solid rgba(251, 247, 238, 0.18);
}

/* =========================================================
   Responsive — collapse des grilles à 4 ou 3 colonnes en mobile
   ========================================================= */
@media (max-width: 980px) {
  .stats-grid, .themes-grid, .process-steps {
    grid-template-columns: 1fr; gap: 28px;
  }
  .stat { border-left: 0; padding-left: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .process-steps::before { display: none; }
}
