/* Module « Promotions » MYDMC — socle commun des 3 templates (Alpage, Galerie, Nocturne), 10.10.2026.
   Les @font-face sont posés par la page (lib/promo-rendu.php) : seulement les polices utilisées.
   Ici : polices locales (OFL), mise en page, comportements. Les couleurs, la typographie et l'ambiance
   viennent de chaque direction par des JETONS (variables) : c'est exactement ce que le panel réglera. */

/* ── Jetons par défaut (chaque direction les redéfinit) ── */
:root {
  --fond: #f6f4ef; --fond-2: #ece8e0; --surface: #fff;
  --encre: #17171a; --encre-2: #57534c; --filet: rgba(23, 23, 26, .12);
  --marque: #8a5a2b; --marque-texte: #8a5a2b; --bouton: #17171a; --sur-bouton: #fff;
  --verre-bg: rgba(255, 255, 255, .6); --verre-bord: rgba(255, 255, 255, .7); --verre-flou: 18px;
  --verre-doux-bg: rgba(255, 255, 255, .55);
  --ombre: 0 24px 60px -24px rgba(20, 18, 14, .28);
  --rayon: 4px; --rayon-grand: 6px;
  --police-titres: Georgia, serif; --police-texte: system-ui, sans-serif;
  --st-libre: #1f6b3f; --st-reserve: #8a5a00; --st-attente: #3b5470; --st-vendu: #9b2c2c;
  --conteneur: 1240px; --gouttiere: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--police-texte); font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sauter { position: absolute; left: -9999px; }
.sauter:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--marque-texte); outline-offset: 3px; }
.conteneur { width: min(var(--conteneur), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.ico { width: 18px; height: 18px; flex: none; }

/* Verre dépoli : la signature MYDMC */
.verre { background: var(--verre-bg); border: 1px solid var(--verre-bord); -webkit-backdrop-filter: blur(var(--verre-flou)) saturate(140%);
  backdrop-filter: blur(var(--verre-flou)) saturate(140%); box-shadow: var(--ombre); }
.verre-doux { background: var(--verre-doux-bg); border: 1px solid var(--verre-bord); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.surtitre { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--marque-texte); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: var(--rayon); border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.bouton--plein { background: var(--bouton); color: var(--sur-bouton); }
.bouton--plein:hover { transform: translateY(-1px); }
.bouton--verre { background: var(--verre-bg); border-color: var(--verre-bord); color: var(--encre); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bouton--ligne { background: transparent; border-color: var(--filet); color: var(--encre); }
.bouton--ligne:hover { border-color: var(--encre); }
.bouton--petit { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* En-tête */
.entete { position: fixed; inset: 0 0 auto; z-index: 40; padding: 14px var(--gouttiere); }
.entete-in { display: flex; align-items: center; gap: 28px; max-width: var(--conteneur); margin-inline: auto; padding: 10px 12px 10px 22px;
  border-radius: calc(var(--rayon) + 6px); border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.entete.defile .entete-in { background: var(--verre-bg); border-color: var(--verre-bord); -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%); box-shadow: var(--ombre); }
.promo-logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.entete-agence { margin-right: auto; padding-left: 18px; margin-left: 18px; border-left: 1px solid var(--filet); display: flex; align-items: center; }
.entete-agence img { height: 46px; width: auto; }
.entete-agence .ea-clair { display: none; }
.entete-nav { margin-left: auto; }
.pl-sur { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--encre-2); }
.pl-nom { font-family: var(--police-titres); font-size: 30px; margin-top: 4px; }
.entete-nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.entete-nav a { text-decoration: none; padding: 6px 0; }
.entete-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.entete-menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--verre-bord); background: var(--verre-bg);
  align-items: center; justify-content: center; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.menu-mobile { margin: 8px auto 0; max-width: var(--conteneur); padding: 10px; border-radius: 16px; background: var(--verre-bg); border: 1px solid var(--verre-bord);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: grid; }
.menu-mobile[hidden] { display: none; }
.menu-mobile a { padding: 12px 14px; text-decoration: none; font-weight: 500; }

/* Compteurs */
.compteurs { display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin: 0; }
.compteur { padding: 4px 22px; border-left: 1px solid var(--filet); }
.compteur:first-child { border-left: 0; padding-left: 0; }
.compteur dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); font-weight: 600; }
.compteur dd { margin: 4px 0 0; font-family: var(--police-titres); font-size: 30px; line-height: 1.1; white-space: nowrap; }
.compteur dd small { font-size: .6em; }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-tete { margin-bottom: 44px; max-width: 760px; }
.section-titre { font-family: var(--police-titres); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; margin-top: 14px; letter-spacing: -.01em; }
.filet-or { display: block; width: 72px; height: 1px; background: var(--marque); margin-top: 22px; }

.projet-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.projet-intro { font-size: 19px; line-height: 1.65; color: var(--encre-2); max-width: 560px; }
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--filet); }
.chiffres > div { padding: 18px 0; border-bottom: 1px solid var(--filet); }
.chiffres > div:nth-child(odd) { padding-right: 18px; }
.chiffres dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); font-weight: 600; }
.chiffres dd { margin: 6px 0 0; font-family: var(--police-titres); font-size: 40px; line-height: 1; }
.chiffres dd small { font-size: .45em; margin-left: 2px; }
.atouts { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.atout { padding: 28px 24px 30px; border-radius: var(--rayon-grand); }
.atout-n { font-family: var(--police-titres); font-size: 44px; line-height: 1; color: var(--marque-texte); display: block; margin-bottom: 26px; }
.atout h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; font-family: var(--police-texte); }
.atout p { font-size: 15px; color: var(--encre-2); }

/* Lots */
.lots-barre { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.onglets { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--filet); background: var(--verre-doux-bg); }
.onglets button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--encre-2); }
.onglets button small { font-weight: 500; opacity: .85; margin-left: 4px; }
.onglets button[aria-selected="true"] { color: var(--sur-bouton); }
.onglet-pastille { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--bouton); }
.onglets.pastille-animee .onglet-pastille { transition: transform .45s cubic-bezier(.2, .8, .2, 1), width .45s cubic-bezier(.2, .8, .2, 1); }
.legende { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; flex-wrap: wrap; }
.statut { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.statut i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.statut--libre { color: var(--st-libre); } .statut--reserve { color: var(--st-reserve); }
.statut--attente { color: var(--st-attente); } .statut--vendu { color: var(--st-vendu); }
.table-cadre { border-radius: var(--rayon-grand); overflow: hidden; }
.table-lots { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.table-lots thead th { text-align: left; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); font-weight: 600; padding: 18px 20px; border-bottom: 1px solid var(--filet); }
.table-lots td, .table-lots tbody th { padding: 16px 20px; border-bottom: 1px solid var(--filet); text-align: left; }
.table-lots tr.groupe th { padding: 26px 20px 10px; font-family: var(--police-titres); font-size: 22px; font-weight: 400; border-bottom: 1px solid var(--filet); }
.table-lots tr.groupe th span { font-family: var(--police-texte); font-size: 13px; color: var(--encre-2); margin-left: 12px; letter-spacing: .02em; }
.lot-ref { font-weight: 700; }
.lot-prix { font-weight: 600; white-space: nowrap; }
.lot--vendu td, .lot--vendu th { color: var(--encre-2); }
.lot-action { text-align: right !important; }
.sans-action { color: var(--encre-2); }
.table-lots tbody tr.lot { transition: background .2s; }
.table-lots tbody tr.lot:hover { background: rgba(127, 127, 127, .06); }
.table-lots tr[hidden] { display: none; }
.cartes-lots { display: none; gap: 14px; }
.carte-lot { padding: 20px; border-radius: var(--rayon-grand); }
.carte-lot[hidden] { display: none; }
.carte-lot header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.carte-lot h3 { font-family: var(--police-titres); font-size: 26px; line-height: 1.1; }
.carte-lot h3 small { display: block; font-family: var(--police-texte); font-size: 13px; color: var(--encre-2); margin-top: 6px; }
.carte-lot dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 14px; padding: 14px 0; border-block: 1px solid var(--filet); }
.carte-lot dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-2); font-weight: 600; }
.carte-lot dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.carte-prix { font-family: var(--police-titres); font-size: 26px; margin-bottom: 14px; }
.lot--vendu .carte-prix { color: var(--encre-2); }
.carte-actions { display: flex; gap: 8px; }
.carte-actions .bouton { flex: 1; }
.lots-pied { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; margin-top: 28px; align-items: start; }
.annexes { font-size: 14.5px; color: var(--encre-2); padding-top: 6px; }
.annexes strong { color: var(--encre); margin-right: 6px; }
.plans { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 18px; border-radius: var(--rayon-grand); align-items: center; }
.plans img { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--rayon) - 1px); background: #fff; }
.plans h3 { font-family: var(--police-titres); font-size: 22px; }
.plans p { font-size: 14.5px; color: var(--encre-2); margin: 4px 0 12px; }
.plans-boutons { display: flex; gap: 8px; flex-wrap: wrap; }

/* Galerie */
.g-grille { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--rayon-grand); display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.g-item:hover img { transform: scale(1.04); }
.g-1 { grid-column: span 7; grid-row: span 4; } .g-2, .g-3 { grid-column: span 5; grid-row: span 2; }
.g-4, .g-5, .g-6, .g-7, .g-8, .g-9, .g-10, .g-11, .g-12 { grid-column: span 4; grid-row: span 2; }
.g-n2 .g-1, .g-n2 .g-2 { grid-column: span 6; grid-row: span 3; }
.g-n3 .g-2, .g-n3 .g-3 { grid-column: span 5; grid-row: span 2; }
.g-n4 .g-4 { grid-column: span 12; } .g-n5 .g-4, .g-n5 .g-5 { grid-column: span 6; }
.g-n7 .g-7 { grid-column: span 12; } .g-n8 .g-7, .g-n8 .g-8 { grid-column: span 6; }
.g-n10 .g-10 { grid-column: span 12; } .g-n11 .g-10, .g-n11 .g-11 { grid-column: span 6; }
.g-legende { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(15, 15, 17, .62); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.g-agrandir { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .75); color: #17171a; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.g-item:hover .g-agrandir, .g-item:focus-visible .g-agrandir { opacity: 1; }
.mention { margin-top: 14px; font-size: 13px; color: var(--encre-2); }

/* Situation */
.situation-grille { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.adresse { display: flex; gap: 12px; font-size: 17px; font-weight: 600; margin-bottom: 26px; }
.adresse small { font-weight: 400; color: var(--encre-2); font-size: 14.5px; }
.adresse .ico { margin-top: 3px; color: var(--marque-texte); }
.trajets { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--filet); }
.trajets li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--filet); }
.trajets li .ico { color: var(--marque-texte); }
.trajets span { flex: 1; }
.trajets strong { font-family: var(--police-titres); font-weight: 400; font-size: 21px; }
.carte { position: relative; min-height: 440px; border-radius: var(--rayon-grand); overflow: hidden; }
.carte-repos { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 20px; }
.carte-motif { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--filet); }
.carte-halo { fill: var(--marque); opacity: .15; } .carte-point { fill: var(--marque); }
.carte-bouton { position: relative; margin-top: 120px; }
.carte-note { position: relative; font-size: 13px; color: var(--encre-2); }
.carte-leaflet { position: absolute; inset: 0; }

/* Contact */
.contact { overflow: hidden; }
.contact-fond { position: absolute; inset: 0; }
.contact-fond img { width: 100%; height: 100%; object-fit: cover; }
.contact-grille { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: stretch; }
.contact-carte { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 28px; border-radius: var(--rayon-grand); align-items: center; }
.portrait { width: 170px; height: 210px; object-fit: cover; border-radius: var(--rayon); }
.portrait--logo { display: grid; place-items: center; background: var(--fond-2); padding: 18px; }
.portrait--logo img { width: 100%; }
.contact-nom { font-family: var(--police-titres); font-size: 38px; line-height: 1.1; margin-top: 8px; }
.contact-role { color: var(--encre-2); font-size: 15px; margin-top: 4px; }
.contact-liens { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.contact-liens li, .contact-liens a { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 500; }
.contact-liens .ico { color: var(--marque-texte); }
.contact-langues { margin-top: 14px; font-size: 13.5px; color: var(--encre-2); }
.contact-appel { padding: 32px; border-radius: var(--rayon-grand); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.contact-appel h3 { font-family: var(--police-titres); font-size: 30px; line-height: 1.15; }
.contact-appel p { color: var(--encre-2); }
.contact-appel .bouton { align-self: flex-start; margin-top: 8px; }

/* Partenaires */
.partenaires { padding: 56px 0; border-top: 1px solid var(--filet); }
.partenaires-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.partenaire { display: flex; align-items: center; gap: 28px; justify-content: center; }
.partenaire-logo { height: 70px; display: flex; align-items: center; }
.partenaire-logo--vide { width: 200px; border: 1px dashed var(--filet); border-radius: var(--rayon); justify-content: center; font-size: 13px; color: var(--encre-2); }
.logo-agence { height: 60px; width: auto; }
.logo-agence--img { height: 76px; }

/* Pied de page (standard MYDMC : mentions, confidentialité, cookies, With 🤍 by MYDMC, point secret → /panel/) */
.pied { padding: 26px 0 34px; border-top: 1px solid var(--filet); font-size: 13.5px; color: var(--encre-2); }
.pied-in { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.pied nav { display: flex; gap: 18px; }
.pied nav a, .pied-cookies { color: var(--encre-2); text-decoration: none; background: none; border: 0; padding: 0; font-size: inherit; }
.pied nav a:hover, .pied-cookies:hover { color: var(--encre); }
.pied-credit { display: flex; align-items: center; gap: 6px; }
.pied-credit a { color: var(--encre); font-weight: 600; text-decoration: none; }
.pied-secret { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; }
.pied-point { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; transition: opacity .2s; }
.pied-oeil { position: absolute; width: 16px; height: 16px; opacity: 0; transition: opacity .2s; }
.pied-secret:hover .pied-point, .pied-secret:focus-visible .pied-point { opacity: 0; }
.pied-secret:hover .pied-oeil, .pied-secret:focus-visible .pied-oeil { opacity: 1; }

/* Fenêtres (demande d'infos, portes ouvertes) */
.fenetre { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.fenetre[hidden] { display: none; }
.fenetre-fond { position: absolute; inset: 0; background: rgba(10, 10, 12, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fenetre-boite { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 32px; border-radius: calc(var(--rayon-grand) + 4px); background: var(--fond); border-color: var(--verre-bord); }
.fenetre-boite h2 { font-family: var(--police-titres); font-size: 30px; line-height: 1.15; margin: 8px 0 20px; }
.fenetre-fermer { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--filet); background: var(--fond); display: grid; place-items: center; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.champs label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--encre-2); }
.champ-large { grid-column: 1 / -1; }
.champs input, .champs textarea { font: inherit; font-size: 16px; color: var(--encre); background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 12px 14px; }
.accord { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--encre-2); margin: 16px 0 18px; }
.accord input { margin-top: 3px; accent-color: var(--bouton); }
.merci { margin-top: 14px; font-size: 14px; color: var(--st-libre); font-weight: 600; }
.po-boite { width: min(760px, 100%); padding: 0; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; }
.po-img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.po-texte { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.po-date { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-bottom: 8px; }
.po-note { font-size: 13px; color: var(--encre-2); margin-bottom: 20px; }
.po-texte .bouton { align-self: flex-start; }

/* Visionneuse plein écran (standard §5 : défilement au doigt + zoom) */
.visionneuse { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 10, .94); display: grid; place-items: center;
  touch-action: pan-x pan-y pinch-zoom; overflow-y: auto; overscroll-behavior: contain; }
.visionneuse[hidden] { display: none; }
.vis-cadre { margin: 0; max-width: min(1280px, 92vw); }
.vis-cadre img { max-height: 82vh; width: auto; margin: auto; border-radius: 4px; }
.vis-cadre figcaption { color: #e9e6e0; text-align: center; margin-top: 14px; font-size: 14px; }
.vis-fermer, .vis-nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vis-fermer { top: 18px; right: 18px; } .vis-prec { left: 18px; top: 50%; } .vis-suiv { right: 18px; top: 50%; }
html.fenetre-ouverte { overflow: hidden; }

/* ── Téléphone ── */
@media (max-width: 1080px) {
  .entete-nav { display: none; }
  .entete-menu { display: inline-flex; margin-left: auto; }
  .atouts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .table-cadre { display: none; }
  .cartes-lots { display: grid; }
  .legende { display: none; }
  .lots-pied, .projet-grille, .situation-grille, .contact-grille, .partenaires-grille { grid-template-columns: 1fr; }
  .g-grille { grid-auto-rows: 120px; gap: 10px; }
  .g-grille .g-item { grid-column: span 6; grid-row: span 1; }
  .g-grille .g-1, .g-grille .g-item:last-child:nth-child(even) { grid-column: span 12; grid-row: span 2; }
  .g-legende { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .entete { padding: 10px 12px; }
  .entete-in { padding: 8px 8px 8px 16px; gap: 10px; }
  .entete-cta { display: none; }
  .pl-nom { font-size: 26px; }
  .entete-agence { padding-left: 12px; margin-left: 12px; }
  .entete-agence img { height: 34px; }
  .compteurs { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .compteur { padding: 2px 14px; }
  .compteur:nth-child(3) { border-left: 0; padding-left: 0; }
  .compteur dd { font-size: 26px; }
  .atouts { grid-template-columns: 1fr; margin-top: 40px; }
  .onglets { width: 100%; overflow-x: auto; }
  .onglets button { padding: 10px 12px; font-size: 13.5px; flex: none; }
  .onglets button small { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plans img { width: 100%; }
  .contact-carte { grid-template-columns: 1fr; }
  .portrait { width: 120px; height: 150px; }
  .carte { min-height: 320px; }
  .champs { grid-template-columns: 1fr; }
  .po-boite { grid-template-columns: 1fr; }
  .po-img { min-height: 160px; max-height: 190px; }
  .fenetre-boite { padding: 24px 20px; }
  .partenaire { flex-direction: column; gap: 12px; }
  .pied-in { flex-direction: column; align-items: flex-start; }
  .vis-prec, .vis-suiv { top: auto; bottom: 22px; } .vis-prec { left: calc(50% - 60px); } .vis-suiv { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Module (10.10.2026) : cas réels ───────────────────────────────────────────────────────────────────────── */
.promo-logo--img img { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.entete-agence { padding-left: 18px; margin-left: 18px; border-left: 1px solid var(--filet); display: flex; align-items: center; }
.entete-agence img { height: 42px; width: auto; max-width: 160px; object-fit: contain; }
.entete-nav { margin-left: auto; }
.partenaire-logo img { max-height: 70px; max-width: 220px; width: auto; object-fit: contain; }
.partenaire-nom { font-family: var(--police-titres); font-size: 26px; }
.portrait--logo img { max-height: 120px; object-fit: contain; }
.plans--sans-vignette { grid-template-columns: 1fr; }
.situation--sans-carte { grid-template-columns: 1fr; max-width: 760px; }
.contact-carte--sans-portrait { grid-template-columns: 1fr; }
.champ-piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.secours { margin-top: 12px; }
.secours label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--encre-2); }
.secours input { font: inherit; font-size: 16px; color: var(--encre); background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 10px 12px; max-width: 140px; }
.pf-turnstile { margin-top: 12px; min-height: 0; }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 600; min-height: 1em; }
.form-msg.is-success { color: var(--st-libre); } .form-msg.is-error { color: var(--st-vendu); }
.cookies-texte { color: var(--encre-2); margin: 10px 0 18px; }
.fenetre--cookies .fenetre-boite h2 { font-size: 26px; margin: 0; }
.fenetre-boite .bouton[disabled] { opacity: .6; cursor: wait; }
.d-alpage .entete-agence, .d-galerie .entete-agence { border-color: var(--filet); }
@media (max-width: 560px) {
  .entete-agence { padding-left: 12px; margin-left: 12px; }
  .entete-agence img { height: 32px; }
  .promo-logo--img img { height: 38px; }
}

/* Aperçu du panel : mesure de lisibilité (assets/promotions/lisibilite.js) — animations figées le temps de la mesure,
   textes en défaut entourés en pointillé. Jamais sur le site public (le script n'y est pas chargé). */
html.lis-mesure { scroll-behavior: auto !important; }
.lis-mesure *, .lis-mesure *::before, .lis-mesure *::after { transition: none !important; animation: none !important; }
.lis-mesure [data-reveal], .lis-mesure [data-entree] { opacity: 1 !important; transform: none !important; }
.lis-mesure .hero-img { clip-path: none !important; }
[data-lis-alerte] { outline: 2px dashed #e5484d !important; outline-offset: 3px; }

/* Mot mis en valeur (*mot* dans le panel) : couleur de marque, jamais un faux italique (les polices n'en ont pas toutes) */
.hero-titre em, .section-titre em, .atout em, .hero-accroche em, .projet-intro em { font-style: normal; color: var(--marque-texte); }

/* Section « Le projet » sans texte de présentation : les chiffres prennent toute la largeur */
.projet-grille--sans-texte { grid-template-columns: 1fr; }
