/* Dépannage Batterie Paris : « Charge », marque de service parisienne. Encre, zinc, brume, blanc + un vert de charge. */
:root {
  --encre: #111B24;
  --encre-2: #1C2935;
  --zinc: #4A5D6E;
  --trait: #DCE3E8;
  --trait-2: #CBD5DC;
  --brume: #EEF2F4;
  --blanc: #FFFFFF;
  --charge: #2BBF7A;
  --charge-2: #25A96B;
  --charge-fonce: #0B6B44;
  --rouge: #FF6A5C;
  --ambre: #F0A202;
  --sur-encre: #C9D3DA;
  --sur-encre-2: #9AA9B4;
  --police: "Jost", "Futura", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --cadre: 75rem;
  --marge: clamp(1rem, 4vw, 2rem);
  --z: clamp(3.5rem, 7vw, 6rem);
  --r-panneau: 24px;
  --r-carte: 18px;
  --r-petit: 12px;
  --haut-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--haut-h) + 1rem); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--police); color: var(--encre); background: var(--blanc); font-kerning: normal; }
@media (min-width: 64em) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--encre); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.45rem + 3.1vw, 3.5rem); line-height: 1.1; letter-spacing: -.028em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.375rem); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
a { color: var(--encre); text-decoration-color: var(--charge); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--encre); }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 600; }
small { font-size: .8125em; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saut { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--encre); color: var(--blanc); padding: .7rem 1rem; border-radius: var(--r-petit); }
.saut:focus { top: 1rem; }
.cadre { width: 100%; max-width: var(--cadre); margin-inline: auto; padding-inline: var(--marge); }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.chapo { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.5; color: #2B3945; max-width: 36rem; }
.note { font-size: .875rem; color: var(--zinc); }
.lien-fort { font-weight: 600; }
.renvoi { max-width: 39rem; margin: 1.5rem 0 0; color: #2B3945; }

/* ------------------------------------------------------------ boutons */
.btn-tel, .btn-prix, .btn-charge {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .55rem 1.25rem;
  border-radius: 999px; font-weight: 600; line-height: 1.15; text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums; border: 2px solid transparent; cursor: pointer;
}
.btn-tel { background: var(--charge); color: var(--encre); }
.btn-tel:hover { background: var(--charge-2); color: var(--encre); }
.btn-tel .ico { width: 1.2em; height: 1.2em; stroke-width: 2; }
.btn-tel-txt { display: flex; flex-direction: column; align-items: flex-start; }
.btn-tel-num { font-weight: 700; letter-spacing: .01em; }
.btn-tel-dispo { font-size: .75rem; font-weight: 500; }
.btn-tel-court { display: none; }
.btn-tel--grand { min-height: 3.5rem; padding-inline: 1.6rem; font-size: 1.1875rem; }
.btn-tel--plein { width: 100%; justify-content: center; }
.btn-prix { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn-prix:hover { background: var(--encre); color: var(--blanc); }
.btn-prix--grand { min-height: 3.5rem; padding-inline: 1.6rem; font-size: 1.0625rem; }
.btn-prix--plein { width: 100%; background: var(--encre); color: var(--blanc); }
.btn-prix--plein:hover { background: var(--encre-2); }
.btn-charge { min-height: 2.75rem; background: var(--charge); color: var(--encre); padding-inline: 1.1rem; }
.btn-charge:hover { background: var(--charge-2); color: var(--encre); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
@media (max-width: 39.99em) { .actions > a { flex: 1 1 auto; } }

/* ------------------------------------------------------------ en-tête collant */
.haut { position: sticky; top: 0; z-index: 40; background: var(--blanc); border-bottom: 1px solid var(--trait); }
.haut-in { display: flex; align-items: center; gap: 1rem; min-height: var(--haut-h); }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--encre); text-decoration: none; margin-right: auto; }
.logo .marque-signe { width: 2.15rem; height: 2.15rem; }
.logo-mots { display: flex; flex-direction: column; line-height: 1; }
.logo-mots small { font-size: .78rem; font-weight: 500; color: var(--zinc); margin-bottom: .22rem; letter-spacing: .01em; }
.logo-mots span { font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; color: var(--encre); text-decoration: none; font-weight: 500; border-radius: 999px; }
.nav-bouton { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1.5px solid var(--trait-2);
  border-radius: 999px; background: var(--blanc); color: var(--encre); cursor: pointer; }
.nav-bouton .ico-fermer, .nav-bouton[aria-expanded="true"] .ico-ouvrir { display: none; }
.nav-bouton[aria-expanded="true"] .ico-fermer { display: block; }
.haut-tel { min-height: 2.75rem; padding: .4rem 1rem; }
.haut-tel .btn-tel-num, .haut-tel .btn-tel-dispo { display: none; }
.haut-tel .btn-tel-court { display: inline; }
.haut-prix { display: none; min-height: 2.75rem; padding: .4rem 1.1rem; }
.nav.ouvert { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 1px solid var(--trait);
  padding: .5rem var(--marge) 1rem; box-shadow: 0 18px 30px rgba(17, 27, 36, .1); }
.nav.ouvert a { padding: .8rem .25rem; border-bottom: 1px solid var(--trait); border-radius: 0; font-size: 1.0625rem; }
@media (max-width: 23em) {
  .logo-mots span { font-size: 1.1rem; }
  .logo .marque-signe { width: 1.85rem; height: 1.85rem; }
  .haut-tel { padding-inline: .8rem; }
}
@media (min-width: 48em) {
  .haut-tel .btn-tel-num { display: inline; }
  .haut-tel .btn-tel-court { display: none; }
}
@media (min-width: 64em) {
  .nav, .nav.ouvert { display: block; position: static; padding: 0; border: 0; box-shadow: none; margin-right: .5rem; }
  .nav ul { display: flex; gap: .15rem; }
  .nav a, .nav.ouvert a { padding: .5rem .8rem; border: 0; border-radius: 999px; font-size: 1rem; }
  .nav a:hover { background: var(--brume); }
  .nav a[aria-current="page"] { background: var(--brume); font-weight: 600; }
  .nav-bouton { display: none; }
  .haut-tel { padding: .35rem 1.1rem; }
  .haut-tel .btn-tel-dispo { display: block; }
  .haut-prix { display: inline-flex; }
}

/* ------------------------------------------------------------ fil d'Ariane */
.fil { padding-top: 1.25rem; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .875rem; color: var(--zinc); }
.fil li + li::before { content: "/"; margin-right: .5rem; color: var(--trait-2); }
.fil a { color: var(--zinc); text-decoration-color: var(--trait-2); }

/* ------------------------------------------------------------ zones (sections pleine largeur) */
.zone { padding-block: var(--z); }
.zone--brume { background: var(--brume); }
.zone--diag { padding-top: 0; }
.zone--brume + .zone--brume { padding-top: 0; }
.zone-tete { max-width: 44rem; margin-bottom: 2.5rem; }
.zone-tete p { color: #2B3945; margin: 0; }
.zone-tete--ligne { max-width: none; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: baseline; }
.zone-tete--ligne h2 { margin: 0; }
.deux { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 4rem; }
@media (min-width: 56em) {
  .deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deux--faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.deux--faq .zone-tete { margin: 0; }

/* ------------------------------------------------------------ accroche (accueil) */
.accroche { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem); }
.accroche-grille { display: grid; gap: 1.75rem 3.5rem; grid-template-areas: "texte" "atouts" "photo"; }
.accroche-texte { grid-area: texte; }
.accroche-photo { grid-area: photo; }
.atouts { grid-area: atouts; }
.accroche h1 { max-width: 15ch; }
.atouts { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem 1.5rem; align-content: start; }
.atouts li { display: flex; align-items: center; gap: .7rem; font-size: .9688rem; font-weight: 500; }
.atouts .ico { width: 2.25rem; height: 2.25rem; padding: .5rem; border-radius: 50%; background: var(--brume); color: var(--charge-fonce); stroke-width: 2; }
.accroche-pied { font-size: .9063rem; color: var(--zinc); max-width: 34rem; margin: 0; }
.accroche-photo { margin: 0; border-radius: var(--r-panneau); overflow: hidden; aspect-ratio: 16 / 11; background: var(--brume); }
.accroche-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 55%; }
@media (min-width: 40em) { .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .accroche-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "texte photo" "texte atouts"; grid-template-rows: auto 1fr; }
  .accroche-texte { align-self: center; }
  .accroche-photo { aspect-ratio: 5 / 4; }
  .accroche-photo img { object-position: 64% 50%; }
  .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.25rem; }
  .atouts li { font-size: .9063rem; }
}

/* ------------------------------------------------------------ diagnostic : tableau de bord */
.diag { background: var(--encre); color: var(--sur-encre); border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 2rem; }
.diag h2, .diag h3 { color: var(--blanc); }
.diag a { color: var(--blanc); }
.diag :focus-visible { outline-color: var(--charge); }
.diag-sous { color: var(--sur-encre); margin: 0; max-width: 30rem; }
.jauge-zone { margin-top: 1.75rem; max-width: 26rem; }
.jauge { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; height: 6.5rem; padding: 7px;
  margin-right: 16px; border: 3px solid var(--sur-encre-2); border-radius: 16px; }
.jauge::after { content: ""; position: absolute; right: -15px; top: 50%; width: 10px; height: 38%; transform: translateY(-50%);
  background: var(--sur-encre-2); border-radius: 0 5px 5px 0; }
.jauge i { display: block; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.jauge[data-niveau="0"] i { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .1) 0 5px, transparent 5px 10px); }
.jauge[data-niveau="1"] { --niv: var(--rouge); }
.jauge[data-niveau="2"], .jauge[data-niveau="3"] { --niv: var(--ambre); }
.jauge[data-niveau="4"], .jauge[data-niveau="5"] { --niv: var(--charge); }
.jauge[data-niveau="1"] i:nth-child(-n+1), .jauge[data-niveau="2"] i:nth-child(-n+2), .jauge[data-niveau="3"] i:nth-child(-n+3),
.jauge[data-niveau="4"] i:nth-child(-n+4), .jauge[data-niveau="5"] i { background: var(--niv); }
.jauge-echelle { display: flex; justify-content: space-between; margin: .5rem 16px 0 0; font-size: .8125rem; line-height: 1; color: var(--sur-encre-2); }
.jauge-lect { display: flex; align-items: baseline; gap: .6rem; margin: 1.1rem 0 0; }
.jauge-lect small { font-size: .9375rem; color: var(--sur-encre-2); }
.jauge-lect strong { font-size: 1.75rem; font-weight: 700; color: var(--blanc); letter-spacing: -.01em; }
.diag-form { display: grid; gap: 1.5rem; min-width: 0; }
.diag-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.diag-q legend { display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: .75rem; color: var(--blanc); font-weight: 600; font-size: 1.0625rem; }
.diag-n { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(43, 191, 122, .16);
  color: var(--charge); font-size: .875rem; font-weight: 700; flex: none; }
.choix-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); gap: .5rem; }
.choix { position: relative; display: block; cursor: pointer; }
.choix input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choix span { display: flex; align-items: center; height: 100%; min-height: 3.1rem; padding: .6rem 1rem; border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-petit); color: #E8EEF2; font-weight: 500; font-size: .9688rem; line-height: 1.3; }
.choix:hover span { border-color: rgba(255, 255, 255, .55); }
.choix input:checked + span { background: var(--blanc); border-color: var(--blanc); color: var(--encre); font-weight: 600; box-shadow: inset 4px 0 0 var(--charge); }
.choix input:focus-visible + span { outline: 2px solid var(--charge); outline-offset: 2px; }
.case { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: var(--sur-encre); cursor: pointer; }
.case input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--charge); flex: none; }
.diag-res { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.25rem; }
.diag-res [data-cause] { display: none; }
.diag-res .actif { display: block; }
.diag-res h3 { font-size: 1.3125rem; margin-bottom: .4rem; }
.diag-res p { margin: 0 0 .75rem; max-width: 40rem; }
.diag-suite { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1rem !important; }
.diag-suite a:not(.btn-charge) { font-weight: 500; }
@media (min-width: 60em) {
  .diag:not(.diag--compact) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
  .diag:not(.diag--compact) .diag-tableau { position: sticky; top: calc(var(--haut-h) + 2rem); align-self: start; }
}
.diag--compact { border-radius: var(--r-panneau); gap: 1.5rem; }
.diag--compact h2 { font-size: 1.5rem; }
.diag--compact .jauge-zone { margin-top: 1.25rem; max-width: 20rem; }
.diag--compact .jauge { height: 4.25rem; }
.diag--compact .jauge-lect strong { font-size: 1.375rem; }
@media (prefers-reduced-motion: no-preference) {
  .jauge i { transition: background-color .22s ease; }
  .jauge i:nth-child(2) { transition-delay: .06s; } .jauge i:nth-child(3) { transition-delay: .12s; }
  .jauge i:nth-child(4) { transition-delay: .18s; } .jauge i:nth-child(5) { transition-delay: .24s; }
}

/* ------------------------------------------------------------ étapes (vraie suite) */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 2rem; }
.etapes li { counter-increment: etape; position: relative; padding-top: 3.75rem; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--encre); color: var(--blanc); font-weight: 700; font-size: 1.125rem; }
.etapes li p { color: #2B3945; margin: 0; font-size: 1rem; }
@media (min-width: 40em) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
  .etapes li::after { content: ""; position: absolute; left: 3.5rem; right: -1.75rem; top: 1.375rem; height: 2px; background: var(--trait); }
  .etapes li:last-child::after { display: none; }
}

/* ------------------------------------------------------------ prestations (les seules cartes) */
.prestas { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
@media (min-width: 64em) {
  .prestas { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .presta { grid-column: span 2; }
  .presta:nth-child(4), .presta:nth-child(5) { grid-column: span 3; }
}
.presta { position: relative; background: var(--blanc); border-radius: var(--r-carte); padding: 1.5rem 1.5rem 1.35rem; border: 2px solid transparent; }
.presta:hover { border-color: var(--encre); }
.presta-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--brume); color: var(--encre); margin-bottom: 1.1rem; }
.presta-ico .ico { width: 1.6rem; height: 1.6rem; }
.presta h3 { margin-bottom: .4rem; }
.presta h3 a { text-decoration: none; }
.presta h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.presta p { margin: 0; color: #2B3945; font-size: .9688rem; }
.zone--brume .renvoi { margin-top: 2rem; }

/* ------------------------------------------------------------ Paris : carte des arrondissements */
.paris-grille { display: grid; gap: 2rem; align-items: start; }
.paris-carte { margin: 0; background: var(--blanc); border-radius: var(--r-panneau); padding: clamp(1rem, 3vw, 2rem); }
.zone:not(.zone--brume) .paris-carte { background: var(--brume); }
.pmap { width: 100%; height: auto; overflow: visible; }
.pmap path { stroke-linejoin: round; }
.pmap-tiles path { fill: #DDE4E9; stroke: var(--blanc); stroke-width: 1.6; }
.pmap-tiles text { font-family: var(--police); font-weight: 600; fill: var(--encre); pointer-events: none; }
.pmap-tiles a:hover path, .pmap-tiles a.allume path { fill: var(--charge); }
.pmap-tiles a.is-here path { fill: var(--encre); }
.pmap-tiles a.is-here text { fill: var(--blanc); }
.pmap-seine { fill: none; stroke: #A8BFD0; stroke-width: 3.5; stroke-linecap: round; pointer-events: none; }
.pmap-edge { fill: none; stroke: var(--zinc); stroke-width: 1.5; pointer-events: none; }
.carte-legende { margin: 1rem 0 0; font-size: .8125rem; line-height: 1.45; color: var(--zinc); }
.arr-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.arr-liste a { display: block; padding: .6rem .75rem; border-radius: var(--r-petit); background: var(--blanc); color: var(--encre); text-decoration: none; line-height: 1.15; }
.zone:not(.zone--brume) .arr-liste a { background: var(--brume); }
.arr-liste strong { display: block; font-size: 1.125rem; font-weight: 700; }
.arr-liste small { font-size: .8125rem; color: var(--zinc); font-variant-numeric: tabular-nums; }
.arr-liste a:hover, .zone .arr-liste a:hover { background: var(--charge); }
.arr-liste a[aria-current="page"] { background: var(--encre) !important; color: var(--blanc); }
.arr-liste a[aria-current="page"] small { color: var(--sur-encre); }
@media (min-width: 30em) and (max-width: 59.99em) { .arr-liste { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 60em) { .paris-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; } }
@media (prefers-reduced-motion: no-preference) { .pmap-tiles path { transition: fill .15s ease; } }

/* ------------------------------------------------------------ couronne, lectures, faq */
.deps { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 3rem; }
.deps li { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid #D5DEE4; }
.deps a { font-size: 1.1875rem; font-weight: 600; text-decoration: none; }
.deps a:hover { text-decoration: underline; text-decoration-color: var(--charge); }
.deps-info { color: var(--zinc); font-size: .9375rem; }
@media (min-width: 48em) { .deps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.texte > :last-child { margin-bottom: 0; }
.lectures-bloc h3 { margin-bottom: .75rem; }
.lectures { list-style: none; margin: 0; padding: 0; }
.lectures li { padding: 1rem 0; border-top: 1px solid var(--trait); }
.lectures a { font-weight: 600; }
.lectures p { margin: .25rem 0 0; color: var(--zinc); font-size: .9375rem; }
.faq details { border-bottom: 1px solid var(--trait-2); }
.faq details:first-child { border-top: 1px solid var(--trait-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq-signe { width: 2rem; height: 2rem; padding: .4rem; border-radius: 50%; background: var(--blanc); stroke-width: 2; }
.zone:not(.zone--brume) .faq-signe, .plan .faq-signe { background: var(--brume); }
.faq details[open] .faq-signe { transform: rotate(45deg); background: var(--charge); }
.faq-rep p { margin: 0 0 1.2rem; color: #2B3945; max-width: 42rem; }

/* ------------------------------------------------------------ prix en ligne, grille */
.prix-grille { display: grid; gap: 2rem; align-items: start; }
.prix-aside { background: var(--blanc); border-radius: var(--r-panneau); padding: 1.5rem 1.5rem 1.25rem; }
.prix-aside h3 { margin-bottom: .5rem; }
.prix-aside p:last-child { margin: 0; }
@media (min-width: 64em) { .prix-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; } }
.table-defile { overflow-x: auto; margin-bottom: 1rem; }
table.prix { width: 100%; border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
table.prix th, table.prix td { padding: .75rem 0; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
table.prix thead th { padding-top: 0; font-size: .8125rem; font-weight: 500; color: var(--zinc); border-bottom: 2px solid var(--encre); }
table.prix td, table.prix thead th:last-child { text-align: right; padding-left: 1rem; }
table.prix td { font-weight: 700; white-space: nowrap; }
table.prix-variations td { white-space: normal; min-width: 5.5rem; }
table.prix tbody th { font-weight: 600; }
table.prix th small { display: block; font-size: .8125rem; font-weight: 400; color: var(--zinc); margin-top: .1rem; }
.carte-prix { background: var(--blanc); border-radius: var(--r-panneau); padding: 1.5rem; }

/* ------------------------------------------------------------ rappel */
.rappel { background: var(--brume); }
.zone--brume + .rappel { padding-top: 0; }
.zone--brume + .rappel .rappel-grille { border-top: 1px solid var(--trait-2); padding-top: var(--z); }
.rappel-grille { display: grid; gap: 2rem; align-items: start; }
.rappel-texte p { color: #2B3945; max-width: 30rem; }
.rappel-tel { display: inline-flex; align-items: center; gap: .6rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 700;
  text-decoration: none; font-variant-numeric: tabular-nums; }
.rappel-tel .ico { color: var(--charge-fonce); stroke-width: 2; }
@media (min-width: 56em) { .rappel-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }

/* ------------------------------------------------------------ pages de contenu */
.page-tete { padding-block: 1.5rem clamp(2.5rem, 5vw, 4rem); }
.page-tete-grille { display: grid; gap: 2rem; align-items: center; }
.page-tete h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); max-width: 20ch; }
.page-tete-texte > p:not(.chapo):not(.dispo):not(.date-maj) { max-width: 36rem; color: #2B3945; }
.page-photo { margin: 0; border-radius: var(--r-panneau); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brume); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.dispo { display: flex; gap: .55rem; align-items: flex-start; font-size: .9375rem; color: var(--zinc); max-width: 36rem; margin: 0; }
.dispo .ico { color: var(--charge-fonce); margin-top: .15rem; stroke-width: 2; }
@media (min-width: 64em) {
  .page-tete-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; }
  .page-tete-grille--seule { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
}
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 0; border-radius: var(--r-panneau); overflow: hidden; background: var(--trait); }
.chiffres div { background: var(--brume); padding: 1.25rem 1.35rem; }
.chiffres dt { font-size: .875rem; color: var(--zinc); font-weight: 500; line-height: 1.3; }
.chiffres dd { margin: .3rem 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; }
.chiffres--prix dd { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.01em; }
.carte-arr { margin: 0; background: var(--brume); border-radius: var(--r-panneau); padding: clamp(1rem, 3vw, 1.75rem); }
.plan { display: grid; gap: 3rem; padding-bottom: var(--z); }
.plan-texte { min-width: 0; max-width: 40rem; }
.sec { margin-top: 3.5rem; }
.plan-texte > .sec:first-child, .plan-texte > .texte:first-child { margin-top: 0; }
.sec > h2, .plan-texte .texte h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.texte h2 { margin-top: 2.5rem; }
.texte h3 { margin-top: 1.75rem; margin-bottom: .4rem; }
.texte > h2:first-child, .texte > h3:first-child { margin-top: 0; }
.texte ul, .texte ol { padding-left: 1.25rem; }
.texte li { margin: .35rem 0; }
.texte li::marker { color: var(--charge-fonce); }
.texte table { width: 100%; border-collapse: collapse; font-size: .9688rem; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.texte th, .texte td { padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
.texte thead th { border-bottom: 2px solid var(--encre); font-weight: 600; }
.conseils { list-style: none; padding: 0 !important; }
.conseils li { position: relative; padding-left: 1.9rem; }
.conseils li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--charge-fonce);
  border-bottom: 2px solid var(--charge-fonce); transform: rotate(-45deg); }
.liens-proches { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.liens-proches a { display: inline-flex; align-items: baseline; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; background: var(--brume);
  text-decoration: none; font-weight: 500; }
.liens-proches small { color: var(--zinc); font-variant-numeric: tabular-nums; }
.liens-proches a:hover { background: var(--charge); }
.photo-bloc { margin: 0 0 1.25rem; border-radius: var(--r-carte); overflow: hidden; aspect-ratio: 16 / 9; }
.photo-bloc img { width: 100%; height: 100%; object-fit: cover; }
.date-maj { color: var(--zinc); font-size: .9375rem; margin: 0; }
.en-bref { margin-top: 1.5rem; background: var(--brume); border-radius: var(--r-carte); padding: 1.25rem 1.5rem; max-width: 38rem; }
.en-bref strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--charge-fonce); margin-bottom: .3rem; }
.en-bref p { margin: 0; }
.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); font-size: .9375rem; }
.sources h2 { font-size: 1.25rem; margin-top: 0; }
.suite { display: grid; gap: 2rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--trait); }
@media (min-width: 40em) { .suite { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cote-titre { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 .5rem; }
.cote-liens { list-style: none; margin: 0; padding: 0; }
.cote-liens a { display: block; padding: .5rem 0; border-bottom: 1px solid var(--trait); text-decoration: none; font-weight: 500; font-size: .9688rem; }
.cote-liens a:hover { color: var(--charge-fonce); }
.resume { display: grid; gap: 1rem; }
.resume-appel { background: var(--encre); color: var(--sur-encre); border-radius: var(--r-panneau); padding: 1.5rem; display: grid; gap: .75rem; }
.resume-titre { color: var(--blanc); font-size: 1.3125rem; margin: 0; }
.resume-texte { margin: 0 0 .25rem; font-size: .9375rem; }
.resume-appel .btn-prix--plein { background: var(--blanc); color: var(--encre); }
.resume-appel .btn-prix--plein:hover { background: var(--brume); }
.resume-appel :focus-visible { outline-color: var(--charge); }
.resume .cote-titre { margin-top: .5rem; }
.fiche { margin: 0; background: var(--brume); border-radius: var(--r-panneau); padding: .35rem 1.35rem; }
.fiche div { padding: .75rem 0; border-bottom: 1px solid #D5DEE4; }
.fiche div:last-child { border-bottom: 0; }
.fiche dt { font-size: .8125rem; color: var(--zinc); font-weight: 500; }
.fiche dd { margin: .1rem 0 0; font-weight: 600; font-size: .9688rem; font-variant-numeric: tabular-nums; }
@media (min-width: 64em) {
  .plan { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 4rem; }
  .resume { position: sticky; top: calc(var(--haut-h) + 1.5rem); }
}
.groupes { display: grid; gap: 3rem; }
.groupe-dep h2 { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.groupe-dep h2 a { text-decoration: none; }
.compte { font-size: .9375rem; font-weight: 500; color: var(--zinc); letter-spacing: 0; }
.villes { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; column-gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.villes li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--trait); }
.villes a { text-decoration: none; font-weight: 500; }
.villes a:hover { text-decoration: underline; text-decoration-color: var(--charge); }
.villes small { color: var(--zinc); font-variant-numeric: tabular-nums; }
.villes-grandes a { font-weight: 700; }
.page-courte { padding-block: clamp(3rem, 8vw, 6rem); max-width: 48rem; margin-left: 0; }

/* ------------------------------------------------------------ pied */
.socle { background: var(--encre); color: var(--sur-encre); padding-block: 4rem 2rem; font-size: .9375rem; }
.socle a { color: var(--blanc); text-decoration: none; }
.socle a:hover { text-decoration: underline; text-decoration-color: var(--charge); }
.socle :focus-visible { outline-color: var(--charge); }
.socle-grille { display: grid; gap: 2.5rem; }
.socle h2 { color: var(--blanc); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .75rem; }
.socle ul { list-style: none; margin: 0; padding: 0; }
.socle li { margin: .4rem 0; }
.socle-marque p { max-width: 26rem; }
.socle-tel { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.625rem; font-weight: 700; margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
.socle-tel .ico { color: var(--charge); stroke-width: 2; }
.socle-dispo { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; }
.socle-dispo .ico { color: var(--charge); margin-top: .1rem; }
.socle-suite { margin-top: 1.75rem; }
.logo--clair { color: var(--blanc); margin-bottom: 1.25rem; }
.logo--clair .logo-mots small { color: var(--sur-encre-2); }
.socle-bas { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; }
@media (min-width: 56em) { .socle-grille { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 3rem; } }

/* ------------------------------------------------------------ barre mobile */
.barre-mobile { display: none; }
@media (max-width: 63.99em) {
  html { scroll-padding-bottom: 5.5rem; }
  body { padding-bottom: 4.75rem; }
  .barre-mobile { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; gap: .5rem;
    padding: .55rem var(--marge) calc(.55rem + env(safe-area-inset-bottom)); background: var(--blanc); border-top: 1px solid var(--trait);
    box-shadow: 0 -8px 20px rgba(17, 27, 36, .08); }
  .barre-mobile .btn-tel { flex: 1.65; min-height: 3.25rem; padding-inline: .75rem; }
  .barre-mobile .btn-tel-dispo { font-size: .6875rem; }
  .barre-mobile .btn-prix { flex: 1; min-height: 3.25rem; padding-inline: .75rem; background: var(--encre); color: var(--blanc); }
  body:has(form :focus) .barre-mobile { display: none; }
}

/* ------------------------------------------------------------ formulaires du réseau (leadkit, préfixe dbp) */
.dbp-form {
  --lk-font: var(--police); --lk-ink: var(--encre); --lk-muted: var(--zinc); --lk-line: var(--trait-2); --lk-bg: var(--blanc);
  --lk-surface: var(--brume); --lk-accent: var(--encre); --lk-accent-ink: var(--blanc); --lk-cta: var(--charge); --lk-cta-ink: var(--encre);
  --lk-chip-on: var(--encre); --lk-chip-on-ink: var(--blanc); --lk-focus: var(--encre); --lk-ok: var(--charge-fonce);
  --lk-radius: 16px; --lk-radius-chip: 999px; --lk-gap: 16px; --lk-pad: clamp(1.25rem, 3.5vw, 2rem);
  max-width: none; border-color: var(--trait); border-radius: var(--r-panneau);
}
.dbp-form__title { font-size: 1.375rem; letter-spacing: -.015em; }
.dbp-steps { gap: 5px; margin-right: 12px; padding: 4px; border: 2px solid var(--encre); border-radius: 12px; position: relative; font-size: .8125rem; }
.dbp-steps::after { content: ""; position: absolute; right: -10px; top: 50%; width: 7px; height: 44%; transform: translateY(-50%); background: var(--encre); border-radius: 0 4px 4px 0; }
.dbp-steps__item { padding: .45rem .35rem; border: 0; border-radius: 8px; background: var(--brume); color: var(--zinc); text-align: center; font-weight: 500; }
.dbp-steps__item::before { content: none; }
.dbp-steps__item[data-done="true"] { background: var(--charge); color: var(--encre); }
.dbp-steps__item[aria-current="step"] { background: var(--encre); color: var(--blanc); font-weight: 600; }
.dbp-tile { border-radius: 14px; }
.dbp-tile__icon { border-radius: 12px; color: var(--encre); }
.dbp-tile:hover { border-color: var(--encre); }
.dbp-tile:has(input:checked) .dbp-tile__icon { background: var(--charge); color: var(--encre); }
.dbp-input { background: var(--blanc); border-radius: 12px; }
.dbp-btn { border-radius: 999px; font-weight: 600; }
.dbp-btn--primary:hover { background: var(--charge-2); }
.dbp-btn--secondary:hover { background: var(--brume); }
.dbp-more > summary, .dbp-link { color: var(--encre); text-decoration: underline; text-decoration-color: var(--charge); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.dbp-pricecard { border-color: var(--encre); border-radius: 20px; box-shadow: inset 0 5px 0 var(--charge); padding-top: 1.35rem; }
.dbp-quote__total { font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dbp-alert { border-left-color: var(--ambre); border-radius: 12px; background: #FFF7E6; }
.dbp-alert--error { border-left-color: #B42318; background: #FDF0EF; }
.dbp-reassure li::before { border-color: var(--charge-fonce); }
.dbp-done { color: var(--charge-fonce); }
.prix-colonne > h2 { margin-bottom: 1rem; }
