/*
Theme Name: Bali Ganesha
Theme URI: https://bali-ganesha-invest.com
Author: Ccdigital
Description: Thème bloc sur mesure pour Bali Ganesha Invest. Toutes les pages sont composées de blocs natifs, modifiables dans l’éditeur.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bali-ganesha
*/

/* ===== Maquette (site/styles.css) ===== */
:root {
  --noir: #0E0E0E;
  --blanc: #FFFFFF;
  --gris-clair: #F4F4F5;
  --gris-texte: #6B6B6B;
  --filet: #E6E6E6;
  --rouge: #E5484D;
  --jaune: #F5B301;
  --bleu: #2F6FEB;
  --rayon: 12px;
  --rayon-petit: 8px;
  --texte: "Manrope", system-ui, sans-serif;
  --marque: "Anton", "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font: 400 14px/1.6 var(--texte);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; hyphens: none; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.enveloppe { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--rayon-petit);
  font-weight: 600; font-size: 13.5px; border: 1px solid transparent; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-noir { background: var(--noir); color: var(--blanc); }
.btn-noir:hover { background: #2a2a2a; }
.btn-contour { border-color: var(--filet); background: var(--blanc); }
.btn-contour:hover { border-color: var(--noir); }
.btn-blanc { background: var(--blanc); color: var(--noir); }
.btn-petit { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-plein { width: 100%; }

.rond {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--filet); background: var(--blanc); color: var(--noir);
}
.rond-coeur { color: var(--rouge); }
.rond-coeur svg { fill: var(--rouge); stroke: var(--rouge); }
.inactif svg { fill: none !important; }

/* ---------- En-tête ---------- */
.entete { border-bottom: 1px solid var(--filet); background: var(--blanc); position: sticky; top: 0; z-index: 20; }
.entete-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.marque { display: flex; align-items: center; gap: 10px; }
.marque-pastille { width: 36px; height: 36px; border-radius: var(--rayon-petit); background: var(--noir); overflow: hidden; }
.marque-pastille img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5) translateY(6%); }
.marque-nom { font: 400 21px/1 var(--marque); letter-spacing: .02em; }
.menu { display: flex; gap: 26px; margin-inline: auto; font-size: 13.5px; font-weight: 500; color: var(--gris-texte); }
.menu a:hover, .menu a.actif { color: var(--noir); }
.menu a.actif { font-weight: 700; }
.entete-actions { display: flex; align-items: center; gap: 10px; }
.langue { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); font-weight: 600; font-size: 13px; }
.langue svg { width: 12px; height: 12px; transform: rotate(90deg); }
.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: var(--rayon-petit); background: var(--noir); padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--blanc); border-radius: 2px; }

/* ---------- Fil + galerie ---------- */
.fil { display: flex; gap: 8px; align-items: center; padding: 20px 0; font-size: 12.5px; color: var(--gris-texte); }
.fil strong { color: var(--noir); font-weight: 600; }

.galerie {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px;
}
.galerie figure { position: relative; border-radius: var(--rayon); overflow: hidden; background: var(--gris-clair); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie-principale { grid-row: span 2; }
.galerie-plus.plan { background: var(--blanc); border: 1px solid var(--filet); }
.galerie-plus.plan img { object-fit: contain; padding: 14px; }
.pastille-blanche {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--blanc); color: var(--noir); border-radius: var(--rayon-petit); padding: 9px 14px;
  font-weight: 600; font-size: 12.5px; box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.pastille-blanche svg { width: 15px; height: 15px; }

/* ---------- Fiche ---------- */
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 36px; align-items: start; }
.fiche-laterale { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }

.bloc { padding: 28px 0; border-bottom: 1px solid var(--filet); }
.bloc:first-child { padding-top: 0; }
.bloc:last-child { border-bottom: 0; }
.titre-bloc { font-size: 17px; margin-bottom: 18px; }

.intro-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.surtitre { font-size: 12.5px; color: var(--gris-texte); font-weight: 500; margin-bottom: 4px; }
.intro h1 { font-size: 34px; line-height: 1.1; }
.intro-icones { display: flex; gap: 8px; }
.texte { color: var(--gris-texte); font-size: 14.5px; max-width: 64ch; }
.texte + .texte { margin-top: 12px; }
.replie { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.replie.ouvert { display: block; }
.lien-suite { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 13.5px; border-bottom: 1.5px solid var(--noir); }

.details { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.details li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 14px 16px; background: var(--gris-clair); border-radius: var(--rayon-petit);
}
.details svg { grid-row: span 2; width: 22px; height: 22px; color: var(--bleu); }
.details span { font-size: 12px; color: var(--gris-texte); line-height: 1.3; }
.details b { font-size: 15px; line-height: 1.3; }
.note { margin-top: 12px; font-size: 12px; color: var(--gris-texte); }

.inclus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; }
.inclus li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; }
.inclus svg { color: var(--bleu); }

.video { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 9; background: var(--noir); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-titre { position: absolute; left: 20px; top: 18px; color: var(--blanc); font-weight: 700; font-size: 17px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.video-lecture {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .25s;
}
.video-lecture:hover { transform: scale(1.08); }
.video-lecture span { width: 0; height: 0; border-left: 18px solid var(--noir); border-block: 11px solid transparent; margin-left: 5px; }
.video-barre { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 14px; color: var(--blanc); font-size: 12px; font-weight: 600; }
.video-piste { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; }
.video-piste i { display: block; width: 22%; height: 100%; background: var(--blanc); border-radius: 3px; }

.carte { position: relative; border-radius: var(--rayon); overflow: hidden; height: 340px; background: var(--gris-clair); }
.carte iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.15); }
.carte-etiquette {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -70%);
  display: flex; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; background: var(--blanc);
  border-radius: var(--rayon-petit); box-shadow: 0 10px 30px rgba(0,0,0,.18); pointer-events: none;
}
.carte-etiquette::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--blanc); transform: translateX(-50%) rotate(45deg); }
.carte-etiquette img { width: 54px; height: 42px; object-fit: cover; border-radius: 6px; }
.carte-etiquette b { display: block; font-size: 13px; }
.carte-etiquette span { font-size: 11.5px; color: var(--gris-texte); }

/* ---------- Colonne latérale ---------- */
.carte-lat { border: 1px solid var(--filet); border-radius: var(--rayon); padding: 18px; background: var(--blanc); }
.lat-tete { display: flex; align-items: center; gap: 10px; }
.lat-icone { width: 34px; height: 34px; border-radius: 50%; background: var(--gris-clair); display: grid; place-items: center; }
.lat-icone svg { width: 16px; height: 16px; }
.lat-label { font-size: 12.5px; color: var(--gris-texte); font-weight: 600; }
.prix { margin-left: auto; text-align: right; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.prix small { display: block; font-size: 11px; font-weight: 500; color: var(--gris-texte); letter-spacing: 0; margin-bottom: 4px; }
.lat-badge { margin-left: auto; font-size: 11.5px; font-weight: 700; }
.lat-texte { font-size: 12.5px; color: var(--gris-texte); margin: 14px 0; }
.lat-texte b { color: var(--noir); font-weight: 700; }
.lat-note { font-size: 11.5px; color: var(--gris-texte); margin-top: 10px; }
.agent { display: flex; align-items: center; gap: 12px; margin: 12px 0 14px; }
.agent-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--noir); }
.agent-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5) translateY(6%); }
.agent b { display: block; font-size: 14px; }
.agent span { font-size: 12px; color: var(--gris-texte); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.duo .btn { height: 40px; }

.simulateur .lat-label { display: block; margin-bottom: 12px; }
.sim-options { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--filet); }
.sim-options label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; cursor: pointer; }
.sim-options em { margin-left: auto; font-style: normal; color: var(--gris-texte); font-size: 12px; }
.sim-options input { accent-color: var(--noir); width: 16px; height: 16px; margin: 0; }
.sim-champs { display: grid; gap: 12px; padding: 14px 0; }
.sim-champs label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--gris-texte); grid-template-columns: 1fr auto; }
.sim-champs select, .sim-champs input[type=range] { grid-column: 1 / -1; }
.sim-champs select { height: 38px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); padding: 0 10px; font: 500 13px var(--texte); color: var(--noir); background: var(--blanc); }
.sim-champs output { color: var(--noir); }
.sim-champs input[type=range] { accent-color: var(--noir); width: 100%; margin: 0; }
.sim-resultats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.sim-resultats div { background: var(--gris-clair); border-radius: var(--rayon-petit); padding: 10px 12px; }
.sim-resultats dt { font-size: 11px; color: var(--gris-texte); font-weight: 500; }
.sim-resultats dd { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }

/* ---------- Avis ---------- */
.avis { padding: 96px 0 72px; }
.avis-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.avis-tete h2 { font-size: 30px; }
.avis-tete p { max-width: 380px; font-size: 13px; color: var(--gris-texte); }
.avis-corps { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
.note-globale { display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: end; }
.note-globale .note-nb { grid-column: 1; }
.note-globale .barres { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.note-chiffre { font-size: 128px; font-weight: 600; letter-spacing: -0.06em; line-height: .9; }
.note-chiffre small { font-size: 26px; letter-spacing: 0; color: var(--gris-texte); font-weight: 500; margin-left: 6px; }
.note-nb { font-size: 12.5px; color: var(--gris-texte); margin: 10px 0 0; }
.barres { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.barres li { display: grid; grid-template-columns: 16px 12px 1fr; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.barres svg { width: 14px; height: 14px; fill: var(--jaune); stroke: var(--jaune); }
.barres span { height: 6px; background: var(--gris-clair); border-radius: 6px; overflow: hidden; }
.barres i { display: block; height: 100%; background: var(--noir); border-radius: 6px; }
.temoignages { overflow: hidden; }
.piste-avis { display: flex; gap: 16px; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.temoignage { flex: 0 0 calc(50% - 8px); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 22px; }
.tem-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tem-qui { display: flex; align-items: center; gap: 10px; }
.tem-qui img { width: 42px; height: 42px; border-radius: var(--rayon-petit); object-fit: cover; }
.tem-qui b { display: block; font-size: 13.5px; }
.tem-qui span, .tem-bien { font-size: 11.5px; color: var(--gris-texte); }
.tem-bien { font-weight: 600; color: var(--noir); }
.etoiles { display: flex; gap: 2px; margin: 14px 0 10px; }
.etoiles svg { width: 16px; height: 16px; fill: var(--jaune); stroke: var(--jaune); }
.temoignage p { font-size: 14px; font-weight: 600; line-height: 1.55; }
.points { display: flex; gap: 6px; margin-top: 22px; }
.points button { width: 28px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: var(--filet); transition: background .2s, width .2s; }
.points button.actif { background: var(--bleu); width: 56px; }

/* ---------- Suggestions ---------- */
.suggestions { padding: 24px 0 96px; }
.suggestions h2 { text-align: center; font-size: 30px; margin-bottom: 36px; }
.grille-biens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bien figure { position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--rayon); overflow: hidden; margin-bottom: 14px; }
.bien figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bien:hover figure img { transform: scale(1.05); }
.etiquette { position: absolute; left: 12px; top: 12px; padding: 6px 12px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.rond-mini { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border: 0; color: var(--rouge); }
.rond-mini svg { width: 15px; height: 15px; fill: var(--rouge); stroke: var(--rouge); }
.bien h3 { font-size: 16px; margin-bottom: 6px; }
.bien p { font-size: 12.5px; color: var(--gris-texte); line-height: 1.55; }
.bien-ligne { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; font-size: 12.5px; color: var(--gris-texte); }
.bien-ligne span { display: flex; align-items: center; gap: 5px; }
.bien-ligne svg { width: 15px; height: 15px; }
.bien-ligne b { font-size: 16px; color: var(--noir); }
.bien-carac { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--filet); display: flex; gap: 18px; font-size: 12px; font-weight: 600; }
.bien-carac li { display: flex; align-items: center; gap: 6px; }
.bien-carac svg { width: 15px; height: 15px; color: var(--bleu); }

/* ---------- Pied ---------- */
.pied { position: relative; overflow: hidden; background: var(--noir); color: rgba(255,255,255,.62); padding: 80px 0 28px; font-size: 13px; }
.pied .enveloppe { position: relative; z-index: 1; }
.pied-haut { display: grid; grid-template-columns: auto minmax(0, 380px); justify-content: space-between; gap: 56px; align-items: start; padding-bottom: 56px; }
.pied-marque { font: 400 clamp(52px, 7.6vw, 112px)/.9 var(--marque); white-space: nowrap; color: var(--blanc); letter-spacing: .005em; }
.pied-pitch p { margin-bottom: 12px; line-height: 1.65; }
.pied-pitch b { color: var(--blanc); }
.pied-pitch .btn { margin-top: 8px; }
.pied-pitch .btn svg { width: 15px; height: 15px; }
.pied-colonnes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 56px; }
.pied h4 { color: var(--blanc); font-size: 13px; margin-bottom: 14px; }
.pied-colonnes a { display: block; margin-bottom: 8px; }
.pied-colonnes a:hover { color: var(--blanc); }
.pied-colonnes p { line-height: 1.6; }
.sociaux { display: flex; gap: 8px; }
.sociaux a { width: 34px; height: 34px; border-radius: var(--rayon-petit); background: var(--blanc); color: var(--noir); display: grid; place-items: center; font-weight: 800; font-size: 12px; margin: 0; }
.pied-bas { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.pied-bas a { margin-left: 22px; }
.pied-filigrane { position: absolute; right: -40px; bottom: -150px; width: 520px; opacity: .16; filter: grayscale(1); mix-blend-mode: screen; clip-path: inset(24% 0 0 0); pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu, .langue { display: none; }
  .burger { display: flex; }
  .fiche { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}
@media (max-width: 860px) {
  .entete-in { height: 64px; }
  .entete-actions .btn, .langue { display: none; }
  .burger { display: flex; margin-left: auto; }
  .entete-actions { margin-left: auto; }
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 130px 130px; gap: 8px; }
  .galerie-principale { grid-column: span 2; grid-row: auto; }
  .galerie figure:nth-child(4) { display: none; }
  .galerie figure:nth-child(2) { grid-row: span 2; }
  .fiche { grid-template-columns: 1fr; }
  .fiche-laterale { position: static; order: 2; }
  .intro h1 { font-size: 26px; }
  .details, .inclus { grid-template-columns: 1fr 1fr; }
  .avis { padding: 72px 0 48px; }
  .avis-tete { flex-direction: column; gap: 12px; }
  .avis-tete h2, .suggestions h2 { font-size: 24px; }
  .avis-corps { grid-template-columns: 1fr; gap: 32px; }
  .note-chiffre { font-size: 104px; }
  .note-globale { column-gap: 24px; }
  .temoignage { flex-basis: 100%; }
  .grille-biens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-right: -16px; padding-right: 16px; }
  .bien { flex: 0 0 82%; scroll-snap-align: start; }
  .pied { padding-top: 56px; }
  .pied-haut { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .pied-marque { font-size: 15.5vw; }
  .pied-colonnes { grid-template-columns: 1fr; gap: 24px; }
  .pied-bas { flex-direction: column; }
  .pied-bas a { margin: 0 16px 0 0; }
}
@media (max-width: 480px) {
  .details li { padding: 12px; column-gap: 10px; }
  .inclus { grid-template-columns: 1fr; }
  .carte { height: 280px; }
}

/* =====================================================================
   Composants des pages déclinées
   ===================================================================== */
main.enveloppe { padding-bottom: 24px; }
.chapo { font-size: 16px; line-height: 1.65; color: var(--gris-texte); max-width: 60ch; }
.accroche { font-size: 16px; font-weight: 700; margin-bottom: 10px; }

/* Menu mobile */
.menu-mobile { display: none; }
.entete.ouvert .menu-mobile {
  display: flex; flex-direction: column; gap: 2px; padding: 8px 16px 20px;
  border-top: 1px solid var(--filet); background: var(--blanc);
}
.menu-mobile a:not(.btn) { padding: 12px 0; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--filet); }
.menu-mobile .btn { margin-top: 14px; }

/* Sections génériques */
.section { padding: 72px 0 0; }
.section-serree { padding-top: 32px; }
.section-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 32px; }
.section-tete h2, .duo-texte h2, .bandeau-guide h2, .cta-final h2, .avec-sommaire h2 { font-size: 30px; line-height: 1.15; }
.section-tete p { max-width: 400px; font-size: 13.5px; color: var(--gris-texte); }

/* En-tête de page */
.tete-page { padding: 8px 0; }
.tete-page h1 { font-size: 44px; line-height: 1.08; margin: 4px 0 14px; max-width: 18ch; }
.tete-page.avec-image { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.tete-image { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 10; }
.tete-image img { width: 100%; height: 100%; object-fit: cover; }

/* Hero accueil */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 40px 0 8px; }
.hero h1 { font-size: 54px; line-height: 1.04; letter-spacing: -0.035em; margin: 6px 0 18px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-chiffres { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--filet); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero-chiffres b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.hero-chiffres span { font-size: 12px; color: var(--gris-texte); }
.hero-mosaique { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 560px; }
.hero-mosaique figure { border-radius: var(--rayon); overflow: hidden; }
.hero-mosaique img { width: 100%; height: 100%; object-fit: cover; }
.hero-mosaique .m1 { grid-row: span 2; }
.hero-mosaique .pastille-blanche { left: 14px; right: auto; }
.hero-mosaique .pastille-blanche svg { color: var(--rouge); }

/* Cartes de service */
.cartes-3, .cartes-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cartes-4 { grid-template-columns: repeat(4, 1fr); }
.carte-service { display: block; background: var(--gris-clair); border-radius: var(--rayon); padding: 26px; transition: transform .25s, box-shadow .25s; }
a.carte-service:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.carte-service > svg { width: 28px; height: 28px; color: var(--bleu); margin-bottom: 22px; }
.carte-service h3 { font-size: 17px; margin-bottom: 8px; }
.carte-service p { font-size: 13px; color: var(--gris-texte); }
.carte-service .lien-suite { margin-top: 18px; }

/* Lien étiré sur une carte */
.bien, .article-carte { position: relative; }
.bien-lien { position: absolute; inset: 0; z-index: 1; border-radius: var(--rayon); }
.bien .rond-mini { z-index: 2; }
.bien-ligne b small { font-size: 11px; font-weight: 500; color: var(--gris-texte); }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.etapes li { border: 1px solid var(--filet); border-radius: var(--rayon); padding: 22px 20px 24px; }
.etapes b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 26px; }
.etapes h3 { font-size: 15px; margin-bottom: 6px; }
.etapes p { font-size: 12.5px; color: var(--gris-texte); }
.etapes-liste { list-style: none; margin: 0; padding: 0; counter-reset: e; display: grid; gap: 12px; }
.etapes-liste li { counter-increment: e; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 14px; }
.etapes-liste li::before { content: counter(e); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--noir); color: var(--blanc); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.etapes-liste b { font-size: 14px; }
.etapes-liste span { font-size: 13px; color: var(--gris-texte); }

/* Texte + image */
.duo-texte { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.duo-texte h2 { margin: 6px 0 18px; }
.duo-texte .texte + .texte { margin-top: 12px; }
.duo-texte .btn { margin-top: 26px; }
.duo-image { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 5 / 4; }
.duo-image img { width: 100%; height: 100%; object-fit: cover; }
.liste-check { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.liste-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.liste-check svg { color: var(--bleu); margin-top: 2px; }
.liste-check li span { font-weight: 400; color: var(--gris-texte); }
.liste-check li span b { color: var(--noir); font-weight: 700; }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffre { padding: 8px 28px; border-left: 1px solid var(--filet); }
.chiffre:first-child { border-left: 0; padding-left: 0; }
.chiffre b { display: block; font-size: 52px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.05; }
.chiffre span { font-size: 12.5px; color: var(--gris-texte); }

/* Couverture du guide */
.couverture {
  position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 300px; justify-self: center;
  background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 26px 24px 26px 32px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.couverture::after { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.14); }
.couv-logo { width: 54px; height: 54px; border-radius: var(--rayon-petit); overflow: hidden; }
.couv-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5) translateY(6%); }
.couv-sur { margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.couv-titre { font: 400 58px/.92 var(--marque); margin: 10px 0 14px; }
.couv-sous { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.75); }

/* Bandeau guide */
.bandeau-guide { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; background: var(--gris-clair); border-radius: var(--rayon); padding: 48px 56px; margin-top: 72px; }
.guide-texte h2 { margin: 6px 0 12px; }
.guide-texte > p:not(.surtitre) { color: var(--gris-texte); font-size: 14px; max-width: 56ch; margin-bottom: 22px; }

/* Formulaires */
.form-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.champ { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--gris-texte); margin-bottom: 12px; }
.champ em { font-style: normal; font-weight: 400; }
.champ input, .champ select, .champ textarea {
  width: 100%; height: 46px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--blanc);
  padding: 0 14px; font: 500 14px var(--texte); color: var(--noir);
}
.champ textarea { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--noir); outline-offset: -1px; }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--gris-texte); margin: 4px 0 18px; }
.consentement input { accent-color: var(--noir); width: 16px; height: 16px; margin: 1px 0 0; flex: none; }
.consentement a { text-decoration: underline; }
.form-merci { display: none; }
.envoye > form { display: none; }
.envoye > .form-merci { display: block; }
.merci-titre { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.merci-titre svg { color: var(--bleu); width: 22px; height: 22px; }
.form-merci p:not(.merci-titre) { color: var(--gris-texte); font-size: 13.5px; margin-bottom: 16px; }
.bloc-form { padding: 28px; }

/* Articles */
.grille-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grille-articles.une .grand { grid-column: span 3; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto auto auto 1fr; column-gap: 40px; margin-bottom: 20px; }
.grille-articles.une .grand figure { grid-row: 1 / span 5; margin: 0; aspect-ratio: 16 / 10; }
.grille-articles.une .grand .article-meta { align-self: end; margin-top: 40px; }
.grille-articles.une .grand h3 { font-size: 28px; line-height: 1.15; }
.grille-articles.une .grand p:not(.article-meta) { color: var(--gris-texte); font-size: 14px; margin-top: 12px; }
.article-carte figure { position: relative; aspect-ratio: 16 / 11; border-radius: var(--rayon); overflow: hidden; margin-bottom: 14px; }
.article-carte figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article-carte:hover figure img { transform: scale(1.05); }
.article-meta { font-size: 12px; color: var(--gris-texte); margin-bottom: 6px; }
.article-carte h3 { font-size: 16.5px; line-height: 1.35; }
.article-carte .lien-suite { margin-top: 12px; justify-self: start; align-self: start; }

.article-tete { max-width: 820px; padding: 8px 0 28px; }
.article-tete h1 { font-size: 44px; line-height: 1.08; margin: 10px 0 16px; }
.article-tete .surtitre { display: flex; align-items: center; gap: 10px; }
.etiquette-plate { position: static; background: var(--gris-clair); backdrop-filter: none; color: var(--noir); }
.article-image { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 21 / 9; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }

/* Sommaire + prose */
.avec-sommaire { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 56px; }
.sommaire { position: sticky; top: 96px; display: grid; gap: 14px; }
.sommaire nav { display: grid; border-left: 1px solid var(--filet); }
.sommaire nav a { padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13px; color: var(--gris-texte); font-weight: 500; }
.sommaire nav a.actif { border-left-color: var(--noir); color: var(--noir); font-weight: 700; }
.mini-guide { margin-top: 10px; }
.mini-guide p b { font-size: 14px; }
.prose { max-width: 720px; }
.prose section + section { margin-top: 44px; }
.prose h2 { font-size: 26px !important; margin-bottom: 14px; }
.prose p { font-size: 15.5px; line-height: 1.75; color: #3a3a3a; }
.prose p + p { margin-top: 14px; }
.prose a:not(.btn):not(.lien-suite) { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--noir); }
.prose strong, .prose b { color: var(--noir); }
.prose .liste-check li { font-size: 15px; }
.prose-seule { padding: 40px 0 0; }
.auteur { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--filet); }
.auteur b { display: block; font-size: 14px; }
.auteur span { font-size: 12px; color: var(--gris-texte); }
section[id] { scroll-margin-top: 96px; }

/* FAQ */
.faq { border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 15.5px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--filet); display: grid; place-items: center; font-weight: 500; font-size: 18px; transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.faq details p { padding: 0 56px 22px 0; color: var(--gris-texte); font-size: 14.5px; line-height: 1.7; }
.faq-groupe + .faq-groupe { margin-top: 56px; }
.faq-groupe h2 { font-size: 22px !important; margin-bottom: 8px; }

/* Filtres + comparatif */
.filtres { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filtres button { height: 38px; padding: 0 16px; border-radius: var(--rayon-petit); border: 1px solid var(--filet); background: var(--blanc); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.filtres button span { font-size: 11px; color: var(--gris-texte); }
.filtres button.actif { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.filtres button.actif span { color: rgba(255,255,255,.6); }
.bien.masque { display: none; }
.tableau-defile { overflow-x: auto; border: 1px solid var(--filet); border-radius: var(--rayon); }
.comparatif { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.comparatif th, .comparatif td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--filet); }
.comparatif tbody tr:last-child th, .comparatif tbody tr:last-child td { border-bottom: 0; }
.comparatif thead th { font-size: 15px; background: var(--gris-clair); }
.comparatif tbody th { font-weight: 500; color: var(--gris-texte); width: 26%; }

/* Mission */
.mission { text-align: center; padding: 96px 0 24px; }
.mission-texte { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; max-width: 26ch; margin: 10px auto 0; text-wrap: balance; }

/* Contact */
.fiche-contact { padding-top: 24px; }
.fiche-contact .lat-texte { margin-bottom: 0; }

/* Appel final */
.cta-final { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 72px; padding: 44px 48px; border: 1px solid var(--filet); border-radius: var(--rayon); }
.cta-final h2 { margin: 4px 0 8px; }
.cta-final p:not(.surtitre) { color: var(--gris-texte); font-size: 14px; max-width: 54ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Landing guide */
.guide-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding: 16px 0 0; }
.guide-hero h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.035em; margin: 8px 0 16px; }
.guide-hero .bloc-form { margin-top: 28px; }
.guide-hero .note { margin-top: 12px; }
.guide-hero-visuel { display: grid; place-items: center; background: var(--gris-clair); border-radius: var(--rayon); padding: 64px 40px; }
.guide-hero-visuel .couverture { max-width: 340px; }
.chapitres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--filet); }
.chapitres li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--filet); }
.chapitres li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--filet); }
.chapitres b { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.chapitres h3 { font-size: 15.5px; margin-bottom: 4px; }
.chapitres p { font-size: 13px; color: var(--gris-texte); }
.chapitres .bonus b { color: var(--bleu); }

/* ---------- Responsive des pages déclinées ---------- */
@media (max-width: 1080px) {
  .cartes-4 { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 860px) {
  .section { padding-top: 56px; }
  .section-tete { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .section-tete h2, .duo-texte h2, .bandeau-guide h2, .cta-final h2, .avec-sommaire h2 { font-size: 24px; }
  .tete-page h1, .article-tete h1 { font-size: 32px; }
  .tete-page.avec-image { grid-template-columns: 1fr; gap: 24px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .hero h1 { font-size: 36px; }
  .hero-mosaique { height: 380px; grid-template-columns: 1.3fr 1fr; gap: 8px; }
  .hero-chiffres { gap: 12px; }
  .hero-chiffres b { font-size: 19px; }
  .cartes-3, .cartes-4 { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .etapes li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
  .etapes b { grid-row: span 2; font-size: 30px; margin: 0; }
  .duo-texte { grid-template-columns: 1fr; gap: 28px; }
  .duo-texte .duo-image { order: -1; }
  .chiffres { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .chiffre { padding: 0 0 0 16px; }
  .chiffre:nth-child(odd) { border-left: 0; padding-left: 0; }
  .chiffre b { font-size: 38px; }
  .bandeau-guide { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px; }
  .bandeau-guide .couverture { max-width: 220px; }
  .couv-titre { font-size: 46px; }
  .form-ligne { grid-template-columns: 1fr; gap: 0; }
  .grille-articles { grid-template-columns: 1fr; gap: 28px; }
  .grille-articles.une .grand { grid-column: auto; display: block; margin: 0; }
  .grille-articles.une .grand figure { aspect-ratio: 16 / 11; margin-bottom: 14px; }
  .grille-articles.une .grand .article-meta { margin-top: 0; }
  .grille-articles.une .grand h3 { font-size: 20px; }
  .article-image { aspect-ratio: 16 / 10; }
  .avec-sommaire { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .sommaire { position: static; }
  .article-corps .sommaire { display: none; }
  .prose p { font-size: 15px; }
  .faq details p { padding-right: 0; }
  .mission-texte { font-size: 24px; }
  .cta-final { flex-direction: column; align-items: flex-start; padding: 28px 20px; gap: 20px; }
  .cta-actions { justify-content: flex-start; }
  .guide-hero { grid-template-columns: 1fr; gap: 32px; }
  .guide-hero h1 { font-size: 34px; }
  .guide-hero-visuel { order: -1; padding: 32px 24px; }
  .guide-hero-visuel .couverture { max-width: 220px; }
  .chapitres { grid-template-columns: 1fr; }
  .chapitres li, .chapitres li:nth-child(even) { padding: 18px 0; border-left: 0; grid-template-columns: 48px 1fr; }
  .bloc-form { padding: 20px; }
  .comparatif th, .comparatif td { padding: 12px 14px; }
}

/* ===== Icônes (générées depuis scripts/sprite.svg) ===== */
:root {
  --i-bed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7M3 14h18M3 18v2M21 18v2M7 9V6h4v3M13 9V6h4v3'/%3E%3C/svg%3E");
  --i-bath: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16v3a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4v-3ZM6 12V5a2 2 0 0 1 4 0M7 19l-1 2M17 19l1 2'/%3E%3C/svg%3E");
  --i-area: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4zM4 9h5V4M15 20v-5h5'/%3E%3C/svg%3E");
  --i-land: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M5 20l4-9 3 5 2-3 5 7M15 7a2 2 0 1 0 0-.01'/%3E%3C/svg%3E");
  --i-coin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M14.5 9.5c-.5-1-1.5-1.5-2.5-1.5-1.5 0-2.5.8-2.5 2s1 1.6 2.5 2 2.5.8 2.5 2-1 2-2.5 2c-1 0-2-.5-2.5-1.5M12 6.5V8M12 16v1.5'/%3E%3C/svg%3E");
  --i-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4'/%3E%3C/svg%3E");
  --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E");
  --i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-9-9.3C1.9 7.2 4.3 4 7.6 4c1.9 0 3.3 1 4.4 2.5C13.1 5 14.5 4 16.4 4 19.7 4 22.1 7.2 21 10.7 19.5 15.4 12 20 12 20Z'/%3E%3C/svg%3E");
  --i-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='2.5'/%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='19' r='2.5'/%3E%3Cpath d='m8.2 10.8 7.6-4.4M8.2 13.2l7.6 4.4'/%3E%3C/svg%3E");
  --i-calc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15v3M8 18h.01M12 18h.01'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
  --i-video: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='13' height='12' rx='2'/%3E%3Cpath d='m16 10 5-3v10l-5-3'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  --i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.5 2.9 1-6.1L3.2 9.5l6.1-.9Z'/%3E%3C/svg%3E");
  --i-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2V5ZM4 19a2 2 0 0 1 2-2h13M8 7h7'/%3E%3C/svg%3E");
  --i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7M5 10v10h14V10M10 20v-6h4v6'/%3E%3C/svg%3E");
  --i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='m11 12 9-9M17 6l3 3M15 8l2 2'/%3E%3C/svg%3E");
  --i-camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
  --i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 3.8 5.5 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.5-3.8-9S9.5 5.5 12 3Z'/%3E%3C/svg%3E");
  --i-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E");
  --i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --i-hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11V6a1.5 1.5 0 0 1 3 0v4M10 10V4.5a1.5 1.5 0 0 1 3 0V10M13 10V5.5a1.5 1.5 0 0 1 3 0V12M16 9.5a1.5 1.5 0 0 1 3 0V14a7 7 0 0 1-7 7h-1a6 6 0 0 1-5-2.7L3.5 14.5a1.5 1.5 0 0 1 2.5-1.7L7 14'/%3E%3C/svg%3E");
}
.ic-bed { --icone: var(--i-bed); }
.ic-bath { --icone: var(--i-bath); }
.ic-area { --icone: var(--i-area); }
.ic-land { --icone: var(--i-land); }
.ic-coin { --icone: var(--i-coin); }
.ic-cal { --icone: var(--i-cal); }
.ic-pin { --icone: var(--i-pin); }
.ic-check { --icone: var(--i-check); }
.ic-heart { --icone: var(--i-heart); }
.ic-share { --icone: var(--i-share); }
.ic-calc { --icone: var(--i-calc); }
.ic-mail { --icone: var(--i-mail); }
.ic-phone { --icone: var(--i-phone); }
.ic-video { --icone: var(--i-video); }
.ic-arrow { --icone: var(--i-arrow); }
.ic-grid { --icone: var(--i-grid); }
.ic-star { --icone: var(--i-star); }
.ic-book { --icone: var(--i-book); }
.ic-home { --icone: var(--i-home); }
.ic-key { --icone: var(--i-key); }
.ic-camera { --icone: var(--i-camera); }
.ic-globe { --icone: var(--i-globe); }
.ic-doc { --icone: var(--i-doc); }
.ic-eye { --icone: var(--i-eye); }
.ic-shield { --icone: var(--i-shield); }
.ic-hand { --icone: var(--i-hand); }
/* ===== Adaptations WordPress (scripts/wp.css) ===== */
/* Adaptations du balisage des blocs natifs. Le CSS de la maquette, au-dessus,
   reste la référence : ici on ne fait que raccorder le DOM de Gutenberg
   (figure.wp-block-image, div.wp-block-group, div.wp-block-button…) aux mêmes rendus.
   Rappel : le CSS des blocs est imprimé APRÈS cette feuille → surcharger par la
   spécificité, jamais par la position. */

/* ---------- Bases ---------- */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image, .wp-block-post-featured-image { margin: 0; }
.wp-block-image img { height: auto; }
.wp-block-image.cadre img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.principal { padding-bottom: 24px; }
.wp-site-blocks { overflow-x: clip; }

/* ---------- Icônes : masque CSS, couleur = currentColor ---------- */
.ic::before {
  content: ""; display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat;
}
:root {
  --i-star-plein: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.5 2.9 1-6.1L3.2 9.5l6.1-.9Z'/%3E%3C/svg%3E");
}

/* ---------- En-tête ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 30; }
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 46px; } }
.entete { position: static; }
.marque { display: flex; align-items: center; gap: 10px; flex: none; }
.marque-pastille.wp-block-site-logo { width: 36px; height: 36px; border-radius: var(--rayon-petit); background: var(--noir); overflow: hidden; }
.marque-pastille.wp-block-site-logo img { width: 36px; height: 36px; object-fit: cover; transform: scale(1.5) translateY(6%); }
.marque-nom { font: 400 21px/1 var(--marque); letter-spacing: .02em; }
.menu-principal { margin-inline: auto; }
.menu-principal .wp-block-navigation__container { gap: 26px; }
.menu-principal .wp-block-navigation-item__content { font-size: 13.5px; font-weight: 500; color: var(--gris-texte); }
.menu-principal .wp-block-navigation-item__content:hover,
.menu-principal .wp-block-navigation-item.actif > .wp-block-navigation-item__content { color: var(--noir); }
.menu-principal .wp-block-navigation-item.actif > .wp-block-navigation-item__content { font-weight: 700; }
.menu-principal .wp-block-navigation__responsive-container-open {
  width: 40px; height: 40px; border-radius: var(--rayon-petit); background: var(--noir); color: var(--blanc);
  align-items: center; justify-content: center;
}
.wp-block-navigation.menu-principal .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--blanc) !important; color: var(--noir) !important; padding: 24px 20px;
}
.wp-block-navigation.menu-principal .is-menu-open .wp-block-navigation__container { gap: 4px; }
.wp-block-navigation.menu-principal .is-menu-open .wp-block-navigation-item__content { font-size: 20px; font-weight: 700; color: var(--noir); padding: 10px 0; }
.entete-actions { flex: none; }
@media (max-width: 1080px) {
  .menu-principal { order: 3; margin: 0 0 0 10px; }
  .entete-actions { margin-left: auto; }
  .menu-principal .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .menu-principal .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}

/* ---------- Pied ---------- */
.pied::after {
  content: ""; position: absolute; right: -40px; bottom: -150px; width: 520px; height: 520px;
  background: url("assets/img/logo.png") center / contain no-repeat;
  opacity: .16; filter: grayscale(1); mix-blend-mode: screen; clip-path: inset(24% 0 0 0); pointer-events: none;
}
.pied-pitch .wp-block-buttons { margin-top: 20px; }
.pied-colonne p { margin-bottom: 8px; line-height: 1.6; }
.pied-colonne a:hover { color: var(--blanc); }
.wp-block-social-links.sociaux { gap: 8px; margin: 0; padding: 0; }
.wp-block-social-links.sociaux .wp-social-link { background: var(--blanc) !important; color: var(--noir) !important; border-radius: var(--rayon-petit); }
.wp-block-social-links.sociaux .wp-block-social-link-anchor { padding: 8px; }
.wp-block-social-links.sociaux .wp-social-link svg { width: 18px; height: 18px; }
.pied-legal a { margin-left: 22px; }

/* ---------- Boutons : la classe est sur le conteneur, le style sur le lien ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--rayon-petit); border: 1px solid transparent;
  font: 600 13.5px/1 var(--texte); white-space: nowrap; text-decoration: none;
  background: var(--noir); color: var(--blanc); transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.b-noir .wp-block-button__link:hover { background: #2a2a2a; }
.wp-block-button.b-contour .wp-block-button__link { background: var(--blanc); color: var(--noir); border-color: var(--filet); }
.wp-block-button.b-contour .wp-block-button__link:hover { border-color: var(--noir); }
.wp-block-button.b-blanc .wp-block-button__link { background: var(--blanc); color: var(--noir); }
.wp-block-button.b-petit .wp-block-button__link { height: 38px; padding: 0 16px; font-size: 13px; }
.wp-block-button.b-plein, .wp-block-button.b-plein .wp-block-button__link { width: 100%; }
.wp-block-button[class*="ic-"] .wp-block-button__link::before,
.wp-block-button.fleche .wp-block-button__link::after {
  content: ""; width: 17px; height: 17px; flex: none; background: currentColor;
  -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat;
}
.wp-block-button.fleche .wp-block-button__link::after { --icone: var(--i-arrow); width: 15px; height: 15px; }
.carte-lat > .wp-block-buttons, .sommaire > .wp-block-buttons { display: block; }

/* ---------- Fil, liens de suite ---------- */
.fil a:hover { color: var(--noir); }
.lien-suite a { color: inherit; }
.lien-etire { position: relative; }
.lien-etire .lien-suite a::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }
.lien-etire:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }

/* ---------- Galerie, mosaïque, pastilles ---------- */
.galerie { position: relative; }
.galerie .pastille-blanche { position: absolute; right: 14px; bottom: 14px; margin: 0; }
.wp-block-image.galerie-plus.plan img { object-fit: contain; padding: 14px; }
.pastille-blanche.ic::before { width: 15px; height: 15px; }
.hero-mosaique .pastille-blanche { position: absolute; left: 14px; right: auto; bottom: 14px; margin: 0; }
.hero-mosaique .pastille-blanche.ic::before { color: var(--rouge); background: var(--rouge); }

/* ---------- Fiche : introduction et caractéristiques ---------- */
.intro-tete::after {
  content: ""; flex: none; width: 88px; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='40' viewBox='0 0 88 40'%3E%3Ccircle cx='20' cy='20' r='19.5' fill='white' stroke='%23E6E6E6'/%3E%3Cpath transform='translate(11 11) scale(.75)' d='M12 20s-7.5-4.6-9-9.3C1.9 7.2 4.3 4 7.6 4c1.9 0 3.3 1 4.4 2.5C13.1 5 14.5 4 16.4 4 19.7 4 22.1 7.2 21 10.7 19.5 15.4 12 20 12 20Z' fill='%23E5484D'/%3E%3Ccircle cx='68' cy='20' r='19.5' fill='white' stroke='%23E6E6E6'/%3E%3Cg transform='translate(59 11) scale(.75)' fill='none' stroke='%230E0E0E' stroke-width='1.7'%3E%3Ccircle cx='18' cy='5' r='2.5'/%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='19' r='2.5'/%3E%3Cpath d='m8.2 10.8 7.6-4.4M8.2 13.2l7.6 4.4'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
}
.details .detail {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 14px 16px; background: var(--gris-clair); border-radius: var(--rayon-petit);
}
.details .detail::before { grid-row: span 2; width: 22px; height: 22px; background: var(--bleu); }
.detail-label { font-size: 12px; color: var(--gris-texte); line-height: 1.3; }
.detail-valeur { font-size: 15px; font-weight: 700; line-height: 1.3; }
.inclus li, .liste-check li { display: block; position: relative; padding-left: 28px; }
.inclus li::before, .liste-check li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--bleu);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.liste-check li:has(strong) { color: var(--gris-texte); font-weight: 400; }
.liste-check li strong { color: var(--noir); }
.etapes-liste li { display: block; position: relative; padding-left: 48px; min-height: 34px; font-size: 13px; color: var(--gris-texte); }
.etapes-liste li::before { position: absolute; left: 0; top: 0; }
.etapes-liste li strong { display: block; font-size: 14px; color: var(--noir); }
.etapes-liste li br { display: none; }

/* Vidéo : image + légende, le bouton lecture est dessiné en CSS */
.wp-block-image.video figcaption {
  position: absolute; left: 20px; top: 18px; margin: 0; color: var(--blanc); font-weight: 700; font-size: 17px;
  text-align: left; text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.wp-block-image.video::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.92); z-index: 1; transition: transform .25s;
}
.wp-block-image.video::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-35%, -50%);
  border-left: 18px solid var(--noir); border-block: 11px solid transparent;
}
.wp-block-image.video:hover::before { transform: scale(1.08); }

/* ---------- Colonne latérale ---------- */
.lat-label.ic { display: flex; align-items: center; gap: 10px; }
.lat-label.ic::before {
  width: 34px; height: 34px; border-radius: 50%;
  -webkit-mask: none; mask: none; background: var(--icone) center / 16px no-repeat, var(--gris-clair);
}
.prix em { display: block; font-size: 11px; font-style: normal; font-weight: 500; color: var(--gris-texte); letter-spacing: 0; margin-bottom: 4px; }
.agent .agent-avatar { flex: none; }
.agent p, .tem-qui p, .auteur p { font-size: 12px; color: var(--gris-texte); line-height: 1.45; }
.agent p strong, .tem-qui p strong, .auteur p strong { display: block; font-size: 14px; color: var(--noir); }
.tem-qui p strong { font-size: 13.5px; }
.agent p br, .tem-qui p br, .auteur p br { display: none; }
.duo .wp-block-button__link { width: 100%; height: 40px; }
.carte-lat .wp-block-buttons { margin-top: 0; }

/* ---------- Cartes de biens ---------- */
.bien h3 a { color: inherit; }
.bien h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--rayon); }
.bien::before, .bien::after { content: ""; position: absolute; top: 12px; right: 12px; z-index: 2; pointer-events: none; }
.bien::before { width: 32px; height: 32px; border-radius: 50%; background: var(--blanc); }
.bien::after {
  width: 32px; height: 32px; background: var(--rouge);
  -webkit-mask: var(--i-heart) center / 15px no-repeat; mask: var(--i-heart) center / 15px no-repeat;
}
.bien .etiquette { margin: 0; z-index: 2; font-size: 11.5px; color: var(--noir); line-height: 1.6; }
.bien .bien-resume { font-size: 12.5px; color: var(--gris-texte); line-height: 1.55; }
.bien-ligne .ic { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--gris-texte); }
.bien-ligne .ic::before { width: 15px; height: 15px; }
.bien .bien-prix { font-size: 16px; font-weight: 700; color: var(--noir); }
.bien-prix em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--gris-texte); }
.bien .bien-carac p { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--noir); line-height: 1.6; }
.bien-carac .ic::before { width: 15px; height: 15px; color: var(--bleu); background: var(--bleu); }
.bien.masque { display: none; }

/* Filtres */
.filtre {
  height: 38px; padding: 0 16px; border-radius: var(--rayon-petit); border: 1px solid var(--filet); background: var(--blanc);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; cursor: pointer; user-select: none;
}
.filtre em { font-style: normal; font-size: 11px; color: var(--gris-texte); }
.filtre.actif { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.filtre.actif em { color: rgba(255,255,255,.6); }

/* ---------- Accueil ---------- */
.hero-chiffres .chiffre-val { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.hero-chiffres .chiffre-txt { font-size: 12px; color: var(--gris-texte); }
.carte-service.ic::before { display: block; width: 28px; height: 28px; background: var(--bleu); margin-bottom: 22px; }
.etapes .etape { border: 1px solid var(--filet); border-radius: var(--rayon); padding: 22px 20px 24px; }
.etape-num { font-size: 40px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 26px; }
.etape h3 { font-size: 15px; margin-bottom: 6px; }
.etapes .etape p:not(.etape-num) { font-size: 12.5px; color: var(--gris-texte); }
.duo-texte .wp-block-buttons { margin-top: 26px; }
.chiffres .chiffre-val { font-size: 52px; font-weight: 600; letter-spacing: -0.05em; line-height: 1.05; }
.chiffres .chiffre-txt { font-size: 12.5px; color: var(--gris-texte); }

/* ---------- Avis ---------- */
.note-chiffre em { font-size: 26px; font-style: normal; letter-spacing: 0; color: var(--gris-texte); font-weight: 500; margin-left: 6px; }
.barre { display: grid; grid-template-columns: 16px 12px 1fr; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.barre::before {
  content: ""; width: 14px; height: 14px; background: var(--jaune);
  -webkit-mask: var(--i-star-plein) center / contain no-repeat; mask: var(--i-star-plein) center / contain no-repeat;
}
.barre::after {
  content: ""; height: 6px; border-radius: 6px;
  background: linear-gradient(var(--noir), var(--noir)) 0 0 / var(--w, 0%) 100% no-repeat, var(--gris-clair);
}
.barre-84 { --w: 84%; } .barre-12 { --w: 12%; } .barre-4 { --w: 4%; } .barre-0 { --w: 0%; }
.tem-avatar.wp-block-image { width: 42px; height: 42px; flex: none; border-radius: var(--rayon-petit); overflow: hidden; }
.temoignage .tem-qui p, .temoignage .tem-bien { font-weight: 400; line-height: 1.45; }
.temoignage .tem-bien { font-size: 11.5px; font-weight: 600; }
.temoignage .etoiles { display: block; color: var(--jaune); font-size: 16px; letter-spacing: 2px; line-height: 1; font-weight: 400; }
.point { width: 28px; height: 3px; border-radius: 3px; background: var(--filet); font-size: 0; line-height: 0; cursor: pointer; transition: background .2s, width .2s; }
.point.actif { background: var(--bleu); width: 56px; }

/* ---------- Guide ---------- */
.couv-logo.wp-block-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5) translateY(6%); }
.couv-sur, .couv-titre, .couv-sous { display: block; }
.chapitres .chapitre { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--filet); }
.chapitres .chapitre:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--filet); }
.chapitre-num { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.chapitre h3 { font-size: 15.5px; margin-bottom: 4px; }
.chapitres .chapitre p:not(.chapitre-num) { font-size: 13px; color: var(--gris-texte); }
.chapitre.bonus .chapitre-num { color: var(--bleu); }

/* ---------- Comparatif (core/table) ---------- */
.wp-block-table.comparatif { min-width: 0; width: auto; overflow-x: auto; border: 1px solid var(--filet); border-radius: var(--rayon); margin: 0; }
.wp-block-table.comparatif table { min-width: 640px; width: 100%; border-collapse: collapse; font-size: 13.5px; }
.wp-block-table.comparatif thead { border-bottom: 0; }
.wp-block-table.comparatif th, .wp-block-table.comparatif td { border: 0; border-bottom: 1px solid var(--filet); padding: 14px 20px; text-align: left; }
.wp-block-table.comparatif tbody tr:last-child > * { border-bottom: 0; }
.wp-block-table.comparatif thead th { font-size: 15px; background: var(--gris-clair); }
.wp-block-table.comparatif tbody th { font-weight: 500; color: var(--gris-texte); width: 26%; }
.wp-block-table.comparatif td a { font-weight: 700; }
.wp-block-table.comparatif + .note { margin-top: 12px; }

/* ---------- Sommaire et prose ---------- */
.sommaire-liens { display: grid; border-left: 1px solid var(--filet); }
.sommaire-liens a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13px; color: var(--gris-texte); font-weight: 500; }
.sommaire-liens a.actif { border-left-color: var(--noir); color: var(--noir); font-weight: 700; }
.prose-section + .prose-section { margin-top: 44px; }
.prose .wp-block-post-content > h2 { margin-top: 44px; }
.prose .wp-block-post-content > h2:first-child { margin-top: 0; }
.prose h2[id] { scroll-margin-top: 96px; }
.prose .liste-check { margin-top: 18px; }
.page-404 { padding: 96px 0 40px; }
.page-404 h1 { font-size: 44px; line-height: 1.08; margin: 6px 0 14px; max-width: 18ch; }

/* ---------- Articles : boucles de requête ---------- */
ul.wp-block-post-template.grille-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
ul.wp-block-post-template.grille-articles.une { grid-template-columns: 1fr; }
.requete-articles + .requete-articles { margin-top: 40px; }
.article-carte { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.wp-block-post-featured-image.article-vignette { position: relative; width: 100%; aspect-ratio: 16 / 11; border-radius: var(--rayon); overflow: hidden; margin-bottom: 14px; }
.wp-block-post-featured-image.article-vignette a { display: block; height: 100%; }
.wp-block-post-featured-image.article-vignette img { height: 100%; object-fit: cover; transition: transform .6s; }
.article-carte:hover .article-vignette img { transform: scale(1.05); }
.article-carte .etiquette { position: absolute; left: 12px; top: 12px; z-index: 1; margin: 0; }
.etiquette a { color: inherit; }
.article-carte .wp-block-post-title { font-size: 16.5px; line-height: 1.35; letter-spacing: -0.02em; }
.article-extrait { display: none; }
.wp-block-read-more.lien-suite { display: inline-block; width: auto; margin-top: 12px; }
.grille-articles.une .article-carte { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 40px; }
.grille-articles.une .article-vignette { grid-row: 1 / span 5; grid-column: 1; aspect-ratio: 16 / 10; margin: 0; }
.grille-articles.une .etiquette { grid-column: 1; grid-row: 1; }
.grille-articles.une .article-meta { grid-column: 2; grid-row: 2; }
.grille-articles.une .wp-block-post-title { grid-column: 2; grid-row: 3; font-size: 28px; line-height: 1.15; }
.grille-articles.une .article-extrait { display: block; grid-column: 2; grid-row: 4; color: var(--gris-texte); font-size: 14px; margin-top: 12px; }
.grille-articles.une .wp-block-read-more { grid-column: 2; grid-row: 5; align-self: start; justify-self: start; }
.article-meta-ligne { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--gris-texte); font-weight: 500; }
.article-meta-ligne .etiquette-plate { position: static; }
.article-tete .wp-block-post-title { font-size: 44px; line-height: 1.08; margin: 10px 0 16px; }
.wp-block-post-featured-image.article-image img { height: 100%; object-fit: cover; }
.wp-block-post-excerpt.chapo { margin: 0; }
.wp-block-post-excerpt__more-text { display: none; }
.titre-archive { font-size: 34px; padding: 40px 0 28px; }
.pagination { margin-top: 40px; gap: 8px; font-weight: 600; }

/* ---------- Formulaires Fluent Forms ---------- */
.fluentform .ff-el-group { margin-bottom: 12px; }
.fluentform .ff-el-input--label label { font-size: 12px; font-weight: 600; color: var(--gris-texte); }
.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: var(--gris-texte); }
.fluentform .ff-el-form-control {
  height: 46px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--blanc);
  padding: 0 14px; font: 500 14px var(--texte); color: var(--noir); box-shadow: none;
}
.fluentform textarea.ff-el-form-control { height: auto; min-height: 132px; padding: 12px 14px; line-height: 1.5; }
.fluentform .ff-el-form-control:focus { outline: 2px solid var(--noir); outline-offset: -1px; border-color: var(--filet); }
.fluentform .ff-el-form-check label, .fluentform .ff_t_c { font-size: 12px; color: var(--gris-texte); font-weight: 400; }
.fluentform .ff-el-form-check input { accent-color: var(--noir); }
.fluentform .ff-t-container { gap: 12px; }
.fluentform form .ff-btn-submit:not(.ff_btn_no_style) {
  height: 44px; padding: 0 20px; border-radius: var(--rayon-petit); background: var(--noir) !important; color: var(--blanc) !important;
  font: 600 13.5px/1 var(--texte); border: 0; box-shadow: none;
}
.fluentform form .ff-btn-submit:not(.ff_btn_no_style):hover { background: #2a2a2a !important; opacity: 1; }
.fluentform .text-danger, .fluentform .error { font-size: 12px; color: var(--rouge); }
.ff-message-success { border: 1px solid var(--filet); border-radius: var(--rayon); padding: 18px 20px; box-shadow: none; font-size: 14px; }
.ff-message-success a { font-weight: 700; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .entete-actions { display: none; }
  .menu-principal { margin-left: auto; }
  .etapes .etape { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
  .etape-num { grid-row: span 2; font-size: 30px; margin: 0; }
  .chiffres .chiffre-val { font-size: 38px; }
  .hero-chiffres .chiffre-val { font-size: 19px; }
  .chapitres .chapitre, .chapitres .chapitre:nth-child(even) { padding: 18px 0; border-left: 0; grid-template-columns: 48px 1fr; }
  ul.wp-block-post-template.grille-articles { grid-template-columns: 1fr; gap: 28px; }
  .grille-articles.une .article-carte { display: flex; }
  .grille-articles.une .article-vignette { aspect-ratio: 16 / 11; margin-bottom: 14px; }
  .grille-articles.une .wp-block-post-title { font-size: 20px; }
  .article-tete .wp-block-post-title, .page-404 h1 { font-size: 32px; }
  .pied-legal a { margin: 0 16px 0 0; }
  .lien-etire:hover { transform: none; }
}

/* Spécificité : la maquette stylait « .etapes p » et « .chapitres p » */
.etapes .etape-num { font-size: 40px; color: var(--noir); }
.chapitres .chapitre-num { font-size: 32px; color: var(--noir); }
.chapitres .bonus .chapitre-num { color: var(--bleu); }
@media (max-width: 860px) { .etapes .etape-num { font-size: 30px; } }
.bien::after { --i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-9-9.3C1.9 7.2 4.3 4 7.6 4c1.9 0 3.3 1 4.4 2.5C13.1 5 14.5 4 16.4 4 19.7 4 22.1 7.2 21 10.7 19.5 15.4 12 20 12 20Z'/%3E%3C/svg%3E"); }

/* Porte 4 — écarts mesurés contre la maquette */
.bien figure.wp-block-image { margin-bottom: 14px; }
.carte-service.ic::before { display: inline-block; vertical-align: baseline; }
.hero-chiffres .chiffre-txt { line-height: 22.4px; }
.temoignage .etoiles { line-height: 16px; height: 16px; }
.fluentform select.ff-el-form-control:not([size]):not([multiple]) { height: 46px; padding: 0 14px; }
.fiche-contact .carte-lat .wp-block-buttons { margin-top: 14px; }
.temoignage .tem-qui p { font-size: 11.5px; line-height: 22.4px; }
.temoignage .tem-qui p strong { line-height: 21.6px; }
