/* ==========================================================
   Garage Vérane — garage automobile FICTIF
   Site de démonstration réalisé par Clic Local.
   Mobile d'abord.
   ========================================================== */

:root {
  --nuit: #0f2236;          /* bleu profond */
  --nuit-2: #16304a;
  --anthracite: #262b31;
  --texte: #2f3a45;
  --acier: #5b6773;
  --fond: #eef1f4;
  --surface: #ffffff;
  --ligne: #d7dde3;
  --bleu: #1f6fd1;
  --bleu-fonce: #165aa9;
  --bleu-doux: #e3eefb;
  --vert: #1f8a4c;
  --vert-doux: #e2f3e9;
  /* Couleurs réglables par les sélecteurs de la démo */
  --bleu-clair: #8cc0ff;     /* accent posé sur les bandeaux bleu nuit */
  --accent-texte: #1f6fd1;   /* textes mis en avant posés sur le fond */
  --encre: #0f2236;          /* titres et textes forts posés sur le fond */
  --encre-inverse: #fff;
  --champ-bord: #c3ccd5;
  --survol: #e3eefb;         /* survol des lignes, puces des secteurs */
  --rayon: 4px;
  --largeur: 1160px;
  --titres: Bahnschrift, "DIN Alternate", "DIN 2014", "Barlow", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--police); font-size: 1.0625rem; line-height: 1.6;
  color: var(--texte); background: var(--fond);
  font-variant-numeric: tabular-nums;
}

/* ---------- Filigrane DÉMO : motif répété en transparence ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200'%3E%3Ctext x='150' y='110' font-family='Arial, sans-serif' font-size='54' font-weight='700' fill='%230f2236' fill-opacity='0.07' text-anchor='middle' transform='rotate(-25 150 100)'%3EDÉMO%3C/text%3E%3C/svg%3E");
  background-size: 300px 200px;
}
.bandeau-demo {
  background: var(--anthracite); color: #c9d1d9; text-align: center;
  font-size: .8rem; padding: .45rem 16px; letter-spacing: .02em;
}
.bandeau-demo strong { color: #f4c542; letter-spacing: .12em; }

img { max-width: 100%; display: block; }
a { color: var(--accent-texte); }
h1, h2, h3 { font-family: var(--titres); color: var(--encre); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.2rem, 8.5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding-inline: 20px; }
.etiquette {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--titres); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-texte); margin-bottom: .9rem;
}
.etiquette::before { content: ""; width: 18px; height: 2px; background: currentColor; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: .8rem 1.4rem; border-radius: var(--rayon); border: 2px solid transparent;
  font: inherit; font-family: var(--titres); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.bouton svg { width: 20px; height: 20px; flex-shrink: 0; }
.bouton-bleu { background: var(--bleu); color: #fff; }
.bouton-bleu:hover { background: var(--bleu-fonce); color: #fff; }
.bouton-contour { border-color: rgba(255, 255, 255, .5); color: #fff; }
.bouton-contour:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.bouton-contour-sombre { border-color: var(--encre); color: var(--encre); }
.bouton-contour-sombre:hover { background: var(--encre); color: var(--encre-inverse); }
.bouton-large { width: 100%; }

/* ---------- Barre d'infos + en-tête ---------- */
.barre-infos { background: var(--nuit); color: #b9c6d3; font-size: .85rem; }
.barre-infos .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.barre-infos a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.barre-infos .horaires-courts { display: none; }
@media (min-width: 640px) { .barre-infos .horaires-courts { display: inline; } }

.entete { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--ligne); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--encre); font-family: var(--titres); font-weight: 700; font-size: 1.25rem; line-height: 1.05; }
.logo small { display: block; font-weight: 400; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acier); }
.logo-marque { width: 38px; height: 38px; background: var(--nuit); border-radius: var(--rayon); display: grid; place-items: center; flex-shrink: 0; }
.logo-marque svg { width: 22px; height: 22px; }
.menu-bouton { width: 46px; height: 46px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); color: var(--encre); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-bouton svg { width: 22px; height: 22px; }
.navigation { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--ligne); padding: .25rem 20px 1.25rem; box-shadow: 0 14px 24px rgba(15, 34, 54, .1); }
.navigation[data-ouvert="false"] { display: none; }
.navigation ul { list-style: none; margin: 0; padding: 0; }
.navigation a:not(.bouton) { display: block; padding: .85rem 0; border-bottom: 1px solid var(--ligne); color: var(--encre); text-decoration: none; font-weight: 600; }
.navigation a[aria-current="page"] { color: var(--accent-texte); }
.navigation .bouton { margin-top: 1rem; width: 100%; }
@media (min-width: 960px) {
  .menu-bouton { display: none; }
  .navigation, .navigation[data-ouvert="false"] { display: flex; align-items: center; gap: 1.75rem; position: static; padding: 0; border: 0; box-shadow: none; }
  .navigation ul { display: flex; gap: 1.5rem; }
  .navigation a:not(.bouton) { padding: 1.4rem 0; border: 0; border-bottom: 3px solid transparent; font-size: .95rem; }
  .navigation a[aria-current="page"] { border-bottom-color: var(--bleu); }
  .navigation a:not(.bouton):hover { color: var(--accent-texte); }
  .navigation .bouton { margin: 0; width: auto; min-height: 44px; font-size: .95rem; }
}

/* ---------- Bouton d'appel flottant (mobile) ---------- */
.appel-flottant {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  width: 62px; height: 62px; border-radius: 50%; background: var(--bleu); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(15, 34, 54, .35);
}
.appel-flottant svg { width: 26px; height: 26px; }
@media (min-width: 960px) { .appel-flottant { display: none; } }

/* ---------- Accueil ---------- */
.hero {
  background-color: var(--nuit); color: #c7d3df; position: relative; overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero .conteneur { position: relative; z-index: 1; padding-block: 44px 0; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 span { color: var(--bleu-clair); }
.hero p.accroche { font-size: 1.12rem; max-width: 40ch; margin-bottom: 1.6rem; }
.hero-actions { display: grid; gap: .75rem; }
.hero-photo { margin-top: 2.5rem; aspect-ratio: 16 / 10; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) { .hero-actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 960px) {
  .hero .conteneur { padding-block: 88px 96px; }
  .hero-texte { max-width: 52%; }
  .hero-photo {
    position: absolute; top: 0; right: 0; bottom: 0; width: 46%; margin: 0; aspect-ratio: auto;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
}

.points { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .55rem; }
.points li { display: flex; gap: .6rem; align-items: center; color: #e4ebf2; font-size: .98rem; }
.points svg { width: 20px; height: 20px; color: #6fd39b; flex-shrink: 0; }

.section { padding-block: 60px; }
.section-blanche { background: var(--surface); border-block: 1px solid var(--ligne); }
@media (min-width: 900px) { .section { padding-block: 92px; } }
.entete-section { max-width: 660px; margin-bottom: 2.25rem; }
.entete-section p { color: var(--acier); }

/* Liste de prestations façon tableau */
.lignes { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.lignes li + li { border-top: 1px solid var(--ligne); }
.lignes a { display: grid; grid-template-columns: 44px 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1.1rem; text-decoration: none; color: inherit; }
.lignes a:hover { background: var(--survol); }
.lignes .icone { width: 44px; height: 44px; }
.lignes strong { display: block; font-family: var(--titres); font-size: 1.12rem; color: var(--encre); }
.lignes span.desc { display: block; font-size: .9rem; color: var(--acier); line-height: 1.4; }
.lignes .tarif { text-align: right; font-family: var(--titres); color: var(--encre); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.lignes .tarif small { display: block; font-weight: 400; font-size: .72rem; color: var(--acier); letter-spacing: .04em; }

.icone { display: grid; place-items: center; border-radius: var(--rayon); background: var(--bleu-doux); color: var(--bleu); }
.icone svg { width: 24px; height: 24px; }

/* Déroulé en étapes */
.deroule { display: grid; gap: 2rem; align-items: center; }
.deroule img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rayon); }
@media (min-width: 960px) { .deroule { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: e; }
.etapes li { position: relative; padding: 0 0 1.4rem 3.5rem; counter-increment: e; }
.etapes li::before {
  content: counter(e, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font-family: var(--titres); font-weight: 700; color: var(--accent-texte); font-size: 1.05rem;
  width: 2.4rem; height: 2.4rem; border: 2px solid var(--accent-texte); border-radius: var(--rayon); display: grid; place-items: center;
}
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.2rem - 1px); top: 2.6rem; bottom: .3rem; width: 2px; background: var(--ligne); }
.etapes h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.etapes p { margin: 0; color: var(--acier); font-size: .97rem; }

/* Garanties */
.garanties { display: grid; gap: 1rem; }
@media (min-width: 640px) { .garanties { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .garanties-4 { grid-template-columns: repeat(4, 1fr); } .garanties-3 { grid-template-columns: repeat(3, 1fr); } }
.garantie { background: var(--surface); border: 1px solid var(--ligne); border-top: 3px solid var(--nuit); border-radius: var(--rayon); padding: 1.4rem 1.25rem; }
.garantie .icone { width: 46px; height: 46px; margin-bottom: 1rem; }
.garantie h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.garantie p { margin: 0; color: var(--acier); font-size: .95rem; }
.avertissement { margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 3px solid #f4c542; background: #fff8e1; color: #5c4a10; font-size: .92rem; border-radius: 0 var(--rayon) var(--rayon) 0; }

.bande-appel { background: var(--anthracite); color: #c9d1d9; }
.bande-appel .conteneur { display: grid; gap: 1.5rem; align-items: center; }
.bande-appel h2 { color: #fff; margin-bottom: .3rem; }
.bande-appel p { margin: 0; }
.bande-appel .actions { display: grid; gap: .75rem; }
@media (min-width: 900px) { .bande-appel .conteneur { grid-template-columns: 1.4fr 1fr; } .bande-appel .actions { display: flex; justify-content: flex-end; } }

/* ---------- En-tête de page intérieure ---------- */
.titre-page {
  background-color: var(--nuit); color: #c7d3df; padding-block: 44px 40px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.titre-page h1 { color: #fff; font-size: clamp(2rem, 7.5vw, 3.2rem); }
.titre-page p { max-width: 56ch; margin: 0; }
.titre-page .etiquette { color: var(--bleu-clair); }

/* ---------- Prestations (fiches) ---------- */
.raccourcis { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: none; }
.raccourcis::-webkit-scrollbar { display: none; }
.raccourcis a { white-space: nowrap; padding: .5rem .9rem; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); color: var(--encre); text-decoration: none; font-weight: 600; font-size: .9rem; }
.raccourcis a:hover { border-color: var(--accent-texte); color: var(--accent-texte); }

.fiche { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); margin-bottom: 1.25rem; overflow: hidden; }
.fiche-tete { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; padding: 1.25rem; border-bottom: 1px solid var(--ligne); }
.fiche-tete .icone { width: 48px; height: 48px; }
.fiche-tete h2 { font-size: 1.5rem; margin: 0; }
.fiche-chiffres { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.fiche-chiffres div { font-size: .85rem; color: var(--acier); }
.fiche-chiffres strong { display: block; font-family: var(--titres); font-size: 1.45rem; color: var(--encre); line-height: 1.1; }
@media (min-width: 760px) {
  .fiche-tete { grid-template-columns: 48px 1fr auto; }
  .fiche-chiffres { grid-column: auto; text-align: right; }
}
.fiche-corps { padding: 1.25rem; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .fiche-corps { grid-template-columns: 1.3fr 1fr; gap: 2rem; } }
.fiche-corps h3 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acier); margin-bottom: .75rem; }
.coches { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.coches li { position: relative; padding-left: 1.7rem; font-size: .97rem; }
.coches li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.1rem; height: 1.1rem; border-radius: 2px;
  background: var(--vert-doux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a4c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.bon-a-savoir { background: var(--fond); border-radius: var(--rayon); padding: 1rem; font-size: .93rem; color: var(--texte); }
.bon-a-savoir p { margin: 0; }
.note { color: var(--acier); font-size: .9rem; }

/* ---------- Zone d'intervention ---------- */
.zone-grille { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .zone-grille { grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; } }
.carte-zone { height: 380px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); z-index: 0; }
@media (min-width: 960px) { .carte-zone { height: 520px; } }
.legende { font-size: .88rem; color: var(--acier); margin-top: .75rem; }
.panneau { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.4rem 1.25rem; }
.panneau h2 { font-size: 1.45rem; }
.secteurs { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.secteurs li { padding: .3rem .65rem; background: var(--survol); color: var(--encre); border-radius: var(--rayon); font-size: .88rem; }
.tableau-zone { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tableau-zone th, .tableau-zone td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau-zone th { font-weight: 600; color: var(--encre); padding-right: 1rem; }
.tableau-zone td { text-align: right; }

/* ---------- Devis ---------- */
.devis-grille { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .devis-grille { grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; } }
.formulaire { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.formulaire fieldset { border: 0; margin: 0; padding: 1.4rem 1.25rem; border-bottom: 1px solid var(--ligne); }
@media (min-width: 760px) { .formulaire fieldset { padding: 1.75rem; } }
.formulaire legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font-family: var(--titres); font-weight: 700; font-size: 1.2rem; color: var(--encre); display: flex; align-items: center; gap: .6rem; }
.formulaire legend span { width: 1.8rem; height: 1.8rem; display: inline-grid; place-items: center; background: var(--nuit); color: #fff; border-radius: var(--rayon); font-size: .9rem; }
.formulaire legend + * { clear: both; }
.formulaire .envoi { padding: 1.4rem 1.25rem; }
@media (min-width: 760px) { .formulaire .envoi { padding: 1.75rem; } }
.champ { margin-bottom: 1rem; }
.champ:last-child { margin-bottom: 0; }
.champ label { display: block; font-weight: 600; color: var(--encre); margin-bottom: .4rem; font-size: .93rem; }
.champ .facultatif { font-weight: 400; color: var(--acier); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; color: var(--encre); background: var(--fond);
  border: 1px solid var(--champ-bord); border-radius: var(--rayon); padding: .75rem .85rem; min-height: 50px;
}
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px var(--bleu-doux); background: #fff; }
.champs-duo { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .champs-duo { grid-template-columns: 1fr 1fr; } }
.champs-duo .champ:last-child { margin-bottom: 1rem; }

.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .9rem; border: 1px solid var(--champ-bord); border-radius: var(--rayon); background: var(--fond); font-size: .93rem; font-weight: 600; color: var(--encre); }
.choix input:checked + span { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.choix input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
.message-demo { margin: 1rem 0 0; padding: .9rem 1rem; background: var(--vert-doux); color: #165f35; border-radius: var(--rayon); font-size: .95rem; }

.encart { background: var(--nuit); color: #c7d3df; border-radius: var(--rayon); padding: 1.5rem 1.25rem; }
.encart h2 { color: #fff; font-size: 1.45rem; }
.encart .numero { font-family: var(--titres); font-size: 2rem; color: #fff; margin-bottom: 1rem; }
.encart .bouton { width: 100%; }
.encart dl { margin: 1.5rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .93rem; }
.encart dt { color: #8fa3b8; }
.encart dd { margin: 0; color: #fff; text-align: right; }

/* ---------- Pied de page ---------- */
.pied { background: var(--anthracite); color: #aab4bf; padding-block: 52px 32px; font-size: .93rem; }
.pied .conteneur { display: grid; gap: 2rem; }
.pied .logo { color: #fff; }
.pied .logo small { color: #8fa3b8; }
.pied .logo-marque { background: var(--bleu); }
.pied h2 { font-family: var(--titres); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: .75rem; }
.pied p { margin: 0 0 .3rem; }
.pied a { color: #d6dde4; }
.pied-bas { border-top: 1px solid #3a4148; padding-top: 1.5rem; font-size: .84rem; color: #8a949e; }
@media (min-width: 760px) { .pied .conteneur { grid-template-columns: 1.5fr 1fr 1fr; } .pied-bas { grid-column: 1 / -1; } }
@media (max-width: 959px) { .pied { padding-bottom: 100px; } } /* place pour le bouton flottant */

/* ---------- Sélecteurs de couleurs (démo) ----------
   1. « Boutons & accents » : boutons, liens, étiquettes, icônes et textes mis en avant.
   2. « Fond » : couleur du fond et des cartes uniquement.
   Les photos ne sont jamais teintées. Les bandeaux bleu nuit d'origine ne changent pas.
   Valeurs par défaut = couleurs d'origine du site. */
.bandeau-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem 1.5rem; }
.selecteurs { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .1rem 1.1rem; }
.selecteur { display: inline-flex; align-items: center; }
.selecteur + .selecteur { padding-left: 1.1rem; border-left: 1px solid #4a525b; }
.selecteur-libelle { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #c9d1d9; margin-right: .4rem; white-space: nowrap; }
.choix-couleur { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.choix-couleur::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); transition: transform .15s; }
.choix-couleur:hover::before { transform: scale(1.15); }
.choix-couleur[aria-pressed="true"]::before { box-shadow: 0 0 0 2px var(--anthracite), 0 0 0 4px #fff; transform: scale(1.1); }
@media (min-width: 900px) { .bandeau-demo { justify-content: space-between; text-align: left; } }

body, .entete, .section-blanche, .lignes, .fiche, .garantie, .panneau, .formulaire { transition: background-color .35s, border-color .35s; }

/* 1. Boutons & accents */
:root[data-accent="bordeaux"] { --bleu: #9b2c3c; --bleu-fonce: #7d2230; --bleu-doux: #f6e3e6; --bleu-clair: #f0a2ae; --accent-texte: #9b2c3c; --survol: #f6e3e6; }
:root[data-accent="vert"]     { --bleu: #2f6f50; --bleu-fonce: #245a40; --bleu-doux: #e1efe7; --bleu-clair: #8fd1ad; --accent-texte: #2f6f50; --survol: #e1efe7; }
:root[data-accent="cuivre"]   { --bleu: #a9592a; --bleu-fonce: #8a4820; --bleu-doux: #f8e9dd; --bleu-clair: #f0b183; --accent-texte: #a9592a; --survol: #f8e9dd; }
:root[data-accent="graphite"] { --bleu: #4b5a6b; --bleu-fonce: #3a4655; --bleu-doux: #e6eaee; --bleu-clair: #b4c2d1; --accent-texte: #4b5a6b; --survol: #e6eaee; }

/* 2. Fond : un ton clair en plus du gris d'origine, et quatre tons sombres élégants */
:root[data-fond="blanc"]      { --fond: #fafbfc; --surface: #ffffff; --ligne: #e3e7eb; --champ-bord: #cfd6dd; }
:root[data-fond="bordeaux"]   { --fond: #2b1419; --surface: #36191f; --ligne: #4d2a31; --champ-bord: #6a4249; }
:root[data-fond="sapin"]      { --fond: #15221c; --surface: #1b2b24; --ligne: #2c4037; --champ-bord: #445c4f; }
:root[data-fond="nuit"]       { --fond: #131a28; --surface: #1a2335; --ligne: #29364d; --champ-bord: #415171; }
:root[data-fond="anthracite"] { --fond: #1d2024; --surface: #262a2f; --ligne: #3a3f46; --champ-bord: #4d535b; }

/* Sur fond sombre : textes clairs et accents dans leur version claire */
:root:is([data-fond="bordeaux"], [data-fond="sapin"], [data-fond="nuit"], [data-fond="anthracite"]) {
  color-scheme: dark;
  --encre: #f1f4f7; --encre-inverse: #0f2236; --texte: #d3dae1; --acier: #a6b2bf;
  --accent-texte: var(--bleu-clair);
  --survol: color-mix(in srgb, var(--bleu) 26%, var(--surface));
}
:root:is([data-fond="bordeaux"], [data-fond="sapin"], [data-fond="nuit"], [data-fond="anthracite"]) .champ input:focus, :root:is([data-fond="bordeaux"], [data-fond="sapin"], [data-fond="nuit"], [data-fond="anthracite"]) .champ select:focus, :root:is([data-fond="bordeaux"], [data-fond="sapin"], [data-fond="nuit"], [data-fond="anthracite"]) .champ textarea:focus { background: var(--surface); }
:root:is([data-fond="bordeaux"], [data-fond="sapin"], [data-fond="nuit"], [data-fond="anthracite"]) .choix input:checked + span { background: var(--bleu); border-color: var(--bleu); }
:root:is([data-fond="bordeaux"], [data-fond="sapin"], [data-fond="nuit"], [data-fond="anthracite"]) .garantie { border-top-color: var(--bleu-clair); }
:root:is([data-fond="bordeaux"], [data-fond="sapin"], [data-fond="nuit"], [data-fond="anthracite"]) body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200'%3E%3Ctext x='150' y='110' font-family='Arial, sans-serif' font-size='54' font-weight='700' fill='%23ffffff' fill-opacity='0.06' text-anchor='middle' transform='rotate(-25 150 100)'%3EDÉMO%3C/text%3E%3C/svg%3E");
}
