/* ==========================================================================
   Feuille de style unique. Aucune police externe (piles système).
   PALETTE « Lavande et ocre du Comtat » — propre à ce site (≠ rouge basque,
   bordeaux/or, vert #014C42/#CCEB69 des sites précédents).
   Contrastes WCAG 2.x calculés (formule de luminance relative) :
     encre  #221A30 sur pierre #F8F4EC ........ 15,21 : 1  (AA/AAA)
     encre  #221A30 sur blanc ................. 16,69 : 1
     encre  #221A30 sur sable #F1EADC ......... 13,94 : 1
     doux   #574E68 sur pierre ................  7,10 : 1  (AA/AAA)
     doux   #574E68 sur sable .................  6,51 : 1
     violet #4A3384 sur blanc ................. 10,01 : 1  (texte et boutons)
     violet #4A3384 sur pierre ................  9,12 : 1
     violet #4A3384 sur lavande #EFEAF8 .......  8,48 : 1  (survol du menu)
     blanc sur violet-fonce #2F2156 ........... 14,26 : 1  (bouton survolé)
     ocre   #E4A33A sur violet-fonce .......... 6,52 : 1  (accents sur sombre)
     ocre   #E4A33A sur encre ................  7,63 : 1  (pied de page)
     encre sur ocre #E4A33A ...................  7,63 : 1  (bouton ocre)
     ocre-fonce #8A570C sur pierre ............  5,55 : 1  (petits accents texte)
     pierre sur encre .........................  15,21 : 1 (pied de page)
     lavande sur violet-fonce .................  12,08 : 1
   L'ocre clair n'est JAMAIS utilisé comme couleur de texte sur fond clair.
   ========================================================================== */

:root {
  --encre: #221A30;
  --doux: #574E68;
  --violet: #4A3384;
  --violet-fonce: #2F2156;
  --lavande: #EFEAF8;
  --lavande-2: #DDD3F1;
  --ocre: #E4A33A;
  --ocre-clair: #F2C27A;
  --ocre-fonce: #8A570C;
  --pierre: #F8F4EC;
  --sable: #F1EADC;
  --blanc: #FFFFFF;
  --ligne: #E2D9C8;
  --ombre: 0 1px 2px rgba(34, 26, 48, .06), 0 8px 24px rgba(34, 26, 48, .08);
  --ombre-forte: 0 18px 48px rgba(34, 26, 48, .18);
  --rayon: 14px;
  --rayon-petit: 9px;
  --entete-h: 72px;
  --police-texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --police-titre: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete-h) + 16px); }
body { margin: 0; font-family: var(--police-texte); font-size: 1.0625rem; line-height: 1.65; color: var(--encre); background: var(--pierre); overflow-x: hidden; }
img, svg, picture, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { font-family: var(--police-titre); line-height: 1.18; color: var(--encre); overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); margin: .2em 0 .35em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.25rem); margin: 0 0 .6em; }
h3 { font-size: 1.22rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--violet); text-underline-offset: .18em; }
a:hover { color: var(--violet-fonce); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .pied :focus-visible, .bandeau-cta :focus-visible { outline-color: var(--ocre); }
ul, ol { padding-left: 1.2em; }

.conteneur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.conteneur-etroit { max-width: 820px; }
.centre { text-align: center; margin-top: 2rem; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-js .js-seulement { display: none !important; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--violet); color: var(--blanc); padding: 10px 16px; border-radius: var(--rayon-petit); }
.lien-evitement:focus { top: 12px; color: var(--blanc); }
main:focus { outline: none; }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .6em 1.15em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--police-texte); text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; white-space: nowrap; }
.bouton .icone { width: 1.15em; height: 1.15em; flex: none; }
.bouton-large { min-height: 52px; padding: .75em 1.4em; }
.bouton-principal { background: var(--violet); color: var(--blanc); }
.bouton-principal:hover, .bouton-principal[aria-current="page"] { background: var(--violet-fonce); color: var(--blanc); }
.bouton-contour { border-color: var(--violet); color: var(--violet); background: transparent; }
.bouton-contour:hover { background: var(--violet); color: var(--blanc); }
.bouton-ocre { background: var(--ocre); color: var(--encre); }
.bouton-ocre:hover { background: var(--ocre-clair); color: var(--encre); }
.bouton-clair { background: transparent; color: var(--pierre); border-color: var(--pierre); }
.bouton-clair:hover { background: var(--pierre); color: var(--encre); }
.bouton-secondaire { background: var(--lavande); color: var(--violet-fonce); }
.bouton-secondaire:hover { background: var(--lavande-2); color: var(--violet-fonce); }

/* ---------- Pastilles d'icônes ---------- */
.pastille { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lavande); color: var(--violet); flex: none; }
.pastille .icone { width: 26px; height: 26px; }
.pastille-petite { width: 36px; height: 36px; }
.pastille-petite .icone { width: 19px; height: 19px; }
.pastille-hero { display: grid; background: var(--ocre); color: var(--encre); margin-bottom: .8rem; }

/* ---------- Marque ---------- */
.marque { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--encre); font: 700 1.08rem/1.1 var(--police-titre); min-height: 44px; }
.marque:hover { color: var(--violet); }
.marque-monogramme { width: 40px; height: 40px; flex: none; }
.marque-sombre { color: var(--pierre); }
.marque-sombre:hover { color: var(--ocre); }

/* ---------- En-tête et menu Services ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ligne); backdrop-filter: saturate(1.4) blur(6px); }
.entete-barre { display: flex; align-items: center; gap: 1rem; min-height: var(--entete-h); }
.entete-barre > .marque { margin-right: auto; }
.navigation { display: flex; align-items: center; gap: 1.25rem; }
.nav-liste { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-element { position: relative; }
.nav-lien { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: var(--rayon-petit); color: var(--encre); font-weight: 600; text-decoration: none; position: relative; }
.nav-lien::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 2px; background: transparent; border-radius: 2px; }
.nav-lien:hover { background: var(--lavande); color: var(--violet-fonce); }
.nav-lien:hover::after { background: var(--ocre); }
.nav-lien[aria-current="page"], .nav-services.est-actif > .nav-services-tete .nav-lien { color: var(--violet); }
.nav-lien[aria-current="page"]::after, .nav-services.est-actif > .nav-services-tete .nav-lien::after { background: var(--violet); }
.nav-lien[aria-current="page"]:hover::after { background: var(--ocre); }
.nav-services-tete { display: flex; align-items: center; }
.nav-services-tete .nav-lien { padding-right: .3rem; }
.nav-chevron { display: inline-grid; place-items: center; width: 34px; height: 44px; border: 0; background: transparent; color: var(--encre); border-radius: var(--rayon-petit); cursor: pointer; padding: 0; }
.nav-chevron .icone { width: 18px; height: 18px; transition: transform .2s; }
.nav-chevron:hover { background: var(--lavande); color: var(--violet-fonce); }
.nav-chevron[aria-expanded="true"] .icone { transform: rotate(180deg); }
.panneau-services { position: absolute; top: 100%; left: -8px; width: 330px; margin-top: 10px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre-forte); padding: .5rem; display: none; z-index: 60; }
.panneau-services::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* passerelle : pas de trou entre le bouton et le panneau */
.no-js .nav-services:hover .panneau-services, .no-js .nav-services:focus-within .panneau-services, .nav-services.est-ouvert .panneau-services { display: block; }
.panneau-liste { list-style: none; margin: 0; padding: 0; }
.panneau-lien { display: flex; align-items: center; gap: .7rem; min-height: 48px; padding: .3rem .55rem; border-radius: var(--rayon-petit); color: var(--encre); text-decoration: none; font-weight: 600; font-size: .98rem; }
.panneau-lien:hover { background: var(--lavande); color: var(--violet-fonce); }
.panneau-lien:hover .pastille { background: var(--violet); color: var(--blanc); }
.panneau-lien[aria-current="page"] { background: var(--lavande); color: var(--violet); }
.panneau-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem; border-top: 1px solid var(--ligne); margin-top: .4rem; padding: .5rem .3rem .2rem; }
.panneau-tous, .panneau-budget { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .4rem; font-weight: 700; text-decoration: none; color: var(--violet); border-radius: var(--rayon-petit); }
.panneau-tous:hover, .panneau-budget:hover { background: var(--lavande); color: var(--violet-fonce); }
.panneau-budget .icone { width: 18px; height: 18px; }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.entete-burger, .entete-appel-mobile { display: none; }

@media (max-width: 1120px) {
  .bouton-tel span { display: none; }
  .bouton-tel { padding: .6em .8em; }
  .nav-lien { padding: 0 .55rem; }
}

@media (max-width: 980px) {
  .entete-barre { gap: .5rem; }
  .entete-burger, .entete-appel-mobile { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--lavande); color: var(--violet-fonce); cursor: pointer; padding: 0; }
  .entete-appel-mobile { background: var(--violet); color: var(--blanc); }
  .entete-burger .icone, .entete-appel-mobile .icone { width: 22px; height: 22px; }
  .burger-fermer { display: none; }
  .entete-burger[aria-expanded="true"] .burger-ouvrir { display: none; }
  .entete-burger[aria-expanded="true"] .burger-fermer { display: inline; }
  .js .navigation { display: none; }
  .js .navigation.est-ouverte { display: flex; }
  .navigation { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .8rem; background: var(--blanc); border-bottom: 1px solid var(--ligne); box-shadow: var(--ombre-forte); padding: .75rem 24px 1.25rem; max-height: calc(100vh - var(--entete-h)); overflow-y: auto; }
  .no-js .navigation { position: static; box-shadow: none; padding: .5rem 0 1rem; }
  .no-js .entete-barre { flex-wrap: wrap; }
  .no-js .entete-burger { display: none; }
  .nav-liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-lien { min-height: 48px; width: 100%; font-size: 1.05rem; }
  .nav-lien::after { display: none; }
  .nav-services-tete { justify-content: space-between; }
  .nav-chevron { width: 48px; height: 48px; }
  .panneau-services { position: static; width: auto; margin: 0 0 .4rem; box-shadow: none; border: 0; background: var(--pierre); padding: .3rem; }
  .panneau-services::before { display: none; }
  .no-js .panneau-services { display: block; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .bouton { width: 100%; min-height: 50px; }
  .bouton-tel span { display: inline; }
}

/* ---------- Fil d'Ariane ---------- */
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; padding: 0; margin: 0 0 .8rem; font-size: .92rem; }
.fil-ariane li + li::before { content: "›"; margin-right: .5rem; opacity: .75; }
.fil-ariane a { color: inherit; }
.fil-ariane a[aria-current="page"] { font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--pierre); overflow: hidden; }
.hero-fond, .hero-fond picture, .hero-fond img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fond img { object-fit: cover; object-position: 60% 50%; }
.hero-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34, 26, 48, .93) 0%, rgba(34, 26, 48, .86) 34%, rgba(34, 26, 48, .42) 62%, rgba(34, 26, 48, .14) 100%); }
.hero-grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; min-height: 580px; }
.hero h1, .hero .fil-ariane, .hero .fil-ariane a { color: var(--pierre); }
.hero-intro { font-size: 1.15rem; max-width: 36em; color: var(--pierre); }
.surtitre { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ocre); margin: 0; }
.en-tete-page .surtitre { color: var(--ocre-fonce); }
.hero-puces { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .45rem; }
.hero-puces li { display: flex; gap: .6rem; align-items: flex-start; }
.hero-puces .icone { width: 20px; height: 20px; color: var(--ocre); flex: none; margin-top: .25em; }
.hero-formulaire { background: var(--blanc); color: var(--encre); border-radius: var(--rayon); padding: 1.5rem; box-shadow: var(--ombre-forte); }
.formulaire-titre, .formulaire-repli-titre { font: 700 1.25rem/1.25 var(--police-titre); margin: 0 0 .6rem; color: var(--encre); }
.formulaire-repli { display: grid; gap: .8rem; }
.formulaire-repli p { margin: 0; color: var(--doux); }
.formulaire-tally iframe { display: block; border: 0; min-height: 300px; }
@media (max-width: 900px) {
  .hero-grille { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-top: 2.2rem; padding-bottom: 2.4rem; min-height: 0; }
  .hero-fond::after { background: linear-gradient(180deg, rgba(34, 26, 48, .5) 0%, rgba(34, 26, 48, .72) 32%, rgba(34, 26, 48, .9) 70%, rgba(34, 26, 48, .94) 100%); }
  .hero-fond img { object-position: 50% 0; }
  .hero h1, .hero-intro { text-shadow: 0 1px 12px rgba(34, 26, 48, .55); }
  .hero-puces { display: none; }
  .hero-formulaire { padding: 1.2rem; }
}

/* ---------- En-tête de page simple ---------- */
.en-tete-page { background: var(--sable); border-bottom: 1px solid var(--ligne); padding: 3rem 0 2.6rem; }
.en-tete-grille { display: grid; gap: 2.5rem; align-items: center; }
.en-tete-page.avec-image .en-tete-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.en-tete-intro { font-size: 1.12rem; color: var(--doux); max-width: 40em; }
.en-tete-media img { border-radius: var(--rayon); box-shadow: var(--ombre); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .en-tete-page.avec-image .en-tete-grille { grid-template-columns: minmax(0, 1fr); } .en-tete-page { padding: 2rem 0; } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--blanc); }
.section-tete { max-width: 760px; margin-bottom: 2.2rem; }
.section-tete p { color: var(--doux); }
.section-media-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.section-media img { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) {
  .section { padding: 3rem 0; }
  .section-media-grille { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .section-media-inverse .section-media { order: -1; }
}
.liste-coches { list-style: none; padding: 0; display: grid; gap: .6rem; }
.liste-coches li { display: flex; gap: .65rem; align-items: flex-start; }
.liste-coches .icone { width: 22px; height: 22px; color: var(--violet); flex: none; margin-top: .2em; }
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; counter-reset: none; }
.etape { display: flex; gap: 1rem; align-items: flex-start; }
.etape-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--violet); color: var(--blanc); font: 700 1.05rem/1 var(--police-titre); flex: none; }
.etape h3 { margin-bottom: .2em; }
.etape p { margin: 0; color: var(--doux); }
.colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.colonne { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.5rem; }
.section-alt .colonne { background: var(--pierre); }
.colonne .pastille { margin-bottom: .8rem; }
.colonne p { margin: 0; color: var(--doux); }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: var(--lavande); color: var(--violet-fonce); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .95rem; }
.encadre { border-radius: var(--rayon); padding: 1.6rem 1.7rem; background: var(--lavande); border-left: 6px solid var(--violet); }
.encadre-ne-promet-pas { background: var(--sable); border-left-color: var(--ocre-fonce); }
.encadre-titre { display: flex; align-items: center; gap: .6rem; font: 700 1.2rem/1.3 var(--police-titre); margin-bottom: .8rem; }
.encadre-titre .icone { width: 26px; height: 26px; color: var(--ocre-fonce); flex: none; }
.encadre ul { margin: 0; }
.encadre p:last-child { margin-bottom: 0; }

/* ---------- Cartes de services ---------- */
.grille-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.carte-service { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
.section-alt .carte-service { background: var(--pierre); }
.carte-service:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.carte-service:focus-within { outline: 3px solid var(--violet); outline-offset: 3px; }
.carte-service .lien-etendu:focus-visible { outline: none; }
.carte-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carte-pastille { position: relative; z-index: 1; margin: -28px 0 0 1.25rem; background: var(--violet); color: var(--blanc); border: 4px solid var(--blanc); width: 58px; height: 58px; }
.section-alt .carte-pastille { border-color: var(--pierre); }
.carte-corps { padding: .7rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.carte-titre { font-size: 1.25rem; margin: .1rem 0 .45rem; }
.carte-titre a { color: var(--encre); text-decoration: none; }
.lien-etendu::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.carte-corps p { color: var(--doux); font-size: .98rem; }
.carte-suite { margin-top: auto; font-weight: 700; color: var(--violet); }
.carte-suite span { display: inline-block; transition: transform .2s; }
.carte-service:hover .carte-suite span { transform: translateX(4px); }
.carte-service:hover .carte-titre a { color: var(--violet); }

.liste-services-compacte { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .6rem; }
.liste-services-compacte a { display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .45rem .8rem; border: 1px solid var(--ligne); border-radius: var(--rayon-petit); background: var(--pierre); color: var(--encre); font-weight: 600; text-decoration: none; }
.liste-services-compacte a:hover { background: var(--lavande); color: var(--violet-fonce); border-color: var(--lavande-2); }
.maillage-villes { margin-top: 1.5rem; color: var(--doux); }

/* ---------- Réassurance ---------- */
.grille-reassurance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.carte-reassurance { background: var(--pierre); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.carte-reassurance img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carte-reassurance .carte-corps { padding: 1.2rem 1.3rem 1.4rem; }
.carte-reassurance p { margin: 0; color: var(--doux); }
@media (max-width: 860px) { .grille-reassurance { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Liens villes / zones ---------- */
.liens-villes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.2rem; }
.puce-lien { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .3rem .95rem; border-radius: 999px; background: var(--lavande); color: var(--violet-fonce); font-weight: 600; text-decoration: none; }
.puce-lien .icone { width: 18px; height: 18px; }
a.puce-lien:hover { background: var(--violet); color: var(--blanc); }
.puce-zone { background: var(--violet); color: var(--blanc); }
a.puce-zone:hover { background: var(--violet-fonce); }
.puce-inerte { background: var(--sable); color: var(--doux); }
.lien-fleche { font-weight: 700; }
.grille-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; margin-bottom: 2rem; }
.carte-zone { position: relative; background: var(--pierre); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.5rem; }
.carte-zone h3 a { color: var(--violet); }

/* ---------- Hub des villes ---------- */
.hub-outils { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 1rem; align-items: end; margin-bottom: 1rem; }
@media (max-width: 760px) { .hub-outils { grid-template-columns: minmax(0, 1fr); } }
.hub-lettres { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.lettre { min-width: 44px; min-height: 44px; border-radius: var(--rayon-petit); border: 1px solid var(--ligne); background: var(--blanc); color: var(--encre); font-weight: 700; cursor: pointer; }
.lettre:hover { background: var(--lavande); color: var(--violet-fonce); }
.lettre.est-active { background: var(--violet); border-color: var(--violet); color: var(--blanc); }
.hub-compteur { font-weight: 700; color: var(--doux); }
.hub-groupe { margin-bottom: 2rem; }
.grille-villes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .55rem; }
.carte-ville a, .carte-ville-inerte { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem; min-height: 52px; padding: .5rem .8rem; border-radius: var(--rayon-petit); border: 1px solid var(--ligne); background: var(--blanc); color: var(--encre); text-decoration: none; }
.section-alt .carte-ville a, .section-alt .carte-ville-inerte { background: var(--pierre); }
.carte-ville-inerte { color: var(--doux); }
.carte-ville.est-redigee a { border-color: var(--lavande-2); background: var(--lavande); font-weight: 700; }
.carte-ville.est-redigee a:hover { background: var(--violet); color: var(--blanc); }
.carte-ville-cp { font-size: .86rem; color: var(--doux); font-variant-numeric: tabular-nums; }
.carte-ville.est-redigee a:hover .carte-ville-cp, .carte-ville.est-redigee a:hover .carte-ville-badge { color: var(--blanc); }
.carte-ville-badge { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--violet); width: 100%; }
.carte-ville[hidden] { display: none; }

/* ---------- Formulaires (simulateur, recherche) ---------- */
.champ { display: grid; gap: .35rem; margin-bottom: 1rem; }
.champ label, .champ-groupe legend { font-weight: 700; }
.champ input, .champ select { min-height: 48px; width: 100%; padding: .55rem .8rem; border: 2px solid var(--ligne); border-radius: var(--rayon-petit); background: var(--blanc); color: var(--encre); font: inherit; }
.champ input:focus, .champ select:focus { border-color: var(--violet); }
.champ-groupe { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; }
.choix { display: flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; }
.choix input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.carte-formulaire { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.6rem; box-shadow: var(--ombre); }
.simulateur-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; align-items: start; }
.simulateur-resultat { position: sticky; top: calc(var(--entete-h) + 1rem); background: var(--violet-fonce); color: var(--pierre); border-radius: var(--rayon); padding: 1.6rem; }
.simulateur-resultat h3 { color: var(--pierre); margin-top: 1.2rem; }
.resultat-liste { margin: 0; display: grid; gap: .6rem; }
.resultat-liste div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(248, 244, 236, .2); padding-bottom: .5rem; }
.resultat-liste dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.resultat-total dd, .resultat-total dt { color: var(--ocre); font-size: 1.2rem; font-weight: 800; }
.resultat-trafic { list-style: none; padding: 0; display: grid; gap: .5rem; }
.resultat-trafic li { display: flex; justify-content: space-between; gap: 1rem; }
.resultat-attente, .alerte { margin: 0; }
.badge-a-valider { display: inline-block; background: var(--ocre); color: var(--encre); font-weight: 800; font-size: .85rem; letter-spacing: .04em; padding: .2rem .6rem; border-radius: 6px; margin: .8rem 0 0; }
@media (max-width: 860px) { .simulateur-grille { grid-template-columns: minmax(0, 1fr); } .simulateur-resultat { position: static; } }
.tableau-defilant { overflow-x: auto; margin-bottom: 1.5rem; }
.tableau { width: 100%; border-collapse: collapse; background: var(--blanc); border-radius: var(--rayon-petit); overflow: hidden; font-size: .97rem; }
.tableau th, .tableau td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau thead th { background: var(--lavande); color: var(--violet-fonce); }

/* ---------- Contact / légal ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } }
.contact-ligne { display: flex; gap: .9rem; align-items: center; }
.contact-label { display: block; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--doux); }
.contact-ligne a { font-size: 1.25rem; font-weight: 700; }
.legal-liste { margin: 0 0 2rem; display: grid; gap: .5rem; }
.legal-liste div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1rem; border-bottom: 1px solid var(--ligne); padding: .4rem 0; }
.legal-liste dt { font-weight: 700; }
.legal-liste dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal-liste div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- FAQ ---------- */
.faq-liste { display: grid; gap: .7rem; }
.faq-item { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon-petit); }
.section-alt .faq-item { background: var(--pierre); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; position: relative; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--violet); }
.faq-reponse { padding: 0 1.2rem 1rem; color: var(--doux); }
.faq-reponse p { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.bandeau-cta { background: var(--violet-fonce); color: var(--pierre); padding: 3.5rem 0; }
.bandeau-cta h2 { color: var(--pierre); }
.bandeau-cta p { color: var(--lavande); margin: 0; max-width: 40em; }
.bandeau-cta-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem; align-items: center; }
.bandeau-cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 820px) { .bandeau-cta-grille { grid-template-columns: minmax(0, 1fr); } .bandeau-cta-actions .bouton { flex: 1 1 220px; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: var(--pierre); padding: 3.5rem 0 1.5rem; }
.pied a { color: var(--pierre); text-decoration: none; }
.pied a:hover { color: var(--ocre); text-decoration: underline; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.pied-marque p { color: var(--lavande); font-size: .95rem; max-width: 30em; }
.pied-contact a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 700; color: var(--ocre); font-size: 1.1rem; }
.pied-contact .icone { width: 20px; height: 20px; }
.pied-titre { font: 700 1.05rem/1.2 var(--police-titre); color: var(--ocre); margin-bottom: .7rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.pied ul a { display: inline-flex; align-items: center; min-height: 36px; font-size: .95rem; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid rgba(248, 244, 236, .16); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .9rem; color: var(--lavande); }
.pied-bas p { margin: 0; }
.pied-bas a { display: inline-block; padding: .6rem 0; }
@media (max-width: 900px) { .pied-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: minmax(0, 1fr); } .pied ul a { min-height: 44px; } }

/* ---------- CTA sticky ---------- */
.cta-sticky { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: flex; gap: .5rem; padding: .5rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; box-shadow: var(--ombre-forte); transition: transform .25s, opacity .25s; }
.cta-sticky.est-masque { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cta-sticky-numero { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .cta-sticky { left: 0; right: 0; bottom: 0; border-radius: 0; border-width: 1px 0 0; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); }
  .cta-sticky .bouton { flex: 1; min-height: 48px; padding: .5em .6em; }
  .cta-sticky-numero { display: none; }
  body { padding-bottom: 68px; }
}
@media (min-width: 761px) { .cta-sticky .bouton-ocre span:first-of-type { display: none; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .carte-service:hover { transform: none; }
}
