/* Atelier Durand, feuille commune aux 6 pages : jetons, base, titres, boutons, bandeau de permanence, en-tête et menu,
   équerres de cuivre, sections, saisie de commune, horaires et premiers gestes, pied de page, barre d'appel, mouvement réduit.
   Chargée par les 6 pages avant leur feuille propre (accueil-n.css ou pages-n.css). Toute modification d'une partie commune se fait ici. */

/* ---------- 1. Jetons ---------- */
:root {
  --email: #F6F0E4;          /* fond de page */
  --email-clair: #FFFCF5;    /* champs, bloc d'estimation */
  --encre: #1F2A2C;          /* texte, bandeaux sombres */
  --doux: #55605F;           /* texte secondaire (5,7:1 sur l'émail) */
  --filet: #DDD2BC;          /* séparations décoratives */
  --cuivre: #964520;         /* appel, prix, filets, équerres */
  --cuivre-fonce: #7A3818;   /* survol du bouton plein */
  --cuivre-clair: #E39B62;   /* le cuivre sur l'encre */
  --vert: #2D5B58;           /* oui, ouvert, goutte du logo */
  --vert-clair: #8FD6A8;     /* point d'état sur l'encre */
  --creme-bouton: #FFF8EE;   /* texte du bouton plein */
  --titre: "Zilla Slab", "Zilla Slab Fallback", Georgia, "Times New Roman", serif;
  --texte: "Hanken Grotesk", "Hanken Grotesk Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --g: clamp(1rem, .5rem + 2.2vw, 2.5rem);           /* gouttière */
  --wmax: 1280px;                                    /* largeur du contenu */
  --eq-l: 22px; --eq-e: 3px; --eq-m: 11px;           /* équerre : bras, épaisseur, marge autour de la photo */
  --perm-h: 36px; --tete-h: 52px;                    /* bandeau d'état, en-tête */
  --haut: calc(var(--perm-h) + var(--tete-h));
  --sp: clamp(3rem, 1.5rem + 5.5vw, 6.5rem);      /* blanc entre sections */
  --accent: var(--cuivre);
  --pointeur: var(--vert);
  color-scheme: light;
}
.sombre, .site-foot, .perm {
  --doux: #CBC8BF; --filet: rgba(246, 240, 228, .24); --accent: var(--cuivre-clair); --pointeur: var(--vert-clair);
}
@media (min-width: 720px) { :root { --eq-l: 28px; } }
@media (min-width: 960px) { :root { --perm-h: 40px; --tete-h: 76px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--haut) + 12px); }
@media (min-width: 960px) { html { scroll-padding-top: calc(var(--tete-h) + 12px); } }
body { margin: 0; min-width: 320px; background: var(--encre); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); -webkit-font-smoothing: antialiased; font-synthesis: none; }
body.menu-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--titre); font-weight: 600; text-wrap: balance; }
p, ul, ol, figure, dl { margin: 0; }
a { color: inherit; }
img, picture { display: block; max-width: 100%; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 2px; }
.sombre :focus-visible, .site-foot :focus-visible, .perm :focus-visible { outline-color: var(--email); }
.btn-cu:focus-visible { outline-color: var(--encre); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: .8rem 1.2rem; border: 2px solid var(--cuivre); border-radius: 6px; background: var(--email); color: var(--encre); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(var(--perm-h) + 8px); outline: 3px solid var(--cuivre); outline-offset: 2px; }
.w { width: 100%; max-width: calc(var(--wmax) + 2 * var(--g)); margin-inline: auto; padding-inline: var(--g); }
.ico { width: 1.375rem; height: 1.375rem; }
.num { white-space: nowrap; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
#contenu { background: var(--email); }
#contenu:focus { outline: none; }

/* ---------- 3. Titres : le filet de cuivre (signature, une seule fois par page : au-dessus du titre principal) ---------- */
h1.t-filet::before { content: ""; display: block; width: 3.5rem; height: 4px; margin-bottom: 1rem; background: var(--accent); }
/* Pages intérieures : 66 px au plus sur PC (au moins 80 % du titre de l'accueil) ; l'accueil monte à 80 px (accueil-n.css) */
h1.t-filet { font-size: clamp(2.5rem, .9rem + 3.6vw, 4.125rem); line-height: 1.06; letter-spacing: -.012em; }
h2.t-filet { font-size: clamp(2rem, 1.1rem + 2.7vw, 3.5rem); line-height: 1.08; letter-spacing: -.008em; }
.intro { max-width: 54ch; margin-top: 1rem; font-size: 1.125rem; color: var(--doux); }
.lien { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--cuivre); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.lien:hover { color: var(--cuivre-fonce); text-decoration-thickness: 2.5px; }
.sombre .lien { color: var(--cuivre-clair); }
.sombre .lien:hover { color: #F1B885; }

/* ---------- 4. Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .5rem 1.25rem; border: 2px solid transparent; border-radius: 6px; font: 600 1.0625rem/1.2 var(--texte); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn .ico { width: 1.3rem; height: 1.3rem; }
.btn-l { min-height: 3.25rem; padding-inline: 1.5rem; }
.btn-s { min-height: 2.75rem; padding: .35rem 1rem; font-size: 1.0625rem; }
.btn-cu { background: var(--cuivre); border-color: var(--cuivre); color: var(--creme-bouton); }
.btn-cu:hover { background: var(--cuivre-fonce); border-color: var(--cuivre-fonce); }
.btn-ct { background: transparent; border-color: var(--encre); color: var(--encre); }
.btn-ct:hover { background: var(--encre); color: var(--email); }
/* Bouton plein sur l'encre : crème à texte encre, pictogramme de cuivre (le cuivre clair ne sert plus qu'aux filets, pictogrammes et équerres) */
.btn-cl { background: var(--email); border-color: var(--email); color: var(--encre); }
.btn-cl .ico { color: var(--cuivre); }
.btn-cl:hover { background: var(--email-clair); border-color: var(--email-clair); }
.btn-cl:focus-visible { outline-color: var(--email); }
.btn-co { background: transparent; border-color: var(--email); color: var(--email); }
.btn-co:hover { background: var(--email); color: var(--encre); }

/* ---------- 5. Bandeau de permanence et en-tête ---------- */
.perm { position: sticky; top: 0; z-index: 41; height: var(--perm-h); background: var(--encre); color: var(--email); font-size: .9375rem; line-height: 1.2; }
.perm .w { height: 100%; display: flex; align-items: center; gap: 1rem; }
.statut { display: flex; align-items: center; gap: .55rem; min-width: 0; font-weight: 500; }
.statut .dot { flex: none; width: .625rem; height: .625rem; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.statut[data-etat="ouvert"] .dot, .statut[data-etat="urgence"] .dot { background: var(--pointeur); box-shadow: none; }
.perm .statut-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Sélecteur de langue (FR | EN) : à droite du bandeau du haut, sur toutes les pages ; la langue en cours est soulignée en cuivre */
.langue { display: flex; flex: none; gap: .1rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.langue a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: var(--perm-h); padding: 0 .35rem; color: inherit; font-weight: 600; text-decoration: none; }
.langue a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.langue a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--cuivre-clair); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.langue a:focus-visible { outline-offset: -3px; }
.langue a { position: relative; }
.langue a::after { content: ""; position: absolute; inset: -4px -2px; }   /* zone tactile de 44 px de haut */
@media (min-width: 960px) { .perm { position: relative; } }

.site-head { position: sticky; top: var(--perm-h); z-index: 40; background: var(--email); border-bottom: 1px solid var(--filet); }
@media (min-width: 960px) { .site-head { top: 0; } }
.tete { display: flex; align-items: center; gap: 1.25rem; min-height: var(--tete-h); }
.marque { display: flex; align-items: center; gap: .7rem; min-height: 2.75rem; margin-right: auto; color: var(--encre); text-decoration: none; }
.logo { width: 2.25rem; height: 2.1875rem; color: var(--cuivre); }
.logo .joint { stroke: var(--logo-fond, var(--email)); }
.logo .goutte { fill: var(--vert); }
.marque-t { display: grid; line-height: 1.1; }
.marque-t strong { font: 600 1.375rem/1.05 var(--titre); }
.marque-t small { margin-top: .2rem; font-size: .9375rem; color: var(--doux); }
.tete-tel { display: none; }
/* Très petits écrans : nom seul sur une ligne, pour que l'en-tête garde la même hauteur avant et après l'arrivée de la police */
@media (max-width: 359px) {
  .tete { gap: .75rem; }
  .site-head .marque { gap: .5rem; }
  .site-head .marque-t strong { font-size: 1.125rem; white-space: nowrap; }
  .site-head .marque-t small { display: none; }
  .menu-btn { min-width: 4.75rem; padding: 0 .75rem; }
}
.menu-btn { min-width: 5.5rem; min-height: 2.75rem; padding: 0 1rem; border: 1.5px solid var(--encre); border-radius: 6px; background: transparent; color: var(--encre); font: 600 1.0625rem/1 var(--texte); cursor: pointer; }
.menu-btn[aria-expanded="true"] .menu-lbl { display: none; }
.menu-btn[aria-expanded="true"]::after { content: "Fermer"; }
html[lang="en"] .menu-btn[aria-expanded="true"]::after { content: "Close"; }

/* Menu : page claire pleine hauteur sous l'en-tête (téléphone et tablette) */
.nav { position: fixed; z-index: 42; left: 0; right: 0; top: var(--haut); bottom: 0; padding: .5rem var(--g) 2rem; overflow-y: auto; overscroll-behavior: contain; background: var(--email); }
.js .nav { display: none; }
.js .nav.open { display: block; }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav li { border-bottom: 1px solid var(--filet); }
.nav li a { display: flex; align-items: center; min-height: 3.75rem; font: 600 1.75rem/1.2 var(--titre); color: var(--encre); text-decoration: none; }
.nav li a:hover { color: var(--cuivre); }
.nav-bas { display: grid; gap: 1rem; margin-top: 1.75rem; }
.nav-bas .statut { --pointeur: var(--vert); min-height: 3.2em; align-items: flex-start; font-size: 1.0625rem; color: var(--encre); }
.nav-bas .statut .dot { margin-top: .5em; }
.nav-adresse { color: var(--doux); }
body.menu-open .barre { display: none; }
html:not(.js) .tete { flex-wrap: wrap; }
html:not(.js) .menu-btn { display: none; }
html:not(.js) .nav { position: static; width: 100%; padding: 0 0 .75rem; background: transparent; }
html:not(.js) .nav ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
html:not(.js) .nav li { border: 0; }
html:not(.js) .nav li a { min-width: 2.75rem; min-height: 2.75rem; justify-content: center; font: 500 1.0625rem/1.2 var(--texte); }
html:not(.js) .nav-bas { display: none; }

@media (min-width: 960px) {
  .tete, html:not(.js) .tete { gap: clamp(1rem, 2vw, 2rem); flex-wrap: nowrap; }
  html:not(.js) .nav { width: auto; padding: 0; }
  .nav, .js .nav { position: static; display: block; padding: 0; overflow: visible; background: transparent; }
  .nav ul { display: flex; gap: clamp(1rem, 1.9vw, 1.9rem); }
  .nav li { border: 0; }
  .nav li a, html:not(.js) .nav li a { position: relative; min-width: 2.75rem; min-height: 2.75rem; justify-content: center; font: 500 1.0625rem/1.2 var(--texte); }
  .nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 2px; background: var(--cuivre); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .nav li a:hover::after, .nav li a:focus-visible::after { transform: scaleX(1); }
  .nav-bas, html:not(.js) .nav-bas { display: none; }
  .tete-tel { display: inline-flex; }
  .menu-btn { display: none; }
  .marque { margin-right: auto; }
}

/* ---------- 6. Équerres et photos ---------- */
.photo, .ouv-photo { min-width: 0; }
.cadre { position: relative; }
/* Équerres : sur les grandes photos seulement (.cadre-g), pas sur les vignettes des listes */
.cadre-g { padding: var(--eq-m); }
.cadre picture { display: block; }
.cadre img { display: block; width: 100%; height: auto; outline: 1px solid rgba(31, 42, 44, .24); outline-offset: -1px; }
.sombre .cadre img { outline-color: rgba(246, 240, 228, .24); }
.eq { display: none; position: absolute; width: var(--eq-l); height: var(--eq-l); color: var(--accent); pointer-events: none; }
.cadre-g .eq { display: block; }
.eq::before, .eq::after { content: ""; position: absolute; left: 0; top: 0; background: currentColor; }
.eq::before { width: 100%; height: var(--eq-e); transform-origin: 100% 50%; }
.eq::after { width: var(--eq-e); height: 100%; transform-origin: 50% 0; }
.eq.hg { left: 0; top: 0; --k: 0; }
.eq.hd { right: 0; top: 0; --k: 1; transform: scaleX(-1); }
.eq.bd { right: 0; bottom: 0; --k: 2; transform: scale(-1, -1); }
.eq.bg { left: 0; bottom: 0; --k: 3; transform: scaleY(-1); }
.legende { margin-top: .5rem; font-size: .9375rem; line-height: 1.3; color: var(--doux); }

/* ---------- 8. Sections ---------- */
.sec { padding-top: var(--sp); }
.sec-fin, .sombre { padding-bottom: var(--sp); }
.sombre { padding-top: var(--sp); background: var(--encre); color: var(--email); }
.sec-tete { margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.sec[id], .sombre[id] { scroll-margin-top: calc(var(--haut) + 12px); }
@media (min-width: 960px) { .sec[id], .sombre[id] { scroll-margin-top: calc(var(--tete-h) + 12px); } }

/* Zone d'intervention */
.zone-grille { display: grid; gap: 2.5rem; }
.zone-texte { min-width: 0; }
.zform { margin-top: 1.75rem; }
.zlabel { display: block; margin-bottom: .45rem; font-weight: 600; }
.zrow { display: flex; gap: .6rem; max-width: 34rem; }
.zrow input { flex: 1; min-width: 0; min-height: 3.25rem; padding: 0 1rem; border: 2px solid var(--encre); border-radius: 6px; background: var(--email-clair); color: var(--encre); font: 400 1.0625rem/1.2 var(--texte); }
.zrow input::placeholder { color: #667070; opacity: 1; }
.zrow input:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 2px; }
.zrow input[aria-invalid="true"] { border-color: var(--cuivre); }
.zrow .btn { flex: none; }
.zex { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1rem; margin-top: .9rem; color: var(--doux); }
.zex a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--cuivre); font-weight: 600; text-underline-offset: .2em; }
.cb-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: .25rem; list-style: none; max-height: 17.5rem; overflow-y: auto; border: 2px solid var(--encre); border-radius: 6px; background: var(--email-clair); }
.cb-list[hidden] { display: none; }
.cb-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 2.75rem; padding: 0 .75rem; border-radius: 4px; cursor: pointer; }
.cb-list li small { font-size: .9375rem; color: var(--doux); }
.cb-list li.on, .cb-list li:hover { background: var(--encre); color: var(--email); }
.cb-list li.on small, .cb-list li:hover small { color: var(--cuivre-clair); }
.zrep { max-width: 34rem; min-height: 14.5rem; margin-top: 1.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--filet); background: var(--email-clair); }
.zrep:focus { outline: none; }
.zrep-t { font: 600 1.375rem/1.2 var(--titre); }
.zcas { display: grid; gap: .6rem; margin: .8rem 0 0; padding: 0; list-style: none; color: var(--doux); }
.zcas b { color: var(--encre); }
.zrep-r { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; }
.zrep-ico { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--email); background: var(--encre); }
.zrep-ok .zrep-ico { background: var(--vert); }
.zrep-tel .zrep-ico, .zrep-err .zrep-ico { background: var(--cuivre); }
.zrep-ico .ico { width: 1.25rem; height: 1.25rem; }
.zrep-corps p + p { margin-top: .5rem; }
.zrep-corps .zrep-t { margin-bottom: .1rem; }
.zrep-km { font-size: .9375rem; color: var(--doux); }
.zrep-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem !important; }
.zrep-choix .pill { min-height: 2.75rem; }
.zrep-choix { max-height: 16rem; overflow-y: auto; }
@media (min-width: 860px) { .zone-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(2rem, 5vw, 5rem); align-items: start; } }


/* Contact et urgence */
.contact-haut { display: grid; gap: 2.75rem; }
.grand-tel { margin: 1.25rem 0 .6rem; font: 600 clamp(2.5rem, 1.5rem + 3.4vw, 4rem)/1.05 var(--titre); }
.grand-tel a { color: var(--email); text-decoration: none; }
.grand-tel a:hover { text-decoration: underline; text-decoration-color: var(--cuivre-clair); text-decoration-thickness: 3px; text-underline-offset: .12em; }
.statut-grand { align-items: flex-start; min-height: 3.2em; font-size: 1.0625rem; }
.statut-grand .dot { margin-top: .5em; }
.statut-grand .statut-t { white-space: normal; }
.contact-p { max-width: 54ch; margin-top: 1.1rem; color: var(--doux); font-size: 1.0625rem; }
.contact-actions { display: grid; gap: .75rem; margin-top: 1.6rem; }
.contact-infos { min-width: 0; }
.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { padding: .6rem .5rem; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.horaires thead th { padding-top: 0; font-size: .9375rem; font-weight: 600; color: var(--doux); }
.horaires tbody th { font-weight: 600; white-space: nowrap; }
.horaires tbody tr[aria-current="date"] { background: rgba(150, 69, 32, .1); }
.horaires tbody tr[aria-current="date"] th { font-weight: 700; color: var(--cuivre); }
.nw { white-space: nowrap; }
@media (max-width: 420px) { .horaires { font-size: .9375rem; } .horaires th, .horaires td { padding-inline: .35rem; } .horaires tbody th { white-space: normal; } }
.adresse { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1.4rem; }
.adresse .ico { margin-top: .2rem; color: var(--accent); }
.note-s { margin-top: .5rem; font-size: .9375rem; color: var(--doux); }
.gestes { margin-top: clamp(3rem, 6vw, 5rem); }
.gestes-t { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; }
.gestes-grille { display: grid; gap: 2rem; margin-top: 1.5rem; }
.geste { padding-top: 1.1rem; border-top: 2px solid var(--filet); }
.geste-gaz { padding-top: calc(1.1rem - 2px); border-top: 4px solid var(--accent); }
.geste h3, .geste h4 { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: 1.375rem; line-height: 1.2; }
.geste h3 .ico, .geste h4 .ico { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.geste-lead { margin-bottom: .6rem; font-weight: 600; }
.geste ul { display: grid; gap: .6rem; margin: 0; padding-left: 1.1rem; }
.geste li::marker { color: var(--accent); }
@media (min-width: 640px) { .contact-actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .contact-haut { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .gestes-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); }
}
@media (min-width: 1100px) { .statut-grand { min-height: 1.6em; } }


/* Le tube de cuivre (accueil, et Devis sur PC) : 3 carrés numérotés reliés par le tuyau ; sur le Devis, il se remplit jusqu'à l'étape en cours */
.tube-e { --n: 2.5rem; position: relative; display: grid; grid-template-columns: var(--n) minmax(0, 1fr); gap: 1.25rem; }
.tube-n { position: relative; z-index: 1; display: grid; place-items: center; width: var(--n); height: var(--n); border: 1.5px solid var(--cuivre); border-radius: 4px; background: var(--cuivre); color: var(--creme-bouton); font: 600 1.375rem/1 var(--titre); transition: background-color .25s .3s, color .25s .3s; }
.tube-e:not(:last-child)::before, .tube-e:not(:last-child)::after { content: ""; position: absolute; border-radius: 4px; }
.tube-e:not(:last-child)::before { left: calc(var(--n) / 2 - 4px); top: calc(var(--n) / 2); bottom: calc(-2.25rem - var(--n) / 2); width: 8px; border: 1.5px solid var(--cuivre); }
.tube-e:not(:last-child)::after { left: calc(var(--n) / 2 - 2.5px); top: calc(var(--n) / 2 + 1.5px); bottom: calc(-2.25rem - var(--n) / 2 + 1.5px); width: 5px; background: var(--cuivre); transform-origin: top; transition: transform .55s cubic-bezier(.4, .1, .2, 1); }
.tube-t { font-size: 1.375rem; line-height: 1.2; padding-top: .35rem; }
.tube-c p { margin-top: .35rem; color: var(--doux); max-width: 30rem; }
.tube-e.vide::after { transform: scaleY(0); }
.tube-e.vide + .tube-e .tube-n, .tube-e.attend .tube-n { background: var(--email); color: var(--cuivre); }

/* ---------- 9. Pied de page ---------- */
.site-foot { --logo-fond: var(--encre); padding-block: 0 2.5rem; background: var(--encre); color: var(--email); }
.site-foot { border-top: 1px solid var(--filet); }
.site-foot .pied-grille { padding-top: 2.75rem; }
.site-foot .marque { color: var(--email); margin-right: 0; }
.site-foot .logo { color: var(--cuivre-clair); }
.site-foot .logo .goutte { fill: var(--vert-clair); }
.site-foot .marque-t small { color: var(--doux); }
.pied-grille { display: grid; gap: 2.25rem; }
.pied-marque p { max-width: 24rem; margin-top: 1rem; color: var(--doux); }
.pied-h { margin-bottom: .7rem; font: 600 1.375rem/1.2 var(--titre); }
.pied-col p + p { margin-top: .6rem; }
.pied-tel { display: inline-flex; align-items: center; min-height: 2.75rem; font: 600 1.75rem/1.2 var(--titre); color: var(--email); text-decoration: none; }
.pied-tel:hover { text-decoration: underline; text-underline-offset: .15em; }
.pied-liens { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) and (max-width: 959px) { .pied-liens { grid-template-columns: minmax(0, 1fr); } }
.pied-liens a { display: inline-flex; align-items: center; min-width: 2.75rem; min-height: 2.75rem; text-underline-offset: .2em; }
.pied-legal { display: grid; gap: .6rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); font-size: .9375rem; color: var(--doux); }
.pied-legal p { max-width: 54ch; }
/* Pied court (accueil et Contact) : sans « Nous joindre », le numéro, le statut et l'adresse sont dans la page */
.pied-court .pied-marque p { display: none; }
.pied-court .pied-legal { margin-top: 1.5rem; }
@media (min-width: 720px) { .site-foot.pied-court .pied-grille { grid-template-columns: 1.3fr 2fr; } .pied-court .pied-liens { grid-template-columns: repeat(2, minmax(0, max-content)); } }
@media (min-width: 720px) { .pied-grille { grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); } .pied-legal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); } }

/* ---------- 10. Barre d'appel fixe (téléphone et tablette) ----------
   Toujours collée au bas de l'écran. La pastille de démonstration dépliée se pose juste au-dessus d'elle ; app.js mesure sa hauteur
   (plus 10 px, 0 quand elle est repliée) dans --past, pour que le bas de page et le clavier s'arrêtent au-dessus des deux.
   Sur l'accueil, la barre n'arrive qu'une fois les 2 boutons de l'ouverture sortis de l'écran (classe barre-cachee, posée par accueil-n.js). */
.barre { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: .6rem; padding: .5rem var(--g) calc(.5rem + env(safe-area-inset-bottom, 0px)); background: var(--email); border-top: 1px solid var(--filet); transition: transform .25s ease, visibility .25s; }
.barre-seule { grid-template-columns: 1fr; }
.barre .btn { min-height: 2.875rem; }
.barre.barre-cachee, html.js:not(.barre-pret) .barre[data-accueil] { transform: translateY(110%); visibility: hidden; }
html.js:not(.barre-pret) .barre[data-accueil] { transition: none; }
@media (max-width: 959px) {
  body { padding-bottom: calc(4.1rem + var(--past, 0px) + env(safe-area-inset-bottom, 0px)) !important; } /* !important : le script partagé de la pastille écrit sa marge en ligne */
  html { scroll-padding-bottom: calc(5.25rem + var(--past-k, var(--past, 0px)) + env(safe-area-inset-bottom, 0px)) !important; }
  html.barre-on .demo-pastille:not(.reduite) { --demo-bas: calc(4.1rem + 10px + env(safe-area-inset-bottom, 0px)); }   /* la pastille commune se place par transform : on la relève par --demo-bas */
}
@media (min-width: 960px) { .barre { display: none; } body { padding-bottom: 0; } html { scroll-padding-bottom: 80px !important; } }
/* Téléphone à l'horizontale : le bandeau et l'en-tête ne restent plus collés en haut, la page garde l'écran */
@media (max-width: 959px) and (max-height: 500px) {
  .perm, .site-head { position: relative; top: auto; }
  html { scroll-padding-top: 12px; }
  .sec[id], .sombre[id] { scroll-margin-top: 12px; }
}

/* ---------- 11. Mouvement réduit : tout est visible, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
