/* Polices du site, servies par le site lui-même (règle 4 : aucun service extérieur). Licence SIL OFL. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/DMSans-normal.7c87a648293f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/Fraunces-italic.fa7ce081be5e.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/Fraunces-normal.069cb90e11a3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* SOS Mérule Auvergne : feuille de style de base du site.
   Aucune police ni image d'un autre site (règle 4) : polices du système.
   Couleurs de la marque, mesurées dans le logo : bleu nuit #32384e et bronze #b59971. Le bronze ne donne que 2,7:1 avec du blanc :
   il ne sert qu'aux filets et aux décors, jamais au texte. Ces valeurs sont les valeurs de départ : le site lit ses couleurs dans la table
   des éléments de la marque (administration), qui les remplace dans chaque page. */

:root {
    --couleur-texte: #202430;
    --couleur-fond: #ffffff;
    --couleur-lien: #32384e;
    --couleur-bouton: #32384e;
    --couleur-sur-bouton: #ffffff;
    --couleur-fond-entete: #32384e;
    --couleur-texte-entete: #f2eee6;
    --couleur-fond-pied: #32384e;
    --couleur-texte-pied: #f2eee6;
    --couleur-filet: #b59971;
    --couleur-bronze-clair: #af936c;
    --couleur-bronze-fonce: #543924;
    --largeur-contenu: 64rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--couleur-texte);
    background: var(--couleur-fond);
}

a { color: var(--couleur-lien); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--couleur-filet); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.25; }

/* Lien d'évitement : caché hors écran, visible dès qu'il reçoit le focus au clavier */
.lien-evitement {
    position: absolute;
    left: 0.5rem;
    top: -4rem;
    padding: 0.5rem 1rem;
    background: var(--couleur-bouton);
    color: var(--couleur-sur-bouton);
    z-index: 10;
}
.lien-evitement:focus { top: 0.5rem; }

/* Contenu */
.contenu {
    max-width: var(--largeur-contenu);
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}
main:focus { outline: none; }

/* Pages : accueil, services, articles, contact, mentions légales */
.accroche { font-size: 1.2rem; color: var(--couleur-fond-entete); }
.bandeau-image { max-width: 100%; height: auto; display: block; }
.image-page { max-width: min(100%, 36rem); height: auto; display: block; border-radius: 0.25rem; }
.bouton {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--couleur-bouton);
    color: var(--couleur-sur-bouton);
    border: 0;
    border-radius: 0.3rem;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}
.bouton:hover { text-decoration: underline; }
.cartes { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.carte-service { border: 1px solid var(--couleur-filet); border-radius: 0.3rem; padding: 1rem; }
.date { color: #555; font-size: 0.9rem; margin: 0 0 0.5rem; }
.article-resume { border-bottom: 1px solid var(--couleur-filet); margin-bottom: 1rem; }
.pastille { display: inline-block; padding: 0.1rem 0.6rem; border: 1px solid var(--couleur-filet); border-radius: 1rem; font-size: 0.85rem; }
.questions dt { font-weight: 700; margin-top: 1rem; }
.questions dd { margin: 0.25rem 0 0; }
.formulaire div { margin-bottom: 0.9rem; }
.formulaire label { display: block; font-weight: 700; }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire textarea { width: 100%; max-width: 36rem; padding: 0.5rem; font: inherit; }

/* Bandeau des cookies : collé en bas de l'écran, compact, trois boutons de même taille et de même style (CNIL : refuser aussi simple qu'accepter) */
.cookies {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #f2eee6; color: var(--couleur-texte);
    border-top: 3px solid var(--couleur-filet); box-shadow: 0 -8px 30px rgba(20, 23, 36, 0.28);
    padding: 0.9rem var(--gutter, 1rem); padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); max-height: 90vh; overflow-y: auto;
}
.cookies-contenu { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.2rem 2rem; }
.cookies-titre { grid-column: 1; margin: 0; font-weight: 700; font-size: 0.95rem; }
.cookies-contenu > p:not(.cookies-titre) { grid-column: 1; margin: 0; font-size: 0.9rem; line-height: 1.45; max-width: 46rem; }
.cookies-contenu a { color: var(--couleur-fond-entete); font-weight: 700; }
.cookies-boutons { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 0.5rem; }
.cookies-bouton {
    font: inherit; font-size: 0.9rem; font-weight: 700; min-width: 8.2rem; height: 44px; padding: 0 0.9rem; border-radius: 6px;
    background: var(--couleur-fond-entete); color: #f2eee6; border: 2px solid var(--couleur-fond-entete); cursor: pointer;
}
.cookies-bouton:hover { background: color-mix(in srgb, var(--couleur-fond-entete) 78%, #000); }
.cookies-choix { grid-column: 1 / -1; display: grid; gap: 0.6rem; font-size: 0.9rem; line-height: 1.4; max-width: 46rem; margin: 0.4rem 0; }
.cookies-choix label { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.cookies-choix input { width: 20px; height: 20px; margin-top: 0.1rem; accent-color: var(--couleur-fond-entete); }
.cookies-choix .cookies-bouton { justify-self: start; }
.cookies :focus-visible { outline: 3px solid var(--couleur-fond-entete); outline-offset: 2px; }
.cookies[hidden], .cookies-choix[hidden], .cookies-boutons[hidden], .lien-bouton[hidden] { display: none; }
@media (max-width: 900px) {
    .cookies { padding: 0.65rem 1rem; padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px)); }
    .cookies-contenu { grid-template-columns: 1fr; gap: 0.3rem; }
    .cookies-boutons { grid-column: 1; grid-row: auto; gap: 0.35rem; margin-top: 0.3rem; }
    .cookies-bouton { flex: 1; min-width: 0; height: 40px; font-size: 0.8rem; padding: 0 0.3rem; }
    .cookies-contenu > p:not(.cookies-titre) { font-size: 0.76rem; line-height: 1.35; }
    .cookies-choix { font-size: 0.8rem; }
}

/* ========== Accueil refait d'après la maquette version 4 : en-tête fixe, bandeau, pied de page, rappel, contact direct ========== */
:root {
    --nuit: var(--couleur-fond-entete);
    --nuit-profond: color-mix(in srgb, var(--couleur-fond-entete) 78%, #000);
    --os: var(--couleur-texte-entete);
    --bronze: var(--couleur-filet);
    --bronze-clair: color-mix(in srgb, var(--couleur-filet) 72%, #fff);
    --trait-clair: rgba(242, 238, 230, 0.28);
    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
    --gutter: clamp(1.25rem, 5vw, 4.5rem);
    --haut-entete: 76px;
}
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--haut-entete) + 12px); }
main { padding-top: var(--haut-entete); }
.template-homepage main { padding-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête fixe : logo et numéro à gauche, menu et réseaux à droite */
.entete {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
    padding: 0.55rem var(--gutter); padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
    color: var(--os); background: rgba(50, 56, 78, 0.96); border: 0; box-shadow: 0 1px 0 rgba(242, 238, 230, 0.12);
    transition: background 0.3s, padding 0.3s;
}
.template-homepage .entete:not(.compact) {
    background: linear-gradient(180deg, rgba(38, 43, 61, 0.78), rgba(38, 43, 61, 0)); box-shadow: none; padding-block: 0.9rem;
}
.entete-gauche { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.marque { display: block; line-height: 0; color: var(--os); }
.marque img, .marque-logo { height: 54px; width: auto; max-width: none; transition: height 0.3s; }
.template-homepage .entete:not(.compact) .marque img { height: clamp(54px, 7vw, 92px); }
.tel {
    font-weight: 700; border: 1px solid var(--bronze-clair); padding: 0.55rem 1.1rem; border-radius: 999px; white-space: nowrap;
    text-decoration: none; color: var(--os);
}
.tel:hover { background: var(--bronze-clair); color: var(--nuit); }
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.5vw, 1.8rem); }
.nav-liste { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(0.9rem, 1.5vw, 1.8rem); }
.nav a { text-decoration: none; font-weight: 500; font-size: 1.125rem; padding: 0.4rem 0; border-bottom: 1px solid transparent; white-space: nowrap; color: var(--os); }
.nav a:hover { border-bottom-color: var(--bronze-clair); }
.nav a.actif, .nav a[aria-current="page"] { color: var(--bronze-clair); border-bottom-color: var(--bronze-clair); }
.nav-sep { width: 1px; height: 1.5rem; background: rgba(242, 238, 230, 0.45); }
.entete-mobile { display: none; align-items: center; gap: 0.6rem; }
.icone-tel, .bouton-menu {
    height: 44px; border: 1px solid var(--trait-clair); background: rgba(38, 43, 61, 0.5); color: var(--os); border-radius: 999px;
    font: inherit; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.icone-tel { width: 44px; }
.bouton-menu { padding: 0 1.1rem; font-size: 0.95rem; }
.icone-tel svg { width: 20px; height: 20px; }
.entete a:focus-visible, .entete button:focus-visible { outline: 3px solid var(--os); outline-offset: 3px; }

/* Réseaux sociaux (haut et bas de page) */
.reseaux { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.45rem; align-items: center; }
.reseaux a {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bronze-clair);
    color: var(--os); text-decoration: none; padding: 0; margin: 0;
}
.reseaux a svg { width: 20px; height: 20px; }
.reseaux a:hover { background: var(--bronze-clair); color: var(--nuit); }
.nav .reseaux { margin-left: 0.3rem; }

/* Bandeau de l'accueil */
.heros { position: relative; min-height: max(calc(100svh - 7rem), 600px); display: flex; align-items: flex-end; background: var(--nuit-profond); color: var(--os); overflow: hidden; isolation: isolate; }
.heros .fonds { position: absolute; inset: 0; z-index: -2; }
.heros .fond { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity var(--fondu, 1.2s) ease; }
.heros .fond.actif { opacity: 1; }
.heros::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(33, 37, 54, 0.72) 0%, rgba(33, 37, 54, 0.38) 48%, rgba(33, 37, 54, 0.05) 100%),
                linear-gradient(0deg, rgba(33, 37, 54, 0.6) 0%, rgba(33, 37, 54, 0) 38%);
}
.heros-texte { padding: calc(var(--haut-entete) + 7rem) var(--gutter) clamp(6.5rem, 15vh, 9rem); max-width: 68rem; }
.heros h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 350; font-variation-settings: "opsz" 144; line-height: 0.98; margin: 0; text-shadow: 0 2px 24px rgba(20, 23, 36, 0.35); }
.heros h1 em { font-style: italic; color: var(--bronze-clair); }
.heros .intro { margin: 1.6rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 34rem; color: #f8f5ee; text-shadow: 0 1px 14px rgba(20, 23, 36, 0.5); }
.actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.btn-appel {
    display: inline-flex; align-items: center; gap: 0.7rem; background: var(--bronze-clair); color: var(--nuit); text-decoration: none; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 1.15rem; padding: 1.05rem 1.9rem; border-radius: 999px; border: 2px solid var(--bronze-clair);
    transition: background 0.2s;
}
.btn-appel:hover { background: color-mix(in srgb, var(--bronze-clair) 70%, #fff); }
.btn-appel svg { width: 20px; height: 20px; flex: none; }
.btn-contour { background: transparent; color: var(--os); }
.btn-contour:hover { background: var(--bronze-clair); color: var(--nuit); }
.heros :focus-visible { outline: 3px solid var(--os); outline-offset: 3px; }

.presentation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1.5rem 4rem; padding: clamp(3rem, 7vw, 5.5rem) var(--gutter); }
.presentation h2 { flex: 1 1 100%; margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 350; line-height: 1.05; text-wrap: nowrap; }
@media (max-width: 900px) { .presentation h2 { text-wrap: balance; } }
.presentation-texte { flex: 1 1 20rem; max-width: 42rem; font-size: 1.2rem; line-height: 1.6; }
.bande { display: grid; grid-template-columns: 1fr 1fr; min-height: 28rem; background: #fff; color: var(--couleur-texte); }
.bande:nth-of-type(even) { background: var(--os); }
.bande:nth-of-type(even) .bande-photo { order: 2; }
.bande-photo { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.bande-texte { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; padding: clamp(2rem, 5vw, 4rem); }
.bande-numero { font-weight: 700; letter-spacing: 0.08em; color: var(--bronze); }
.bande-texte h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 350; }
.bande-texte p { margin: 0; font-size: 1.1rem; line-height: 1.6; max-width: 36rem; }
.bande-lien { font-weight: 700; color: var(--nuit); text-underline-offset: 0.25em; }
.appel-final { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--nuit); color: var(--os); }
.appel-final h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 350; line-height: 1.1; }
.appel-final-sous-titre { margin: 0; color: var(--bronze-clair); font-size: 1.05rem; }
.appel-final .actions { margin-top: 1.6rem; justify-content: center; align-items: center; gap: 1rem 1.6rem; }
.appel-final .btn-appel { font-size: 1.2rem; padding: 1.15rem 2.1rem; box-shadow: 0 10px 24px rgba(20, 23, 36, 0.35); }
.appel-final .btn-contour { box-shadow: none; }
.en-attente { display: inline-block; background: #b3261e; color: #fff; border-radius: 999px; padding: 0.05em 0.75em; font-size: 0.85em; font-weight: 700; font-style: normal; line-height: 1.5; }
.lien-ecrire { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--os); font-weight: 700; font-size: 1.05rem; text-underline-offset: 0.3em; }
.lien-ecrire svg { width: 20px; height: 20px; flex: none; }
.lien-ecrire:hover { color: var(--bronze-clair); }
.appel-final :focus-visible, .bande :focus-visible, .presentation :focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }

.reperes { background: var(--os); color: var(--nuit); padding: clamp(3rem, 6vw, 5.5rem) var(--gutter); }
.reperes ul { list-style: none; margin: 0 auto; padding: 0; max-width: 78rem; display: grid; grid-template-columns: repeat(4, 1fr); }
.reperes li { padding: 0 clamp(1rem, 2.2vw, 2.2rem); border-left: 1px solid rgba(50, 56, 78, 0.35); display: flex; flex-direction: column; gap: 0.6rem; }
.reperes li:first-child { border-left: 0; padding-left: 0; }
.reperes .gros { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -0.02em; color: var(--nuit); font-weight: 350; }
.reperes .petit { font-size: 0.95rem; color: #4a4f5e; line-height: 1.45; max-width: 15rem; }
.reperes .logo-rep { display: flex; align-items: center; height: clamp(2.6rem, 4.4vw, 4.2rem); }
.reperes .logo-rep img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }

/* Pied de page */
.pied { background: var(--nuit); color: var(--os); border-top: 4px solid var(--bronze); padding: 0 var(--gutter); }
.pied-haut { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem) 2.2rem; }
.pied-logo { display: block; line-height: 0; }
.pied-logo img { height: auto; width: clamp(210px, 24vw, 330px); }
.pied p, .pied address { margin: 0 0 0.6rem; font-style: normal; }
.pied-nom { font-weight: 700; }
.pied-coordonnees a { margin-right: 1rem; }
.pied-titre { margin: 0 0 0.6rem !important; font-weight: 700; }
.pied-legal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.pied a, .lien-bouton { color: var(--os); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; }
.pied-legal a, .pied-legal .lien-bouton { text-decoration: none; }
.pied a:hover, .lien-bouton:hover { color: var(--bronze-clair); }
.pied-bas {
    max-width: 78rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--trait-clair); padding: 1.1rem 5.5rem calc(1.1rem + env(safe-area-inset-bottom, 0px)) 0; font-size: 0.92rem;
}
.pied-bas p { margin: 0; }
.pied :focus-visible { outline: 3px solid var(--os); outline-offset: 3px; }

/* Fenêtre « Être rappelé » */
.rappel { border: 0; border-radius: 1rem; padding: 0; max-width: min(30rem, calc(100% - 2rem)); width: 100%; background: var(--os); color: var(--couleur-texte); }
.rappel::backdrop { background: rgba(20, 23, 36, 0.65); }
.rappel form { padding: 1.6rem; }
.rappel h2 { font-size: 2rem; margin: 0 0 0.4rem; color: var(--nuit); }
.rappel-promesse { margin: 0 0 1.2rem; }
.rappel .champ { margin-bottom: 1rem; }
.rappel label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.rappel input, .rappel select { width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #8b8f9c; border-radius: 0.4rem; background: #fff; color: var(--couleur-texte); }
.rappel :focus-visible { outline: 3px solid var(--nuit); outline-offset: 2px; }
.rappel-etat { min-height: 1.4rem; margin: 0 0 0.8rem; font-weight: 600; color: var(--nuit); }
.rappel-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.rappel-fermer { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--nuit); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bouton de contact direct (activé dans l'administration) */
.discuter { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }
.discuter-bouton { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--bronze-clair); color: var(--nuit); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(20, 23, 36, 0.4); }
.discuter-bouton svg { width: 28px; height: 28px; }
.discuter-bouton:hover { background: var(--os); }
.discuter :focus-visible { outline: 3px solid var(--nuit); outline-offset: 2px; }
.discuter-carte { width: min(20rem, calc(100vw - 2.2rem)); border-radius: 1rem; overflow: hidden; background: var(--os); color: var(--couleur-texte); box-shadow: 0 14px 40px rgba(20, 23, 36, 0.45); }
.discuter-tete { position: relative; padding: 1.1rem 2.6rem 1.1rem 1.2rem; background: var(--nuit); color: var(--os); }
.discuter-tete p { margin: 0; }
.discuter-titre { font: 400 1.7rem/1.1 var(--serif); margin-bottom: 0.4rem !important; }
.discuter-x { position: absolute; top: 0.5rem; right: 0.6rem; width: 36px; height: 36px; border: 0; background: none; color: var(--os); font-size: 1.6rem; cursor: pointer; }
.discuter-contact { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; text-decoration: none; color: var(--couleur-texte); }
.discuter-contact:hover { background: #e9e3d6; }
.discuter-pastille { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--nuit); color: var(--bronze-clair); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.discuter-contact strong { display: block; }
.discuter-contact small { display: block; font-size: 0.85rem; color: #4a4f5e; }

/* Barre fixe Appeler / Être rappelé (mobile) */
.appel-fixe { display: none; }
body.cookies-ouverts .discuter, body.cookies-ouverts .appel-fixe { display: none; }
.cookies { z-index: 80; }

@media (max-width: 1400px) { .nav .reseaux-haut { display: none; } }
@media (max-width: 900px) {
    :root { --haut-entete: 64px; }
    .entete-gauche .tel { display: none; }
    .entete-mobile { display: flex; }
    .js .nav { display: none; }
    .js .nav.ouvert {
        display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: 0 0 auto 0; z-index: -1;
        padding: calc(4.9rem + env(safe-area-inset-top, 0px)) var(--gutter) 1.6rem; background: var(--nuit-profond); box-shadow: 0 20px 40px rgba(20, 23, 36, 0.4);
    }
    .js .nav.ouvert .nav-liste { flex-direction: column; align-items: stretch; gap: 0.2rem; }
    .js .nav.ouvert a { font-family: var(--serif); font-size: 1.7rem; padding: 0.55rem 0; border-bottom: 1px solid var(--trait-clair); display: block; }
    .js .nav.ouvert .nav-sep { display: none; }
    .js .nav.ouvert .reseaux { margin: 1.4rem 0 0; display: flex; }
    .js .nav.ouvert .reseaux a { width: 44px; height: 44px; font-size: 1rem; border: 1px solid var(--bronze-clair); padding: 0; display: grid; }
    .nav .reseaux-haut { display: flex; }
    html:not(.js) .bouton-menu { display: none; }
    html:not(.js) .nav { width: 100%; order: 3; }
    html:not(.js) .nav-liste { flex-wrap: wrap; }
    .marque img, .template-homepage .entete:not(.compact) .marque img { height: 48px; }
    .heros { min-height: min(100svh, 780px); }
    .heros .fond { object-position: 44% 40%; }
    .heros-texte { padding-top: 6.5rem; padding-bottom: 3.2rem; }
    .heros::before { background: linear-gradient(0deg, rgba(33, 37, 54, 0.85) 0%, rgba(33, 37, 54, 0.45) 55%, rgba(33, 37, 54, 0.3) 100%); }
    .pied-haut { grid-template-columns: 1fr; }
    .pied-bas { padding-right: 0; }
    .appel-fixe {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--nuit-profond); border-top: 2px solid var(--bronze-clair);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .appel-fixe a, .appel-fixe button {
        flex: 1; display: flex; justify-content: center; align-items: center; gap: 0.5rem; min-height: 56px; font: 700 1.05rem var(--sans);
        text-decoration: none; border: 0; cursor: pointer;
    }
    .appel-fixe a { background: var(--bronze-clair); color: var(--nuit); }
    .appel-fixe button { background: var(--nuit-profond); color: var(--os); }
    .appel-fixe.masque { display: none; }
    .discuter { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    .discuter.sans-barre { bottom: 1.1rem; }
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
    body.sans-barre, body.cookies-ouverts { padding-bottom: 0; }
}
@media (max-width: 900px) {
    .bande { grid-template-columns: 1fr; }
    .bande-photo { height: 16rem; }
    .bande:nth-of-type(even) .bande-photo { order: 0; }
    .reperes ul { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
    .reperes li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .reperes li:nth-child(even) { padding-left: 1.2rem; }
    .reperes .petit { font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) {
    .heros .fond { transition: none; }
    html { scroll-behavior: auto; }
}
