/* ==========================================================================
   Prime Équipements Spécialisés — feuille de style
   Direction : noir cinématographique, rouge incendie (tiré du logo), papier chaud.
   Polices hébergées localement (aucun appel à un service tiers).
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --rouge: #a01323;
  --rouge-fonce: #7c0e1b;
  --rouge-vif: #ec4a52;
  --noir: #0d0e10;
  --noir-2: #141518;
  --noir-3: #1d1f23;
  --ligne-sombre: rgb(255 255 255 / 0.1);
  --encre: #121315;
  --acier: #565c64;
  --argent: #a9aeb6;
  --ligne: #e2dfd8;
  --papier: #f5f4f0;
  --papier-2: #ebe9e3;
  --blanc: #ffffff;
  --succes: #1d6b3a;

  --f-titre: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texte: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --rayon: 8px;
  --rayon-l: 16px;
  --ombre: 0 1px 2px rgb(0 0 0 / 0.04), 0 24px 48px -18px rgb(0 0 0 / 0.18);
  --conteneur: 1240px;
  --gouttiere: clamp(1.15rem, 4vw, 2.5rem);
  --entete-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --chevrons: repeating-linear-gradient(135deg, var(--rouge) 0 14px, var(--blanc) 14px 28px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --quadrillage: linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.65;
  color: var(--encre); background: var(--papier);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--rouge); color: var(--blanc); }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--rouge); text-underline-offset: 0.18em; }
a:hover { color: var(--rouge-fonce); }
h1, h2, h3, h4 {
  font-family: var(--f-titre); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin: 0 0 0.55em; text-wrap: balance; overflow-wrap: break-word; hyphens: manual;
}
h1 { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5rem); }
h2 { font-size: clamp(2rem, 1.15rem + 3vw, 3.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
@media (max-width: 600px) { h1, h2 { hyphens: auto; -webkit-hyphens: auto; } }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--rouge-vif); outline-offset: 3px; border-radius: 3px; }
.icone { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--blanc); color: var(--encre); padding: 0.7rem 1rem; border-radius: var(--rayon); }
.lien-evitement:focus { top: 1rem; }
.conteneur { width: 100%; max-width: var(--conteneur); margin-inline: auto; padding-inline: var(--gouttiere); }
/* Texte à compléter par les propriétaires : surligné tant que la classe est présente */
.a-completer { background: #fff1c7; color: var(--encre); outline: 1px dashed #c99a2e; padding: 0 0.2em; border-radius: 2px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.8rem 1.5rem; overflow: hidden; isolation: isolate;
  font-family: var(--f-titre); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  text-decoration: none; border-radius: var(--rayon); border: 1.5px solid transparent; cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn::before { /* balayage au survol */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .icone { transition: transform 0.3s var(--ease); }
.btn:hover .icone:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primaire { background: var(--rouge); color: var(--blanc); box-shadow: 0 10px 30px -10px rgb(160 19 35 / 0.7); }
.btn--primaire::before { background: var(--rouge-fonce); }
.btn--primaire:hover { color: var(--blanc); box-shadow: 0 16px 36px -12px rgb(160 19 35 / 0.85); transform: translateY(-1px); }
.btn--contour { border-color: currentColor; color: var(--encre); background: transparent; }
.btn--contour::before { background: var(--encre); }
.btn--contour:hover { color: var(--blanc); border-color: var(--encre); }
.sombre .btn--contour, .heros .btn--contour, .rouge .btn--contour, .temoins .btn--contour, .page-tete .btn--contour { color: var(--blanc); border-color: rgb(255 255 255 / 0.4); }
.sombre .btn--contour::before, .heros .btn--contour::before, .rouge .btn--contour::before, .temoins .btn--contour::before { background: var(--blanc); }
.sombre .btn--contour:hover, .heros .btn--contour:hover, .rouge .btn--contour:hover, .temoins .btn--contour:hover { color: var(--encre); border-color: var(--blanc); }
.btn--grand { min-height: 58px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn--plein { width: 100%; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--f-titre); font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.lien-fleche .icone { transition: transform 0.3s var(--ease); }
.lien-fleche:hover .icone { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--blanc);
  background: rgb(13 14 16 / 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--ligne-sombre);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.js .entete:not(.est-defile):not(.menu-ouvert) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.entete__barre { display: flex; align-items: center; gap: 1.5rem; min-height: var(--entete-h); max-width: 1360px; transition: min-height 0.4s var(--ease); }
.entete.est-defile .entete__barre { min-height: 70px; }
.marque { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--blanc); margin-right: auto; flex-shrink: 0; white-space: nowrap; }
.marque:hover { color: var(--blanc); }
.marque__tuile { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--blanc); box-shadow: 0 6px 18px -6px rgb(0 0 0 / 0.5); transition: transform 0.4s var(--ease); }
.marque:hover .marque__tuile { transform: rotate(-4deg) scale(1.04); }
.marque__tuile img { width: 40px; height: auto; }
.marque__texte { display: flex; flex-direction: column; line-height: 1; }
.marque__nom { font-family: var(--f-titre); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.04em; color: var(--blanc); }
.marque__sous { font-family: var(--f-titre); font-weight: 600; font-size: 0.72rem; margin-top: 0.25rem; color: var(--argent); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__liste { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__liste a {
  position: relative; display: block; padding: 0.6rem 0.8rem; white-space: nowrap;
  font-family: var(--f-titre); font-weight: 600; font-size: 0.9rem; color: rgb(255 255 255 / 0.78); text-decoration: none;
  transition: color 0.25s;
}
.nav__liste a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 2px; background: var(--rouge-vif);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav__liste a:hover { color: var(--blanc); }
.nav__liste a:hover::after, .nav__liste a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__liste a[aria-current="page"] { color: var(--blanc); }
.entete__tel {
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; padding: 0.5rem 0.4rem;
  font-family: var(--f-titre); font-weight: 700; font-size: 0.92rem; color: var(--blanc); text-decoration: none;
}
.entete__tel:hover { color: var(--blanc); }
.entete__tel .icone { color: var(--rouge-vif); }
.entete__actions { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.entete__actions .btn { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.9rem; white-space: nowrap; }
.nav-bascule {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--ligne-sombre); border-radius: var(--rayon); background: rgb(255 255 255 / 0.04); color: var(--blanc); cursor: pointer;
}
.nav-bascule .icone { width: 24px; height: 24px; }
.nav-bascule .icone--fermer { display: none; }
.nav-bascule[aria-expanded="true"] .icone--menu { display: none; }
.nav-bascule[aria-expanded="true"] .icone--fermer { display: block; }
.progression { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--rouge-vif); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) {
  .progression { animation: progression linear both; animation-timeline: scroll(root); }
  @keyframes progression { to { transform: scaleX(1); } }
}

@media (max-width: 1320px) { .entete__tel span { display: none; } }
@media (max-width: 1180px) {
  :root { --entete-h: 72px; }
  .nav-bascule { display: inline-flex; }
  .entete__actions .btn, .entete__tel { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch;
    background: var(--noir); border-bottom: 1px solid var(--ligne-sombre); box-shadow: 0 30px 60px rgb(0 0 0 / 0.5);
    padding: 0.5rem var(--gouttiere) 1.5rem;
  }
  .nav.est-ouvert { display: flex; animation: menu-ouvre 0.35s var(--ease); }
  @keyframes menu-ouvre { from { opacity: 0; transform: translateY(-8px); } }
  .nav__liste { flex-direction: column; gap: 0; }
  .nav__liste a { padding: 1rem 0.25rem; font-size: 1.15rem; border-bottom: 1px solid var(--ligne-sombre); }
  .nav__liste a::after { left: 0.25rem; right: auto; width: 32px; bottom: 0.55rem; }
  .nav__cta { display: flex; margin-top: 1.25rem; }
  .marque__tuile { width: 44px; height: 44px; border-radius: 10px; }
  .marque__tuile img { width: 35px; }
}
@media (min-width: 1181px) { .nav__cta { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--brume { background: var(--papier-2); }
.sombre, .rouge, .heros, .page-tete, .pied { position: relative; isolation: isolate; }
.sombre::after, .rouge::after, .heros::after, .page-tete::after, .pied::after { /* grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.06; mix-blend-mode: overlay;
}
.sombre { background: var(--noir); color: var(--blanc); }
.sombre h1, .sombre h2, .sombre h3 { color: var(--blanc); }
.sombre a:not(.btn) { color: var(--blanc); }
.sombre p, .sombre li { color: var(--argent); }
.rouge { background: radial-gradient(900px 600px at 12% 50%, #c41b30, transparent 65%), linear-gradient(135deg, #a8172a, #840f1e); color: var(--blanc); }
.rouge::before { /* chevrons en filigrane */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07;
  background: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.rouge h2, .rouge h3 { color: var(--blanc); }
.rouge p, .rouge li { color: rgb(255 255 255 / 0.88); }

.sur-titre {
  display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 0 1.25rem;
  font-family: var(--f-mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rouge);
}
.sur-titre::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sombre .sur-titre, .heros .sur-titre, .page-tete .sur-titre { color: var(--rouge-vif); }
.rouge .sur-titre { color: var(--blanc); }
/* Numérotation des sections de l'accueil */
.accueil main { counter-reset: section; }
.accueil main > section:not(.heros) { counter-increment: section; }
.accueil main > section:not(.heros) .section__tete .sur-titre::before,
.accueil main > section:not(.heros) > .conteneur > div > .sur-titre::before,
.accueil main > section:not(.heros) > .conteneur > .sur-titre::before,
.accueil main > section:not(.heros) .conformite .sur-titre::before {
  content: counter(section, decimal-leading-zero); width: auto; height: auto; background: none;
  padding: 0.2em 0.6em; border: 1px solid currentColor; border-radius: 99px; letter-spacing: 0.08em;
}

.section__tete { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__tete--centre { margin-inline: auto; text-align: center; }
.section__tete--centre .sur-titre { justify-content: center; }
.chapeau { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--acier); }
.sombre .chapeau { color: var(--argent); }
.rouge .chapeau { color: rgb(255 255 255 / 0.9); }

.chevrons { height: 10px; background: var(--chevrons); background-size: 39.6px 10px; }
@media (prefers-reduced-motion: no-preference) {
  .chevrons { animation: chevrons-defile 2.4s linear infinite; }
  @keyframes chevrons-defile { to { background-position: 39.6px 0; } }
}

/* ---------- Bandeau principal (accueil) ---------- */
.heros {
  overflow: hidden; color: var(--blanc); min-height: max(700px, 100svh); display: flex; flex-direction: column;
  background:
    radial-gradient(1000px 700px at 80% 40%, rgb(160 19 35 / 0.42), transparent 62%),
    radial-gradient(700px 500px at 0% 105%, rgb(160 19 35 / 0.2), transparent 60%),
    var(--noir);
}
.heros::before, .page-tete::before { /* quadrillage technique */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--quadrillage); background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 42%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 72% 42%, #000, transparent 75%);
}
.heros__grille {
  position: relative; z-index: 2; flex: 1; display: grid; align-items: center;
  padding-top: calc(var(--entete-h) + clamp(2.5rem, 7vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem);
}
.heros__grille > div { max-width: 820px; }
.heros h1 { font-size: clamp(2.6rem, 1rem + 4.3vw, 5.4rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 0.42em; }
.heros h1 em { font-style: normal; color: var(--rouge-vif); }
.heros h1 em .mot > span {
  background: linear-gradient(100deg, #ff7a80 0%, var(--rouge-vif) 45%, #c41b30 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heros__texte { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.28rem); color: #d3d6db; max-width: 34em; margin-bottom: 2.25rem; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }
.garanties { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.garanties li {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem 0.5rem 0.75rem;
  font-size: 0.88rem; font-weight: 600; color: #e6e8eb;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: 99px; background: rgb(255 255 255 / 0.04);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.garanties .icone { color: var(--rouge-vif); width: 1.1em; height: 1.1em; }

/* Feuille d'érable facettée */
.heros__visuel {
  position: absolute; z-index: 1; pointer-events: none;
  right: clamp(-16rem, -11vw, -3rem); top: 52%; width: min(50vw, 800px);
  transform: translate3d(calc(var(--px, 0) * -22px), calc(-50% + var(--py, 0) * -14px), 0);
  transition: transform 0.9s var(--ease);
}
.heros__flottant { animation: flotte 9s ease-in-out infinite alternate; }
@keyframes flotte { from { transform: translateY(-10px) rotate(-9deg); } to { transform: translateY(12px) rotate(-6deg); } }
.heros__entree { position: relative; }
.js .heros__entree { animation: feuille-entre 1.8s var(--ease) 0.1s both; }
@keyframes feuille-entre { from { opacity: 0; transform: scale(0.82) rotate(-14deg); filter: blur(8px); } }
.heros__feuille { width: 100%; height: auto; filter: drop-shadow(0 50px 90px rgb(160 19 35 / 0.55)); }
.heros__reflet {
  position: absolute; inset: 0;
  -webkit-mask: url("../img/feuille-erable.svg") center / 100% 100% no-repeat; mask: url("../img/feuille-erable.svg") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.32) 48%, rgb(255 255 255 / 0.06) 53%, transparent 62%);
  background-size: 300% 100%; background-position: 130% 0;
  animation: reflet 7s var(--ease) 1.6s infinite;
}
@keyframes reflet { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }

/* Entrée du bandeau */
.js .heros .sur-titre, .js .heros__texte, .js .heros__actions, .js .garanties { animation: fondu-monte 1s var(--ease) both; }
.js .heros .sur-titre { animation-delay: 0.05s; }
.js .heros__texte { animation-delay: 0.75s; }
.js .heros__actions { animation-delay: 0.9s; }
.js .garanties { animation-delay: 1.05s; }
@keyframes fondu-monte { from { opacity: 0; transform: translateY(24px); } }
.heros h1.est-decoupe .mot { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0 0.14em; margin-bottom: -0.14em; }
.heros h1.est-decoupe .mot > span { display: inline-block; transform: translateY(108%); animation: mot-monte 1.1s var(--ease) forwards; animation-delay: calc(150ms + var(--i) * 60ms); }
@keyframes mot-monte { to { transform: none; } }

@media (max-width: 900px) {
  .heros__visuel { width: 115vw; right: -52vw; top: 30%; opacity: 0.38; }
}

/* Ruban « Nous servons » */
.clientele { position: relative; z-index: 2; border-top: 1px solid var(--ligne-sombre); background: rgb(255 255 255 / 0.02); }
.clientele__barre { display: flex; align-items: center; gap: 1.75rem; padding-block: 1.15rem; max-width: none; }
.clientele__titre {
  flex: none; font-family: var(--f-mono); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rouge-vif);
}
.defilant { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defilant__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.defilant:hover .defilant__piste { animation-play-state: paused; }
.defilant ul { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.defilant li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--f-titre); font-weight: 600; font-size: 0.95rem; color: #d6d9de;
}
.defilant li::after { content: ""; width: 7px; height: 7px; margin-inline: 1.75rem; background: var(--rouge-vif); transform: rotate(45deg); }
@keyframes defile { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .clientele__barre { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .defilant { width: 100%; }
}

/* ---------- Cartes / grilles ---------- */
.grille { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.carte {
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon-l);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease), color 0.5s var(--ease);
}
.carte::before { /* bande de chevrons au survol */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--chevrons);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.carte--lien:hover::before { transform: scaleX(1); }
.carte--lien:hover {
  transform: translateY(-6px); border-color: transparent; color: var(--blanc);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(236 74 82 / 0.22), transparent 45%), var(--noir);
  box-shadow: 0 40px 70px -30px rgb(160 19 35 / 0.6);
}
.carte--lien:hover h3 { color: var(--blanc); }
.carte--lien:hover p { color: var(--argent); }
.carte--lien:hover .lien-fleche { color: var(--rouge-vif); }
.carte--lien:hover .carte__icone { background: var(--rouge); color: var(--blanc); }
.carte--lien:hover .etiquette { color: var(--argent); border-color: var(--ligne-sombre); }
.carte__icone {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.5rem;
  border-radius: 14px; background: rgb(160 19 35 / 0.08); color: var(--rouge);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.carte--lien:hover .carte__icone { transform: rotate(-6deg); }
.carte__icone .icone { width: 28px; height: 28px; stroke-width: 1.8; }
.carte h3 { transition: color 0.5s var(--ease); }
.carte p { color: var(--acier); transition: color 0.5s var(--ease); }
.carte ul { color: var(--acier); padding-left: 0; list-style: none; }
.carte ul li { position: relative; padding-left: 1.25rem; margin-bottom: 0.4rem; }
.carte ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--rouge); transform: rotate(45deg); }
.carte__pied { margin-top: auto; padding-top: 0.75rem; }
.carte__pied a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--rayon-l); } /* toute la carte cliquable */
.etiquette {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--f-mono); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--acier); border: 1px solid var(--ligne); border-radius: 99px; padding: 0.25rem 0.6rem;
  transition: color 0.5s, border-color 0.5s;
}
/* Offres de l'accueil : grandes cartes numérotées */
.accueil .grille--3 { counter-reset: offre; }
.accueil .grille--3 .carte { counter-increment: offre; min-height: 27rem; }
.accueil .grille--3 .carte h3 { font-size: 1.55rem; }
.accueil .grille--3 .carte__icone { margin-bottom: 2.9rem; }
.accueil .grille--3 .etiquette { top: calc(clamp(1.6rem, 3vw, 2.25rem) + 60px + 0.85rem); left: clamp(1.6rem, 3vw, 2.25rem); right: auto; }
.accueil .grille--3 .carte::after {
  content: counter(offre, decimal-leading-zero); position: absolute; top: clamp(1.6rem, 3vw, 2.25rem); right: clamp(1.6rem, 3vw, 2.25rem); z-index: -1;
  font: 800 3.9rem/60px var(--f-titre); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ligne);
  transition: -webkit-text-stroke-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.accueil .grille--3 .carte:hover::after { -webkit-text-stroke-color: rgb(236 74 82 / 0.55); transform: translateY(-6px); }

/* Pourquoi Prime */
.atouts { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.atouts > div:first-child { position: sticky; top: calc(var(--entete-h) + 2.5rem); }
.atouts__liste { display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.atout { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--ligne); }
.atout__num {
  font-family: var(--f-titre); font-weight: 800; font-size: clamp(3rem, 2rem + 3.2vw, 5.2rem); line-height: 0.85; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--rouge); min-width: 1.4em; transition: color 0.5s var(--ease);
}
.atout:hover .atout__num { color: var(--rouge); }
.atout h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem); margin-bottom: 0.5rem; }
.atout p { margin: 0; color: var(--acier); font-size: 1.05rem; }
@media (max-width: 1100px) { .atouts { grid-template-columns: 1fr; } .atouts > div:first-child { position: static; max-width: 760px; } }

/* Conformité */
.conformite { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.conformite__sceau { position: relative; display: grid; place-items: center; width: clamp(210px, 24vw, 300px); aspect-ratio: 1; }
.conformite__anneau { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.conformite__anneau text { font: 600 10.5px var(--f-mono); letter-spacing: 0.22em; fill: var(--blanc); }
@media (prefers-reduced-motion: no-preference) {
  .conformite__anneau { animation: tourne 28s linear infinite; }
  @keyframes tourne { to { transform: rotate(360deg); } }
}
.conformite__disque {
  display: grid; place-items: center; width: 56%; aspect-ratio: 1; border-radius: 50%;
  background: var(--blanc); color: var(--rouge); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.45), inset 0 0 0 8px rgb(160 19 35 / 0.08);
}
.conformite__disque .icone { width: 46%; height: 46%; stroke-width: 1.5; }
.conformite__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem 2rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.conformite__points li { display: flex; gap: 0.75rem; align-items: flex-start; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 0.25); font-weight: 600; color: var(--blanc); }
.conformite__points .icone { margin-top: 0.2rem; }
@media (max-width: 760px) { .conformite { grid-template-columns: 1fr; } }

/* Processus */
.etapes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etape { position: relative; counter-increment: etape; }
.etape__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.4rem;
  border-radius: 50%; background: var(--papier); border: 1.5px solid var(--rouge); color: var(--rouge);
  font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.etape__num::before { content: counter(etape, decimal-leading-zero); }
.etape:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; left: 68px; right: -0.75rem; height: 2px; background: var(--rouge);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.etape:not(:last-child)::before {
  content: ""; position: absolute; top: 30px; left: 68px; right: -0.75rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ligne) 0 6px, transparent 6px 12px);
}
.etapes.est-visible .etape__num { background: var(--rouge); color: var(--blanc); box-shadow: 0 0 0 6px rgb(160 19 35 / 0.1); }
.etapes.est-visible .etape::after { transform: scaleX(1); }
.etape:nth-child(1) .etape__num { transition-delay: 0s; }    .etape:nth-child(1)::after { transition-delay: 0.15s; }
.etape:nth-child(2) .etape__num { transition-delay: 0.55s; } .etape:nth-child(2)::after { transition-delay: 0.7s; }
.etape:nth-child(3) .etape__num { transition-delay: 1.1s; }  .etape:nth-child(3)::after { transition-delay: 1.25s; }
.etape:nth-child(4) .etape__num { transition-delay: 1.65s; } .etape:nth-child(4)::after { transition-delay: 1.8s; }
.etape:nth-child(5) .etape__num { transition-delay: 2.2s; }
.etape h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.etape p { color: var(--acier); font-size: 0.97rem; margin: 0; }
@media (max-width: 1000px) {
  .etapes { grid-template-columns: 1fr; gap: 0; }
  .etape { display: grid; grid-template-columns: 60px 1fr; column-gap: 1.4rem; padding-bottom: 2rem; }
  .etape__num { grid-row: span 2; margin: 0; }
  .etape:not(:last-child)::after, .etape:not(:last-child)::before { top: 66px; bottom: 6px; left: 29px; right: auto; width: 2px; height: auto; }
  .etape:not(:last-child)::after { transform: scaleY(0); transform-origin: top; }
  .etapes.est-visible .etape::after { transform: scaleY(1); }
  .etape:not(:last-child)::before { background: repeating-linear-gradient(180deg, var(--ligne) 0 6px, transparent 6px 12px); }
}

/* Zone desservie + carte */
.zone { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.route { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; }
.route__arret { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding-bottom: 1.5rem; }
.route__arret:last-child { padding-bottom: 0; }
.route__arret:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, var(--rouge-vif) 0 6px, transparent 6px 12px);
}
.route__point { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--noir-3); color: var(--blanc); border: 1px solid var(--ligne-sombre); }
.route__arret--base .route__point { background: var(--rouge); border-color: var(--rouge); box-shadow: 0 0 0 6px rgb(236 74 82 / 0.15); }
.route__point .icone { width: 22px; height: 22px; }
.route__arret h3 { margin: 0.1rem 0 0.15rem; font-size: 1.08rem; }
.route__arret p { margin: 0; font-size: 0.95rem; }
.route__pays { font-family: var(--f-mono); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rouge-vif); }
.carte-geo { position: relative; margin: 0; }
.carte-geo::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgb(236 74 82 / 0.18), transparent); filter: blur(30px); }
.carte-geo img { position: relative; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%); mask-image: linear-gradient(180deg, transparent, #000 18%); }
.carte-geo .trajets { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trajet { fill: none; stroke: var(--rouge-vif); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease); }
.trajet--import { stroke: var(--blanc); stroke-width: 2; }
.carte-geo.est-visible .trajet { stroke-dashoffset: 0; }
.trajet:nth-of-type(2) { transition-delay: 0.9s; } .trajet:nth-of-type(3) { transition-delay: 1.05s; } .trajet:nth-of-type(4) { transition-delay: 1.2s; }
.trajet:nth-of-type(5) { transition-delay: 1.35s; } .trajet:nth-of-type(6) { transition-delay: 1.5s; }
.flux { fill: none; stroke: var(--blanc); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 0.015 0.085; opacity: 0; transition: opacity 0.8s 2.6s; }
.carte-geo.est-visible .flux { opacity: 0.75; }
@media (prefers-reduced-motion: no-preference) { .flux { animation: flux 4s linear infinite; } @keyframes flux { to { stroke-dashoffset: -1; } } }
.noeud { fill: var(--rouge-vif); }
.noeud--qc { fill: var(--blanc); }
.pulsation { fill: none; stroke: var(--rouge-vif); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.pulsation--2 { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(0.5); opacity: 0.9; } to { transform: scale(3); opacity: 0; } }
.carte-geo text { font: 600 11px var(--f-mono); letter-spacing: 0.16em; fill: var(--blanc); }
.carte-geo text.discret { fill: var(--argent); }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } }

/* ---------- Contact direct (courriel) ---------- */
.contact-direct { max-width: 1080px; text-align: center; }
.contact-direct .sur-titre { justify-content: center; }
.contact-direct h2 { margin-inline: auto; max-width: 16em; }
.contact-direct .chapeau { max-width: 36em; margin-inline: auto; }
.courriel-geant {
  display: inline-flex; align-items: center; gap: 0.35em; max-width: 100%; margin: clamp(1.5rem, 4vw, 2.75rem) 0 0;
  font: 800 clamp(1.3rem, 4.6vw, 4.4rem)/1.1 var(--f-titre); letter-spacing: -0.035em; color: var(--encre); text-decoration: none;
  padding-bottom: 0.12em;
  background: linear-gradient(var(--rouge), var(--rouge)) 0 100% / 0% 0.08em no-repeat;
  transition: background-size 0.7s var(--ease), color 0.3s var(--ease);
}
.courriel-geant span { min-width: 0; overflow-wrap: anywhere; }
.courriel-geant:hover, .courriel-geant:focus-visible { color: var(--rouge); background-size: 100% 0.08em; }
.courriel-geant .icone { width: 0.75em; height: 0.75em; color: var(--rouge); stroke-width: 2.4; transform: rotate(-45deg); transition: transform 0.5s var(--ease); }
.courriel-geant:hover .icone { transform: rotate(-45deg) translateX(0.15em); }
.coordonnees { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.coordonnees li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--ligne); }
.coordonnees__icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--rouge); color: var(--blanc); }
.coordonnees small { display: block; font-family: var(--f-mono); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--acier); margin-bottom: 0.15rem; }
.coordonnees a, .coordonnees strong { font-family: var(--f-titre); font-weight: 700; font-size: 1.05rem; color: var(--encre); text-decoration: none; }
.coordonnees a:hover { color: var(--rouge); }
.coordonnees--grille {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem;
  max-width: 780px; margin: clamp(2.5rem, 6vw, 4rem) auto 0; border-top: 0; text-align: left;
}
.coordonnees--grille li {
  align-items: start; padding: 1.4rem; border: 1px solid var(--ligne); border-radius: var(--rayon-l); background: var(--blanc);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.coordonnees--grille li:hover { transform: translateY(-3px); box-shadow: var(--ombre); }

/* ---------- Pages secondaires ---------- */
.page-tete {
  overflow: hidden; color: var(--blanc);
  background: radial-gradient(900px 560px at 85% 20%, rgb(160 19 35 / 0.4), transparent 62%), var(--noir);
}
.page-tete__contenu { padding-top: calc(var(--entete-h) + clamp(3.5rem, 9vw, 7rem)); padding-bottom: clamp(3.5rem, 8vw, 6rem); max-width: 980px; margin-inline: 0; margin-left: max(0px, calc((100% - var(--conteneur)) / 2)); }
.page-tete__contenu::after { /* feuille en filigrane */
  content: ""; position: absolute; z-index: -1; right: -6vw; top: 50%; width: min(46vw, 620px); aspect-ratio: 263.6 / 287;
  background: url("../img/feuille-erable.svg") center / contain no-repeat; opacity: 0.16;
  transform: translateY(-42%) rotate(-12deg); pointer-events: none;
}
.page-tete h1 { font-size: clamp(2.15rem, 1rem + 4.6vw, 5.2rem); line-height: 1; letter-spacing: -0.04em; max-width: 14em; }
.page-tete p { color: #d3d6db; font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); margin: 0; max-width: 38em; }
.js .page-tete__contenu > * { animation: fondu-monte 1s var(--ease) both; }
.js .page-tete__contenu > :nth-child(2) { animation-delay: 0.08s; }
.js .page-tete__contenu > :nth-child(3) { animation-delay: 0.16s; }
.js .page-tete__contenu > :nth-child(4) { animation-delay: 0.3s; }
.fil-ariane { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 1.75rem; color: var(--argent); }
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.fil-ariane li + li::before { content: "/"; margin-right: 0.5rem; color: rgb(255 255 255 / 0.3); }
.fil-ariane a { color: var(--argent); }
.fil-ariane a:hover { color: var(--blanc); }

.bloc-texte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.bloc-texte--inverse > :first-child { order: 2; }
@media (max-width: 900px) { .bloc-texte { grid-template-columns: 1fr; } .bloc-texte--inverse > :first-child { order: 0; } }

.liste-coches { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.8rem; }
.liste-coches li { display: flex; gap: 0.75rem; align-items: flex-start; }
.liste-coches .icone { flex: none; width: 1.5rem; height: 1.5rem; padding: 0.3rem; margin-top: 0.05rem; border-radius: 50%; background: rgb(160 19 35 / 0.1); color: var(--rouge); stroke-width: 3; }
.sombre .liste-coches .icone { background: rgb(236 74 82 / 0.15); color: var(--rouge-vif); }

.panneau { background: var(--papier-2); border-radius: var(--rayon-l); padding: clamp(1.5rem, 4vw, 2.5rem); }
.panneau--logo { display: grid; place-items: center; background: var(--blanc); border: 1px solid var(--ligne); min-height: 380px; box-shadow: var(--ombre); }
.panneau--logo img { width: min(100%, 380px); height: auto; }
.produit-marque {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; overflow: hidden; isolation: isolate;
  background: radial-gradient(500px circle at var(--mx, 80%) var(--my, 10%), rgb(236 74 82 / 0.3), transparent 50%), var(--noir);
  color: var(--blanc); border-radius: 20px; padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 40px 80px -40px rgb(13 14 16 / 0.6);
}
.produit-marque::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--quadrillage); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.produit-marque::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--chevrons); }
.produit-marque__nom { font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 0.5rem; color: var(--blanc); }
.produit-marque__desc { color: var(--argent); margin: 0; font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.produit-marque__icone { position: absolute; top: clamp(1.75rem, 4vw, 3rem); left: clamp(1.75rem, 4vw, 3rem); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--rouge); color: var(--blanc); box-shadow: 0 20px 40px -12px rgb(160 19 35 / 0.8); }
.produit-marque__icone .icone { width: 36px; height: 36px; stroke-width: 1.6; }

/* Fiche « structure d'une acquisition » (page Équipements) */
.fiche { background: var(--blanc); color: var(--encre); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -36px rgb(13 14 16 / 0.45); max-width: 480px; width: 100%; justify-self: end; transform: rotate(1.5deg); transition: transform 0.6s var(--ease); }
.fiche:hover { transform: rotate(0deg) translateY(-4px); }
.fiche__haut { height: 10px; background: var(--chevrons); }
.fiche__corps { padding: 1.75rem 1.9rem 1.6rem; }
.fiche__etiquette { display: inline-block; font-family: var(--f-mono); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acier); background: var(--papier); border-radius: 99px; padding: 0.3rem 0.7rem; margin-bottom: 1rem; }
.fiche h2 { font-size: 1.3rem; margin-bottom: 1.1rem; color: var(--encre); letter-spacing: -0.02em; }
.fiche__lignes { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.fiche__lignes li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--ligne); }
.fiche__lignes li span:last-child { color: var(--acier); font-family: var(--f-mono); font-size: 0.75rem; text-align: right; white-space: nowrap; }
.fiche__lignes .fiche__total { border-bottom: 2px solid var(--encre); font-weight: 700; }
.fiche__lignes .fiche__honoraires { border-bottom: 0; padding-top: 0.9rem; }
.fiche__lignes .fiche__honoraires span:first-child { font-weight: 700; color: var(--rouge); }
.fiche__lignes .fiche__honoraires span:last-child { color: var(--blanc); background: var(--rouge); border-radius: 99px; padding: 0.2rem 0.6rem; font-weight: 700; }
.fiche__note { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--acier); line-height: 1.55; }
@media (max-width: 900px) { .fiche { justify-self: start; transform: none; } }
@media (max-width: 420px) { .fiche__lignes li { flex-direction: column; gap: 0.15rem; } .fiche__lignes li span:last-child { text-align: left; } }

/* Inventaire */
.inventaire { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.article { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon-l); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.article:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.article__photo { aspect-ratio: 4 / 3; background: var(--papier-2); display: grid; place-items: center; color: var(--argent); overflow: hidden; }
.article__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.article:hover .article__photo img { transform: scale(1.05); }
.article__photo .icone { width: 56px; height: 56px; stroke-width: 1.2; }
.article__corps { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.pastille { font-family: var(--f-mono); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 99px; padding: 0.25rem 0.6rem; background: var(--papier); color: var(--acier); }
.pastille--dispo { background: #e3f2e8; color: var(--succes); }
.pastille--reserve { background: #fff1d6; color: #7a4b00; }
.article h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.article p { color: var(--acier); font-size: 0.95rem; }
.article__details { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.9rem; color: var(--acier); display: grid; gap: 0.2rem; }
.article__details strong { color: var(--encre); font-weight: 600; }
.article .btn { margin-top: auto; }
.inventaire-vide {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem; align-items: center;
  background: var(--blanc); border: 1.5px dashed #cfcbc2; border-radius: 20px; padding: clamp(1.75rem, 4vw, 2.5rem);
}
.inventaire-vide .carte__icone { margin: 0; }
.inventaire-vide h3 { margin-bottom: 0.35rem; }
.inventaire-vide p { margin: 0; color: var(--acier); }
@media (max-width: 760px) { .inventaire-vide { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer; list-style: none;
  padding: 1.5rem 0.25rem; font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); transition: color 0.25s;
}
.faq summary:hover { color: var(--rouge); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--ligne); color: var(--rouge); font-size: 1.4rem; font-weight: 500; transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }
.faq details > div { padding: 0 0.25rem 1.5rem; color: var(--acier); max-width: 70ch; }
.faq details[open] > div { animation: fondu-monte 0.5s var(--ease); }
.faq details > div p:last-child { margin: 0; }

/* Engagements (À propos) */
.engagements { counter-reset: eng; }
.engagements .carte h3::before { counter-increment: eng; content: counter(eng, decimal-leading-zero); display: block; font: 800 2.6rem/1 var(--f-titre); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--rouge); margin-bottom: 1rem; }

/* Bandeau d'appel à l'action */
.appel { overflow: hidden; background: radial-gradient(800px 400px at 90% 50%, rgb(160 19 35 / 0.45), transparent 65%), var(--noir); }
.appel__boite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.appel__boite h2 { margin-bottom: 0.4rem; font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); max-width: 14em; }
.appel__boite p { margin: 0; font-size: 1.1rem; }
.appel__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Texte long (politique) */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-top: 3rem; letter-spacing: -0.02em; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: #33373d; }
.prose .maj { font-family: var(--f-mono); color: var(--acier); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; background: var(--blanc); border-radius: var(--rayon); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.prose th { font-family: var(--f-titre); font-size: 0.85rem; background: var(--papier-2); }
.table-defile { overflow-x: auto; }

/* Merci / 404 */
.message { padding-top: calc(var(--entete-h) + clamp(3rem, 8vw, 6rem)); }
.message-centre { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.message-centre .carte__icone { margin: 0 auto 1.75rem; width: 84px; height: 84px; border-radius: 50%; background: var(--rouge); color: var(--blanc); box-shadow: 0 0 0 10px rgb(236 74 82 / 0.12); }
.message-centre .carte__icone .icone { width: 38px; height: 38px; }
.message-centre p { max-width: 34em; margin-inline: auto; }
.message-centre .appel__actions { justify-content: center; margin-top: 2rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: var(--argent); font-size: 0.95rem; overflow: hidden; }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.pied__marque .marque__nom { font-size: 1.8rem; color: var(--blanc); margin: 0; }
.pied__marque .marque__nom span { color: var(--rouge-vif); }
.pied__marque .marque__sous { color: var(--argent); font-size: 0.8rem; margin-bottom: 1.25rem; }
.pied__marque p { max-width: 30em; }
.pied h2 { font-family: var(--f-mono); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rouge-vif); margin-bottom: 1.1rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.pied a { color: #d3d6db; text-decoration: none; transition: color 0.2s; }
.pied a:hover { color: var(--blanc); text-decoration: underline; text-decoration-color: var(--rouge-vif); }
.pied__bas { border-top: 1px solid var(--ligne-sombre); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.85rem; }
.pied__bas p { margin: 0; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.pied__bas button { background: none; border: 0; padding: 0; font: inherit; color: #d3d6db; cursor: pointer; }
.pied__bas button:hover { color: var(--blanc); text-decoration: underline; }
.pied__geant {
  font: 800 clamp(5rem, 24vw, 23rem)/0.78 var(--f-titre); letter-spacing: -0.015em; text-align: center; white-space: nowrap;
  margin: 0.5rem 0 -0.04em; user-select: none; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.12);
  background: linear-gradient(180deg, rgb(236 74 82 / 0.32), transparent 75%); -webkit-background-clip: text; background-clip: text;
}
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Barre d'action mobile ---------- */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 70px; }
  .barre-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: auto 1fr; gap: 0.5rem;
    padding: 0.6rem var(--gouttiere) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgb(13 14 16 / 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--ligne-sombre);
  }
  .barre-mobile .btn { min-height: 48px; padding: 0.6rem 0.9rem; font-size: 0.9rem; white-space: nowrap; }
  .barre-mobile .btn--contour { color: var(--blanc); border-color: rgb(255 255 255 / 0.35); }
}

/* ---------- Bandeau des témoins (Loi 25) ---------- */
.temoins {
  position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem; max-width: 520px;
  background: rgb(20 21 24 / 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #e6e8eb; border: 1px solid var(--ligne-sombre); border-radius: 18px; padding: 1.35rem 1.45rem;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.4); font-size: 0.9rem; line-height: 1.5;
  animation: fondu-monte 0.6s var(--ease) 1.2s both;
}
.temoins h2 { font-size: 1rem; color: var(--blanc); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.temoins p { margin: 0 0 1rem; color: var(--argent); }
.temoins a { color: var(--blanc); }
.temoins__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.temoins .btn { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.88rem; }
@media (max-width: 760px) { .temoins { bottom: calc(80px + env(safe-area-inset-bottom)); left: 0.75rem; right: 0.75rem; } }

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .defilant__piste { animation: none; }
  .defilant ul[aria-hidden] { display: none; }
  .defilant ul { flex-wrap: wrap; row-gap: 0.5rem; }
  .heros__visuel { transform: translateY(-50%); }
}

@media print {
  .entete, .barre-mobile, .temoins, .pied, .chevrons, .heros__visuel { display: none !important; }
  .sombre, .heros, .page-tete, .rouge { background: none !important; color: #000 !important; }
}
