/* Accueil refait, direction « Encre alternée » validée le 30/10/2026.
   Chargé après /css/site.css et variantes.css. Toutes les illustrations sont en HTML, CSS
   et SVG, et suivent les variables de couleur : elles changent d'elles-mêmes entre une
   section claire et une section sombre. */

/* ── Maquette seulement : signaler le texte nouveau ───────────────────── */
.nouveau { outline: 2px dashed #C9821F; outline-offset: 6px; }
section.nouveau { outline-offset: -10px; }
.a-rediger { font-style: italic; }
.maq__nouveau { font-weight: 500; }
.sans-maq .nouveau { outline: none; }

/* ── Maquette seulement : texte ajouté le 02/11/2026 pour le référencement, à relire (ajouts.py) ── */
.ajout { outline: 2px dashed #2E8B57; outline-offset: 4px; border-radius: 3px; }
.sec--sombre .ajout { outline-color: #7FD6A4; }
section.ajout { outline-offset: -10px; }
.sans-surlignage .ajout, .sans-surlignage .nouveau, .sans-maq .ajout { outline: none; }
.maq__legende { font-weight: 500; white-space: nowrap; }
.maq__legende i { display: inline-block; width: 20px; border-top: 2px dashed #2E8B57; vertical-align: middle; margin-right: 6px; }
.maq__bascule { font: inherit; padding: 3px 10px; border: 1px solid #3A2A05; border-radius: 3px; background: #FFF9E8; color: #3A2A05; cursor: pointer; }
.maq__bascule:hover { background: #3A2A05; color: #FFF4D6; }
/* Le point à trancher sert aussi sur l'accueil (pages.css n'y est pas chargée) */
.a-trancher { outline: 2px dashed #2F5E8C; outline-offset: 2px; border-radius: 3px; }
.a-trancher::after { content: " à trancher"; font: 700 .7rem var(--f); color: #FFFFFF; background: #2F5E8C; padding: 1px 6px; border-radius: 3px; margin-left: 6px; white-space: nowrap; }

/* ── Haut de page ─────────────────────────────────────────────────────── */
.hero__accroche {
  margin-top: 22px; max-width: 30ch;
  font-family: var(--t); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3;
  letter-spacing: -.01em; color: var(--ocre);
}
.hero:not(.hero--page) { grid-template-columns: minmax(0, 1fr) 470px; }

/* La vue éclatée : trois plans en perspective cavalière, du haut vers le bas
   le référencement, la page, le suivi. Les cotes restent à plat, à droite. */
.eclatee { grid-column: 2; grid-row: 1 / 3; align-self: center; position: relative;
  width: 100%; height: 470px; margin: 20px 0 0; }
.eclatee__couche { position: absolute; left: 0; width: 100%; height: 150px; }
.eclatee__couche--ref   { top: 0; }
.eclatee__couche--site  { top: 150px; }
.eclatee__couche--suivi { top: 300px; }
/* Les axes de montage, en pointillé, d'un plan à l'autre */
.eclatee__couche:not(:last-child)::after {
  content: ""; position: absolute; left: 118px; top: 96px; height: 92px;
  border-left: 1.5px dashed var(--gris); opacity: .7;
}
.plan {
  position: absolute; left: 20px; top: 0; width: 196px; height: 150px;
  transform: rotateX(56deg) rotateZ(-38deg); transform-origin: 50% 50%;
  border: 1.5px solid var(--texte); border-radius: 8px; background: var(--carte);
  box-shadow: -10px 14px 0 -2px rgba(0,0,0,.28);
  padding: 14px; display: flex; flex-direction: column; gap: 8px;
}
.plan i, .plan span, .plan em { display: block; }
.plan__logo { width: 14px; height: 14px; border-radius: 3px; background: var(--ocre-a); }
.plan__titre { height: 12px; width: 80%; border-radius: 3px; background: var(--texte); }
.plan__titre--c { width: 55%; }
.plan__ligne { height: 6px; width: 90%; border-radius: 3px; background: var(--trait); }
.plan__ligne--c { width: 60%; }
.plan__btn { width: 60px; height: 16px; border-radius: 3px; background: var(--ocre-a); }
.plan__blocs { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.plan__blocs i { height: 22px; border-radius: 3px; background: var(--fond-2); border: 1px solid var(--trait); }
.plan__barre { height: 12px; width: 70%; border-radius: 3px; background: var(--texte); margin-left: 34px; margin-top: -26px; }
.plan__pin { width: 24px; height: 24px; background: var(--ocre-a); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.plan__bts { display: flex !important; gap: 8px; margin-top: 6px; }
.plan__bts i { width: 52px; height: 16px; border-radius: 8px; border: 1.5px solid var(--texte); }
.eclatee__couche--suivi .plan { background: var(--fond-2); gap: 12px; justify-content: center; }
.plan__rang { display: flex !important; gap: 8px; align-items: center; }
.plan__rang i:nth-child(1) { width: 14px; height: 14px; border-radius: 3px; background: var(--ocre-a); }
.plan__rang i:nth-child(2) { flex: 1; height: 8px; border-radius: 3px; background: var(--texte); opacity: .8; }
.plan__rang i:nth-child(3) { width: 26px; height: 8px; border-radius: 3px; background: var(--trait); }

/* La cote de chaque couche : un trait ocre avec talon, puis le nom et le fait */
.eclatee__cote {
  position: absolute; left: 236px; top: 56px; display: grid; grid-template-columns: 54px auto;
  column-gap: 12px; align-items: center; line-height: 1.2;
}
.eclatee__cote i { grid-row: 1 / 3; height: 1.5px; background: var(--ocre-a); position: relative; }
.eclatee__cote i::before { content: ""; position: absolute; left: -2px; top: -4px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--ocre-a); }
.eclatee__cote b { font-family: var(--t); font-size: 1.15rem; color: var(--texte); font-weight: 600; }
.eclatee__cote small { font-size: .82rem; color: var(--ocre); font-weight: 600; }

@media (max-width: 1180px) {
  .hero:not(.hero--page) { grid-template-columns: minmax(0, 1fr) 420px; }
  .eclatee { transform: scale(.9); transform-origin: left center; }
}
@media (max-width: 860px) {
  .hero:not(.hero--page) { grid-template-columns: minmax(0, 1fr); }
  .eclatee { grid-column: 1; grid-row: 3; height: 400px; margin: 36px 0 10px; transform: none; max-width: 360px; }
  .eclatee__couche { height: 128px; }
  .eclatee__couche--site { top: 128px; } .eclatee__couche--suivi { top: 256px; }
  .plan { width: 160px; height: 124px; left: 6px; padding: 11px; gap: 6px; }
  .eclatee__couche:not(:last-child)::after { left: 92px; top: 84px; height: 78px; }
  .eclatee__cote { left: 186px; top: 46px; grid-template-columns: 30px auto; column-gap: 8px; }
  .eclatee__cote b { font-size: 1rem; }
  .eclatee__cote small { font-size: .74rem; }
  .hero:not(.hero--page) .chiffres { grid-row: 4; }
}

/* ── Vignettes des cartes ─────────────────────────────────────────────── */
.vign {
  position: relative; height: 108px; margin: -4px -4px 20px; overflow: hidden;
  border-radius: 4px; background: var(--fond); border: 1px solid var(--trait);
  font-size: 11.5px; line-height: 1.2; color: var(--texte);
}
.vign i, .vign span, .vign em, .vign b, .vign s, .vign u { display: block; text-decoration: none; }
/* Mini-écran */
.vign--site { padding: 0 14px; }
.vign__barre { display: flex !important; gap: 4px; margin: 0 -14px 12px; padding: 7px 10px; border-bottom: 1px solid var(--trait); }
.vign__barre b { width: 6px; height: 6px; border-radius: 50%; background: var(--trait); }
.vign__t { height: 9px; width: 48%; border-radius: 3px; background: var(--texte); margin-bottom: 6px; }
.vign__t--c { width: 45%; }
.vign__btn { width: 50px; height: 12px; border-radius: 3px; background: var(--ocre-a); margin: 9px 0 0; }
.vign__blocs { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px; position: absolute; right: 14px; top: 34px; width: 40%; }
.vign__blocs i { height: 26px; border-radius: 3px; background: var(--fond-2); border: 1px solid var(--trait); }
/* Liste cochée (suivi, dossier de création) */
.vign--suivi, .vign--dossier { padding: 14px 16px; display: grid; gap: 8px; align-content: center; }
.vign--suivi span, .vign--dossier span { display: flex !important; align-items: center; gap: 9px; font-weight: 600; }
.vign--suivi b, .vign--dossier b { width: 16px; height: 16px; border-radius: 3px; background: var(--ocre-a); color: #0E1714;
  display: grid !important; place-items: center; font-size: 11px; }
.vign--dossier b.vide { background: none; border: 1.5px solid var(--gris); }
/* Carte et épingle */
.vign--carte, .vign--horaires {
  background-color: var(--fond);
  background-image: linear-gradient(var(--trait) 1px, transparent 1px), linear-gradient(90deg, var(--trait) 1px, transparent 1px);
  background-size: 22px 22px;
}
.vign--carte::before { content: ""; position: absolute; left: -10%; top: 58%; width: 120%; height: 10px; background: var(--fond-2);
  border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); transform: rotate(-9deg); }
.vign__pin { position: absolute !important; left: 50%; top: 26px; width: 26px; height: 26px; margin-left: -13px;
  background: var(--ocre-a); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.vign__pin::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--carte); }
.vign__etiq { position: absolute !important; left: calc(50% + 22px); top: 24px; padding: 2px 7px; font-weight: 700;
  background: var(--carte); border: 1px solid var(--texte); }
/* Carte du jour */
.vign--menu { padding: 12px 16px; }
.vign--menu b { font-family: var(--t); font-size: 13px; margin-bottom: 8px; }
.vign--menu span { display: flex !important; align-items: center; gap: 6px; margin-bottom: 7px; }
.vign--menu span i { width: 38%; height: 6px; border-radius: 3px; background: var(--texte); opacity: .75; }
.vign--menu span u { flex: 1; border-bottom: 1.5px dotted var(--gris); }
.vign--menu span s { width: 18px; height: 6px; border-radius: 3px; background: var(--ocre-a); }
.vign--menu em, .vign--galerie em { position: absolute; right: 14px; bottom: 12px; font-style: normal; font-weight: 700;
  padding: 4px 9px; border-radius: 3px; background: var(--ocre-a); color: #0E1714; }
/* Galerie de chantiers */
.vign--galerie { padding: 12px 14px; }
.vign__photos { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 62%; }
.vign__photos i { height: 36px; border-radius: 3px; border: 1px solid var(--trait);
  background: linear-gradient(135deg, var(--fond-2) 0 55%, var(--trait) 55% 100%); }
/* Disponibilités */
.vign--agenda { padding: 12px 16px; }
.vign--agenda b, .vign--horaires b { font-family: var(--t); font-size: 13px; margin-bottom: 8px; }
.vign__jours { display: grid !important; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.vign__jours i { height: 15px; border-radius: 2px; border: 1px solid var(--trait); background: var(--carte); }
.vign__jours i.pris { background: var(--ocre-a); border-color: var(--ocre-a); }
/* Horaires et accès */
.vign--horaires { padding: 12px 16px; }
.vign--horaires span:not(.vign__pin) { display: flex !important; justify-content: space-between; width: 58%; margin-bottom: 7px; }
.vign--horaires span i { width: 34%; height: 6px; border-radius: 3px; background: var(--texte); opacity: .75; }
.vign--horaires span s { width: 40%; height: 6px; border-radius: 3px; background: var(--trait); }
.vign--horaires span s.ferme { background: none; border-top: 1.5px dashed var(--gris); height: 0; margin-top: 3px; }
.vign--horaires .vign__pin { left: 78%; top: 38px; }
/* Barre d'adresse */
.vign--adresse { display: grid; place-items: center; }
.vign__url { display: flex !important; align-items: center; gap: 1px; padding: 9px 14px; border-radius: 20px;
  border: 1.5px solid var(--texte); background: var(--carte); font-size: 14px; font-weight: 600; }
.vign__url b { color: var(--ocre); }
.vign__url i { width: 1.5px; height: 16px; background: var(--texte); margin-left: 3px; }

/* Les cartes des guides : le titre est un lien */
#guides .liste li > span:first-child a { color: var(--texte); text-decoration: none; }
#guides .liste li > span:first-child a:hover { color: var(--ocre); }

/* ── Les vraies captures de Chez Tonton ──────────────────────────────── */
.captures { position: relative; margin: 6px 0 34px; padding-right: 60px; }
.captures__ecran { border: 1.5px solid var(--trait); border-radius: 10px; overflow: hidden; background: var(--carte); }
.captures__barre { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 1px solid var(--trait); }
.captures__barre b { width: 7px; height: 7px; border-radius: 50%; background: var(--trait); }
.captures__barre span { margin-left: 10px; font-size: .74rem; color: var(--gris); }
.captures__ecran img { display: block; width: 100%; height: auto; }
.captures__tel { position: absolute; right: 0; bottom: 64px; width: 118px; padding: 6px; border-radius: 18px;
  border: 2px solid var(--texte); background: #0E1714; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.captures__tel img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* ── Le cartouche, partout le même ───────────────────────────────────── */
.cartouche-t { display: grid; grid-template-columns: repeat(4, auto); margin-top: 16px; border: 1.5px solid var(--texte);
  font-size: .8rem; width: fit-content; max-width: 100%; }
.cartouche-t > div { padding: 7px 14px; border-right: 1px solid var(--texte); }
.cartouche-t > div:last-child { border-right: none; }
.cartouche-t dt { color: var(--gris); font-size: .7rem; }
.cartouche-t dd { font-weight: 600; color: var(--texte); }
.cartouche-t--contact { margin: 6px 0 30px; }

/* ── La carte du département ─────────────────────────────────────────── */
.carte { margin: 8px 0 34px; }
.carte svg { width: 100%; max-width: 440px; height: auto; display: block; overflow: visible; }
.carte__dep { fill: var(--carte); stroke: var(--texte); stroke-width: 1.5; stroke-linejoin: round; }
.carte__ville { fill: var(--ocre-a); stroke: var(--carte); stroke-width: 1.5; }
.carte__nom { font: 600 12px var(--f); fill: var(--texte); }
.carte__echelle line { stroke: var(--ocre-a); stroke-width: 1.5; }
.carte__echelle text { font: 600 11px var(--f); fill: var(--ocre); }

/* ── Les étapes : délai coté et icône ────────────────────────────────── */
.cotation--etapes { position: relative; left: auto; right: auto; top: auto; margin: 4px 0 14px; display: flex; }
.etapes li { position: relative; }
.etape__ico { position: absolute; right: 18px; top: 20px; width: 44px; height: 40px;
  fill: none; stroke: var(--texte); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.etape__ico .p { stroke: var(--ocre-a); }
.etape__ico rect.p { fill: var(--ocre-a); stroke: none; }

/* ── Les deux coupes ─────────────────────────────────────────────────── */
.coupes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin: 10px 0 40px; max-width: 560px; }
.coupes__col { display: flex; flex-direction: column; gap: 4px; position: relative; font-size: .82rem; font-weight: 600; }
.coupes__col > span { padding: 7px 10px; border: 1.5px solid var(--texte); border-radius: 3px; background: var(--carte); text-align: center; }
.coupes__col--pile > span:nth-child(1) { transform: translateX(10px) rotate(1.4deg); border-color: var(--ocre-a); color: var(--ocre); }
.coupes__col--pile > span:nth-child(2) { transform: translateX(-6px) rotate(-1deg); }
.coupes__col--pile > span:nth-child(3) { transform: translateX(8px); }
.coupes__col--pile > span:nth-child(4) { transform: translateX(-4px) rotate(.8deg); }
.coupes__col .piece { padding: 30px 10px; border-color: var(--ocre-a); border-width: 2px; font-family: var(--t); font-size: 1rem; }
.coupes__col .socle { background: var(--fond-2); }
.coupes__col > b { margin-top: 10px; text-align: center; color: var(--gris); font-weight: 500; }
.coupes .cotation--v { left: auto; right: -30px; top: 0; bottom: 64px; }

/* ── Téléphone ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .vign { height: 98px; }
  .captures { padding-right: 34px; }
  .captures__tel { width: 84px; bottom: 96px; border-radius: 14px; padding: 4px; }
  .cartouche-t { grid-template-columns: 1fr 1fr; width: 100%; }
  .cartouche-t > div:nth-child(2) { border-right: none; }
  .cartouche-t > div:nth-child(-n+2) { border-bottom: 1px solid var(--texte); }
  .coupes { gap: 22px; font-size: .9em; }
  .coupes .cotation--v { display: none; }
  .etape__ico { width: 36px; height: 33px; right: 14px; }
}

/* La vignette est désormais le premier enfant de la carte : le titre se cible après elle. */
.liste li > .vign + span {
  display: block; font-family: var(--t); font-size: 1.18rem; letter-spacing: -.01em; font-weight: 600;
  color: var(--texte); margin-bottom: 10px; padding-left: 20px; position: relative;
}
.liste li > .vign + span::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; background: var(--ocre-a);
}
.liste li > .vign + span a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--ocre-a);
  text-underline-offset: 4px; text-decoration-thickness: 2px; }
.liste li > .vign + span .marqueur { display: inline-block; margin: 0 0 0 8px; vertical-align: 3px; }

.coupes__fait { text-align: center; color: var(--ocre); font-weight: 600; font-size: .82rem; margin-top: -2px; }

/* ── Les aplats aux couleurs du terroir (décidé par Antoine le 30/10/2026) ──
   Une illustration posée sur un fond de couleur douce. Dedans, les variables claires
   sont redéclarées : l'illustration se lit pareil en section claire ou sombre.
   Contrastes mesurés le 30/10 : texte 13,2 à 14,2, secondaire 5,8 à 6,3, lien ocre 4,6 à 4,9. */
.aplat {
  --fond: rgba(255,255,255,.55); --fond-2: rgba(14,23,20,.06); --carte: #FFFFFF;
  --trait: rgba(14,23,20,.18); --texte: #0E1714; --gris: #46534D; --ocre: #8C520A;
  background: var(--aplat); color: var(--texte); border-color: transparent;
}
.aplat--bleu   { --aplat: #D3E2EF; }   /* référencement */
.aplat--sauge  { --aplat: #D9E5D2; }   /* suivi */
.aplat--ocre   { --aplat: #F4E1BE; }   /* création */
.aplat--brique { --aplat: #F1D6CB; }   /* identité visuelle, contact, réalisations */
figure.aplat { padding: 26px; border-radius: 14px; }
.vign.aplat { border: none; }
.plan.aplat { border-color: #0E1714; }
.fig-hero.aplat .cotation--h { top: -30px; }

/* ── Sections à cartes : pleine largeur, titre centré (décidé le 30/10) ──
   Les sections d'argument, en texte long, gardent les deux colonnes. */
.sec--large .sec__grille { grid-template-columns: 1fr; gap: 36px; }
.sec--large .sec__tete { text-align: center; }
.sec--large .sec__colle { position: static; }
.sec--large .sec__tete h2 { display: inline-block; }
.sec--large .sec__repere { margin: 14px auto 0; padding-left: 0; max-width: 56ch; }
.sec--large .sec__corps > .chapo { text-align: center; max-width: 56ch; margin-left: auto; margin-right: auto; }
.sec--large .sec__corps > p:not(.chapo), .sec--large .sec__corps > .cotation--etapes { max-width: 68ch; margin-left: auto; margin-right: auto; }
.sec--large .liste { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* 02/11 (choix d'Antoine) : plus de ligne boiteuse (4 + 2, 4 + 1, 3 + 1). Grille de 6 pistes,
   chaque carte en couvre 2 (3 par ligne) ou 3 (2 par ligne) ; une dernière carte seule est centrée.
     au-delà de 1 180 px : 6 → 3 + 3, 5 → 3 + 2 centré, 4 → 4 (inchangé)
     1 001 à 1 180 px    : 6 → 3 + 3, 5 → 3 + 2 centré, 4 → 2 + 2
     701 à 1 000 px      : deux colonnes, 6 → 2 + 2 + 2, 5 → 2 + 2 + 1 centré, 4 → 2 + 2
   Au-dessous de 700 px, la règle auto-fit ci-dessus reprend la main (une colonne). */
@media (min-width: 1001px) {
  .sec--large .liste:is(:has(> li:nth-child(5):last-child), :has(> li:nth-child(6):last-child)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sec--large .liste:is(:has(> li:nth-child(5):last-child), :has(> li:nth-child(6):last-child)) > li { grid-column: span 2; }
  .sec--large .liste:has(> li:nth-child(5):last-child) > li:nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .sec--large .liste:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .sec--large .liste:is(:has(> li:nth-child(4):last-child), :has(> li:nth-child(5):last-child), :has(> li:nth-child(6):last-child)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sec--large .liste:is(:has(> li:nth-child(4):last-child), :has(> li:nth-child(5):last-child), :has(> li:nth-child(6):last-child)) > li { grid-column: span 2; }
  .sec--large .liste:has(> li:nth-child(5):last-child) > li:nth-child(5) { grid-column: 2 / span 2; }
}
.sec--large .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sec--large .cotation--etapes { max-width: none !important; }
@media (max-width: 1000px) { .sec--large .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .sec--large .etapes { grid-template-columns: 1fr; }
  .sec--large .sec__tete { text-align: left; }
  .sec--large .sec__repere { margin-left: 0; }
  .sec--large .sec__corps > .chapo { text-align: left; }
}

/* Les icônes des étapes, sur une pastille de couleur */
.etape__ico { width: 56px; height: 52px; padding: 8px 9px; border-radius: 12px; stroke: #0E1714; background: #F4E1BE; }
.etapes li:nth-child(1) .etape__ico { background: #D3E2EF; }
.etapes li:nth-child(2) .etape__ico { background: #F4E1BE; }
.etapes li:nth-child(3) .etape__ico { background: #D9E5D2; }
.etapes li:nth-child(4) .etape__ico { background: #F1D6CB; }
.etape__ico .p { stroke: #9A5A0C; }
.etape__ico rect.p { fill: #9A5A0C; }

/* La pièce « écrite à la main », dans les deux coupes */
.coupes__col .piece { background: #F4E1BE; color: #0E1714; }

/* Vignette de l'identité visuelle : une marque, un nuancier, une police */
.vign--ident { display: flex; align-items: center; justify-content: center; gap: 18px; }
.vign__marque { width: 42px; height: 42px; border-radius: 50% 50% 6px 50%; background: #0E1714; position: relative; }
.vign__marque::after { content: ""; position: absolute; left: 14px; top: 14px; width: 14px; height: 14px; border-radius: 3px; background: #D88C22; }
.vign__nuancier { display: grid !important; grid-template-columns: repeat(2, 16px); gap: 4px; }
.vign__nuancier i { height: 16px; border-radius: 3px; }
.vign__nuancier i:nth-child(1) { background: #0E1714; } .vign__nuancier i:nth-child(2) { background: #D88C22; }
.vign__nuancier i:nth-child(3) { background: #FFFFFF; } .vign__nuancier i:nth-child(4) { background: #8E3B2A; }
.vign--ident > b { font-family: var(--t); font-size: 30px; }

/* La couche du suivi avait un fond presque transparent, qui écrasait son aplat (vu le 30/10). */
.eclatee__couche--suivi .plan.aplat { background: var(--aplat); }

/* Vue éclatée : les axes de montage passent DERRIÈRE les plans (corrigé le 30/10,
   ils traversaient les cartes). */
.eclatee .plan { z-index: 1; }
.eclatee__couche:not(:last-child)::after { z-index: 0; }

/* Le plan de ville du référencement local (30/10) : épingle et « Votre société » */
.vign--plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan__ilots rect { fill: rgba(255,255,255,.6); }
.plan__parc { fill: #BFD6B4; }
.plan__riviere { fill: none; stroke: #A6C3DD; stroke-width: 9; stroke-linecap: round; }
.plan__rue { fill: none; stroke: #FFFFFF; stroke-width: 8; }
.plan__rue--p { stroke-width: 4; }
.plan__epingle { fill: #D88C22; stroke: #0E1714; stroke-width: 1.2; }
.plan__etiq { fill: #FFFFFF; stroke: #0E1714; stroke-width: 1.2; }
.vign--plan text { font: 700 11px var(--f); fill: #0E1714; }
.vign--plan svg { overflow: visible; }

/* ── Réalisations à égalité (30/10, choix 1b) ────────────────────────── */
.reals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 4px 0 30px; }
.reals .cadre { border: 1.5px solid var(--trait); border-radius: 8px; overflow: hidden; background: var(--carte); }
.reals .cadre img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; }
.reals .captures__barre { padding: 6px 9px; gap: 4px; }
.reals .captures__barre b { width: 6px; height: 6px; }
.reals__item p { margin: 12px 0 0; font-size: .95rem; line-height: 1.35; }
.reals__item p b { display: block; color: var(--texte); font-weight: 600; }
.reals__item p em { font-style: normal; font-size: .82rem; color: var(--ocre); font-weight: 600; }
#realisations .sec__corps > p:last-child { text-align: center; }
@media (max-width: 980px) { .reals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .reals { gap: 14px; } .reals__item p { font-size: .85rem; } }

/* ── Deux fenêtres : le site couvert, le site net (30/10, choix 2a) ───── */
.fenetres { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 14px 0 44px; max-width: 640px; }
.fen { position: relative; border-radius: 9px; overflow: hidden; background: #F6F7F4; color: #0E1714; border: 1.5px solid rgba(255,255,255,.18); }
.fen .captures__barre { border-bottom-color: #D2DAD4; background: #E8EDE9; }
.fen .captures__barre b { background: #B9C4BD; }
.fen__page { padding: 14px 16px 18px; display: grid; gap: 7px; height: 230px; align-content: start; }
.fen__page i { display: block; border-radius: 3px; }
.fen__logo { width: 22px; height: 22px; background: #D88C22; border-radius: 5px !important; margin-bottom: 4px; }
.fen__t { height: 11px; width: 82%; background: #0E1714; }
.fen__t--c { width: 56%; }
.fen__photo { height: 66px; background: #D9E5D2; margin: 4px 0; }
.fen__l { height: 6px; width: 92%; background: #D2DAD4; }
.fen__l--c { width: 64%; }
.fen__btn { justify-self: start; margin-top: 6px; padding: 5px 12px; border-radius: 5px; background: #D88C22; font-size: .72rem; font-weight: 700; }
.fen > p { margin: 0; padding: 10px 14px 12px; font-size: .84rem; font-weight: 600; text-align: center; background: #FFFFFF; border-top: 1px solid #D2DAD4; position: relative; z-index: 3; }
/* Ce qui s'ouvre par-dessus, sur le site chargé */
.fen--charge .fen__page { filter: saturate(.5); opacity: .55; }
.fen__pop { position: absolute; left: 14%; right: 14%; top: 64px; z-index: 2; padding: 14px 14px 12px; border-radius: 8px; background: #FFFFFF;
  border: 1.5px solid #0E1714; box-shadow: 0 10px 24px rgba(0,0,0,.25); display: grid; gap: 6px; font-size: .74rem; }
.fen__pop s { position: absolute; right: 9px; top: 5px; text-decoration: none; font-size: .9rem; color: #46534D; }
.fen__pop b { font-family: var(--t); font-size: .86rem; }
.fen__pop i { display: block; height: 5px; border-radius: 3px; background: #D2DAD4; }
.fen__pop i + i { width: 70%; }
.fen__pop span { justify-self: start; margin-top: 4px; padding: 4px 9px; border-radius: 4px; background: #8E3B2A; color: #FFFFFF; font-weight: 700; font-size: .68rem; }
.fen__cookies { position: absolute; left: 0; right: 0; bottom: 42px; z-index: 2; padding: 10px 12px; background: #F1D6CB; border-top: 1.5px solid #8E3B2A;
  display: grid; gap: 6px; font-size: .7rem; }
.fen__cookies i { display: block; height: 5px; width: 80%; border-radius: 3px; background: rgba(14,23,20,.2); }
.fen__cookies span { display: flex; gap: 6px; }
.fen__cookies u { text-decoration: none; padding: 3px 8px; border-radius: 4px; border: 1.2px solid #0E1714; font-weight: 700; font-size: .64rem; }
.fen__cookies u:first-child { background: #0E1714; color: #FFFFFF; }
.fen__chat { position: absolute; right: 12px; bottom: 112px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: #3E6E9A; color: #FFFFFF;
  display: grid; place-items: center; font-weight: 700; font-size: .8rem; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.fen--nette { border: 2px solid #D88C22; }
.fen--nette > p { background: #F4E1BE; }
@media (max-width: 620px) { .fenetres { grid-template-columns: 1fr; max-width: 340px; } }
html.v-alterne .fen > p { color: #0E1714; }
.fen__pop { left: 9%; right: 24%; top: 58px; }
