/* Miroir Auto : feuille du site. Toutes les couleurs, tailles d'espacement,
   rayons et polices viennent de tokens.css (brand kit v2). Aucune couleur en dur ici. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font-family: var(--font-sans); font-weight: 400; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--rouge); color: var(--sur-rouge); }
:focus-visible { outline: 2px solid var(--rouge-texte); outline-offset: 3px; }

.lien-evitement {
  position: fixed; left: var(--space-4); top: var(--space-4); z-index: 100;
  background: var(--texte); color: var(--fond); padding: var(--space-3) var(--space-4);
  font-weight: 500; text-decoration: none; transform: translateY(-200%);
}
.lien-evitement:focus { transform: none; }

/* ---------- Grille et rythme ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-6); }
@media (min-width: 900px) { .wrap { padding: 0 var(--space-12); } }
.section { padding: var(--space-12) 0; }
@media (min-width: 900px) { .section { padding: var(--space-24) 0; } }
.section + .section { border-top: 1px solid var(--ligne); }
.section--carte { background: var(--fond-carte); }

/* ---------- Typographie ---------- */
.surtitre {
  display: block; font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--rouge-texte); margin-bottom: var(--space-4);
}
.surtitre--doux { color: var(--texte-doux); }
.titre {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: 3px; line-height: 1.25; color: var(--texte); text-wrap: balance;
}
.titre--1 { font-size: clamp(17px, 4.2vw, 56px); letter-spacing: clamp(2px, .3vw, 4px); }
.titre--2 { font-size: clamp(22px, 2.8vw, 36px); }
.titre--3 { font-size: 18px; letter-spacing: 2px; }
.chapeau { font-size: 18px; line-height: 1.6; color: var(--chrome); max-width: 60ch; }
.doux { color: var(--texte-doux); }
.texte { max-width: 62ch; }
.entete-section { display: grid; gap: var(--space-6); margin-bottom: var(--space-12); }
@media (min-width: 900px) {
  .entete-section { grid-template-columns: 1fr 1fr; align-items: end; }
}
.entete-section .chapeau { margin: 0; }

/* ---------- Boutons (composant Bouton du kit) ---------- */
.ma-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-0);
  font: 500 14px/20px var(--font-sans); letter-spacing: 1px; cursor: pointer; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.ma-btn:active { transform: translateY(1px); }
.ma-btn-principal { background: var(--rouge); border: 1px solid var(--rouge); color: var(--sur-rouge); }
.ma-btn-principal:hover { background: var(--rouge-survol); border-color: var(--rouge-survol); }
.ma-btn-secondaire { background: transparent; border: 1px solid var(--ligne); color: var(--chrome); }
.ma-btn-secondaire:hover { border-color: var(--chrome); color: var(--texte); }
.ma-btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 599px) { .actions .ma-btn { width: 100%; } }

.lien-fleche {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px;
  font-weight: 500; font-size: 14px; letter-spacing: 1px; color: var(--chrome); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size .2s, color .2s;
}
.lien-fleche:hover { color: var(--texte); background-size: 100% 1px; }
.lien-fleche svg { width: 16px; height: 16px; }

/* ---------- Effet reflet (composant EffetReflet du kit) ---------- */
.ma-reflet { position: relative; overflow: hidden; }
.ma-reflet::after {
  content: ""; position: absolute; top: -10%; left: -70%; width: 45%; height: 120%;
  background: linear-gradient(105deg, transparent 0%, color-mix(in srgb, var(--texte) 26%, transparent) 50%, transparent 100%);
  transform: skewX(-20deg); pointer-events: none; z-index: 2;
}
.ma-reflet:hover::after, .ma-reflet.ma-reflet-actif::after { animation: ma-balayage 900ms cubic-bezier(.2,.7,.2,1) 1; }
@keyframes ma-balayage { from { left: -70%; } to { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .ma-reflet::after { display: none; } }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s;
}
.entete.est-plein, .page-interne .entete { background: var(--fond); border-bottom-color: var(--ligne); }
.entete .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.logo { display: block; text-decoration: none; flex: none; }
.logo img { width: 210px; height: auto; }
.entete .logo { margin-left: -51px; }
.logo .logo-compact { display: none; }
@media (max-width: 899px) {
  .logo .logo-principal { display: none; }
  .logo .logo-compact { display: block; width: 150px; }
  .entete .logo { margin-left: -36px; }
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: var(--space-8); }
  .nav a:not(.ma-btn) {
    font-size: 14px; letter-spacing: 1px; color: var(--chrome); text-decoration: none; padding: var(--space-3) 0;
    background: linear-gradient(var(--rouge), var(--rouge)) 0 100% / 0 1px no-repeat; transition: background-size .2s, color .2s;
  }
  .nav a:not(.ma-btn):hover { color: var(--texte); background-size: 100% 1px; }
  .nav a[aria-current="page"] { color: var(--texte); background-size: 100% 1px; }
}
.bouton-menu {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--ligne); color: var(--texte); cursor: pointer; border-radius: var(--radius-0);
}
.bouton-menu svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .bouton-menu { display: none; } }

.menu-mobile {
  position: fixed; inset: 76px 0 0 0; z-index: 49; background: var(--fond);
  padding: var(--space-8) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2);
  overflow-y: auto;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile a:not(.ma-btn) {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px; font-size: 18px;
  text-decoration: none; padding: var(--space-4) 0; border-bottom: 1px solid var(--ligne);
}
.menu-mobile .ma-btn { margin-top: var(--space-6); }
body.menu-ouvert { overflow: hidden; }

/* ---------- Héros ---------- */
.heros { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.heros__photo { position: absolute; inset: 0; }
.heros__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.heros__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--fond) 0%, transparent 38%),
    linear-gradient(to right, color-mix(in srgb, var(--fond) 80%, transparent) 0%, color-mix(in srgb, var(--fond) 55%, transparent) 50%, transparent 78%),
    color-mix(in srgb, var(--fond) 45%, transparent);
}
.heros__contenu { position: relative; z-index: 1; padding-top: 140px; padding-bottom: var(--space-12); }
.heros__contenu .titre { max-width: 15ch; margin-bottom: var(--space-6); }
.heros__contenu .chapeau { margin-bottom: var(--space-8); }
.faits {
  display: grid; gap: var(--space-4); margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid var(--ligne);
}
@media (min-width: 760px) { .faits { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); } }
.fait { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--chrome); }
.fait svg { width: 22px; height: 22px; flex: none; color: var(--chrome); margin-top: 1px; }
.fait strong { display: block; color: var(--texte); font-weight: 500; }

/* Entrée du héros, une fois au chargement */
@media (prefers-reduced-motion: no-preference) {
  .heros__photo img { animation: heros-photo 1400ms cubic-bezier(.2,.7,.2,1) both; }
  [data-entree] > * { animation: monte 600ms cubic-bezier(.2,.7,.2,1) both; }
  [data-entree] > :nth-child(2) { animation-delay: 80ms; }
  [data-entree] > :nth-child(3) { animation-delay: 160ms; }
  [data-entree] > :nth-child(4) { animation-delay: 240ms; }
  [data-entree] > :nth-child(5) { animation-delay: 320ms; }
}
@keyframes heros-photo { from { transform: scale(1.04); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes monte { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* En-tête des pages intérieures */
.bandeau { position: relative; padding: 160px 0 var(--space-12); overflow: hidden; border-bottom: 1px solid var(--ligne); }
@media (min-width: 900px) { .bandeau { padding: 200px 0 var(--space-24); } }
.bandeau__photo { position: absolute; inset: 0; }
.bandeau__photo img { width: 100%; height: 100%; object-fit: cover; }
.bandeau__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--fond) 20%, color-mix(in srgb, var(--fond) 55%, transparent) 100%);
}
.bandeau .wrap { position: relative; }
.bandeau .titre { max-width: 18ch; margin-bottom: var(--space-6); }

/* ---------- Apparition des sections : 16px, 400ms, une fois ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-apparition] { opacity: 0; transform: translateY(16px); transition: opacity 400ms cubic-bezier(.2,.7,.2,1), transform 400ms cubic-bezier(.2,.7,.2,1); }
  .js [data-apparition].est-visible { opacity: 1; transform: none; }
}

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; background: var(--fond-carte); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.photo:hover img, .carte-offre:hover .photo img { transform: scale(1.025); }

/* ---------- Preuves (accueil) ---------- */
.preuves { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .preuves { grid-template-columns: 7fr 5fr; gap: var(--space-12); align-items: stretch; } }
.preuves .photo { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .preuves .photo { aspect-ratio: auto; min-height: 520px; } }
.liste-preuves { display: flex; flex-direction: column; }
.liste-preuves li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-4); padding: var(--space-6) 0; border-top: 1px solid var(--ligne); }
.liste-preuves li:last-child { border-bottom: 1px solid var(--ligne); }
.liste-preuves svg { width: 26px; height: 26px; color: var(--chrome); }
.liste-preuves h3 { font-family: var(--font-sans); font-weight: 500; font-size: 17px; line-height: 1.4; margin-bottom: var(--space-1); }
.liste-preuves p { color: var(--texte-doux); font-size: 15px; }

/* ---------- Avant / après (composant AvantApres du kit) ---------- */
.comparateurs { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .comparateurs { grid-template-columns: repeat(2, 1fr); } }
.comparateur { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--ligne); user-select: none; touch-action: pan-y; }
.comparateur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparateur .avant { clip-path: inset(0 50% 0 0); }
.comparateur .etiquette { position: absolute; top: var(--space-4); z-index: 2; font: 500 12px/16px var(--font-sans); letter-spacing: 3px; padding: 6px 10px; background: color-mix(in srgb, var(--fond) 75%, transparent); color: var(--texte); }
.comparateur .etiquette--avant { left: var(--space-4); }
.comparateur .etiquette--apres { right: var(--space-4); }
.comparateur .trait { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--rouge); transform: translateX(-1px); z-index: 2; }
.comparateur .poignee { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: var(--radius-rond); background: var(--rouge); color: var(--sur-rouge); display: flex; align-items: center; justify-content: center; z-index: 2; }
.comparateur .poignee svg { width: 20px; height: 20px; }
.comparateur input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.comparateur:has(input:focus-visible) { outline: 2px solid var(--rouge-texte); outline-offset: 3px; }

/* ---------- Offres (composant CarteOffre du kit) ---------- */
.grille-offres { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .grille-offres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte-offre {
  display: flex; flex-direction: column; background: var(--fond-carte); border: 1px solid var(--ligne);
  transition: border-color .2s, background-color .2s, transform .2s;
}
.carte-offre:hover { background: var(--fond-eleve); transform: translateY(-2px); }
.carte-offre--vedette { border-color: var(--rouge); }
.carte-offre .photo { aspect-ratio: 16 / 10; }
.carte-offre__corps { display: flex; flex-direction: column; flex: 1; padding: var(--space-6); }
.carte-offre .surtitre { margin-bottom: var(--space-3); }
.carte-offre ul { margin: var(--space-4) 0 var(--space-6); font-size: 15px; line-height: 22px; color: var(--texte-doux); }
.carte-offre li { padding: 9px 0; border-top: 1px solid var(--ligne); }
.carte-offre__pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.prix { font-size: 14px; color: var(--texte-doux); }
.prix b { display: block; font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--texte); }
.carte-offre--vedette .prix b { color: var(--rouge-texte); }

/* ---------- Méthode ---------- */
.etapes { display: grid; gap: 0 var(--space-8); }
@media (min-width: 760px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etape { padding: var(--space-6) 0 var(--space-8); border-top: 1px solid var(--ligne); }
@media (min-width: 760px) { .etape { padding: var(--space-8) 0; } }
.etape__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-6); }
.etape__num { font-family: var(--font-display); font-size: 32px; letter-spacing: 3px; color: var(--texte); }
.etape__tete svg { width: 28px; height: 28px; color: var(--chrome); }
.etape h3 { font-family: var(--font-display); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: var(--space-3); }
.etape p { font-size: 15px; color: var(--texte-doux); }

.methode-accueil { display: grid; gap: var(--space-8); }
@media (min-width: 1100px) { .methode-accueil { grid-template-columns: 4fr 8fr; gap: var(--space-12); } }
.methode-accueil .photo { aspect-ratio: 4 / 5; }
@media (max-width: 1099px) { .methode-accueil .photo { aspect-ratio: 16 / 9; } }
.methode-accueil .etapes { grid-template-columns: 1fr; }
@media (min-width: 760px) { .methode-accueil .etapes { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-8); } }
.methode-accueil .etape { padding-right: 0; }

/* ---------- Zone d'intervention ---------- */
.zone { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .zone { grid-template-columns: 7fr 5fr; gap: var(--space-12); align-items: center; } }
.zone__villes { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 3px; line-height: 1.3; font-size: clamp(12px, 3.9vw, 22px); color: var(--texte); white-space: nowrap; margin: 0; }
.zone__villes span { display: block; }
.zone__ligne { height: 2px; background: var(--rouge); margin: var(--space-2) 0; }
.zone__reflet { height: 0.75em; overflow: hidden; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 3px; line-height: 1.3; font-size: clamp(12px, 3.9vw, 22px); white-space: nowrap;
  color: var(--texte); opacity: .18; transform: scaleY(-1); transform-origin: top; margin-top: 0.75em; user-select: none;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, var(--fond) 100%); mask-image: linear-gradient(to top, transparent 0%, var(--fond) 100%); }
.zone__info { display: grid; gap: var(--space-6); }
.zone__info .chapeau { margin: 0; }

/* ---------- Appel final ---------- */
.appel { position: relative; overflow: hidden; background: var(--fond-carte); }
.appel__photo { position: absolute; inset: 0; }
.appel__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.appel__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--fond-carte) 30%, color-mix(in srgb, var(--fond-carte) 30%, transparent) 100%); }
@media (max-width: 899px) { .appel__photo::after { background: color-mix(in srgb, var(--fond-carte) 72%, transparent); } }
.appel .wrap { position: relative; padding-top: var(--space-24); padding-bottom: var(--space-24); }
.appel .titre { max-width: 16ch; margin-bottom: var(--space-6); }
.appel .chapeau { margin-bottom: var(--space-8); }

/* ---------- Pages offres et méthode ---------- */
.offre-detail { display: grid; gap: var(--space-8); padding: var(--space-12) 0; border-top: 1px solid var(--ligne); }
.offre-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .offre-detail { grid-template-columns: 5fr 7fr; gap: var(--space-12); align-items: start; }
  .offre-detail:nth-child(even) .photo { order: 2; }
}
.offre-detail .photo { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .offre-detail .photo { aspect-ratio: 16 / 10; } }
.offre-detail .titre { margin-bottom: var(--space-4); }
.offre-detail .chapeau { margin-bottom: var(--space-8); }
.offre-detail--vedette .titre::after { content: ""; display: block; width: 56px; height: 2px; background: var(--rouge); margin-top: var(--space-4); }
.colonnes-liste { display: grid; gap: var(--space-8); margin-bottom: var(--space-8); }
@media (min-width: 600px) { .colonnes-liste { grid-template-columns: 1fr 1fr; } }
.liste-points li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--ligne); font-size: 15px; color: var(--chrome); }
.liste-points li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 1px; background: var(--chrome); }
.liste-points-titre { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--texte-doux); font-weight: 500; margin-bottom: var(--space-3); }

.tableau-wrap { position: relative; overflow-x: auto; border: 1px solid var(--ligne); }
.tableau { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tableau th, .tableau td { padding: var(--space-4); text-align: left; border-bottom: 1px solid var(--ligne); }
.tableau thead th { font-family: var(--font-display); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400; background: var(--fond-carte); }
.tableau tbody th { font-weight: 400; color: var(--chrome); }
.tableau td { text-align: center; color: var(--texte); }
.tableau td svg { width: 18px; height: 18px; color: var(--chrome); display: inline-block; vertical-align: middle; }
.tableau .vide { color: var(--texte-doux); }
.tableau tr:last-child th, .tableau tr:last-child td { border-bottom: 0; }

.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-6) 0; font-weight: 500; font-size: 17px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--chrome); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 var(--space-6); color: var(--texte-doux); max-width: 68ch; }
.deux-colonnes { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 4fr 8fr; gap: var(--space-12); } }

.phases { display: grid; gap: var(--space-12); }
.phase { display: grid; gap: var(--space-6); }
@media (min-width: 900px) {
  .phase { grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
  .phase:nth-child(even) .photo { order: 2; }
}
.phase .photo { aspect-ratio: 4 / 3; }
.phase__num { font-family: var(--font-display); font-size: 14px; letter-spacing: 3px; color: var(--texte-doux); display: block; margin-bottom: var(--space-4); }
.phase .titre { margin-bottom: var(--space-4); }
.phase .chapeau { margin-bottom: var(--space-6); }

/* ---------- À propos ---------- */
.manifeste { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .manifeste { grid-template-columns: 5fr 7fr; gap: var(--space-12); align-items: start; } }
.manifeste .photo { aspect-ratio: 4 / 5; }
.valeurs { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .valeurs { grid-template-columns: repeat(3, 1fr); } }
.valeur { background: var(--fond-carte); border: 1px solid var(--ligne); padding: var(--space-8) var(--space-6); }
.valeur .titre { margin-bottom: var(--space-4); }
.valeur p { color: var(--texte-doux); font-size: 15px; }
.est-nest { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .est-nest { grid-template-columns: 1fr 1fr; } }
.est-nest > div { border-top: 1px solid var(--ligne); padding-top: var(--space-6); }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: var(--space-8); }
.groupe { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.groupe legend { font-family: var(--font-display); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; padding: 0; margin-bottom: var(--space-4); }
.champs { display: grid; gap: var(--space-4); }
@media (min-width: 700px) { .champs--2 { grid-template-columns: 1fr 1fr; } }
.champ { display: grid; gap: var(--space-2); }
.champ label, .champ .label { font-size: 14px; font-weight: 500; color: var(--chrome); }
.champ .facultatif { color: var(--texte-doux); font-weight: 400; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-1);
  background: var(--fond-eleve); border: 1px solid var(--ligne); color: var(--texte);
  font: 400 16px/1.4 var(--font-sans); transition: border-color .2s;
}
.champ textarea { min-height: 132px; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--texte-doux); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--chrome); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--rouge-texte); outline-offset: 2px; }
.champ [aria-invalid="true"] { border-color: var(--rouge-texte); }
.erreur { font-size: 13px; color: var(--rouge-texte); min-height: 0; }
.erreur:empty { display: none; }
.aide { font-size: 13px; color: var(--texte-doux); }
.choix { display: grid; gap: var(--space-3); }
@media (min-width: 700px) { .choix--3 { grid-template-columns: repeat(3, 1fr); } .choix--4 { grid-template-columns: repeat(4, 1fr); } }
.choix label {
  position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 48px; padding: 14px 16px 14px 44px;
  border: 1px solid var(--ligne); border-radius: var(--radius-1); background: var(--fond-carte); cursor: pointer; transition: border-color .2s, background-color .2s;
  font-size: 15px;
}
.choix label:hover { border-color: var(--texte-doux); }
.choix input { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; margin: 0; accent-color: var(--rouge); }
.choix label:has(input:checked) { border-color: var(--chrome); background: var(--fond-eleve); }
.choix label:has(input:focus-visible) { outline: 2px solid var(--rouge-texte); outline-offset: 2px; }
.choix small { color: var(--texte-doux); font-size: 13px; }
.case { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 14px; color: var(--chrome); cursor: pointer; }
.case input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--rouge); }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.statut { padding: var(--space-6); border: 1px solid var(--ligne); background: var(--fond-carte); }
.statut[hidden] { display: none; }
.statut--ok { border-color: var(--chrome); }
.statut--erreur { border-color: var(--rouge-texte); }
.statut h2 { font-family: var(--font-display); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: var(--space-3); }
.mise-en-page-form { display: grid; gap: var(--space-12); }
@media (min-width: 1000px) { .mise-en-page-form { grid-template-columns: 8fr 4fr; } }
.aparte { align-self: start; position: sticky; top: 100px; display: grid; gap: var(--space-6); }
.aparte .bloc { border: 1px solid var(--ligne); background: var(--fond-carte); padding: var(--space-6); }
.aparte h2 { font-family: var(--font-display); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: var(--space-4); }
.aparte p, .aparte li { font-size: 15px; color: var(--texte-doux); }
.aparte li { padding: 8px 0; border-top: 1px solid var(--ligne); }

.coordonnees { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .coordonnees { grid-template-columns: repeat(3, 1fr); } }
.coordonnee { border: 1px solid var(--ligne); background: var(--fond-carte); padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.coordonnee svg { width: 26px; height: 26px; color: var(--chrome); }
.coordonnee .label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--texte-doux); font-weight: 500; }
.coordonnee a { font-weight: 500; font-size: 17px; text-decoration: none; word-break: break-word; }
.coordonnee a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Texte long (pages légales) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--font-display); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin: var(--space-12) 0 var(--space-4); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--chrome); }
.prose ul { margin: 0 0 var(--space-4); }
.prose li { padding: 4px 0 4px 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 1px; background: var(--chrome); }
.prose a { text-underline-offset: 3px; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--ligne); padding: var(--space-12) 0 var(--space-8); font-size: 14px; color: var(--texte-doux); }
.pied__grille { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .pied__grille { grid-template-columns: 5fr 2fr 2fr 3fr; gap: var(--space-12); } }
.pied img { width: 210px; margin: 0 0 var(--space-4) -51px; }
.pied h2 { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; color: var(--chrome); margin-bottom: var(--space-4); }
.pied li a, .pied p a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; color: var(--texte-doux); transition: color .2s; }
.pied li a:hover, .pied p a:hover { color: var(--texte); }
.pied__bas { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--ligne); font-size: 13px; }
.pied__bas a { color: var(--texte-doux); text-underline-offset: 3px; }
.pied__bas a:hover { color: var(--texte); }

/* ---------- Barre devis mobile ---------- */
.barre-devis {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--fond); border-top: 1px solid var(--ligne); transition: transform .2s;
}
.barre-devis .ma-btn { width: 100%; }
.barre-devis.est-cachee { transform: translateY(110%); }
@media (min-width: 900px) { .barre-devis { display: none; } }
@media (max-width: 899px) { body.avec-barre { padding-bottom: 76px; } }

/* ---------- 404 ---------- */
.introuvable { min-height: 80svh; display: flex; align-items: center; padding-top: 120px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-suite { margin-top: var(--space-8); }
@media (min-width: 900px) { .zone__villes, .zone__reflet { font-size: clamp(22px, 2.6vw, 38px); } }
@media (max-width: 599px) { .titre--1 { font-size: min(26px, 5.4vw); } .titre--3 { font-size: min(18px, 4.6vw); } .zone__villes, .zone__reflet { letter-spacing: 2px; } }
@media (max-width: 899px) {
  .heros__photo::after {
    background:
      linear-gradient(to top, var(--fond) 0%, color-mix(in srgb, var(--fond) 78%, transparent) 55%, color-mix(in srgb, var(--fond) 55%, transparent) 100%);
  }
}
