/* =====================================================================
   Atelier Daluzeau : feuille de style
   Fond sombre, texte clair, titres à empattements, un seul bleu.
   Polices hébergées ici (pas d'appel à Google).
   ===================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bleu: #0a6cff;        /* boutons */
  --bleu-nuit: #2a80ff;   /* survol */
  --lien: #7db0ff;        /* liens et repères sur fond sombre */
  --laiton: #f0a868;      /* petites étiquettes */
  --papier: #09090c;      /* fond de page */
  --teinte: #0d0d11;      /* sections alternées */
  --blanc: #131317;       /* surface des cartes */
  --encre: #f4f3ee;       /* texte */
  --zinc: #bcbcc4;        /* texte secondaire */
  --trait: rgba(255, 255, 255, .11);
  --titres: "Fraunces", "Iowan Old Style", Georgia, serif;
  --texte: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --largeur: 1120px;
  --rayon: 16px;
  --surface2: #1a1a20;    /* surface un cran plus claire */
  --champ: #0c0c10;       /* fond des champs de formulaire */
  --bord: rgba(255, 255, 255, .2);
  --entete: rgba(9, 9, 12, .82);
  --halo: rgba(10, 108, 255, .15);
  --ombre: 0 24px 60px rgba(0, 0, 0, .45);
}
/* Version claire : mêmes règles, autres valeurs */
:root[data-theme="clair"] {
  color-scheme: light;
  --bleu-nuit: #0058d6;
  --lien: #0a58cf;
  --laiton: #a2591b;
  --papier: #fbfaf7;
  --teinte: #f3f2ee;
  --blanc: #ffffff;
  --encre: #15151a;
  --zinc: #4b4b54;
  --trait: rgba(15, 15, 25, .12);
  --surface2: #f4f4f1;
  --champ: #ffffff;
  --bord: rgba(15, 15, 25, .28);
  --entete: rgba(251, 250, 247, .86);
  --halo: rgba(10, 108, 255, .10);
  --ombre: 0 18px 44px rgba(20, 25, 45, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font-family: var(--texte); font-size: 1.125rem; line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--lien); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lien); outline-offset: 3px; border-radius: 3px; }
.sur-bleu :focus-visible { outline-color: var(--blanc); }
h1, h2, h3 { font-family: var(--titres); line-height: 1.08; margin: 0; letter-spacing: -0.025em; text-wrap: balance; color: var(--encre); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 460; letter-spacing: -0.035em; line-height: 1.02; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 480; }
h3 { font-size: 1.25rem; font-weight: 520; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
.conteneur { width: min(100% - 40px, var(--largeur)); margin-inline: auto; }
.cache-visuel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lien-contenu { position: absolute; left: 12px; top: -60px; background: var(--bleu); color: #fff; padding: 10px 16px; z-index: 100; font-weight: 700; border-radius: 6px; }
.lien-contenu:focus { top: 12px; }

/* ----------------------------------------------------------- Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 11px 24px; border: 1px solid var(--bleu); border-radius: 999px;
  background: var(--bleu); color: #fff; font-family: var(--texte); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.bouton:hover { background: var(--bleu-nuit); border-color: var(--bleu-nuit); }
.bouton--clair { background: var(--blanc); color: var(--encre); border-color: var(--bord); }
.bouton--clair:hover { background: var(--surface2); border-color: var(--zinc); }
.bouton--petit { min-height: 44px; padding: 8px 18px; font-size: .98rem; }

/* ------------------------------------------------------------ En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--entete); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--trait); }
.entete__ligne { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); margin-right: auto; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo__nom { font-family: var(--titres); font-weight: 520; font-size: 1.25rem; line-height: 1; letter-spacing: -0.02em; }
.logo__metier { display: block; font-family: var(--texte); font-weight: 400; font-size: .84rem; color: var(--zinc); letter-spacing: 0; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--zinc); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 0; }
.menu a:hover { color: var(--encre); }
.menu a.bouton { padding: 8px 18px; color: #fff; }
.theme { order: 3; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); color: var(--encre); cursor: pointer; padding: 0; }
.theme:hover { border-color: var(--zinc); }
.theme svg { width: 20px; height: 20px; }
.theme .theme__lune, :root[data-theme="clair"] .theme .theme__soleil { display: none; }
:root[data-theme="clair"] .theme .theme__lune { display: block; }
.entete nav { order: 2; }
.burger { order: 4; display: none; width: 46px; height: 46px; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); cursor: pointer; padding: 0; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--encre); margin: auto; position: relative; transition: transform .2s; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Fil d'avancement : un trait fin qui suit le défilement */
.metre { height: 3px; background: transparent; overflow: hidden; margin-bottom: -3px; }
.metre__ruban { height: 100%; width: 100%; transform-origin: left center; transform: scaleX(var(--avance, 0)); background: var(--bleu); }

/* ------------------------------------------------------------ Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--blanc { background: var(--teinte); border-block: 1px solid var(--trait); }
.section--teinte { background: var(--teinte); border-block: 1px solid var(--trait); }
.section__tete { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section__tete p { font-size: 1.2rem; color: var(--zinc); margin-top: 16px; }
.sur-bleu { background: radial-gradient(900px 420px at 18% 0%, var(--halo), transparent 70%), var(--teinte); border-top: 1px solid var(--trait); }
.sur-bleu .section__tete p, .sur-bleu p { color: var(--zinc); }

/* ---------------------------------------------------------------- Hero */
.hero { background: radial-gradient(1000px 520px at 78% 10%, var(--halo), transparent 70%), var(--papier); color: var(--encre); padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--trait); }
.hero__grille { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__texte { font-size: clamp(1.1rem, 1.6vw, 1.22rem); color: var(--zinc); margin: 24px 0 30px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.faits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 22px; margin: 38px 0 0; padding-top: 24px; border-top: 1px solid var(--trait); }
.faits dt { font: 480 clamp(1.35rem, 2.2vw, 1.75rem)/1.05 var(--titres); letter-spacing: -0.02em; white-space: nowrap; }
.faits dd { margin: 8px 0 0; font-size: .98rem; line-height: 1.4; color: var(--zinc); }

/* Aperçu : le site de démonstration dans un MacBook et un iPhone */
.apercu__scene { position: relative; }
/* MacBook Air : image de coque posée au-dessus de l'écran (même montage que moireloop.com) */
.macbook { position: relative; width: 100%; aspect-ratio: 3540 / 2300; filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .6)); }
:root[data-theme="clair"] .macbook { filter: drop-shadow(0 26px 34px rgba(20, 25, 45, .28)); }
.macbook__coque { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; user-select: none; }
.macbook__ecran { position: absolute; left: 9.29%; top: 9.48%; width: 81.36%; height: 81.04%; overflow: hidden; background: #000; }
.macbook__ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* iPhone : image générée (châssis, barre d'état, barre d'adresse Safari) */
.tel { position: absolute; right: 0; bottom: -9%; width: 23.5%; height: auto; z-index: 3; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .5)); }
:root[data-theme="clair"] .tel { filter: drop-shadow(0 18px 26px rgba(20, 25, 45, .3)); }
/* Les maquettes suivent la version du site : couvreur sur fond sombre, institut sur fond clair */
.mode-clair, :root[data-theme="clair"] .mode-sombre { display: none; }
:root[data-theme="clair"] .mode-clair { display: block; }
.apercu { padding-bottom: 6%; }

/* ------------------------------------------------------------ Constat */
.constat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.constat > div { padding: 26px 28px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); }
.constat h3 { margin-bottom: 8px; }
.constat p { color: var(--zinc); margin: 0; }
.constat__signe { display: inline-block; font: 600 .82rem var(--texte); letter-spacing: .04em; text-transform: uppercase; color: var(--laiton); margin-bottom: 10px; }
/* Appel à l'action mis en avant */
.appel { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 30px 34px; border-radius: 20px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--bleu) 26%, var(--blanc)), var(--blanc) 75%); border: 1px solid color-mix(in srgb, var(--bleu) 55%, transparent); }
.appel h3 { font-size: 1.5rem; }
.appel p { margin: 8px 0 0; color: var(--encre); opacity: .86; max-width: 34em; }
.appel .bouton { flex: none; min-height: 56px; padding-inline: 30px; font-size: 1.08rem; }

/* -------------------------------------------------------------- Devis */
.offre { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.devis { background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; box-shadow: var(--ombre); overflow: hidden; }
.devis__tete { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; padding: 22px 26px; border-bottom: 1px solid var(--trait); }
.devis__tete strong { font: 520 1.4rem var(--titres); }
.devis__tete span { color: var(--zinc); font-size: .92rem; text-align: right; }
.devis__lignes { list-style: none; margin: 0; padding: 8px 26px; }
.devis__lignes li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--trait); font-size: 1.05rem; }
.devis__lignes li:last-child { border-bottom: 0; }
.devis__lignes li span:first-child { flex: 1; }
.devis__lignes li span:last-child { color: var(--zinc); white-space: nowrap; font-size: .95rem; }
.devis__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 26px; background: var(--surface2); border-top: 1px solid var(--trait); color: var(--encre); font-weight: 600; font-size: 1.05rem; }
.devis__total b { font-family: var(--titres); font-size: 2.4rem; font-weight: 480; letter-spacing: -0.02em; }
.devis__suite { padding: 18px 26px 22px; border-top: 1px solid var(--trait); }
.devis__suite p { margin: 0; font-size: 1.05rem; color: var(--zinc); }
.devis__suite b { font-family: var(--titres); font-size: 1.2rem; color: var(--encre); font-weight: 520; }
.offre__texte h3 { margin: 30px 0 8px; }
.offre__texte h3:first-child { margin-top: 0; }
.offre__texte p { color: var(--zinc); }
.regles { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.regles li { padding-left: 30px; position: relative; max-width: 60ch; }
.regles li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2px solid var(--lien); border-bottom: 2px solid var(--lien); transform: rotate(-45deg); }

/* Comparaison */
.compare { margin-top: clamp(48px, 6vw, 80px); }
.compare h3 { font-size: 1.6rem; margin-bottom: 22px; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; font-size: 1.05rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); line-height: 1.45; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 520 1.15rem var(--titres); }
.compare thead small { display: block; font: 400 .88rem var(--texte); color: var(--zinc); margin-top: 3px; }
.compare tbody th { font-weight: 600; width: 19%; }
.compare tbody td { color: var(--zinc); width: 27%; }
.compare .nous { background: color-mix(in srgb, var(--bleu) 16%, var(--blanc)); color: var(--encre); font-weight: 600; }
.compare thead .nous { color: var(--lien); }

/* ------------------------------------------------------------ Méthode */
.etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.etapes li { counter-increment: etape; padding: 24px 24px 26px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); }
.etapes li::before { content: "Étape " counter(etape); display: block; margin-bottom: 14px; font: 600 .82rem var(--texte); letter-spacing: .04em; text-transform: uppercase; color: var(--laiton); }
.etapes h3 { margin-bottom: 8px; }
.etapes p { font-size: 1.05rem; margin: 0; color: var(--zinc); }
.etapes em { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--trait); font-style: normal; color: var(--encre); font-weight: 600; font-size: .95rem; }

/* ------------------------------------------------------ Référencement */
.ref { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.ref__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ref__liste h3 { margin-bottom: 6px; }
.ref__liste p { color: var(--zinc); margin: 0; }
.reponse { background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; padding: 24px; position: sticky; top: 110px; }
.reponse__q { display: inline-block; background: var(--bleu); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 16px; font-size: 1rem; margin: 0 0 16px auto; float: right; clear: both; max-width: 88%; }
.reponse__r { clear: both; background: var(--surface2); border: 1px solid var(--trait); border-radius: 4px 16px 16px 16px; padding: 16px 18px; font-size: 1rem; }
.reponse__r p { margin: 0 0 10px; }
.reponse__r mark { background: color-mix(in srgb, var(--bleu) 24%, transparent); color: inherit; padding: 0 3px; border-radius: 2px; }
.reponse__source { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--trait); padding-top: 10px; margin-top: 4px; font-size: .9rem; color: var(--zinc); }
.reponse__source b { color: var(--lien); }
.reponse figcaption, .reponse__note { clear: both; font-size: .9rem; color: var(--zinc); margin: 14px 0 0; }
.franc { margin-top: 44px; border-left: 3px solid var(--lien); padding: 4px 0 4px 22px; }
.franc p { font-size: 1.08rem; margin: 0; }

/* -------------------------------------------------------- Réalisations */
.realisations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.realisation { background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--ombre); }
.realisation img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--trait); }
.realisation__corps { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.realisation__type { align-self: flex-start; font: 600 .8rem var(--texte); letter-spacing: .04em; text-transform: uppercase; color: var(--laiton); }
.realisation p { color: var(--zinc); font-size: 1.05rem; margin: 0 0 8px; }
.realisation a { margin-top: auto; font-weight: 650; }
.sorties { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--trait); }
.sorties h3 { font-size: 1.6rem; }
.sorties > p { color: var(--zinc); margin: 8px 0 26px; }
.sorties__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sortie { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); color: var(--encre); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.sortie:hover { border-color: var(--lien); transform: translateY(-2px); }
.sortie__type { font: 600 .8rem var(--texte); letter-spacing: .04em; text-transform: uppercase; color: var(--laiton); }
.sortie b { font: 520 1.3rem var(--titres); }
.sortie span:not(.sortie__type) { color: var(--zinc); font-size: 1.05rem; line-height: 1.5; }
.sortie i { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 600; color: var(--lien); }
.sortie i::after { content: " ↗"; }

/* ----------------------------------------------------------- À propos */
.apropos { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.apropos p { color: var(--zinc); }
.apropos .signature { font: italic 420 1.7rem var(--titres); color: var(--encre); margin-top: 26px; }
.apropos__chiffres { display: grid; gap: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; }
.apropos__chiffres div { padding: 20px 24px; border-bottom: 1px solid var(--trait); }
.apropos__chiffres div:last-child { border-bottom: 0; }
.apropos__chiffres b { display: block; font: 520 1.25rem var(--titres); color: var(--encre); }
.apropos__chiffres span { color: var(--zinc); font-size: 1.05rem; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 500 1.2rem/1.3 var(--titres); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.7rem var(--texte); color: var(--zinc); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--zinc); padding-right: 40px; }
.faq details p:last-child { margin-bottom: 24px; }

/* ------------------------------------------------------------ Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__direct { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-size: 1.08rem; }
.contact__direct a { color: var(--encre); font-weight: 600; }
.contact__direct span { display: block; font-size: .93rem; color: var(--zinc); }
.formulaire { background: var(--blanc); color: var(--encre); border: 1px solid var(--trait); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 12px 40px rgba(0, 0, 0, .22); display: grid; gap: 16px; }
.formulaire__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ label { display: block; font-weight: 600; font-size: .96rem; margin-bottom: 6px; color: var(--encre); }
.champ label small { font-weight: 400; color: var(--zinc); }
.champ input, .champ textarea { width: 100%; font: inherit; font-size: 1.02rem; color: var(--encre); background: var(--champ); border: 1px solid var(--bord); border-radius: 10px; padding: 11px 13px; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--lien); outline-offset: 1px; border-color: var(--lien); }
.champ textarea { min-height: 96px; resize: vertical; }
.sur-bleu .formulaire__note { font-size: .9rem; color: var(--zinc); margin: 0; }
.sur-bleu .formulaire__etat { font-weight: 600; margin: 0; color: var(--lien); }
.sur-bleu .formulaire a { color: var(--lien); }
.formulaire__etat:empty { display: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire.envoye > :not(.formulaire__etat) { display: none; }
.formulaire.envoye .formulaire__etat { font-size: 1.2rem; color: var(--encre); padding: 30px 0; }

/* Bouton fixe en bas de l'écran, sur téléphone seulement */
.barre-mobile { display: none; }

/* --------------------------------------------------------------- Pied */
.pied { background: var(--papier); color: var(--zinc); padding: 52px 0 34px; font-size: .98rem; border-top: 1px solid rgba(255,255,255,.12); }
.pied a { color: var(--encre); }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.15); }
.pied h2 { font-family: var(--texte); font-weight: 600; font-size: 1rem; color: var(--encre); margin-bottom: 12px; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied .logo { margin-bottom: 14px; }
.pied__bas { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .92rem; }

/* Pages de texte (mentions légales) */
.page-texte { padding: 64px 0 96px; }
.page-texte h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 28px; }
.page-texte h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.a-completer { background: rgba(240, 168, 104, .14); border: 1px dashed var(--laiton); padding: 0 6px; border-radius: 3px; }

/* ---------------------------------------------------------- Adaptatif */
@media (max-width: 980px) {
  .hero__grille, .offre, .ref, .apropos, .contact, .sorties__grille { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .realisations { grid-template-columns: 1fr; max-width: 560px; }
  .reponse { position: static; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .apercu { max-width: 640px; }
  .burger { display: block; }
  .entete__ligne { gap: 14px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--teinte); border-bottom: 1px solid var(--trait); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; box-shadow: var(--ombre); }
  .menu.ouvert { display: flex; }
  .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--trait); font-size: 1.05rem; color: var(--encre); }
  .menu a.bouton { margin-top: 14px; display: flex; padding: 12px 18px; border-bottom: 1px solid var(--bleu); }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .constat { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .formulaire__duo { grid-template-columns: 1fr; }
  .faits { grid-template-columns: 1fr; gap: 16px; }
  .faits div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; align-items: baseline; }
  .faits dd { margin: 0; }
  .appel { padding: 24px 22px; }
  .appel .bouton { width: 100%; }
  .compare table, .compare tbody, .compare tr, .compare tbody th, .compare tbody td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare table { border: 0; background: none; border-radius: 0; }
  .compare tbody { display: grid; gap: 16px; }
  .compare tr { background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; overflow: hidden; }
  .compare tbody th { padding: 14px 18px 6px; border: 0; font: 520 1.2rem var(--titres); }
  .compare tbody td { padding: 8px 18px; border: 0; }
  .compare tbody td::before { content: attr(data-t); display: block; font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--zinc); }
  .compare tbody td.nous { padding: 12px 18px 14px; margin-top: 6px; }
  .compare tbody td.nous::before { color: var(--lien); }
  .barre-mobile { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 54px; align-items: center; justify-content: center; border-radius: 999px; background: var(--bleu); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transform: translateY(140%); transition: transform .25s ease; }
  .barre-mobile.visible { transform: none; }
  .pied { padding-bottom: 96px; }
  .pied__grille { grid-template-columns: 1fr; }
  .logo__metier { display: none; }
  .entete .bouton--petit { display: none; }
  .devis__tete { flex-direction: column; align-items: flex-start; }
  .devis__tete span { text-align: left; }
  .devis__total b { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton, .burger span, .burger span::before, .burger span::after { transition: none; }
}
@media print {
  .entete, .metre, .formulaire, .theme { order: 3; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); color: var(--encre); cursor: pointer; padding: 0; }
.theme:hover { border-color: var(--zinc); }
.theme svg { width: 20px; height: 20px; }
.theme .theme__lune, :root[data-theme="clair"] .theme .theme__soleil { display: none; }
:root[data-theme="clair"] .theme .theme__lune { display: block; }
.entete nav { order: 2; }
.burger { order: 4; display: none; }
}
