/* =========================================================
   Conformelec Sàrl — feuille de styles (thème sombre, vert du logo)
   Pour changer les couleurs : modifiez uniquement le bloc « :root ».
   Mise en page : bandes pleine largeur, contenu sur 1180 px,
   titres étroits et gras comme le logotype.
   ========================================================= */

:root {
  --noir: #0B0D0B;          /* fond du site, noir légèrement vert */
  --noir-2: #121612;        /* fond des cartes */
  --noir-3: #1A1F1A;        /* fond des champs */
  --ligne: rgba(232,238,229,.10);
  --ligne-forte: rgba(232,238,229,.20);
  --texte: #E8EEE5;
  --texte-doux: #97A294;
  --vert: #438A44;          /* vert exact du logo */
  --vert-vif: #63B365;      /* vert éclairci, lisible sur fond noir */
  --vert-pale: rgba(67,138,68,.14);
  --logo-sombre: #E8EEE5;   /* parties noires du logo, en clair sur fond sombre */
  --police-titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --police-texte: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-mesure: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --largeur: 1180px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--noir); }
body {
  margin: 0; font-family: var(--police-texte); font-size: 17px; line-height: 1.6;
  color: var(--texte); background: var(--noir); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .6s ease;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--noir); }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
.titre {
  font-family: var(--police-titre); font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; line-height: .98;
}
h1.titre { font-size: clamp(2.6rem, 6.6vw, 5.4rem); }
h2.titre { font-size: clamp(2.1rem, 5.2vw, 3.8rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
.vert { color: var(--vert-vif); }
.doux { color: var(--texte-doux); }
.conteneur {
  width: 100%; max-width: var(--largeur); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(72px, 10vw, 128px); }
.section__tete { max-width: 760px; margin-bottom: 48px; display: grid; gap: 18px; }
.etiquette {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--police-mesure);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vert-vif);
}
.etiquette::before { content: ""; width: 22px; height: 2px; background: var(--vert); }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; z-index: 100; background: var(--vert); color: #fff; padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--vert-vif); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--police-texte); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bouton svg { width: 18px; height: 18px; }
.bouton--plein { background: var(--vert); color: #fff; }
.bouton--plein:hover { background: var(--vert-vif); color: #0B0D0B; }
.bouton--contour { border-color: var(--ligne-forte); color: var(--texte); background: transparent; }
.bouton--contour:hover { border-color: var(--vert-vif); color: var(--vert-vif); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo__texte { font-family: var(--police-titre); font-weight: 700; font-size: 1.6rem; letter-spacing: .01em; line-height: 1; }
.logo__texte b { color: var(--vert-vif); font-weight: 700; }
.logo__sarl { font-family: var(--police-texte); font-weight: 500; font-size: .8rem; color: var(--texte-doux); margin-left: 4px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11,13,11,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne);
}
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.bouton) { text-decoration: none; color: var(--texte-doux); font-weight: 500; transition: color .2s; }
.menu a:not(.bouton):hover { color: var(--texte); }
.menu .bouton { min-height: 42px; padding: 0 18px; }
.burger { display: none; background: none; border: 1px solid var(--ligne-forte); border-radius: 12px; width: 46px; height: 46px; color: var(--texte); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }

/* ---------- Bannière d'accueil ---------- */
.banniere { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px); overflow: hidden; }
.banniere::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(67,138,68,.20), transparent 70%),
    linear-gradient(var(--ligne) 1px, transparent 1px) 0 0 / 100% 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
          mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.banniere__grille { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.banniere__texte { display: grid; gap: 26px; min-width: 0; }
.banniere__intro { font-size: 1.2rem; color: var(--texte-doux); max-width: 34em; margin: 0; }
.banniere__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.banniere__faits { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 6px 0 0; list-style: none; color: var(--texte-doux); font-size: .95rem; }
.banniere__faits li { display: inline-flex; align-items: center; gap: 8px; }
.banniere__faits svg { width: 18px; height: 18px; color: var(--vert-vif); }

/* Carte « appareil de mesure » */
.appareil {
  position: relative; background: linear-gradient(160deg, #161B16, #0F120F); border: 1px solid var(--ligne-forte);
  border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  will-change: transform;
}
.appareil__tete { display: flex; justify-content: space-between; align-items: center; font-family: var(--police-mesure); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 16px; }
.appareil__voyant { display: inline-flex; align-items: center; gap: 8px; color: var(--vert-vif); }
.appareil__voyant::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vert-vif); box-shadow: 0 0 10px var(--vert-vif); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ecran { background: #070907; border: 1px solid var(--ligne); border-radius: 12px; padding: 6px 16px; font-family: var(--police-mesure); font-variant-numeric: tabular-nums; }
.ecran__ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--ligne); font-size: .86rem; }
.ecran__ligne:last-child { border-bottom: 0; }
.ecran__ligne span:first-child { color: var(--texte-doux); }
.ecran__ligne strong { font-weight: 500; color: var(--texte); white-space: nowrap; }
.ecran__ok { color: var(--vert-vif); font-size: .72rem; margin-left: 8px; }
.appareil__pied { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; flex-wrap: wrap; }
.tampon {
  font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem; letter-spacing: .08em; color: var(--vert-vif);
  border: 3px solid var(--vert-vif); border-radius: 8px; padding: 2px 14px; transform: rotate(-6deg); opacity: .9;
}
.appareil__pied small { color: var(--texte-doux); font-size: .8rem; }

/* ---------- Bandeau défilant ---------- */
.bandeau { border-block: 1px solid var(--ligne); overflow: hidden; padding-block: 18px; background: var(--noir); }
.bandeau__piste { display: flex; width: max-content; will-change: transform; }
.bandeau__groupe { display: flex; gap: 40px; padding-right: 40px; font-family: var(--police-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.1rem); white-space: nowrap; }
.bandeau__groupe span { display: inline-flex; align-items: center; gap: 40px; }
.bandeau__groupe span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--vert); }
.bandeau__groupe span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--texte-doux); }

/* ---------- Obligation ---------- */
.obligation__grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.obligation__texte { min-width: 0; }
.obligation__texte p { color: var(--texte-doux); max-width: 34em; }
.periodicite { border: 1px solid var(--ligne-forte); border-radius: 18px; overflow: hidden; }
.periodicite__ligne { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--ligne); }
.periodicite__ligne:last-of-type { border-bottom: 0; }
.periodicite__ligne span { min-width: 0; }
.periodicite__ligne strong { font-family: var(--police-titre); font-size: 1.7rem; font-weight: 700; color: var(--vert-vif); white-space: nowrap; font-variant-numeric: tabular-nums; }
.periodicite__note { padding: 14px 22px; background: var(--noir-2); font-size: .85rem; color: var(--texte-doux); margin: 0; }

/* ---------- Prestations ---------- */
.prestations { display: grid; border-top: 1px solid var(--ligne); }
.prestation {
  display: grid; grid-template-columns: 70px 1fr 1fr 150px; gap: 28px; align-items: center;
  padding-block: 30px; border-bottom: 1px solid var(--ligne); text-decoration: none; color: inherit;
  transition: background-color .3s;
}
.prestation:hover { background: linear-gradient(90deg, var(--vert-pale), transparent 70%); }
.prestation__num { font-family: var(--police-mesure); color: var(--texte-doux); font-size: .85rem; }
.prestation h3 { font-family: var(--police-titre); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1; }
.prestation__corps { min-width: 0; color: var(--texte-doux); }
.prestation__corps p { margin: 0 0 10px; }
.prestation__corps ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--texte); }
.prestation__corps li::before { content: "✓ "; color: var(--vert-vif); }
.prestation__vignette { aspect-ratio: 1; max-width: 100%; border-radius: 16px; background: var(--noir-2); border: 1px solid var(--ligne); display: grid; place-items: center; color: var(--vert-vif); transition: transform .3s, border-color .3s; }
.prestation__vignette svg { width: 54%; height: 54%; }
.prestation:hover .prestation__vignette { transform: rotate(-3deg) scale(1.04); border-color: var(--vert); }
.prestation__lien { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; color: var(--vert-vif); font-weight: 600; font-size: .95rem; }
.prestation__lien svg { width: 16px; height: 16px; }

/* ---------- Pour qui (onglets) ---------- */
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.onglet {
  font: 500 .98rem var(--police-texte); color: var(--texte-doux); background: transparent;
  border: 1px solid var(--ligne-forte); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: all .2s;
}
.onglet:hover { color: var(--texte); }
.onglet[aria-selected="true"] { background: var(--vert); border-color: var(--vert); color: #fff; }
.panneau { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--ligne-forte); border-radius: 22px; background: var(--noir-2); }
.panneau > div { min-width: 0; display: grid; gap: 14px; justify-items: start; }
.panneau h3 { font-family: var(--police-titre); text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; line-height: 1; }
.panneau p { color: var(--texte-doux); margin: 0; }
.liste-coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.liste-coches li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.liste-coches svg { width: 22px; height: 22px; color: var(--vert-vif); margin-top: 2px; }

/* ---------- Assistant ---------- */
.assistant { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.assistant__texte { min-width: 0; }
.assistant__boite { border: 1px solid var(--ligne-forte); border-radius: 22px; padding: clamp(22px, 4vw, 36px); background: linear-gradient(160deg, var(--noir-2), var(--noir)); min-width: 0; }
.assistant__progression { display: flex; gap: 6px; margin-bottom: 22px; }
.assistant__progression i { flex: 1; height: 4px; border-radius: 4px; background: var(--ligne-forte); transition: background-color .3s; }
.assistant__progression i.fait { background: var(--vert); }
.assistant__question { font-family: var(--police-titre); text-transform: uppercase; font-weight: 700; font-size: 1.7rem; line-height: 1.05; margin-bottom: 18px; }
.assistant__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix {
  text-align: left; font: 500 1rem var(--police-texte); color: var(--texte); background: var(--noir-3);
  border: 1px solid var(--ligne); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.choix:hover { border-color: var(--vert-vif); background: var(--vert-pale); }
.assistant__resultat { display: grid; gap: 14px; justify-items: start; }
.assistant__resultat h3 { font-family: var(--police-titre); text-transform: uppercase; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--vert-vif); }
.assistant__resultat p { margin: 0; color: var(--texte-doux); }
.assistant__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lien-discret { background: none; border: 0; color: var(--texte-doux); font: 500 .95rem var(--police-texte); text-decoration: underline; cursor: pointer; padding: 8px 0; }

/* ---------- Déroulement (épinglé) ---------- */
.deroulement { position: relative; }
.deroulement__piste { height: 320vh; }
.deroulement__fixe { position: sticky; top: calc(74px + env(safe-area-inset-top, 0px)); height: calc(100vh - 74px); display: grid; align-content: center; }
.deroulement__grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.compteur { font-family: var(--police-titre); font-weight: 700; font-size: clamp(7rem, 16vw, 13rem); line-height: .85; color: var(--vert-vif); font-variant-numeric: tabular-nums; }
.compteur small { font-size: .3em; color: var(--texte-doux); }
.etapes { position: relative; min-height: 260px; }
.etape { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .45s; }
.etape.active { opacity: 1; transform: none; }
.etape h3 { font-family: var(--police-titre); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.etape p { color: var(--texte-doux); margin: 0; max-width: 32em; }
.barre-etapes { display: flex; gap: 8px; margin-top: 28px; }
.barre-etapes i { flex: 1; height: 3px; background: var(--ligne-forte); border-radius: 3px; transition: background-color .3s; }
.barre-etapes i.fait { background: var(--vert); }

/* ---------- À propos ---------- */
.apropos__grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 22px; border: 1px solid var(--ligne-forte);
  background: radial-gradient(80% 60% at 50% 30%, rgba(67,138,68,.25), transparent 70%), var(--noir-2);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.portrait__initiales { font-family: var(--police-titre); font-weight: 700; font-size: 7rem; color: var(--vert-vif); opacity: .9; }
.portrait__note { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: .78rem; color: var(--texte-doux); text-align: center; }
.apropos__texte { min-width: 0; display: grid; gap: 18px; }
.apropos__texte p { color: var(--texte-doux); margin: 0; max-width: 36em; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: 16px; overflow: hidden; margin-top: 8px; }
.chiffres div { background: var(--noir); padding: 18px; display: grid; gap: 4px; }
.chiffres strong { font-family: var(--police-titre); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--texte); }
.chiffres span { font-size: .85rem; color: var(--texte-doux); }

/* ---------- Zone ---------- */
.zone { display: flex; flex-wrap: wrap; gap: 10px; }
.zone span { border: 1px solid var(--ligne-forte); border-radius: 999px; padding: 10px 18px; font-weight: 500; }
.zone span.principal { border-color: var(--vert); color: var(--vert-vif); }

/* ---------- FAQ ---------- */
.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; gap: 20px; align-items: center;
  padding: 22px 0; font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--police-mesure); font-size: 1.4rem; color: var(--vert-vif); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--texte-doux); margin: 0 0 22px; max-width: 46em; }

/* ---------- Contact ---------- */
.contact__grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__infos { min-width: 0; display: grid; gap: 22px; }
.coordonnees { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.coordonnees li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.coordonnees .icone { width: 44px; height: 44px; border-radius: 12px; background: var(--vert-pale); color: var(--vert-vif); display: grid; place-items: center; }
.coordonnees svg { width: 20px; height: 20px; }
.coordonnees a { text-decoration: none; font-weight: 600; }
.coordonnees small { display: block; color: var(--texte-doux); font-size: .85rem; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--ligne-forte); border-radius: 22px; background: var(--noir-2); min-width: 0; }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-size: .9rem; font-weight: 500; color: var(--texte-doux); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: 400 1rem var(--police-texte); color: var(--texte); background: var(--noir-3);
  border: 1px solid var(--ligne); border-radius: 12px; padding: 13px 14px; transition: border-color .2s;
}
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--vert-vif); outline: none; }
.champ--case { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--texte-doux); }
.champ--case input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--vert); }
.formulaire .bouton { grid-column: 1 / -1; justify-self: start; }
.formulaire__etat { grid-column: 1 / -1; margin: 0; font-size: .95rem; }
.formulaire__etat.ok { color: var(--vert-vif); }
.formulaire__etat.erreur { color: #E9A26B; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--ligne); padding-block: 56px 32px; color: var(--texte-doux); font-size: .95rem; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied__grille > div { min-width: 0; }
.pied h3 { color: var(--texte); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; font-family: var(--police-mesure); font-weight: 500; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--vert-vif); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ligne); font-size: .85rem; }

/* Bouton d'appel fixe (téléphone) */
.appel-flottant {
  display: none; position: fixed; z-index: 40;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.7);
}

/* ---------- Apparition des titres mot à mot ---------- */
.mots .mot { display: inline-block; opacity: .45; transform: translateY(.18em); transition: opacity .5s, transform .5s; transition-delay: calc(var(--i) * 45ms); }
.mots.visible .mot { opacity: 1; transform: none; }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; padding-block: 64px 96px; }
.legal h1 { font-family: var(--police-titre); text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--vert-vif); }
.legal p, .legal li { color: var(--texte-doux); }
.a-completer { background: rgba(233,162,107,.16); color: #E9A26B; padding: 1px 6px; border-radius: 4px; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 960px) {
  .banniere__grille, .obligation__grille, .assistant, .apropos__grille, .contact__grille, .panneau { grid-template-columns: 1fr; }
  .prestation { grid-template-columns: 1fr 110px; gap: 18px 22px; }
  .prestation__num { grid-column: 1 / -1; }
  .prestation h3 { grid-column: 1; }
  .prestation__corps { grid-column: 1 / -1; grid-row: 3; }
  .prestation__vignette { grid-column: 2; grid-row: 2; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied__grille > div:first-child { grid-column: 1 / -1; }
  .apropos__grille .portrait { max-width: 360px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .burger { display: grid; place-items: center; }
  .menu {
    position: fixed; top: calc(74px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    background: var(--noir); border-bottom: 1px solid var(--ligne);
    transform: translateY(-110%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .menu.ouvert { transform: none; visibility: visible; }
  .menu a:not(.bouton) { padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 1.1rem; color: var(--texte); }
  .menu .bouton { margin-top: 16px; min-height: 50px; }
  .appel-flottant { display: inline-flex; }
  .assistant__choix, .formulaire { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; }
  /* Déroulement : cartes empilées au lieu de l'épinglage */
  .deroulement__piste { height: auto; }
  .deroulement__fixe { position: static; height: auto; display: block; }
  .deroulement__grille { display: block; }
  .compteur, .barre-etapes { display: none; }
  .etapes { min-height: 0; display: grid; gap: 16px; }
  .etape {
    position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); inset: auto; opacity: 1; transform: none;
    background: var(--noir-2); border: 1px solid var(--ligne-forte); border-radius: 20px; padding: 24px;
    box-shadow: 0 -20px 40px -20px rgba(0,0,0,.8);
  }
  .etape::before { content: attr(data-num); font-family: var(--police-titre); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--vert-vif); }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mots .mot { opacity: 1; transform: none; }
  .deroulement__piste { height: auto; }
  .deroulement__fixe { position: static; height: auto; }
  .compteur, .barre-etapes { display: none; }
  .etapes { min-height: 0; display: grid; gap: 16px; }
  .etape { position: static; opacity: 1; transform: none; }
}
