/* ═══ COUCHE ÉDITORIALE — refonte visuelle : grand blanc, sérif marquée, rythme lent ═══
   Chargée en dernier : surcharge volontairement les couches précédentes. */

:root { --ed-gut: clamp(24px, 5vw, 96px); --ed-rule: rgba(20,25,26,.14); }

/* ── 1. Calme : on baisse le bruit décoratif pour laisser respirer ── */
#fond-shader { opacity: .30; }
.fx-fond .fond-blobs, .blobs { opacity: .45; }

/* ── 2. Rythme lent : respiration verticale ── */
.about, .features, .track, .outils, .faq, .contact, .temoignages, .zones, .secteurs { padding-top: clamp(64px, 6.5vw, 110px); padding-bottom: clamp(64px, 6.5vw, 110px); }
.engage { padding-top: clamp(64px, 6.5vw, 104px); padding-bottom: clamp(64px, 6.5vw, 104px); }
.features { padding-bottom: clamp(48px, 4vw, 72px); }

/* ── 3. Titres de section : kicker au-dessus, sérif plus grande, filet ── */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(20px, 4vw, 64px); align-items: start; border-top: 1px solid var(--ed-rule); padding-top: 24px; margin-bottom: clamp(32px, 3.4vw, 54px); }
.section-head h2 { grid-column: 2; grid-row: 1; font-size: clamp(38px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -0.028em; max-width: 17ch; margin: 0; }
.section-head .meta { grid-column: 1; grid-row: 1; margin: 0; padding-top: 14px; white-space: normal; line-height: 1.7; max-width: 26ch; font-size: 13px; letter-spacing: 0.14em; color: var(--sub); }
.section-head .meta::before { content: "— "; color: var(--accent); }

.ed-lede { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.5; color: var(--ink); max-width: 46ch; margin: 0; text-wrap: pretty; }

/* ── 4. Galerie flotte : mosaïque plein écran (version précédente) ── */
.fleet-cell:nth-child(4) { grid-column: 2 / 4; }
.fleet-title-bar { padding: 72px 60px 40px; }
.fleet-cell-label { font-size: 11px; letter-spacing: .2em; }
@media (max-width: 900px) { .fleet-cell:nth-child(4) { grid-column: auto; } }

/* ── 5. Secteurs ── */
.secteurs { padding-left: var(--ed-gut); padding-right: var(--ed-gut); }
.sect-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .72fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sect-rows { border-top: 1px solid var(--ed-rule); }
.sect-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--ed-rule); padding: 30px 8px; cursor: pointer; font: inherit; color: var(--ink); transition: background .35s var(--ease), padding .35s var(--ease); }
.sect-row .sn { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.sect-row .s-t {
  display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.02em; transition: font-style .2s; }
.sect-row .s-d { display: block; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--sub); max-width: 44ch; }
.sect-row .sd { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); white-space: nowrap; }
.sect-row:hover, .sect-row.on { background: var(--accent-soft); padding-left: 18px; }
.sect-row.on .s-t { font-style: italic; color: var(--accent); }
.sect-row.on .sd { color: var(--accent); }
.sect-media { position: sticky; top: 120px; }
.sect-media .frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #e8eae3; }
.sect-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.sect-media img.on { opacity: 1; transform: scale(1); }
.sect-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sub); }
.sect-cap b { color: var(--accent); font-weight: 500; }

/* ── 8. Carte : grille des départements ── */
.dep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: rgba(247,248,244,.16); border: 1px solid rgba(247,248,244,.16); margin-top: 40px; }
.dep { background: var(--paper-dark); border: 0; text-align: left; padding: 18px 18px 20px; cursor: pointer; font: inherit; color: #f7f8f4; transition: background .25s ease, color .25s ease; }
.dep .dnum { font-family: var(--mono); font-size: 19px; letter-spacing: .04em; display: block; }
.dep .dname { display: block; font-size: 13px; color: rgba(247,248,244,.66); margin-top: 3px; }
.dep .ddelay { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-lt); margin-top: 10px; }
.dep:hover, .dep.on { background: var(--accent); color: #fff; }
.dep:hover .dname, .dep.on .dname { color: rgba(255,255,255,.82); }
.dep:hover .ddelay, .dep.on .ddelay { color: #fff; }
.dep:focus-visible { outline: 2px solid var(--accent-lt); outline-offset: -2px; }

/* ── 9. Détails éditoriaux ── */
.about-media img, .track-media video, .sim-result { border-radius: 0; }
.hero h1 { letter-spacing: -0.035em; }
a { color: var(--ink); }
a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head h2, .section-head .meta { grid-column: 1; grid-row: auto; }
  .section-head .meta { padding-top: 0; margin-bottom: 18px; }
  .sect-grid { grid-template-columns: 1fr; }
  .sect-media { position: static; order: -1; }
  .sect-media .frame { aspect-ratio: 4 / 3; }
  .fleet-grid { grid-template-columns: 1fr; }
  .fleet-cell:nth-child(1), .fleet-cell:nth-child(2), .fleet-cell:nth-child(3), .fleet-cell:nth-child(4) { grid-column: 1 / -1; padding: 0; }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: auto; }
  .cmp-table th, .cmp-table td { border: 0; padding: 8px 0; }
  .sect-row { grid-template-columns: 40px 1fr; }
  .sect-row .sd { grid-column: 2; }
}

/* ── Épingles départements sur la carte satellite ── */
.dep-pin span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(10,20,12,.78); border: 1px solid rgba(126,224,141,.7); color: #eaf6ec; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; transition: background .25s ease, transform .25s ease, border-color .25s ease; }
.dep-pin:hover span, .dep-pin.on span { background: var(--accent); border-color: #eaf6ec; transform: scale(1.22); }

/* ── 10. Échelle de lecture : corps de texte plus généreux ── */
.about-copy p { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.6; }
.features .intro { font-size: 18px; line-height: 1.7; max-width: 64ch; }
.feat-card p, .track-steps p, .zone-item p, .sect-row .s-d, .gar-item p { font-size: 16px; line-height: 1.62; }
.sect-row .s-d { max-width: 46ch; }
.engage-grid p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; }
.faq-q { font-size: clamp(17px, 1.4vw, 20px); }
.faq-a p { font-size: 16.5px; line-height: 1.68; }
.ct-note, .zs-result, .cta p { font-size: 16.5px; line-height: 1.68; }
.tm-slide blockquote { font-size: clamp(22px, 2.2vw, 32px); }
.tm-author { font-size: 15px; }
.tm-role { font-size: 13px; }
.dep .dname { font-size: 14px; }
.zone-mapfoot, .sect-cap, .fleet-tag { font-size: 11.5px; }
.footer-col p, .footer-col li a { font-size: 14.5px; }
.sim-detail, .sim-field label, .dv-field label { font-size: 14.5px; }

/* ── 11. Resserrage : scrollytelling, CTA, nav étroite ── */
.journey { height: 210vh; }
.j-step p { font-size: 15.5px; line-height: 1.6; }
.journey-copy h2 { margin-bottom: clamp(14px, 2vh, 28px); }
.j-step { padding: clamp(8px, 1.4vh, 18px) 0 clamp(8px, 1.4vh, 18px) 26px; }
.journey-sticky { padding-top: clamp(16px, 3vh, 40px); padding-bottom: clamp(16px, 3vh, 40px); }
.cta { padding-top: clamp(72px, 7vw, 112px); padding-bottom: clamp(72px, 7vw, 112px); }
.temoignages { padding-top: clamp(64px, 6vw, 96px); padding-bottom: clamp(64px, 6vw, 96px); }
.nav-links { gap: clamp(18px, 2.2vw, 34px); }
@media (max-width: 1150px) {
  .nav { padding-left: 22px; padding-right: 22px; }
  .nav-links { font-size: 11px; letter-spacing: .12em; }
  .nav-brand .name { font-size: 22px; }
}

/* ── 12. FAQ : alignée sur la gouttière éditoriale ── */
.faq { padding-left: var(--ed-gut); padding-right: var(--ed-gut); }
.faq-list { max-width: none; margin: 0; }
