/* ==========================================================================
   FlipCover — feuille de styles commune
   Palette F « Blanc, noir, orange » · Montserrat (titres) + Inter (texte)
   Les couleurs et polices ne sont définies QUE ici, dans :root.
   ========================================================================== */

/* Polices hébergées sur le site (dossier fonts/) : aucun appel à Google avant l'accord cookies.
   Fichiers « variables » : une seule police couvre toutes les graisses. */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Couleurs */
  --blanc: #FFFFFF;
  --lin: #F3EEE7;
  --anthracite: #212B34;
  --gris: #5C6670;
  --orange-logo: #FA7814;
  --lin-fonce: #D5CCC0;          /* points de la carte, filets discrets */
  --ligne: rgba(33, 43, 52, .14); /* filets fins sur fond clair */
  --ligne-sombre: rgba(255, 255, 255, .16);

  /* Typographies */
  --font-titre: "Montserrat", system-ui, sans-serif;
  --font-texte: "Inter", system-ui, sans-serif;

  /* Échelle typographique */
  --t-hero: clamp(2.75rem, 10vw, 7.5rem);
  --t-h2: clamp(2rem, 5.4vw, 3.75rem);
  --t-h3: 1.25rem;
  --t-chiffre: clamp(3rem, 8vw, 5.5rem);
  --t-base: 1rem;
  --t-petit: .875rem;

  /* Mise en page */
  --largeur: 1240px;
  --marge: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 144px);
  --header-h: 72px;
  --barre-mobile-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--anthracite);
  font-family: var(--font-texte);
  font-size: var(--t-base);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--barre-mobile-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--anthracite); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--anthracite); outline-offset: 3px; }
.footer :focus-visible, .appel-final :focus-visible { outline-color: var(--blanc); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.is-hidden { display: none !important; }
.a-venir { color: var(--gris); font-style: italic; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.section { padding: var(--section) 0; }
.section--lin { background: var(--lin); }

/* ---------- Titres façon DEV.UN : fin + gras, majuscules, décalés ---------- */
.titre {
  font-family: var(--font-titre);
  text-transform: uppercase;
  font-weight: 300;
  font-size: var(--t-h2);
  line-height: .98;
  letter-spacing: -.015em;
}
.titre b, .titre strong { font-weight: 700; display: block; }
/* La seconde ligne se décale vers la droite, comme « OUR / SERVICES » */
.titre--decale b { padding-left: .9em; }
.trait {
  width: 56px; height: 4px; border-radius: 2px;
  background: var(--orange-logo);
  margin: 22px 0 28px;
}
.entete-section { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.entete-section p { color: var(--gris); max-width: 52ch; margin: 0; }

h3, .h3 {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: var(--t-h3);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.num {
  font-family: var(--font-titre);
  font-weight: 300;
  color: var(--gris);
  font-size: 1rem;
  letter-spacing: .08em;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: var(--t-base);
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
/* Bouton devis : toujours orange logo, texte anthracite */
.btn--devis { background: var(--orange-logo); color: var(--anthracite); }
.btn--devis:hover { background: #ff8a2f; }
.btn--contour { background: transparent; color: var(--anthracite); border-color: var(--anthracite); }
.btn--contour:hover { background: var(--anthracite); color: var(--blanc); }
.btn--clair { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.6); }
.btn--clair:hover { background: var(--blanc); color: var(--anthracite); }
.btn svg { width: 20px; height: 20px; flex: none; }
.lien {
  font-weight: 500; text-decoration: none;
  border-bottom: 1.5px solid var(--anthracite);
  padding-bottom: 2px;
  display: inline-block;
  min-height: 24px;
}
.lien:hover { border-bottom-color: var(--orange-logo); }

/* ---------- Images en attente (fond lin + nom du fichier) ---------- */
.media {
  position: relative;
  background: var(--lin);
  overflow: hidden;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing img { visibility: hidden; }
.media.is-missing::after {
  content: attr(data-fichier);
  position: absolute; left: 14px; bottom: 12px;
  font-size: 12px; color: var(--gris);
  letter-spacing: .02em;
}
.legende {
  font-size: var(--t-petit);
  color: var(--gris);
  margin: 12px 0 0;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blanc);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--ligne); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.logo { display: block; flex: none; }
.logo img { height: 34px; width: auto; }

.nav { display: none; }
.nav__liste { display: flex; align-items: center; gap: clamp(12px, 1.2vw, 22px); }
.nav__lien, .nav__bouton {
  font-family: var(--font-texte);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--anthracite); text-decoration: none;
  background: none; border: 0; padding: 12px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.nav__lien[aria-current="page"], .nav__lien:hover, .nav__bouton:hover { box-shadow: inset 0 -2px 0 var(--orange-logo); }
.nav__bouton svg { width: 10px; height: 10px; transition: transform .2s; }
.nav__bouton[aria-expanded="true"] svg { transform: rotate(180deg); }

.sous-menu { position: relative; }
.sous-menu__liste {
  position: absolute; top: calc(100% + 8px); left: -24px;
  min-width: 250px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  padding: 10px 0;
  display: none;
}
.sous-menu__liste.is-open { display: block; }
.sous-menu__liste a {
  display: block; padding: 10px 24px;
  text-decoration: none; font-size: 15px;
}
.sous-menu__liste a:hover { background: var(--lin); }

.langues { display: flex; gap: 2px; }
.langues a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; color: var(--gris);
  padding: 6px 4px; min-height: 32px;
}
.langues a[aria-current="true"] { color: var(--anthracite); }
.langues svg { width: 18px; height: 12px; border: 1px solid var(--ligne); }

.langue { position: relative; }
.langue__bouton {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px;
  border-radius: 999px; border: 1px solid var(--ligne);
  background: var(--blanc); color: var(--anthracite);
  font-family: var(--font-texte); font-size: 14px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color .2s;
}
.langue__bouton:hover, .langue__bouton[aria-expanded="true"] { border-color: var(--anthracite); }
.drapeau { width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px var(--ligne); }
.langue .chevron { width: 10px; height: 10px; transition: transform .2s; }
.langue__bouton[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.langue__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 190px; padding: 6px;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(33, 43, 52, .12);
  display: none;
}
.langue__menu.is-open { display: block; animation: apparait .15s ease-out; }
@keyframes apparait { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.langue__menu a {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 10px; border-radius: 8px;
  text-decoration: none; font-size: 15px;
}
.langue__menu a span { flex: 1; }
.langue__menu a:hover { background: var(--lin); }
.langue__menu a[aria-current="true"] { font-weight: 600; }
.langue__menu .coche { width: 16px; height: 16px; }

.header__actions { display: none; align-items: center; gap: 14px; }
.header__actions .btn { min-height: 44px; padding: 10px 20px; font-size: 14px; }

.burger {
  width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer;
  display: grid; place-content: center; gap: 6px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--anthracite); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile plein écran */
.menu-mobile {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--blanc);
  overflow-y: auto;
  padding: 24px var(--marge) calc(var(--barre-mobile-h) + 32px);
  display: none;
}
.menu-mobile.is-open { display: block; }
.menu-mobile > ul > li { border-bottom: 1px solid var(--ligne); }
.menu-mobile a, .menu-mobile summary {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 56px;
  font-family: var(--font-titre); font-weight: 300; text-transform: uppercase;
  font-size: 1.375rem; text-decoration: none; cursor: pointer; list-style: none;
}
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile details ul { padding: 0 0 16px 16px; }
.menu-mobile details a { font-family: var(--font-texte); text-transform: none; font-size: 1rem; min-height: 44px; }
.menu-mobile .langues { margin: 28px 0 0; gap: 16px; }
.menu-mobile .langues a { font-family: var(--font-texte); font-size: 14px; min-height: 44px; }

@media (min-width: 1180px) {
  .nav, .header__actions { display: flex; }
  .burger { display: none; }
  .logo img { height: 34px; }
  .header__inner { gap: 16px; }
}

/* Barre fixe mobile : Devis + WhatsApp */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--barre-mobile-h);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--blanc);
  border-top: 1px solid var(--ligne);
}
.barre-mobile .btn { min-height: 48px; padding: 8px 12px; }
@media (min-width: 1180px) {
  .barre-mobile { display: none; }
  body { padding-bottom: 0; }
}

/* ==========================================================================
   Hero plein écran
   ========================================================================== */
/* Grande photo de cuisine en fond, texte blanc sur voile anthracite */
.hero {
  position: relative;
  min-height: min(calc(100svh - var(--header-h) - var(--barre-mobile-h)), 860px);
  display: flex; align-items: flex-end;
  color: var(--blanc);
  background: var(--anthracite);
}
.hero__fond { position: absolute; inset: 0; background: #3a4650; }
.hero__fond::before {
  /* voile : garantit le contraste du texte quelle que soit la photo */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(33,43,52,.92) 0%, rgba(33,43,52,.62) 45%, rgba(33,43,52,.2) 100%);
}
.hero__fond.is-missing::after { z-index: 2; top: 14px; bottom: auto; color: rgba(255,255,255,.7); }
.hero__contenu { position: relative; z-index: 2; padding-top: 96px; padding-bottom: clamp(40px, 6vw, 80px); }
.hero__titre {
  font-family: var(--font-titre);
  text-transform: uppercase;
  font-size: var(--t-hero);
  line-height: .92;
  letter-spacing: -.03em;
  font-weight: 300;
  color: var(--blanc);
}
.hero__titre span { display: block; }
.hero__titre strong { display: block; font-weight: 700; padding-left: .6em; }
.hero__texte { color: rgba(255,255,255,.88); font-size: 1.0625rem; max-width: 46ch; margin: 28px 0 28px; }
.hero__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__legende { font-size: 12px; color: rgba(255,255,255,.7); margin: 28px 0 0; }
@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 900px); }
  .hero__fond::before {
    background:
      linear-gradient(to right, rgba(33,43,52,.88) 0%, rgba(33,43,52,.6) 42%, rgba(33,43,52,.08) 75%),
      linear-gradient(to top, rgba(33,43,52,.55) 0%, rgba(33,43,52,0) 40%);
  }
  .hero__titre strong { padding-left: 1.1em; }
}

/* Le coin de la photo se décolle, comme le pli du F du logo */
.coin-decolle { --coin: clamp(56px, 8vw, 112px); }
.coin-decolle { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coin)), calc(100% - var(--coin)) 100%, 0 100%); background-clip: border-box; }
.coin-decolle::after {
  content: "";
  position: absolute; right: 0; bottom: 0; z-index: 3;
  width: var(--coin); height: var(--coin);
  background: linear-gradient(315deg, transparent 50%, var(--lin-fonce) 50%, var(--blanc) 72%, var(--lin) 100%);
  transform-origin: 100% 100%;
}
.coin-decolle--visible::after { animation: decolle 1.1s cubic-bezier(.2, .8, .2, 1) .3s both; }
@keyframes decolle { from { transform: scale(0); } to { transform: scale(1); } }

/* ==========================================================================
   En chiffres : trois cartes
   ========================================================================== */
.section--atouts { padding-top: clamp(40px, 6vw, 72px); }
.atouts { display: grid; gap: 16px; }
.atout {
  background: var(--lin);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.atout__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blanc); border-radius: 999px;
  padding: 6px 14px; font-size: var(--t-petit);
}
.atout__tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--anthracite); }
.atout__titre {
  font-family: var(--font-titre); font-weight: 300; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.05; letter-spacing: -.01em;
  margin: 28px 0;
}
.atout__titre b { display: block; font-weight: 700; }
.atout__icone { width: 52px; height: 52px; color: var(--anthracite); }
.atout p { color: var(--gris); margin: 28px 0 0; max-width: 26ch; }
@media (min-width: 640px) { .atouts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .atouts { grid-template-columns: repeat(4, 1fr); } .atout__titre { font-size: clamp(1.25rem, 1.9vw, 1.75rem); min-height: 4.2em; display: flex; flex-direction: column; justify-content: center; } }

/* ==========================================================================
   Ce que nous habillons : carrousel
   ========================================================================== */
/* Mobile : toutes les cartes dans un carrousel horizontal */
.surfaces {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--marge)); padding: 0 var(--marge);
  scroll-padding-left: var(--marge);
}
.surfaces::-webkit-scrollbar, .rail__piste::-webkit-scrollbar { display: none; }
.rail, .rail__piste { display: contents; }
.surface { text-decoration: none; display: block; flex: 0 0 80%; max-width: 420px; scroll-snap-align: start; }
.surface .media { aspect-ratio: 4 / 3; }
.surface .media img { transition: transform .6s; }
.surface:hover .media img { transform: scale(1.03); }
.surface__pied {
  display: flex; align-items: baseline; gap: 14px;
  margin-top: 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--ligne);
}
.surface__pied h3 { flex: 1; }
.surface__pied .fleche { width: 22px; height: 22px; transition: transform .25s; flex: none; align-self: center; }
.surface:hover .fleche { transform: translateX(4px); }
.surface p { color: var(--gris); margin: 10px 0 0; font-size: .9375rem; }

.carrousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 28px; }
.carrousel-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--anthracite); color: var(--anthracite);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.carrousel-btn svg { width: 22px; height: 22px; }
.carrousel-btn:hover:not(:disabled) { background: var(--anthracite); color: var(--blanc); }
.carrousel-btn:disabled { opacity: .3; cursor: default; }

/* Bureau : Cuisines en grand à gauche, carrousel vertical à droite */
@media (min-width: 1000px) {
  .surfaces {
    display: grid; grid-template-columns: 2fr 1fr; gap: 32px;
    overflow: visible; margin: 0; padding: 0;
  }
  .surface { max-width: none; }
  .rail { display: block; position: relative; }
  .rail__piste {
    display: flex; flex-direction: column; gap: 28px;
    position: absolute; inset: 0;
    overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none;
  }
  /* 2 cartes visibles + le haut de la suivante, pour montrer qu'il y a une suite */
  .rail .surface { flex: 0 0 calc((100% - 56px) / 2.2); display: flex; flex-direction: column; scroll-snap-align: start; }
  .rail .surface .media { flex: 1; min-height: 0; aspect-ratio: auto; }
  .carrousel-nav .carrousel-btn svg { transform: rotate(90deg); }
}

/* ==========================================================================
   Avant / après
   ========================================================================== */
.avant-apres { position: relative; aspect-ratio: 16 / 10; user-select: none; touch-action: pan-y; }
.avant-apres .media { position: absolute; inset: 0; }
.avant-apres .media--avant { background: var(--lin-fonce); }
.avant-apres__apres .media { background: var(--blanc); }
.avant-apres__apres { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.avant-apres__ligne {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 2px; background: var(--blanc); transform: translateX(-1px);
  pointer-events: none;
}
.avant-apres__poignee {
  position: absolute; top: 50%; left: var(--pos, 50%);
  width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--blanc); color: var(--anthracite);
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(33, 43, 52, .2);
  pointer-events: none;
}
.avant-apres__poignee svg { width: 26px; height: 26px; }
.avant-apres input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.avant-apres:has(input:focus-visible) .avant-apres__poignee { outline: 2px solid var(--anthracite); outline-offset: 3px; }
.etiquette {
  position: absolute; top: 14px;
  background: var(--blanc); color: var(--anthracite);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 12px; pointer-events: none;
}
.etiquette--avant { left: 14px; }
.etiquette--apres { right: 14px; }

/* ==========================================================================
   Simulez votre projet
   ========================================================================== */
.simulateur {
  display: grid; gap: 28px; align-items: center;
  padding: clamp(36px, 6vw, 64px);
  background: var(--lin);
}
.simulateur .titre { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.simulateur p { color: var(--gris); margin: 14px 0 0; max-width: 46ch; }
@media (min-width: 900px) { .simulateur { grid-template-columns: 1fr auto; } }

/* ==========================================================================
   C'est quoi le covering — image / texte
   ========================================================================== */
.duo { display: grid; gap: 40px; align-items: center; }
.duo .media { aspect-ratio: 4 / 5; }
.duo__texte .titre { font-size: clamp(1.75rem, 4vw, 3rem); }
.duo__texte p { max-width: 54ch; }
.duo__texte .lien { margin-top: 12px; }
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); }
  .duo--inverse .duo__media { order: 2; }
}

/* ==========================================================================
   Remplacer / Peindre / FlipCover : trois cartes
   ========================================================================== */
/* Mobile : carrousel horizontal, FlipCover en premier */
.comparatif {
  display: flex; gap: 14px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--marge)); padding: 0 var(--marge);
  scroll-padding-left: var(--marge);
}
.comparatif::-webkit-scrollbar { display: none; }
.option {
  flex: 0 0 84%; max-width: 380px; scroll-snap-align: start;
  background: var(--blanc); color: var(--gris);
  padding: 28px 24px;
}
.option h3 { font-weight: 300; font-size: 1.5rem; color: var(--gris); margin-bottom: 20px; }
.option dl { margin: 0; }
.option dl > div { padding: 14px 0; border-top: 1px solid var(--ligne); }
.option dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.option dd { margin: 0; color: var(--anthracite); }

.option--flip {
  background: var(--anthracite); color: rgba(255,255,255,.72);
  box-shadow: inset 0 4px 0 var(--orange-logo);
  padding-top: 36px;
}
.option--flip h3 { color: var(--blanc); font-weight: 700; font-size: 1.75rem; }
.option--flip dl > div { border-top-color: var(--ligne-sombre); }
.option--flip dd { color: var(--blanc); font-weight: 500; font-size: 1.0625rem; display: flex; gap: 10px; }
.option--flip .coche { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.option--flip .btn { margin-top: 24px; width: 100%; }

@media (min-width: 900px) {
  .comparatif {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch;
    overflow: visible; margin: 0; padding: 0;
  }
  /* les trois cartes ont la même taille ; FlipCover reste en avant par la couleur */
  .option { max-width: none; padding: 48px 40px; }
  .option h3 { font-size: 1.75rem; }
  .option dd { font-size: 1.0625rem; }
  .option--flip { order: 3; }
  .option--flip .btn { width: auto; }
}

/* ==========================================================================
   Étapes : blocs numérotés reliés par un filet
   ========================================================================== */
.etapes { display: grid; gap: 44px 0; padding-top: 16px; }
.etape { position: relative; padding-right: 44px; }
.etape__bloc {
  position: relative;
  background: var(--lin);
  padding: 32px 28px 28px;
  min-height: 250px;
  display: flex; flex-direction: column;
}
.etape__bloc h3 { max-width: 15ch; }
.etape__bloc p { color: var(--gris); margin: 10px 0 20px; max-width: 24ch; }
.etape__icone { width: 40px; height: 40px; margin-top: auto; color: var(--anthracite); }
.etape__num {
  position: absolute; right: 0; bottom: 14px;
  font-family: var(--font-titre); font-weight: 700;
  font-size: 5rem; line-height: 1; letter-spacing: -.04em;
  color: var(--anthracite);
}
/* filets : un coin en haut à droite, un coin en bas à gauche, terminés par un point */
.etape__bloc::before, .etape__bloc::after {
  content: ""; position: absolute; width: 58%; height: 46%;
  border: 1.5px solid var(--anthracite); pointer-events: none;
}
.etape__bloc::before { top: -14px; right: -14px; border-left: 0; border-bottom: 0; }
.etape__bloc::after { bottom: -14px; left: -14px; border-right: 0; border-top: 0; }
.etape::before, .etape::after {
  content: ""; position: absolute; z-index: 1;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blanc); border: 1.5px solid var(--anthracite);
}
.etape::before { top: -18px; left: calc((100% - 44px) * .42 + 10px); }
.etape::after { bottom: -18px; left: calc((100% - 44px) * .58 - 18px); background: var(--orange-logo); border-color: var(--orange-logo); }
@media (min-width: 640px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; } }
@media (min-width: 1100px) { .etapes { grid-template-columns: repeat(4, 1fr); gap: 24px; } .etape__num { font-size: 5.5rem; } }
.etapes-suite { margin: 48px 0 0; }
/* 5 blocs : sur une ligne à partir de 1100 px, plus compacts */
@media (min-width: 900px) and (max-width: 1099px) { .etapes--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .etapes--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .etapes--5 .etape { padding-right: 34px; }
  .etapes--5 .etape__bloc { padding: 26px 20px 22px; min-height: 270px; }
  .etapes--5 .etape__bloc h3 { font-size: 1rem; }
  .etapes--5 .etape__bloc p { font-size: .9375rem; }
  .etapes--5 .etape__num { font-size: 4.25rem; }
  .etapes--5 .etape::before { left: calc((100% - 34px) * .42 + 10px); }
  .etapes--5 .etape::after { left: calc((100% - 34px) * .58 - 18px); }
}

/* ==========================================================================
   Particuliers et pros
   ========================================================================== */
.publics { display: grid; gap: 24px; }
.public { background: var(--blanc); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.public h3 { font-size: 1.5rem; font-weight: 300; }
.public p { color: var(--gris); margin: 0; flex: 1; }
.public ul { color: var(--anthracite); font-size: .9375rem; }
.public li { padding: 8px 0; border-bottom: 1px solid var(--ligne); }
.public .lien { align-self: flex-start; margin-top: 8px; }
@media (min-width: 800px) { .publics { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Pourquoi FlipCover : 4 cases + engagements
   ========================================================================== */
.raisons { display: grid; gap: 16px; }
.raison {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  border: 1px solid var(--ligne);
  padding: clamp(24px, 3vw, 36px);
}
.raison__icone { width: 56px; height: 56px; background: var(--lin); display: grid; place-items: center; }
.raison__icone svg { width: 26px; height: 26px; }
.raison h3 { font-size: 1.125rem; }
.raison p { color: var(--gris); margin: 8px 0 0; }
@media (min-width: 800px) { .raisons { grid-template-columns: 1fr 1fr; gap: 24px; } }
.engagements {
  display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center;
  margin-top: 40px; color: var(--gris); font-size: .9375rem;
}
.engagements li { display: inline-flex; align-items: center; gap: 8px; }
.engagements .coche { width: 16px; height: 16px; color: var(--anthracite); }

/* ==========================================================================
   Carte de Belgique (reprise de carte-belgique.html)
   ========================================================================== */
.zone { display: grid; gap: 40px; align-items: center; }
@media (min-width: 820px) { .zone { grid-template-columns: 1fr 1.2fr; } }
.zone p { color: var(--gris); max-width: 420px; }
.map { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 400 / 328; }
.map > svg.dots { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--lin-fonce); }
.halo {
  position: absolute; left: calc(187 / 400 * 100%); top: calc(108 / 328 * 100%);
  width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,120,20,.18) 0%, rgba(250,120,20,.08) 55%, rgba(254,206,161,0) 72%);
  border: 1.5px dashed rgba(250,120,20,.45);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .8s;
}
.pin {
  position: absolute; left: calc(var(--x) / 400 * 100%); top: calc(var(--y) / 328 * 100%);
  width: 34px; height: 34px;
  transform: translate(-50%, -100%) translateY(-18px) scale(.6);
  opacity: 0;
  filter: drop-shadow(0 3px 1px rgba(0,0,0,.15));
  transition: transform .45s cubic-bezier(.3,1.6,.5,1) var(--d), opacity .25s ease-out var(--d);
}
.pin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin i { position: absolute; top: 3.5px; left: 6.3px; width: 21.4px; height: 21.4px; border-radius: 50%; }
.pin span {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 3px; font-size: 11px; font-weight: 500; color: var(--gris);
  white-space: nowrap; opacity: 0; transition: opacity .2s;
}
.pin:hover span { opacity: 1; }
.pin.hq { width: 60px; height: 60px; z-index: 2; }
.pin.hq i { top: 6.5px; left: 11.3px; width: 37.4px; height: 37.4px; background: var(--blanc) url(images/logo-symbole.png) center / 62% no-repeat; }
.pin.hq span { opacity: 1; font-weight: 600; color: var(--anthracite); font-size: 13px; }
.map.on .pin { opacity: 1; transform: translate(-50%, -100%) translateY(0) scale(1); }
.map.on .halo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 480px) { .pin { width: 26px; height: 26px; } .pin i { top: 2.7px; left: 4.8px; width: 16.4px; height: 16.4px; } .pin.hq { width: 46px; height: 46px; } .pin.hq i { top: 5px; left: 8.7px; width: 28.6px; height: 28.6px; } }

/* ==========================================================================
   Avis (caché jusqu'aux 3 premiers avis Google)
   ========================================================================== */
.avis-liste { display: grid; gap: 24px; }
@media (min-width: 900px) { .avis-liste { grid-template-columns: repeat(3, 1fr); } }
.avis { background: var(--lin); padding: 32px; }

/* ==========================================================================
   FAQ (accordéons)
   ========================================================================== */
.faq-grille { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grille { grid-template-columns: 1fr 1.6fr; gap: 80px; } }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq details:first-child { border-top: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 18px 0;
  font-weight: 500; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--anthracite);
  transition: transform .25s;
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details > div { padding: 0 40px 24px 0; color: var(--gris); }
.faq details > div p:last-child { margin: 0; }

/* ==========================================================================
   Appel final + pied de page (fond anthracite)
   ========================================================================== */
.footer { background: var(--anthracite); color: var(--blanc); }
.footer a { color: var(--blanc); }
.appel-final { padding: var(--section) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--ligne-sombre); }
.appel-final .titre { color: var(--blanc); font-size: clamp(2.25rem, 7vw, 5.5rem); }
.appel-final p { color: rgba(255,255,255,.78); max-width: 46ch; margin: 0 0 32px; }
.appel-final__boutons { display: flex; flex-wrap: wrap; gap: 12px; }

.footer__grille { display: grid; gap: 40px; padding: 56px 0; }
@media (min-width: 800px) { .footer__grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { color: var(--blanc); font-size: .8125rem; letter-spacing: .14em; margin-bottom: 16px; font-weight: 500; }
.footer li { margin-bottom: 6px; }
.footer li a, .footer address a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer li a:hover, .footer address a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer address { font-style: normal; }
.footer__logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.footer__muted { color: rgba(255,255,255,.72); font-size: .9375rem; }
.footer__bas {
  border-top: 1px solid var(--ligne-sombre);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.72);
}

/* ==========================================================================
   Mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Compléments Accueil ---------- */

.aa-figure { margin: 0; }

.section--sans-haut { padding-top: 0; }

/* ==========================================================================
   Combinaisons de finitions (image + pastilles)
   ========================================================================== */
.media--carre { aspect-ratio: 1 / 1 !important; }
.media--carre img { transition: opacity .35s; }
.media--carre.is-changing img { opacity: 0; }
@media (min-width: 900px) { .duo--large { grid-template-columns: 1fr 1.1fr; } }
.combis { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 22px; }
.combi {
  width: 48px; height: 48px; padding: 0; cursor: pointer;
  border: 0; border-radius: 6px;
  background: linear-gradient(to bottom, var(--c1) 55%, var(--c2) 55%);
  box-shadow: 0 0 0 1px var(--ligne);
  transition: box-shadow .15s;
}
.combi:hover { box-shadow: 0 0 0 1px var(--anthracite); }
.combi[aria-checked="true"] { box-shadow: 0 0 0 2px var(--blanc), 0 0 0 4px var(--anthracite); }
.combi-nom {
  font-family: var(--font-titre); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .9375rem; margin: 0 0 6px;
}
.combi-texte { color: var(--gris); margin-bottom: 18px; }
.combi-refs { margin: 0 0 28px; border-top: 1px solid var(--ligne); max-width: 460px; }
.combi-refs > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); align-items: baseline; }
.combi-refs dt { color: var(--gris); font-size: var(--t-petit); }
.combi-refs dd { margin: 0; font-weight: 500; }
.combi-refs a { text-decoration: none; border-bottom: 1px solid var(--ligne); }
.combi-refs a:hover { border-bottom-color: var(--orange-logo); }

/* ==========================================================================
   Pages intérieures : en-tête de page
   ========================================================================== */
.page-entete { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-entete .titre { font-size: clamp(2.5rem, 8vw, 5.5rem); }
.page-entete p { color: var(--gris); max-width: 56ch; font-size: 1.0625rem; }

/* ==========================================================================
   Collections : familles (collections.html) + finitions (collection-*.html)
   ========================================================================== */
.familles { display: grid; gap: 16px; }
@media (min-width: 640px) { .familles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .familles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.famille {
  position: relative; display: block; text-decoration: none;
  aspect-ratio: 4 / 5; color: var(--blanc); overflow: hidden;
}
.famille .media { position: absolute; inset: 0; background: #3a4650; }
.famille .media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(33,43,52,.78) 0%, rgba(33,43,52,.1) 45%, rgba(33,43,52,.7) 100%);
}
.famille .media img { transition: transform .6s; }
.famille:hover .media img { transform: scale(1.04); }
.famille .media.is-missing::after { z-index: 2; color: rgba(255,255,255,.7); left: auto; right: 14px; }
.famille__haut, .famille__bas { position: absolute; z-index: 2; left: 24px; right: 24px; }
.famille__haut { top: 24px; }
.famille__bas { bottom: 22px; display: flex; justify-content: space-between; align-items: center; font-size: var(--t-petit); }
.famille h2 {
  font-family: var(--font-titre); text-transform: uppercase; font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.05; color: var(--blanc);
}
.famille p { margin: 8px 0 0; color: rgba(255,255,255,.85); max-width: 28ch; }
.famille .fleche { width: 24px; height: 24px; transition: transform .25s; }
.famille:hover .fleche { transform: translateX(4px); }

/* Onglets des familles (liens) */
.filtres {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--marge)) 24px; padding: 8px var(--marge);
  position: sticky; top: var(--header-h); z-index: 5; background: var(--blanc);
}
.filtres::-webkit-scrollbar { display: none; }
.filtre {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border-radius: 999px; border: 1.5px solid var(--ligne);
  background: var(--blanc); color: var(--anthracite); text-decoration: none;
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.filtre:hover { border-color: var(--anthracite); }
.filtre[aria-current="page"] { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.page-entete .compte { font-family: var(--font-titre); font-weight: 300; font-size: .3em; vertical-align: super; letter-spacing: 0; margin-left: .3em; color: var(--gris); }
.fil { font-size: var(--t-petit); color: var(--gris); margin: 0 0 20px; }
.fil a { color: var(--gris); }

.finitions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .finitions { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .finitions { grid-template-columns: repeat(4, 1fr); } }
.finition { background: var(--lin); padding: clamp(14px, 2vw, 24px); scroll-margin-top: calc(var(--header-h) + 80px); }
.finition:target { box-shadow: inset 0 0 0 2px var(--anthracite); }
.finition .media { aspect-ratio: 1 / 1; background: var(--blanc); margin: 0 auto clamp(14px, 2vw, 22px); width: 78%; }
.finition .media.is-missing::after { left: 8px; bottom: 6px; font-size: 11px; }
.finition__code { font-family: var(--font-titre); font-weight: 700; font-size: 1.125rem; margin: 0; letter-spacing: .01em; }
.finition__nom { color: var(--gris); margin: 2px 0 0; font-size: .9375rem; line-height: 1.35; }
.collection-suite { color: var(--gris); font-size: var(--t-petit); margin: 28px 0 0; }
.collection-note { background: var(--lin); padding: clamp(28px, 4vw, 48px); margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 20px; align-items: center; }
.collection-note p { margin: 0; max-width: 60ch; }
@media (min-width: 800px) { .collection-note { grid-template-columns: 1fr auto; } }

/* Combinaisons : sur mobile, la photo passe avant le texte pour rester visible près des pastilles */
@media (max-width: 899px) { .js-combinaisons .duo__media { order: -1; } }

/* ==========================================================================
   Comment ça marche : cartes d'étapes numérotées, sur deux colonnes
   ========================================================================== */
.pas { display: grid; gap: 16px; counter-reset: pas; }
@media (min-width: 800px) { .pas { grid-template-columns: 1fr 1fr; gap: 20px; } }
.pas__carte { background: var(--blanc); padding: clamp(24px, 3vw, 36px); }
.pas__num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--anthracite);
  font-family: var(--font-titre); font-weight: 600; font-size: .9375rem;
  margin-bottom: 18px;
}
.pas__carte h3 { margin-bottom: 10px; }
.pas__carte p { color: var(--gris); margin: 0; max-width: 46ch; }
.pas__carte p + p { margin-top: 10px; }

/* Trois raisons courtes, côte à côte */
.trio { display: grid; gap: 16px; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.trio__carte { border: 1px solid var(--ligne); padding: clamp(22px, 2.6vw, 32px); }
.trio__carte h3 { font-size: 1.0625rem; }
.trio__carte p { color: var(--gris); margin: 8px 0 0; }

/* Deux blocs côte à côte (cas particuliers, garanties / limites) */
.paire { display: grid; gap: 20px; }
@media (min-width: 800px) { .paire { grid-template-columns: 1fr 1fr; gap: 24px; } }
.liste-traits li { padding: 14px 0; border-top: 1px solid var(--ligne); }
.liste-traits li:last-child { border-bottom: 1px solid var(--ligne); }
.liste-traits strong { font-weight: 600; }
.note { color: var(--gris); font-size: var(--t-petit); margin: 16px 0 0; max-width: 60ch; }
.section-titre { font-family: var(--font-titre); font-weight: 300; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.05; margin-bottom: 24px; }
.section-titre b { font-weight: 700; }

.public--lin { background: var(--lin); }
.pas__carte a { text-underline-offset: 3px; }
.page-entete .btn { margin-top: 12px; }

/* ==========================================================================
   Pages de service : en-tête texte + photo, listes, avantages, galerie
   ========================================================================== */
.service-entete { padding: clamp(32px, 5vw, 72px) 0 var(--section); }
.service-entete .titre { font-size: clamp(2rem, 5vw, 3.5rem); }
.service-entete .duo__media .media { aspect-ratio: 4 / 5; }
.service-accroche { font-size: 1.0625rem; color: var(--gris); max-width: 48ch; margin-bottom: 28px; }
@media (min-width: 900px) { .service-entete .duo { grid-template-columns: 1.1fr 1fr; align-items: center; } }

.coches { display: grid; gap: 0; }
.coches li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--ligne); }
.coches li:last-child { border-bottom: 1px solid var(--ligne); }
.coches .coche { width: 18px; height: 18px; margin-top: 4px; color: var(--anthracite); }
.coches--non .coche { color: var(--gris); }
.coches .point { width: 6px; height: 6px; border-radius: 50%; background: var(--gris); margin: 10px 0 0 6px; }
@media (min-width: 800px) { .conteneur:not(.paire) > div > .coches { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

.avantages { display: grid; gap: 0 40px; }
@media (min-width: 640px) { .avantages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .avantages { grid-template-columns: repeat(3, 1fr); } .avantages--4 { grid-template-columns: repeat(4, 1fr); } }
.avantage { padding: 24px 0 28px; border-top: 1px solid var(--anthracite); }
.avantage h3 { font-size: 1.125rem; }
.avantage p { color: var(--gris); margin: 8px 0 0; }

.compat { display: grid; gap: 20px; }
@media (min-width: 800px) { .compat { grid-template-columns: 1.2fr 1fr; gap: 24px; } }
.compat__col { border: 1px solid var(--ligne); padding: clamp(24px, 3vw, 40px); }
.compat__col--oui { background: var(--lin); border-color: transparent; }
.compat__col h3 { margin-bottom: 18px; }
.compat__col p { color: var(--gris); margin: 20px 0 12px; }

.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .galerie { grid-template-columns: repeat(4, 1fr); gap: 16px; } .galerie .media:nth-child(even) { margin-top: 40px; } }
.galerie .media { aspect-ratio: 4 / 5; background: var(--blanc); }

.etapes-ligne { display: grid; gap: 0; }
.etapes-ligne li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-top: 1px solid var(--ligne); font-weight: 500; }
@media (min-width: 900px) {
  .etapes-ligne { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .etapes-ligne li { flex-direction: column; gap: 8px; border-top: 1px solid var(--anthracite); padding: 18px 0 0; }
}

.cases { display: grid; gap: 40px 24px; }
@media (min-width: 640px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cases { grid-template-columns: repeat(4, 1fr); gap: 56px 24px; } }
.cases .surface { flex: none; max-width: none; }

.trio--4 { }
@media (min-width: 1000px) { .trio--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .trio--4 { grid-template-columns: repeat(2, 1fr); } }
.trio--blanc .trio__carte { background: var(--blanc); border-color: transparent; }
.simulateur .hero__boutons { flex-wrap: wrap; }
.surface__pied .h3 { flex: 1; }

/* ==========================================================================
   Escaliers : calculateur, dessins, tarifs
   ========================================================================== */
.esc-dessus { fill: var(--esc-marche, var(--lin)); stroke: var(--anthracite); stroke-width: 1.2; stroke-linejoin: round; }
.esc-contre { fill: color-mix(in srgb, var(--esc-contre, #FFFFFF) 88%, #000); stroke: var(--anthracite); stroke-width: 1.2; stroke-linejoin: round; }
.esc-cote { fill: var(--lin-fonce); stroke: var(--anthracite); stroke-width: 1.2; stroke-linejoin: round; }
.esc-tranche { fill: color-mix(in srgb, var(--esc-marche, var(--lin)) 78%, #000); stroke: var(--anthracite); stroke-width: 1.2; stroke-linejoin: round; }
.esc-limon { stroke: var(--anthracite); stroke-width: 5; fill: none; }
.esc-ombre { stroke: var(--anthracite); stroke-width: 1; stroke-opacity: .7; stroke-linejoin: round; }

.calc { display: grid; gap: 20px; }
@media (min-width: 1000px) { .calc { grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; } }
.calc__form { background: var(--blanc); padding: clamp(22px, 3vw, 40px); display: grid; gap: 36px; }
.calc__champ { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__champ > legend, .calc__champ > label:not(.case) {
  display: block; padding: 0; margin-bottom: 16px;
  font-family: var(--font-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 1.0625rem;
}
.calc__champ .num { margin-right: 10px; }

.calc__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc__type {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
  padding: 14px 8px 16px; border: 1.5px solid var(--ligne);
}
.calc__type input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.calc__type-dessin { display: grid; place-items: center; height: 96px; width: 100%; margin-bottom: 8px; }
.calc__type-dessin svg { max-width: 100%; max-height: 96px; }
.calc__type strong { font-weight: 600; }
.calc__type small { color: var(--gris); font-size: 13px; line-height: 1.3; }
.calc__type:hover { border-color: var(--anthracite); }
.calc__type:has(input:checked) { border-color: var(--anthracite); box-shadow: inset 0 0 0 1.5px var(--anthracite); background: var(--lin); }
.calc__type:has(input:focus-visible) { outline: 2px solid var(--anthracite); outline-offset: 3px; }

.compteur { display: inline-flex; align-items: stretch; border: 1.5px solid var(--anthracite); }
.compteur__btn { width: 52px; min-height: 52px; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--anthracite); }
.compteur__btn:hover { background: var(--lin); }
.compteur input {
  width: 84px; border: 0; border-left: 1.5px solid var(--anthracite); border-right: 1.5px solid var(--anthracite);
  text-align: center; font-family: var(--font-titre); font-weight: 600; font-size: 1.5rem; color: var(--anthracite);
  -moz-appearance: textfield; appearance: textfield; background: var(--blanc);
}
.compteur input::-webkit-outer-spin-button, .compteur input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.case { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; border-top: 1px solid var(--ligne); }
.case:last-of-type { border-bottom: 1px solid var(--ligne); }
.case input { width: 20px; height: 20px; accent-color: var(--anthracite); flex: none; }
.case[hidden] { display: none; }
.calc__metres { padding: 16px 0 0; display: grid; gap: 8px; }
.calc__metres[hidden] { display: none; }
.calc__metres label { color: var(--gris); font-size: .9375rem; }
.calc__metres input { width: 120px; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--anthracite); font: inherit; font-weight: 600; }

.calc__resultat { background: var(--anthracite); color: var(--blanc); padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 4px 0 var(--orange-logo); }
@media (min-width: 1000px) { .calc__resultat { position: sticky; top: calc(var(--header-h) + 20px); } }
.calc__dessin { background: var(--blanc); display: grid; place-items: center; padding: 20px; height: 300px; margin-bottom: 28px; }
.calc__dessin svg { max-width: 100%; max-height: 260px; }
.calc__label { margin: 0; font-size: var(--t-petit); text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.72); }
.calc__prix { font-family: var(--font-titre); font-weight: 200; font-size: clamp(3.5rem, 8vw, 5rem); line-height: 1; letter-spacing: -.03em; margin: 6px 0 20px; }
.calc__detail { border-top: 1px solid var(--ligne-sombre); }
.calc__detail li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ligne-sombre); font-size: .9375rem; }
.calc__detail li span:last-child { white-space: nowrap; font-weight: 500; }
.calc__note { color: rgba(255,255,255,.72); font-size: var(--t-petit); margin: 18px 0 22px; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.calc__resultat :focus-visible { outline-color: var(--blanc); }

.tarifs { width: 100%; border-collapse: collapse; align-self: start; }
.tarifs th, .tarifs td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--ligne); vertical-align: baseline; }
.tarifs thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); font-weight: 500; border-bottom-color: var(--anthracite); }
.tarifs tbody th { font-weight: 500; }
.tarifs tbody th small { display: block; color: var(--gris); font-weight: 400; font-size: var(--t-petit); }
.tarifs td { text-align: right; font-family: var(--font-titre); font-weight: 600; font-size: 1.125rem; white-space: nowrap; }
.tarifs thead th:last-child { text-align: right; }

.trio__carte--picto svg { width: 56px; height: 56px; margin-bottom: 18px; color: var(--anthracite); }
ol.trio { counter-reset: none; }

/* Mobile : les trois types d'escalier s'empilent, dessin à gauche */
@media (max-width: 559px) {
  .calc__types { grid-template-columns: 1fr; }
  .calc__type { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto; column-gap: 16px; text-align: left; align-items: center; padding: 10px 14px; }
  .calc__type-dessin { grid-row: 1 / 3; height: 72px; margin: 0; }
  .calc__type-dessin svg { max-height: 72px; }
  .calc__type strong { align-self: end; }
  .calc__type small { align-self: start; }
}

/* Calculateur : deux choix côte à côte, aides, finitions, échantillons */
.calc__types--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc__type--texte { align-items: flex-start; text-align: left; padding: 16px 18px; gap: 4px; }
.calc__aide { color: var(--gris); font-size: .9375rem; margin: 0 0 16px; max-width: 52ch; }
.calc__aide[hidden] { display: none; }
.calc__champ .compteur { margin-bottom: 20px; display: flex; width: max-content; }
.calc__champ .case + .calc__aide { margin: 10px 0 0; }
/* les mini-dessins des boutons restent neutres : seule la grande vue prend la teinte */

.teintes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 14px 10px; }
.teinte { position: relative; cursor: pointer; display: block; text-align: center; }
.teinte input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.teinte__pastille {
  display: block; aspect-ratio: 1; border-radius: 6px;
  background: var(--img) center / cover, var(--t);
  box-shadow: 0 0 0 1px var(--ligne);
}
.teinte__nom { display: block; font-size: 12.5px; line-height: 1.25; margin-top: 8px; color: var(--gris); }
.teinte:hover .teinte__pastille { box-shadow: 0 0 0 1px var(--anthracite); }
.teinte:has(input:checked) .teinte__pastille { box-shadow: 0 0 0 2px var(--blanc), 0 0 0 4px var(--anthracite); }
.teinte:has(input:checked) .teinte__nom { color: var(--anthracite); font-weight: 600; }
.teinte:has(input:focus-visible) .teinte__pastille { outline: 2px solid var(--anthracite); outline-offset: 5px; }
.teinte-choisie { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 24px 0 14px; padding-top: 18px; border-top: 1px solid var(--ligne); }
.teinte-choisie p { margin: 0; }
.teinte-choisie span { color: var(--gris); margin-left: 6px; }
.teinte-choisie .btn { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.teinte-choisie .btn:disabled { opacity: .5; cursor: default; background: transparent; color: var(--anthracite); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces li { display: inline-flex; align-items: center; gap: 8px; background: var(--lin); padding: 6px 6px 6px 14px; border-radius: 999px; font-size: 14px; }
.puces li span { color: var(--gris); }
.puces button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--blanc); cursor: pointer; font-size: 16px; line-height: 1; color: var(--anthracite); }
.calc__detail li span:last-child { text-align: right; }

.pour-contre { display: grid; gap: 28px; }
@media (min-width: 640px) { .pour-contre { grid-template-columns: 1fr 1fr; gap: 32px; } }
.pour-contre h3 { font-size: 1rem; margin-bottom: 12px; }
.pour-contre .coches { grid-template-columns: 1fr !important; }
.pour-contre .coches--non span { color: var(--gris); }
.tarifs--3 td { width: 26%; }
.tarifs--3 thead th:nth-child(2) { text-align: right; }
@media (max-width: 559px) {
  .calc__types--2 { grid-template-columns: 1fr; }
  .calc__type strong, .calc__type small { min-width: 0; overflow-wrap: anywhere; }
  .calc__type--texte { display: flex; flex-direction: column; padding: 14px 16px; }
}
.calc__type--texte strong, .calc__type--texte small { align-self: flex-start; }
.teinte-apercu { display: grid; place-items: center; width: 96px; height: 80px; background: var(--blanc); border: 1px solid var(--ligne); margin: 0 !important; flex: none; }
.teinte-apercu svg { max-width: 84px; max-height: 68px; }
.teinte-choisie p { flex: 1; min-width: 120px; }
@media (min-width: 1000px) { .teinte-apercu { display: none; } }

/* ==========================================================================
   Formulaires (devis, contact)
   ========================================================================== */
.page-entete--court { padding-bottom: clamp(24px, 4vw, 40px); }
.page-entete--court .titre { font-size: clamp(2.25rem, 6vw, 4.25rem); }
.page-entete .hero__boutons { margin-top: 20px; }
.devis { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .devis { grid-template-columns: 1.6fr 1fr; gap: 56px; } }
.devis__form { background: var(--lin); padding: clamp(22px, 3.5vw, 48px); }
.progression { height: 4px; background: var(--lin-fonce); }
.progression__barre { display: block; height: 100%; width: 20%; background: var(--anthracite); transition: width .3s; }
.progression__texte { font-size: var(--t-petit); color: var(--gris); margin: 10px 0 28px; }
.devis__etape { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.devis__etape.is-active { display: block; }
.devis__titre { font-family: var(--font-titre); font-weight: 300; text-transform: uppercase; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1; padding: 0; margin-bottom: 24px; }
.devis__question { font-weight: 600; margin: 24px 0 12px; }
.devis__etape > .devis__question:first-of-type { margin-top: 0; }
.devis__bloc[hidden], .champ[hidden] { display: none; }
.choix-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 8px; }
.choix { position: relative; display: flex; align-items: center; min-height: 52px; padding: 10px 14px; background: var(--blanc); border: 1.5px solid transparent; cursor: pointer; line-height: 1.3; }
.choix input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choix small { display: block; color: var(--gris); font-size: 13px; }
.choix:hover { border-color: var(--ligne); }
.choix:has(input:checked) { border-color: var(--anthracite); box-shadow: inset 0 0 0 1.5px var(--anthracite); }
.choix:has(input:focus-visible) { outline: 2px solid var(--anthracite); outline-offset: 2px; }
.choix--seul { background: transparent; padding: 10px 0; gap: 12px; align-items: flex-start; border: 0; margin-top: 12px; }
.choix--seul input { position: static; opacity: 1; width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--anthracite); }
.choix--seul:has(input:checked) { box-shadow: none; }
.choix--seul a { position: relative; z-index: 1; }
.champ { display: block; margin: 18px 0 0; }
.champ > span { display: block; font-weight: 600; margin-bottom: 8px; }
.champ small { font-weight: 400; color: var(--gris); margin-left: 6px; }
.champ input, .champ textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--ligne); background: var(--blanc);
  font: inherit; color: var(--anthracite); border-radius: 0;
}
.champ input[type="number"] { max-width: 160px; }
.champ input:focus, .champ textarea:focus { outline: 0; border-color: var(--anthracite); box-shadow: inset 0 0 0 1px var(--anthracite); }
.champ.is-erreur input, .champ.is-erreur textarea { border-color: #B3261E; }
.aide { color: var(--gris); font-size: .9375rem; margin: 10px 0 0; }
.erreur { color: #B3261E; font-weight: 500; margin: 16px 0 0; }
.erreur[hidden] { display: none; }
.devis__rappel { background: var(--blanc); padding: 14px 16px; margin: 16px 0 0; font-size: .9375rem; }
.devis__rappel[hidden] { display: none; }
.depot { display: block; position: relative; border: 1.5px dashed var(--anthracite); background: var(--blanc); padding: 36px 20px; text-align: center; cursor: pointer; margin-top: 16px; }
.depot input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.depot__texte strong { display: block; font-size: 1.0625rem; }
.depot__texte small { color: var(--gris); }
.depot:has(input:focus-visible) { outline: 2px solid var(--anthracite); outline-offset: 3px; }
.depot__liste { margin-top: 12px; font-size: .9375rem; }
.depot__liste li { padding: 8px 0; border-bottom: 1px solid var(--ligne); display: flex; justify-content: space-between; gap: 12px; }
.depot__liste li span:last-child { color: var(--gris); white-space: nowrap; }
.devis__nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 36px; }
.devis__nav .btn[hidden] { display: none; }
.devis__nav .js-devis-suite, .devis__nav .js-devis-envoi { margin-left: auto; }
.devis__ensuite { position: sticky; top: calc(var(--header-h) + 20px); }
.liste-traits--num { counter-reset: n; }
.liste-traits--num li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; }
.liste-traits--num li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-titre); font-weight: 300; color: var(--gris); }
.contact-form .btn { margin-top: 24px; }
.contact-form .champ:first-child { margin-top: 0; }
.contact-form .choix { background: var(--lin); }
.confirmation { background: var(--lin); padding: 24px; margin: 0; }
.confirmation[hidden] { display: none; }

/* ==========================================================================
   FAQ par thème, pages légales
   ========================================================================== */
.faq-themes { display: grid; gap: clamp(40px, 6vw, 72px); max-width: 920px; }
.legal { max-width: 760px; }
.legal h2 { font-family: var(--font-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 1.0625rem; margin: 36px 0 10px; }
.legal p { color: var(--anthracite); }
.legal__fiche { margin: 0; border-top: 1px solid var(--ligne); }
.legal__fiche > div { display: grid; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
@media (min-width: 640px) { .legal__fiche > div { grid-template-columns: 240px 1fr; } }
.legal__fiche dt { color: var(--gris); }
.legal__fiche dd { margin: 0; font-weight: 500; }

/* ==========================================================================
   Carrousel « coverflow » des familles (page Le covering)
   ========================================================================== */
.cf { --cf-carte: clamp(170px, 24vw, 300px); position: relative; }
.cf__cadre { overflow: hidden; padding: 40px 0; perspective: calc(var(--cf-carte) * 3); touch-action: pan-y; cursor: grab; outline: 0; }
.cf__cadre:active { cursor: grabbing; }
.cf__cadre:focus-visible { box-shadow: inset 0 0 0 2px var(--anthracite); }
.cf__piste { position: relative; height: var(--cf-carte); transform-style: preserve-3d; user-select: none; }
.cf__carte {
  position: absolute; left: 50%; top: 0; width: var(--cf-carte); aspect-ratio: 1;
  overflow: hidden; background: var(--t, var(--lin)); will-change: transform;
  box-shadow: 0 18px 40px rgba(33, 43, 52, .22);
  text-decoration: none; -webkit-user-drag: none;
}
.cf__carte img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cf__carte.is-missing img { visibility: hidden; }
.cf__nom {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  color: var(--blanc); font-size: clamp(.875rem, 1.6vw, 1.125rem);
  background: linear-gradient(to top, rgba(33,43,52,.78), rgba(33,43,52,0));
}
.cf__btn { position: absolute; top: calc(40px + var(--cf-carte) / 2 - 24px); z-index: 200; background: var(--blanc); }
.cf__btn--prec { left: var(--marge); }
.cf__btn--suiv { right: var(--marge); }
.cf__legende { text-align: center; padding: 0 var(--marge); min-height: 150px; }
.cf__titre { font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; margin: 0 0 6px; }
.cf__texte { color: var(--gris); margin: 0 auto 4px; max-width: 40ch; }
.cf__compte { color: var(--gris); font-size: var(--t-petit); margin: 0 0 16px; }
.cf__points { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.cf__points button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.cf__points button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--anthracite); opacity: .3; }
.cf__points button[aria-current="true"]::before { opacity: 1; }
.simulateur--suite { margin-top: clamp(48px, 7vw, 88px); }
.simulateur--suite .titre { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
/* Très petits écrans : un mot de titre trop long se coupe proprement au lieu de déborder */
@media (max-width: 479px) { .titre { hyphens: auto; overflow-wrap: break-word; } .page-entete .titre { font-size: clamp(2rem, 9.5vw, 2.75rem); } }

/* Avant / après en format portrait (page Escaliers) */
.avant-apres--portrait { aspect-ratio: 4 / 5; }

/* Pages légales : listes, formulaire, tableau */
.legal ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal li { margin: 6px 0; color: var(--anthracite); }
.legal a { color: var(--anthracite); text-decoration: underline; text-underline-offset: 2px; }
.legal__cadre { border: 1px solid var(--ligne); background: var(--lin); padding: 20px 24px; margin-top: 12px; }
.legal__cadre p { margin: 8px 0; }
.legal__tableau { overflow-x: auto; margin: 12px 0 16px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9375rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.legal th { font-weight: 600; background: var(--lin); }

/* Champ piège anti-spam : invisible pour les visiteurs, rempli par les robots */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Bandeau cookies (cookies.js) : accepter et refuser ont le même poids */
.btn--sombre { background: var(--anthracite); color: var(--blanc); border-color: var(--anthracite); }
.btn--sombre:hover { background: #33404c; border-color: #33404c; }
.cookies {
  position: fixed; left: 0; right: 0; bottom: var(--barre-mobile-h); z-index: 70;
  background: var(--blanc); color: var(--anthracite);
  border-top: 1px solid var(--ligne); box-shadow: 0 -8px 32px rgba(33, 43, 52, .12);
  max-height: calc(100svh - var(--barre-mobile-h) - 16px); overflow-y: auto;
}
.cookies[hidden] { display: none; }
.cookies__inner { max-width: var(--largeur); margin: 0 auto; padding: 20px var(--marge) 22px; }
.cookies__titre {
  font-family: var(--font-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1rem; margin: 0 0 8px; padding-left: 14px; border-left: 3px solid var(--orange-logo);
}
.cookies p { margin: 0; font-size: var(--t-petit); line-height: 1.55; color: var(--gris); }
.cookies a { color: var(--anthracite); }
.cookies__details { display: grid; gap: 10px; margin-top: 14px; }
.cookies__details[hidden] { display: none; }
.cookies__choix { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-petit); line-height: 1.5; color: var(--gris); cursor: pointer; }
.cookies__choix input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--anthracite); flex: none; }
.cookies__choix strong { display: block; color: var(--anthracite); font-weight: 600; }
.cookies__boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookies__boutons .btn { min-height: 44px; padding: 10px 20px; font-size: var(--t-petit); flex: 1 1 auto; }
.cookies__boutons .btn[hidden] { display: none; }
@media (min-width: 900px) {
  .cookies__inner { display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; align-items: end; }
  .cookies__titre, .cookies p, .cookies__details { grid-column: 1; }
  .cookies__boutons { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
  .cookies__boutons .btn { flex: none; }
}
@media (min-width: 1180px) { .cookies { bottom: 0; max-height: calc(100svh - 16px); } }

/* Filtres par teinte des pages Collections (main.js) */
.tri-teintes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tri-teinte {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--lin); color: var(--anthracite);
  font: 500 14px/1.2 var(--font-texte); cursor: pointer;
}
.tri-teinte span { color: var(--gris); font-weight: 400; }
.tri-teinte:hover { border-color: var(--anthracite); }
.tri-teinte[aria-pressed="true"] { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.tri-teinte[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
.finition[hidden] { display: none; }
.finition__effet { color: var(--gris); margin: 6px 0 0; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }

/* Pack d'échantillons (main.js) */
.finition { display: flex; flex-direction: column; }
.finition__ajout {
  margin-top: auto; align-self: flex-start; padding: 12px 0 2px; background: none; border: 0;
  font: 600 13px/1.3 var(--font-texte); color: var(--anthracite); cursor: pointer; text-align: left;
}
.finition__effet + .finition__ajout, .finition__nom + .finition__ajout { margin-top: auto; }
.finition__ajout:hover { text-decoration: underline; }
.finition__ajout[aria-pressed="true"] { color: var(--anthracite); }
.finition__ajout:disabled { color: var(--gris); opacity: .7; cursor: default; text-decoration: none; }
.finition:has(.finition__ajout[aria-pressed="true"]) { box-shadow: inset 0 0 0 2px var(--anthracite); }
.lien[hidden] { display: none; }

.panier-ech {
  position: fixed; right: 16px; bottom: calc(var(--barre-mobile-h) + 12px); z-index: 55;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; background: var(--anthracite); color: var(--blanc);
  font: 600 14px/1.2 var(--font-texte); text-decoration: none; box-shadow: 0 6px 24px rgba(33, 43, 52, .25);
}
.panier-ech[hidden] { display: none; }
.panier-ech span { font-weight: 400; color: rgba(255, 255, 255, .75); }
@media (min-width: 1180px) { .panier-ech { bottom: 24px; right: 24px; } }

.pack { max-width: 720px; }
.pack__etat { color: var(--gris); font-size: var(--t-petit); margin: 0 0 12px; }
.pack__liste { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--ligne); }
.pack__item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.pack__item img { width: 64px; height: 64px; object-fit: cover; background: var(--lin); flex: none; }
.pack__item p { margin: 0; flex: 1; min-width: 0; }
.pack__item strong { display: block; font-family: var(--font-titre); font-weight: 700; }
.pack__item p span { color: var(--gris); font-size: .9375rem; }
.pack__retirer { background: none; border: 0; padding: 8px 0; font: 500 14px var(--font-texte); color: var(--gris); text-decoration: underline; cursor: pointer; }
.pack__retirer:hover { color: var(--anthracite); }
.pack__resume { background: var(--lin); padding: 20px 24px; margin: 0 0 20px; }
.pack__resume p { margin: 4px 0; }
.pack__prix { font-family: var(--font-titre); font-weight: 700; font-size: 1.5rem; }
.pack form[hidden], .pack [hidden] { display: none; }
.pack .btn { margin-top: 18px; }
.js-calc-commander { margin-top: 14px; }

/* Pages traduites : les mots composés néerlandais peuvent être très longs, on autorise la césure dans les titres */
html:lang(nl) :is(h1, h2, h3, .titre), html:lang(en) :is(h1, h2, h3, .titre) { overflow-wrap: break-word; hyphens: auto; }

/* Page Collections : bloc simulateur en 8e case, à côté de Paillettes */
.famille-simulateur { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 56px); background: var(--lin); }
.famille-simulateur .titre { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0; }
.famille-simulateur p { color: var(--gris); margin: 0; max-width: 46ch; }
.famille-simulateur .btn { align-self: flex-start; }
@media (min-width: 1000px) { .famille-simulateur { grid-column: span 2; } }

/* ==========================================================================
   Expérience premium : héro plein écran, animations (animations.js, GSAP)
   ========================================================================== */
/* Héro de l'accueil : toute la hauteur de l'écran, sous l'en-tête */
.hero { min-height: calc(100svh - var(--header-h) - var(--barre-mobile-h)); overflow: hidden; }
@media (min-width: 900px) { .hero { min-height: calc(100svh - var(--header-h)); } }
@media (min-width: 1180px) { .hero { min-height: calc(100svh - var(--header-h)); } }
.hero__fond img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform-origin: 50% 40%; }
.hero__contenu { padding-bottom: clamp(56px, 9vh, 112px); }
.hero__defiler { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 1px; height: 56px; background: rgba(255, 255, 255, .25); overflow: hidden; display: none; }
.hero__defiler span { position: absolute; inset: 0; background: var(--blanc); transform-origin: top; animation: defiler 2.2s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes defiler { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) and (min-height: 640px) { .hero__defiler { display: block; } }

/* Titres révélés ligne par ligne : chaque ligne glisse hors d'un masque */
.masque { display: block; overflow: hidden; padding: .12em 0 .08em; margin: -.12em 0 -.08em; }
.masque__in { display: block; will-change: transform; }

/* En-tête : se range quand on descend, revient quand on remonte */
.header { transition: border-color .2s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.header.is-range { transform: translateY(-100%); }

/* Éléments d'ouverture masqués le temps de leur apparition (classe posée par cookies.js).
   Secours : ils réapparaissent seuls après 3 s si les animations ne se lancent pas. */
.anim .hero__fond, .anim .hero__contenu > *, .anim .page-entete .conteneur > *, .anim .service-entete .duo__texte > *, .anim .service-entete .duo__media { visibility: hidden; animation: secours-anim 0s 3s forwards; }
@keyframes secours-anim { to { visibility: visible; } }

/* Profondeur au survol (ordinateur) */
@media (pointer: fine) {
  .famille, .surface .media { transform-style: preserve-3d; will-change: transform; }
}

/* ---------- Mobile et tablette : en-têtes des pages de service en plein écran, texte sur la photo ---------- */
@media (max-width: 899px) {
  .service-entete { position: relative; padding: 0; color: var(--blanc); background: var(--anthracite); overflow: hidden; }
  .service-entete .conteneur.duo { display: flex; flex-direction: column; justify-content: flex-end; gap: 0; min-height: calc(100svh - var(--header-h) - var(--barre-mobile-h)); padding-top: 96px; padding-bottom: clamp(36px, 7vw, 64px); position: static; }
  .service-entete .duo__media { position: absolute; inset: 0; margin: 0; }
  .service-entete .duo__media .media { aspect-ratio: auto; height: 100%; }
  .service-entete .duo__media .media img { width: 100%; height: 100%; object-fit: cover; }
  .service-entete .duo__media .media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(33,43,52,.94) 0%, rgba(33,43,52,.72) 42%, rgba(33,43,52,.25) 75%, rgba(33,43,52,.35) 100%); }
  .service-entete .duo__media .legende { position: absolute; z-index: 2; top: 14px; right: var(--marge); left: var(--marge); margin: 0; text-align: right; color: rgba(255,255,255,.75); font-size: 11px; }
  .service-entete .duo__texte { position: relative; z-index: 2; }
  .service-entete .titre, .service-entete .titre b { color: var(--blanc); }
  .service-entete .fil, .service-entete .fil a { color: rgba(255,255,255,.8); }
  .service-entete .service-accroche { color: rgba(255,255,255,.88); }
  .service-entete .btn--contour { color: var(--blanc); border-color: rgba(255,255,255,.7); }
  .service-entete .btn--contour:hover { background: var(--blanc); color: var(--anthracite); }
}

/* ---------- Formulaire de devis : expérience guidée ---------- */
.devis__form { background: var(--lin); padding: clamp(22px, 3.5vw, 52px); box-shadow: 0 30px 60px -40px rgba(33, 43, 52, .35); }
.devis__etapes { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: none; }
.devis__etapes button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--gris); font: 500 13px/1.2 var(--font-texte); text-align: left; }
.devis__etapes button:disabled { cursor: default; opacity: .55; }
.devis__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--lin-fonce); background: var(--blanc); font: 600 14px var(--font-titre); color: var(--gris); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.devis__etapes .is-active { color: var(--anthracite); }
.devis__etapes .is-active .devis__num { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); transform: scale(1.08); }
.devis__etapes .is-faite .devis__num { border-color: var(--anthracite); color: var(--anthracite); }
.devis__etapes .is-faite .devis__num::after { content: "✓"; position: absolute; }
.devis__etapes .is-faite .devis__num { position: relative; color: transparent; }
.devis__etapes .is-faite .devis__num::after { color: var(--anthracite); }
.devis__etapes .is-faite:hover .devis__num { background: var(--blanc); border-color: var(--orange-logo); }
.devis__etapes button:focus-visible { outline: 2px solid var(--anthracite); outline-offset: 4px; }
@media (max-width: 559px) { .devis__nom { display: none; } .devis__etapes { margin-bottom: 14px; } }
.progression { height: 3px; border-radius: 3px; overflow: hidden; }
.progression__barre { transition: width .6s cubic-bezier(.2, .8, .2, 1); background: linear-gradient(90deg, var(--anthracite), var(--anthracite) 85%, var(--orange-logo)); }

/* choix : effet de pression, coche visible */
.choix { transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.choix:active { transform: scale(.98); }
.choix:not(.choix--seul):has(input:checked)::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--anthracite); color: var(--blanc); font-size: 12px; display: grid; place-items: center; line-height: 1; }

/* étape 1 : cartes projet avec photo */
.choix-grille--projets { grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .choix-grille--projets { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.choix--projet { flex-direction: column; align-items: stretch; padding: 0; min-height: 0; overflow: hidden; }
.choix__visuel { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lin-fonce); }
.choix__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .4s; filter: saturate(.85); }
.choix--projet:hover .choix__visuel img, .choix--projet:has(input:checked) .choix__visuel img { transform: scale(1.06); filter: saturate(1); }
.choix__visuel--plus { display: grid; place-items: center; }
.choix__visuel--plus::before { content: "+"; font: 200 3rem/1 var(--font-titre); color: var(--anthracite); }
.choix--projet > span:last-child { padding: 12px 14px 14px; font-weight: 600; }
.choix--projet:has(input:checked) { box-shadow: inset 0 0 0 2px var(--anthracite); }
.choix--projet:has(input:checked)::after { top: 10px; right: 10px; }

/* étape 3 : dépôt de photos, vignettes */
.depot { padding: clamp(32px, 6vw, 56px) 20px; transition: background .25s, border-color .25s, transform .25s; }
.depot::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--anthracite); }
.depot:hover, .depot.is-survol { background: #fbf9f6; border-color: var(--orange-logo); }
.depot.is-survol { transform: scale(1.01); }
.depot__compteur { margin: 12px 0 0; font-size: var(--t-petit); color: var(--gris); }
.depot__compteur.is-ok { color: var(--anthracite); font-weight: 600; }
.depot__compteur:empty { display: none; }
.depot__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.depot__liste .vignette { position: relative; aspect-ratio: 1; padding: 0; border: 0; background: var(--blanc); overflow: hidden; display: block; }
.vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vignette__nom { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; font-size: 11px; color: var(--blanc); background: linear-gradient(transparent, rgba(33,43,52,.8)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vignette--sans img { display: none; }
.vignette--sans .vignette__nom { position: static; color: var(--anthracite); background: none; padding: 12px 8px; white-space: normal; }
.vignette__retirer { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--anthracite); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.vignette__retirer:hover { background: var(--anthracite); color: var(--blanc); transform: rotate(90deg); }

/* navigation : gros boutons, pleine largeur sur mobile */
.devis__nav { padding-top: 24px; border-top: 1px solid var(--ligne); }
@media (max-width: 559px) { .devis__nav .btn { flex: 1; } }

/* récapitulatif */
.recap { background: var(--anthracite); color: var(--blanc); padding: 24px 26px; margin-bottom: 32px; }
.recap__titre { font: 600 1rem var(--font-titre); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--orange-logo); color: var(--blanc); }
.recap dl { margin: 0; display: grid; gap: 2px; }
.recap dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--ligne-sombre); font-size: var(--t-petit); }
.recap dt { color: rgba(255,255,255,.6); }
.recap dd { margin: 0; text-align: right; color: rgba(255,255,255,.45); transition: color .3s; }
.recap .is-rempli dd { color: var(--blanc); font-weight: 600; }
@media (max-width: 999px) { .recap { display: none; } }

/* ==========================================================================
   Carrousels mobiles : galerie Cuisines et 5 étapes de l'accueil (moins de 900 px)
   ========================================================================== */
.carrousel-points { display: none; }
@media (max-width: 899px) {
  .carrousel-mobile {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: calc(-1 * var(--marge)); margin-right: calc(-1 * var(--marge));
    padding-left: var(--marge); padding-right: var(--marge);
    scroll-padding-left: var(--marge);
  }
  .carrousel-mobile::-webkit-scrollbar { display: none; }
  .galerie.carrousel-mobile > .media { flex: 0 0 78%; max-width: 380px; scroll-snap-align: start; }
  /* étapes : place autour des blocs pour les filets et les points décoratifs */
  .etapes.carrousel-mobile { gap: 30px; padding-top: 22px; padding-bottom: 22px; }
  .etapes.carrousel-mobile .etape { flex: 0 0 84%; max-width: 380px; scroll-snap-align: start; }
  .carrousel-points { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .carrousel-points button {
    width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
    position: relative;
  }
  .carrousel-points button::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
    background: var(--ligne); transition: background-color .25s;
  }
  .carrousel-points button[aria-current="true"]::before { background: var(--orange-logo); }
  .carrousel-points button:focus-visible { outline: 2px solid var(--anthracite); outline-offset: 2px; }
}
