/* Menuiserie M.B. — rev-1 (2026-11-02) : moderne, mais conventionnel.
   Les couleurs du bois et du ruban du logo ; les polices du site d'origine (Gilda Display, Quattrocento Sans). */

:root {
  --bois-fonce: #2e1c11;
  --bois: #4a2b19;
  --acajou: #7b3d1e;
  --miel: #b9823f;
  --bronze: #8a5a1f;   /* le miel assez foncé pour du petit texte sur fond clair (5:1 sur la crème) */
  --or: #d9b56c;
  --ruban: #8e1d1d;
  --ruban-fonce: #6f1616;
  --creme: #f6efe4;
  --papier: #fffcf7;
  --sable: #efe5d6;
  --encre: #2a211b;
  --encre-douce: #5d5047;
  --trait: #e3d6c2;
  --trait-fort: #d3bf9f;
  --ombre: 0 14px 34px rgba(46, 28, 17, .16);
  --ombre-legere: 0 4px 14px rgba(46, 28, 17, .10);
  --rayon: 10px;
  --largeur: 1180px;
  --focus: var(--ruban);   /* le contour du focus : ruban sur fond clair, or sur fond foncé */
  --police-titre: "Gilda Display", Georgia, "Times New Roman", serif;
  --police-texte: "Quattrocento Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 1.0625rem/1.65 var(--police-texte);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--acajou); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ruban); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--police-titre); font-weight: 400; line-height: 1.2; color: var(--bois-fonce); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3, h2.titre-encadre { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
sup { line-height: 0; }
a[href^="tel:"] { white-space: nowrap; }   /* le numéro ne se coupe jamais à son trait d'union */
address { font-style: normal; }
.enveloppe { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
.saut { position: absolute; left: 16px; top: -200px; z-index: 100; padding: 10px 16px; background: var(--papier); color: var(--bois-fonce); border-radius: 8px; box-shadow: var(--ombre); font-weight: 700; }
.saut:focus { top: 12px; }
.saut:focus-visible { outline-color: var(--or); }
.surtitre { margin: 0 0 .6em; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.intro { font-size: 1.15rem; color: var(--encre-douce); }

/* Les fonds foncés : le focus y passe à l'or */
.barre-haut, .heros, .bandeau-page, .appel, .pied, .visionneuse { --focus: var(--or); }

/* ---------- Le bandeau du haut et l'en-tête ---------- */
.barre-haut { background: var(--bois-fonce); color: #eadcc6; font-size: .9rem; }
.barre-haut .enveloppe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 6px 0; }
.barre-haut a { color: #fff; font-weight: 700; text-decoration: none; }
.barre-haut a:hover { color: var(--or); text-decoration: underline; }
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 247, .97); border-bottom: 1px solid var(--trait); box-shadow: var(--ombre-legere); }
.entete-principal { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.marque { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--bois-fonce); text-decoration: none; }
.marque:hover { color: var(--bois-fonce); }
.marque img { width: auto; height: 62px; }
.marque span { font-family: var(--police-titre); font-size: 1.35rem; line-height: 1.1; white-space: nowrap; }
.marque small { display: block; margin-top: 3px; font-family: var(--police-texte); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-douce); }
.menu { display: flex; align-items: center; gap: 12px; }
.menu ul { margin: 0; padding: 0; list-style: none; }
.menu > ul { display: flex; gap: 2px; }
.menu li { position: relative; }
.menu a { display: block; padding: 10px 10px; border-radius: 8px; color: var(--encre); font-size: .97rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.menu > ul a:hover, .menu > ul a[aria-current="page"], .menu li.actif > a { color: var(--ruban); background: var(--sable); }
.menu .avec-sous-menu > a::after { display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .55; transform: translateY(-.22em) rotate(45deg); content: ""; }
.menu .sous-menu { position: absolute; left: 0; top: 100%; min-width: 250px; padding: 6px; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.menu li:hover > .sous-menu, .menu li:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.menu li.ferme > .sous-menu { opacity: 0; visibility: hidden; transform: translateY(6px); }   /* Échap le referme */
.menu .sous-menu a { font-weight: 400; }
.menu a.bouton { padding: 11px 18px; border-radius: 999px; }
.menu a.bouton-principal, .menu a.bouton-principal:hover { color: #fff; background: var(--ruban); }
.menu a.bouton-principal:hover { background: var(--ruban-fonce); }
.menu a.bouton[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.menu-bouton { display: none; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--trait-fort); border-radius: 8px; background: var(--papier); color: var(--bois-fonce); font: 700 1rem var(--police-texte); cursor: pointer; }
.menu-bouton:hover { background: var(--sable); }
.menu-bouton .barres, .menu-bouton .barres::before, .menu-bouton .barres::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; content: ""; transition: transform .2s, background-color .2s; }
.menu-bouton .barres { position: relative; }
.menu-bouton .barres::before { position: absolute; top: -6px; }
.menu-bouton .barres::after { position: absolute; top: 6px; }
.menu-bouton[aria-expanded="true"] .barres { background: transparent; }
.menu-bouton[aria-expanded="true"] .barres::before { transform: translateY(6px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .barres::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Les boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 2px solid transparent; border-radius: 999px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.bouton:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(46, 28, 17, .18); }
.bouton:active { transform: none; box-shadow: none; }
.bouton-principal { background: var(--ruban); color: #fff; }
.bouton-principal:hover { background: var(--ruban-fonce); color: #fff; }
.bouton-clair { border-color: rgba(255, 255, 255, .7); color: #fff; }
.bouton-clair:hover { background: #fff; color: var(--bois-fonce); }
.bouton-contour { border-color: var(--bois); color: var(--bois-fonce); }
.bouton-contour:hover { background: var(--bois-fonce); border-color: var(--bois-fonce); color: #fff; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- L'accueil ---------- */
.heros { color: #f3e8d8; background: radial-gradient(900px 480px at 85% 15%, rgba(185, 130, 63, .28), transparent 65%), linear-gradient(135deg, #2a190f 0%, #4a2b19 58%, #5d351d 100%); }
.heros .enveloppe { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; padding: 80px 0 88px; }
.heros h1 { color: #fff; }
.heros .surtitre { font-size: .9rem; color: var(--or); }
.heros p { font-size: 1.15rem; color: #eadcc6; }
.heros .boutons { margin-top: 2em; }
.heros-photo { position: relative; }
.heros-photo img { width: 100%; border-radius: 14px; box-shadow: 0 22px 50px rgba(0, 0, 0, .45); }
.heros .pastille { position: absolute; left: -18px; bottom: 22px; margin: 0; padding: 12px 18px; background: var(--papier); color: var(--bois-fonce); border-radius: 12px; box-shadow: var(--ombre); font-family: var(--police-texte); font-size: .95rem; font-weight: 700; line-height: 1.3; }
.heros .pastille strong { display: block; font-family: var(--police-titre); font-size: 1.9rem; font-weight: 400; line-height: 1.1; color: var(--ruban); }

/* La mosaïque des réalisations (accueil) */
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mosaique li:first-child { grid-row: span 2; }
.mosaique a { display: block; height: 100%; overflow: hidden; border-radius: 10px; background: var(--sable); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, filter .35s; }
.mosaique a:hover img, .mosaique a:focus-visible img { transform: scale(1.04); filter: brightness(1.05); }

/* ---------- Le bandeau des autres pages ---------- */
.bandeau-page { position: relative; overflow: hidden; color: #fff; background: var(--bois-fonce); }
.bandeau-page > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandeau-page::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 18, 10, .92) 0%, rgba(30, 18, 10, .76) 50%, rgba(30, 18, 10, .46) 100%); content: ""; }
.bandeau-page .enveloppe { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: clamp(250px, 24vw, 330px); padding: 52px 0; }
.bandeau-page h1 { max-width: 780px; margin-bottom: .3em; color: #fff; }
.bandeau-page p { max-width: 680px; margin: 0; font-size: 1.15rem; color: #f3e8d8; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.bandeau-page .surtitre { margin-bottom: .7em; font-size: .88rem; color: var(--or); }

/* ---------- Les sections ---------- */
.section { padding: 72px 0; }
.section-sable { background: var(--sable); }
.section:not(.section-sable) + .section-appel { padding-top: 0; }   /* pas de double marge entre deux sections crème */
.section-tete { max-width: 760px; margin-bottom: 36px; }
.section-tete h2 { margin-bottom: .3em; }
.section-tete .intro, .section-tete p:last-child { margin-bottom: 0; }
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 56px; }
.deux-colonnes.centre { align-items: center; }
.deux-colonnes.egales { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.deux-colonnes > div > :last-child { margin-bottom: 0; }
.photo-arrondie { width: 100%; border-radius: 14px; box-shadow: var(--ombre); }

/* Les cartes : trois services, deux projets ; toute la carte se clique (le lien la couvre) */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cartes.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.carte { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-legere); transition: transform .2s, box-shadow .2s, border-color .2s; }
.carte-photo { overflow: hidden; aspect-ratio: 4 / 3; background: var(--sable); }
.cartes.deux .carte-photo { aspect-ratio: 3 / 2; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.carte .corps { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.carte .corps p { color: var(--encre-douce); }
.carte .lien { margin-top: auto; font-weight: 700; text-decoration: none; }
.carte .lien::before { position: absolute; inset: 0; content: ""; }
.carte .lien::after { display: inline-block; margin-left: .3em; content: "→"; transition: transform .2s; }
.carte:hover { transform: translateY(-3px); border-color: var(--trait-fort); box-shadow: var(--ombre); }
.carte:hover .carte-photo img { transform: scale(1.03); }
.carte:hover .lien { color: var(--ruban); }
.carte:hover .lien::after { transform: translateX(3px); }
@supports selector(:has(*)) {
  .carte:has(.lien:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
  .carte .lien:focus-visible { outline: none; }
}

/* Les valeurs (pastilles) et les listes */
.valeurs { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.valeurs li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 10px; background: var(--papier); border: 1px solid var(--trait); border-radius: 999px; box-shadow: 0 1px 2px rgba(46, 28, 17, .06); font-weight: 700; color: var(--bois-fonce); }
.valeurs li::before { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ruban) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.2l2.3 2.3 4.9-5' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat; content: ""; }
.deux-colonnes .valeurs { margin-top: 22px; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.etiquettes li { padding: 6px 18px; background: var(--papier); border: 1px solid var(--trait-fort); border-radius: 999px; font-family: var(--police-titre); font-size: 1.15rem; color: var(--bois-fonce); }
.coches { padding: 0; list-style: none; }
.coches li { position: relative; margin-bottom: .5em; padding-left: 1.75em; }
.coches li::before { position: absolute; left: 0; top: 0; color: var(--bronze); font-weight: 700; content: "✓"; }
.colonnes-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); column-gap: 32px; }
.citation { margin: 28px 0 0; padding: 18px 22px; background: var(--papier); border-left: 4px solid var(--ruban); border-radius: 0 8px 8px 0; font-family: var(--police-titre); font-size: 1.3rem; line-height: 1.4; color: var(--bois-fonce); }
.encadre { padding: 24px 26px; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-legere); }
.encadre h3, .encadre .titre-encadre { margin-bottom: .4em; }
.encadre > :last-child { margin-bottom: 0; }
.encadre + .encadre { margin-top: 18px; }
.cartes > .encadre + .encadre, .deux-colonnes > .encadre + .encadre { margin-top: 0; }
.encadre .logos { margin-top: 18px; }
.encadre + .logos { margin-top: 18px; }

/* Les logos (partenaires, fournisseurs, municipalités) : des tuiles blanches de même hauteur, jamais agrandis */
.logos { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.logos .tuile { display: flex; align-items: center; justify-content: center; min-width: 184px; height: 104px; padding: 16px 20px; background: #fff; border: 1px solid var(--trait); border-radius: 10px; }
.logos .tuile img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.logos a.tuile { transition: border-color .15s, box-shadow .15s, transform .15s; }
.logos a.tuile:hover { border-color: var(--miel); box-shadow: var(--ombre-legere); transform: translateY(-2px); }
.encadre .logos .tuile { min-width: 148px; height: 92px; padding: 14px 16px; }

/* La galerie (justifiée : les rangées ont la même hauteur, chaque photo garde sa proportion --r) et sa visionneuse */
.galerie { --h: 250px; --etirement: 1.3; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.galerie::after { flex: 1 1 0; content: ""; }   /* la dernière rangée ne s'étire pas au-delà de --etirement */
.galerie li { flex: calc(var(--r, 1.333) * 100) 1 calc(var(--r, 1.333) * var(--h)); max-width: calc(var(--r, 1.333) * var(--h) * var(--etirement)); }
.galerie.justifiee::after { display: none; }   /* site.js a équilibré les rangées */
.galerie.justifiee li { max-width: none; }
.galerie a { display: block; overflow: hidden; aspect-ratio: var(--r, 1.333); background: var(--sable); border-radius: 8px; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, filter .3s; }
.galerie a:hover img, .galerie a:focus-visible img { transform: scale(1.04); filter: brightness(1.05); }
.visionneuse { max-width: min(96vw, 1100px); max-height: 100vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.visionneuse::backdrop { background: rgba(20, 12, 7, .9); }
.visionneuse figure { margin: 0; }
.visionneuse img { width: auto; max-height: min(78vh, 760px); margin: 0 auto; border-radius: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.visionneuse figcaption { margin-top: 12px; text-align: center; color: #eadcc6; }
.visionneuse .commandes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.visionneuse button { padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 700 1rem var(--police-texte); cursor: pointer; transition: background-color .15s, border-color .15s; }
.visionneuse button:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }

/* L'appel à l'action */
.appel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: 40px 44px; color: #fff; background: linear-gradient(135deg, var(--ruban) 0%, #651414 100%); border-radius: 16px; box-shadow: var(--ombre); }
.appel > div { flex: 1 1 420px; }
.appel h2 { margin-bottom: .25em; color: #fff; }
.appel p { margin: 0; color: #f6dede; text-wrap: balance; }
.appel .bouton-principal { background: #fff; color: var(--ruban); }
.appel .bouton-principal:hover { background: var(--creme); color: var(--ruban-fonce); }

/* Les étapes (Démarrer votre projet) */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { position: relative; padding: 22px 22px 22px 72px; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-legere); counter-increment: etape; }
.etapes li::before { position: absolute; left: 20px; top: 20px; display: grid; width: 36px; height: 36px; place-items: center; background: var(--ruban); color: #fff; border-radius: 50%; font-weight: 700; content: counter(etape); }
.etapes strong { display: block; margin-bottom: 4px; font-family: var(--police-titre); font-size: 1.2rem; font-weight: 400; color: var(--bois-fonce); }

/* Le cadre du questionnaire (Q&R d'Entrepreneur Général) */
.cadre-qr { overflow: hidden; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-legere); }
.cadre-qr iframe { display: block; width: 100%; height: 900px; border: 0; }
.qr-attente { padding: 48px 28px; text-align: center; color: var(--encre-douce); }
.qr-attente strong { display: block; margin-bottom: 8px; font-family: var(--police-titre); font-size: 1.4rem; font-weight: 400; color: var(--bois-fonce); text-wrap: balance; }

/* Le contact */
.deux-colonnes.contact { align-items: stretch; }
.pile { display: grid; align-content: start; gap: 18px; }
.pile > .encadre + .encadre { margin-top: 0; }
.coordonnees strong { color: var(--bois-fonce); }
.carte-geo { display: flex; flex-direction: column; overflow: hidden; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-legere); }
.carte-geo iframe { display: block; flex: 1; width: 100%; min-height: 340px; border: 0; background: var(--sable); }
.carte-geo p { margin: 0; padding: 12px 18px; border-top: 1px solid var(--trait); font-weight: 700; }

/* La vidéo */
.video .enveloppe { display: flex; flex-direction: column; align-items: center; }
.video video { display: block; width: 100%; max-width: 960px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; box-shadow: var(--ombre); }
.video .boutons { justify-content: center; }

/* ---------- Le pied de page ---------- */
.pied { color: #e6d8c3; background: var(--bois-fonce); }
.pied .enveloppe { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.pied h2 { margin-bottom: .8em; font-size: 1.15rem; color: #fff; }
.pied a { color: #fff; text-decoration: none; }
.pied p a:not(.bouton) { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); }
.pied a:not(.bouton):hover { color: var(--or); text-decoration: underline; text-decoration-color: currentColor; }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li { margin-bottom: .45em; }
.pied .marque-pied img { width: 120px; margin-bottom: 14px; }
.pied .bas { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #c9b69d; }
.pied .bas .enveloppe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 0; }

/* ---------- Le menu en un bouton, sous 1200 px ---------- */
@media (max-width: 1199px) {
  .js .menu-bouton { display: inline-flex; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 8px; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow: auto; overscroll-behavior: contain; padding: 12px 16px 20px; background: var(--papier); border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); }
  .menu.ouvert { display: flex; }
  .menu > ul { flex-direction: column; }
  .menu > ul, .menu > .bouton { width: min(100%, var(--largeur)); margin-inline: auto; }
  .menu .avec-sous-menu > a::after { display: none; }
  .menu .sous-menu { position: static; min-width: 0; padding: 0 0 0 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .menu li.ferme > .sous-menu { opacity: 1; visibility: visible; transform: none; }
  .menu .bouton { margin-top: 6px; }
  /* Sans JavaScript (pas de classe « js » sur <html>) : le menu reste ouvert, dans la page, sous la marque. */
  html:not(.js) .entete { position: static; }
  html:not(.js) .entete-principal { flex-wrap: wrap; padding-top: 10px; }
  html:not(.js) .menu { position: static; display: flex; flex: 1 0 100%; max-height: none; margin: 0 -16px; padding-top: 0; border-bottom: 0; box-shadow: none; }
}

/* ---------- La tablette ---------- */
@media (max-width: 1080px) {
  .heros .enveloppe, .deux-colonnes { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .heros .enveloppe { padding: 52px 0 56px; }
  .heros-photo img { aspect-ratio: 2 / 1; object-fit: cover; }
  .photo-arrondie { aspect-ratio: 16 / 9; object-fit: cover; }
  .heros .pastille { left: 16px; bottom: 16px; }
  .deux-colonnes.egales { grid-template-columns: minmax(0, 1fr); }
  .mosaique { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .galerie { --h: 210px; }
  .bandeau-page::after { background: linear-gradient(180deg, rgba(30, 18, 10, .74) 0%, rgba(30, 18, 10, .86) 100%); }
  .section { padding: 60px 0; }
  .pied .enveloppe { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cartes.trois { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cartes.encadres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartes.encadres > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cartes.encadres > :last-child:nth-child(odd) .coches { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 32px; }
  .cartes.trois .carte { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .cartes.trois .carte-photo { aspect-ratio: auto; min-height: 220px; }
  .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

/* ---------- Le téléphone ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .barre-haut .adresse { display: none; }
  .marque img { height: 50px; }
  .marque span { font-size: 1.15rem; }
  .entete-principal { min-height: 70px; }
  .section { padding: 48px 0; }
  .section-tete { margin-bottom: 28px; }
  .heros .enveloppe { padding: 40px 0 44px; }
  .heros .boutons { margin-top: 1.5em; }
  .heros-photo img { aspect-ratio: 16 / 10; }
  .photo-arrondie { aspect-ratio: 4 / 3; }
  .bandeau-page .enveloppe { min-height: 0; padding: 40px 0 42px; }
  .bandeau-page p { font-size: 1.05rem; }
  .cartes.deux { grid-template-columns: minmax(0, 1fr); }
  .appel { padding: 30px 24px; }
  .encadre { padding: 20px 20px; }
  .galerie { --h: 130px; --etirement: 1.75; gap: 8px; }
  .logos .tuile, .encadre .logos .tuile { min-width: 140px; height: 86px; padding: 12px 14px; }
  .pied .enveloppe { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 32px; }
  .cadre-qr iframe { height: 1100px; }
}
@media (max-width: 560px) {
  .cartes.encadres { grid-template-columns: minmax(0, 1fr); }
  .cartes.trois .carte { display: flex; }
  .cartes.trois .carte-photo { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- L'impression ---------- */
@media print {
  .barre-haut, .entete, .appel, .pied, .menu-bouton, .saut { display: none !important; }
  body { background: #fff; }
  .bandeau-page, .heros { color: #000; background: none; }
  .bandeau-page > img, .bandeau-page::after { display: none; }
  .bandeau-page h1, .heros h1, .bandeau-page p, .heros p { color: #000; text-shadow: none; }
  .carte, .encadre { box-shadow: none; }
}

/* La politique de confidentialité : un texte long, lisible. */
.texte-long { max-width: 820px; }
.texte-long h2 { margin-top: 1.6em; font-size: 1.5rem; }
.texte-long h2:first-child { margin-top: 0; }
