/* Services Électricité, Sébastien Sarazin : feuille de style unique.
   Monde : blanc pur, un bleu électrique franc, Outfit (sans géométrique, auto-hébergée). */

@font-face {
  font-family: 'Outfit';
  src: url(/fonts/outfit-latin.woff2) format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
}

:root {
  --blanc: #fff;
  --encre: #0a0d14;
  --texte: #262b36;
  --gris: #555c6b;
  --ligne: #e4e7ef;
  --fond-doux: #f6f7fa;
  --accent: #1b3bf5;
  --accent-fonce: #1029c4;
  --accent-pale: #eef1ff;
  --accent-clair: #c9d2ff;
  --rayon: 6px;
  --wrap: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sect: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--blanc); color: var(--texte);
  font: 400 1.0625rem/1.65 'Outfit', ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-fonce); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: #b9c0d0 transparent; }

h1, h2, h3, h4 { color: var(--encre); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.2rem + 4.6vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.3vw, 2.85rem); margin-top: 0; }
h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--encre); font-weight: 600; }
small { font-size: .82em; }
.nw { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--texte); max-width: 54ch; }
.muted { color: var(--gris); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--encre); color: #fff; padding: .8rem 1.2rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- À compléter (repérage pour Pascal) ---------- */
.a-completer {
  display: inline-block; padding: .05em .55em; border: 1.5px dashed var(--accent);
  background: var(--accent-pale); color: var(--accent-fonce); border-radius: 4px; font-size: .92em; font-weight: 500;
}
.a-completer::before { content: 'À compléter : '; font-weight: 700; }
div.a-completer, p.a-completer { display: block; padding: 1rem 1.2rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: -0.005em;
  padding: .95em 1.4em; border-radius: var(--rayon); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 1.08rem; padding: 1.1em 1.6em; }
.btn--plein { background: var(--accent); color: #fff; }
.btn--plein:hover { background: var(--accent-fonce); color: #fff; }
.btn--trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn--trait:hover { background: var(--encre); color: #fff; }
.btn--blanc { background: #fff; color: var(--accent); }
.btn--blanc:hover { background: var(--encre); color: #fff; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ligne); backdrop-filter: saturate(1.4) blur(8px); }
.head__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--head-h); }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--encre); margin-right: auto; }
.logo__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: var(--accent); color: #fff; }
.logo__mark .ico { width: 24px; height: 24px; fill: #fff; stroke: #fff; stroke-width: 1; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__txt strong { font-size: 1.15rem; letter-spacing: -0.03em; font-weight: 700; }
.logo__txt span { font-size: .8rem; color: var(--gris); letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav__pages { display: flex; gap: 1.6rem; }
.nav__groupe { position: relative; }
.nav__titre { font: inherit; font-weight: 500; font-size: .98rem; color: var(--encre); background: none; border: 0; padding: .5rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.nav__titre .ico { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.nav__services {
  position: absolute; top: 100%; left: -1.2rem; min-width: 270px; padding: .6rem !important;
  background: #fff; border: 1px solid var(--ligne); border-radius: 10px;
  box-shadow: 0 18px 40px -12px rgba(10,13,20,.18), 0 2px 6px rgba(10,13,20,.05);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__services a { display: block; padding: .6rem .8rem; border-radius: 6px; }
.nav__services a:hover { background: var(--accent-pale); }
.nav__groupe:hover .nav__services, .nav__groupe:focus-within .nav__services { opacity: 1; visibility: visible; transform: none; }
.nav__groupe:hover .nav__titre .ico { transform: rotate(180deg); }
.nav__mobile { display: none; }

.head__actions { display: flex; align-items: center; gap: .9rem; }
.head__tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--encre); text-decoration: none; font-size: 1.05rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.head__tel .ico { color: var(--accent); }
.head__tel:hover { color: var(--accent); }
.head__devis { padding: .8em 1.2em; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--ligne); border-radius: 8px; background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--encre); transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .head__devis { display: none; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; z-index: 49; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.5rem var(--pad) 7rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.ouvert { opacity: 1; visibility: visible; transform: none; }
  .nav__titre { pointer-events: none; color: var(--gris); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
  .nav__titre .ico { display: none; }
  .nav__services { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 !important; min-width: 0; }
  .nav__services a, .nav__pages a { display: block; padding: .8rem 0; font-size: 1.3rem; font-weight: 500; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .nav__services a:hover { background: none; }
  .nav__pages { flex-direction: column; gap: 0; margin-top: 1rem; }
  .nav__mobile { display: grid; gap: .8rem; margin-top: 2rem; }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 560px) {
  :root { --head-h: 66px; }
  .head__tel span { display: none; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border-radius: 8px; background: var(--accent); }
  .head__tel .ico { color: #fff; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__txt strong { font-size: 1.02rem; }
  .logo__txt span { font-size: .74rem; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { padding-top: 1.2rem; font-size: .9rem; color: var(--gris); }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fil li + li::before { content: '/'; margin-right: .4rem; color: #a3a9b6; }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--accent); }

/* ---------- Note Google ---------- */
.note { display: inline-flex; align-items: center; gap: .55rem; color: var(--texte); text-decoration: none; font-size: .95rem; }
.note:hover { color: var(--encre); }
.note__etoiles { display: inline-flex; color: var(--accent); }
.note__etoiles .ico { width: 1rem; height: 1rem; }
.note small { color: var(--gris); }

/* ---------- Accueil : héros ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.3rem, 1.1rem + 4vw, 4.1rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-bottom: 2rem; }
.tel-geant { display: inline-flex; align-items: center; gap: .6rem; font-size: clamp(1.3rem, 1rem + 1vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; color: var(--encre); text-decoration: none; font-variant-numeric: tabular-nums; padding: .45em 0; }
.tel-geant .ico { color: var(--accent); width: 1.1em; height: 1.1em; }
.tel-geant:hover { color: var(--accent); }
.preuves { list-style: none; padding: 1.4rem 0 0; margin: 0; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; gap: .8rem 2rem; font-size: .95rem; }
.preuves li { display: flex; align-items: center; gap: .5rem; }
.preuves .ico { color: var(--accent); }
.hero__photo { position: relative; margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
.hero__photo figcaption, .photo figcaption { font-size: .85rem; color: var(--gris); margin-top: .7rem; line-height: 1.45; }
.hero__cadre { display: block; position: relative; isolation: isolate; }
.hero__cadre::before { content: ''; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 2px solid var(--accent); border-radius: var(--rayon); z-index: -1; }
@media (max-width: 560px) { .hero__cadre::before { inset: .6rem -.6rem -.6rem .6rem; } .hero__photo { margin-right: .6rem; } }
.hero__photo figcaption { margin-top: 1.6rem; }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__photo { max-width: 420px; }
  .hero__photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Sections ---------- */
.sect { padding: var(--sect) 0; }
.sect--doux { background: var(--fond-doux); }
.sect--trait { border-top: 1px solid var(--ligne); }
.sect__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sect__tete p { margin: 0; color: var(--gris); max-width: 52ch; }
@media (max-width: 800px) { .sect__tete { grid-template-columns: 1fr; } }

/* Bande bleue des prestations : index typographique */
.bande { background: var(--accent); color: #fff; padding: var(--sect) 0; }
.bande h2, .bande strong { color: #fff; }
.bande .sect__tete p { color: var(--accent-clair); }
.liens-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.liens-index li { border-bottom: 1px solid var(--ligne); }
.liens-index a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: center; padding: 1.5rem 0; text-decoration: none; color: var(--encre); transition: padding .3s var(--ease), color .2s; }
.liens-index__t { font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.liens-index__d { color: var(--gris); font-size: 1rem; }
.liens-index .ico { width: 1.6rem; height: 1.6rem; color: var(--accent); transition: transform .3s var(--ease); }
.liens-index a:hover { padding-left: .8rem; color: var(--accent); }
.liens-index a:hover .ico { transform: translateX(4px); }
.bande .liens-index { border-color: rgba(255,255,255,.35); }
.bande .liens-index li { border-color: rgba(255,255,255,.35); }
.bande .liens-index a { color: #fff; }
.bande .liens-index__d { color: var(--accent-clair); }
.bande .liens-index .ico { color: #fff; }
.bande .liens-index a:hover { color: #fff; background: rgba(255,255,255,.07); }
@media (max-width: 720px) {
  .liens-index a { grid-template-columns: 1fr auto; padding: 1.2rem 0; }
  .liens-index__d { grid-column: 1; font-size: .95rem; }
  .liens-index .ico { grid-row: 1 / span 2; grid-column: 2; }
}

/* Trois temps (Écoute, Conseils, Travaux) */
.temps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--encre); }
.temps > div { padding: 1.6rem 2rem 0 0; }
.temps > div + div { padding-left: 2rem; border-left: 1px solid var(--ligne); }
.temps h3 { font-size: 1.6rem; margin-bottom: .3em; }
.temps p { color: var(--gris); margin: 0; }
.temps .cite { color: var(--accent); font-weight: 500; margin-bottom: .6rem; }
@media (max-width: 760px) {
  .temps { grid-template-columns: 1fr; }
  .temps > div, .temps > div + div { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--ligne); }
}

/* Secteur : schéma des trajets */
.zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.zone__carte { width: 100%; height: auto; }
.zone__carte .anneau { fill: none; stroke: var(--ligne); stroke-width: 1.5; }
.zone__carte .anneau__t { font: 500 11px 'Outfit', sans-serif; fill: #8a90a0; letter-spacing: .02em; }
.zone__carte .route { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 5; }
.zone__carte .ville circle { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.zone__carte .ville text { font: 600 15px 'Outfit', sans-serif; fill: var(--encre); letter-spacing: -0.01em; }
.zone__carte .ville .d { font-weight: 400; font-size: 13px; fill: var(--gris); }
.zone__carte .centre circle { fill: var(--accent); }
.zone__carte .centre text { font: 700 16px 'Outfit', sans-serif; fill: var(--accent); }
.zone__carte a:hover text { fill: var(--accent); }
.villes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.villes a { display: inline-flex; align-items: baseline; gap: .5rem; padding: .6rem 1rem; border: 1px solid var(--ligne); border-radius: 999px; color: var(--encre); text-decoration: none; font-weight: 500; transition: border-color .2s, color .2s; }
.villes a small { color: var(--gris); font-weight: 400; }
.villes a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }

/* Blocs de contenu des pages service */
.page-tete { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--ligne); }
.page-tete__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem 4rem; align-items: end; }
.page-tete h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); }
.page-tete .lead { margin-bottom: 1.8rem; }
.page-tete__cta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
.page-tete__aside { font-size: .95rem; color: var(--gris); border-left: 2px solid var(--accent); padding-left: 1.2rem; }
.page-tete__aside p { margin: 0 0 .5rem; }
.page-tete__aside strong { color: var(--encre); font-size: 1.05rem; }
@media (max-width: 860px) { .page-tete__in { grid-template-columns: 1fr; } }

.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.deux--photo { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; }
@media (max-width: 860px) { .deux, .deux--photo { grid-template-columns: 1fr; } }
.photo { margin: 0; }
.photo img { border-radius: var(--rayon); width: 100%; object-fit: cover; }
.photo--carre img { aspect-ratio: 1; }
.photo--paysage img { aspect-ratio: 4 / 3; }

/* Listes de prestations : colonnes avec puces-coches */
.coches { list-style: none; padding: 0; margin: 0 0 1.5rem; columns: 2 16rem; column-gap: 2.5rem; }
.coches li { break-inside: avoid; display: flex; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--ligne); }
.coches .ico { color: var(--accent); margin-top: .25em; }
.coches--une { columns: 1; }

/* Liste numérotée (étapes réelles : 6 points, 4 étapes) */
.etapes { list-style: none; padding: 0; margin: 0; counter-reset: e; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 3rem; }
.etapes li { counter-increment: e; padding: 1.3rem 0 1.3rem 3.4rem; border-top: 1px solid var(--ligne); position: relative; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 1.15rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-pale); color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.etapes strong { display: block; margin-bottom: .2rem; font-size: 1.08rem; }
.etapes p { margin: 0; color: var(--gris); }

/* Encadré clientèle */
.clients { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.clients li { padding: .4rem .9rem; border-radius: 999px; background: var(--accent-pale); color: var(--accent-fonce); font-weight: 500; font-size: .95rem; }

.note-reglement { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.5rem 1.6rem; background: var(--fond-doux); }
.note-reglement h3 { margin-top: 0; }
.note-reglement p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--ligne); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; font-weight: 600; font-size: 1.12rem; color: var(--encre); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__ico { color: var(--accent); width: 1.4rem; height: 1.4rem; transition: transform .25s var(--ease); }
.faq details[open] .faq__ico { transform: rotate(45deg); }
.faq__r { padding: 0 0 1.4rem; color: var(--texte); max-width: 68ch; }
.faq__r p:last-child { margin-bottom: 0; }

/* Bande CTA */
.cta-bande { background: var(--encre); color: #d5d9e3; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-bande__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4rem; align-items: center; }
.cta-bande h2 { color: #fff; }
.cta-bande p { max-width: 52ch; margin: 0; }
.cta-bande__act { display: grid; gap: 1rem; justify-items: start; }
.cta-bande .btn--blanc { color: var(--accent); }
.cta-bande .btn--blanc:hover { background: var(--accent); color: #fff; }
.cta-bande__tel { color: #fff; font-size: 1.5rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: .55rem; align-items: center; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cta-bande__tel:hover { color: var(--accent-clair); }
.cta-bande .note { color: #d5d9e3; }
.cta-bande .note strong { color: #fff; }
.cta-bande .note__etoiles { color: #8fa2ff; }
@media (max-width: 800px) { .cta-bande__in { grid-template-columns: 1fr; } }

/* Réalisations */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2.5rem 2rem; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.galerie figcaption { margin-top: .8rem; }
.galerie figcaption strong { display: block; font-size: 1.1rem; }
.galerie figcaption span { color: var(--gris); font-size: .95rem; }

/* Cartes de guides (liste simple, pas de grille de cartes) */
.guides { list-style: none; padding: 0; margin: 0; }
.guides li { border-top: 1px solid var(--ligne); }
.guides a { display: block; padding: 1.5rem 0; text-decoration: none; color: var(--encre); }
.guides a strong { display: block; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: .3rem; }
.guides a span { color: var(--gris); }
.guides a:hover strong { color: var(--accent); }

/* ---------- Formulaire ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
.coord { list-style: none; padding: 0; margin: 0 0 2rem; }
.coord li { display: flex; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--ligne); }
.coord .ico { color: var(--accent); margin-top: .2em; width: 1.3rem; height: 1.3rem; }
.coord a { color: var(--encre); font-weight: 600; text-decoration: none; }
.coord a:hover { color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--ligne); border-radius: 10px; box-shadow: 0 24px 50px -30px rgba(10,13,20,.25); }
.form .plein { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 500; font-size: .95rem; color: var(--encre); margin-bottom: .35rem; }
.form label small { color: var(--gris); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: #fff;
  border: 1.5px solid #cdd2dd; border-radius: var(--rayon); padding: .8rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6b7180; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-pale); }
.form .rgpd { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--gris); }
.form .rgpd input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.form .rgpd label { font-weight: 400; color: var(--gris); font-size: .9rem; margin: 0; }
.form .hp { position: absolute; left: -9999px; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__msg { grid-column: 1 / -1; margin: 0; padding: 0; font-weight: 500; }
.form__msg.ok { color: #0c6b3a; padding: 1rem 1.2rem; background: #e9f7ef; border-radius: var(--rayon); }
.form__msg.err { color: #a3141f; padding: 1rem 1.2rem; background: #fdecee; border-radius: var(--rayon); }

/* ---------- Pied ---------- */
.pied { border-top: 1px solid var(--ligne); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .95rem; }
.pied__haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .55rem; }
.pied a { color: var(--texte); text-decoration: none; }
.pied a:hover { color: var(--accent); text-decoration: underline; }
.pied p { margin: 0 0 .55rem; }
.pied__nom { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.15rem; color: var(--encre); letter-spacing: -0.02em; }
.pied__nom .ico { color: var(--accent); }
.pied__id > p:nth-child(2) { color: var(--gris); max-width: 40ch; margin-bottom: 1rem; }
.pied__tel a { font-weight: 600; font-size: 1.3rem; color: var(--encre); display: inline-flex; gap: .5rem; align-items: center; letter-spacing: -0.02em; }
.pied__tel .ico { color: var(--accent); }
.pied__titre { font-weight: 600; color: var(--encre); margin-bottom: 1rem !important; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ligne); color: var(--gris); font-size: .88rem; }
.pied__bas a { color: var(--gris); }
@media (max-width: 960px) { .pied__haut { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__haut { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.barre-appel { display: none; }
@media (max-width: 760px) {
  .barre-appel {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--ligne);
    box-shadow: 0 -8px 24px -12px rgba(10,13,20,.18);
  }
  .barre-appel a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; border-radius: var(--rayon); font-weight: 600; text-decoration: none; font-size: 1.02rem; }
  .barre-appel__tel { background: var(--accent); color: #fff; }
  .barre-appel__tel:hover { color: #fff; background: var(--accent-fonce); }
  .barre-appel__devis { border: 1.5px solid var(--encre); color: var(--encre); }
  body { padding-bottom: 80px; }
}

/* ---------- Le courant circule sur le schéma du secteur (seul mouvement du site) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .zone__carte .route { stroke-dashoffset: 0; }
  .js .zone__carte.vu .route { animation: courant 1.6s linear infinite; }
  @keyframes courant { to { stroke-dashoffset: -18; } }
}

/* 404 */
.page-404 { padding: clamp(4rem, 10vw, 8rem) 0; }

/* Ajustements : index de liens dans une demi-colonne, portrait */
.deux .liens-index a { grid-template-columns: 1fr auto; gap: .3rem 1.2rem; padding: 1.1rem 0; }
.deux .liens-index__t { font-size: 1.2rem; }
.deux .liens-index__d { grid-column: 1; font-size: .93rem; }
.deux .liens-index .ico { grid-row: 1 / span 2; grid-column: 2; width: 1.3rem; height: 1.3rem; }
.portrait { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.page-tete .deux { align-items: center; }

.photo--thermo img { max-width: 360px; aspect-ratio: auto; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.deux { align-items: start; }
.page-tete__aside strong { display: inline; }
.page-tete__aside p > strong { display: block; }
@media (max-width: 600px) {
  .zone__carte .ville text { font-size: 24px; }
  .zone__carte .ville .d { display: none; }
  .zone__carte .centre text { font-size: 24px; }
  .zone__carte .anneau__t { display: none; }
}
