/* ==========================================================================
   Buffard Patrimoine — maquette du site (V0, 03/11/2026)
   Reprend la construction du site FD CAP (fd-cap.fr) : mêmes gabarits, mêmes
   règles (bouton pilule, un seul accent d'action, fonds clair / alterné / sombre).
   Couleurs : charte Buffard (01-Charte Buffard/). Les teintes dérivées sont une PROPOSITION
   à valider avec Maxence (voir guide-maquette.html § Charte).
   ========================================================================== */

:root {
  /* --- Charte Buffard (01-Charte Buffard/Références_couleurs) -------------------- */
  --bp-bleu:   #13243B;  /* Bleu profond — confiance · sécurité · stabilité */
  --bp-sable:  #B3A18A;  /* Beige sable — équilibre · sérénité · écoute     */
  --bp-or:     #B08A55;  /* Or champagne — élégance · valeur durable        */
  --bp-ecru:   #E9E4DC;  /* Écru — clarté · simplicité · transparence       */

  /* --- Dérivées (proposition, contrastes WCAG mesurés) ------------------ */
  --bp-ivoire:      #F7F4EE;  /* fond clair principal = fond du logo ; bleu dessus 14,2:1 */
  --bp-or-profond:  #7A5C33;  /* or lisible en petit texte ; 5,6:1 sur ivoire          */
  --bp-or-survol:   #C29B66;  /* survol du bouton ; bleu dessus 6,1:1                  */
  --bp-or-pale:     #F1E7D6;
  --bp-bleu-pale:   #DDE2EA;
  --bp-sable-pale:  #EAE3D8;
  --bp-gris:        #5A626E;  /* texte secondaire ; 5,6:1 sur ivoire                    */
  --bp-gris-sombre: #AEB4BE;  /* texte secondaire sur bleu ; 7,5:1                      */
  --bp-filet:       #DDD6CA;
  --bp-filet-sombre: rgba(233, 228, 220, .18);

  /* --- Rôles ------------------------------------------------------------- */
  --fond: var(--bp-ivoire);
  --fond-alterne: var(--bp-ecru);
  --texte: var(--bp-bleu);
  --texte-faible: var(--bp-gris);
  --titre: var(--bp-bleu);
  --lien: var(--bp-bleu);
  --accent: var(--bp-or);         /* UNIQUE couleur d'action (comme le corail FD CAP) */
  --sur-accent: var(--bp-bleu);
  --bordure: var(--bp-filet);

  /* --- Typographie : Manrope, comme FD CAP (à valider) ------------------- */
  --font: "Manrope", "Segoe UI", Calibri, Arial, sans-serif;
  --t-hero: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  --t-h1: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  --t-h2: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  --t-h3: 1.25rem;
  --t-petit: .875rem;
  --t-micro: .75rem;
  --ls-hero: -0.01em;
  --ls-eyebrow: .14em;           /* un peu plus large que FD CAP, en écho au logo */

  --s-xs: 8px; --s-sm: 16px; --s-md: 24px; --s-lg: 32px; --s-xl: 48px; --s-2xl: 64px; --s-3xl: 96px;
  --conteneur: 1280px;
  --r-md: 8px; --r-lg: 12px; --r-xl: 20px; --r-pill: 999px;
  --ombre-2: 0 4px 12px rgba(19, 36, 59, .10);
  --ombre-3: 0 12px 32px rgba(19, 36, 59, .16);
  --duree: 150ms;
  --courbe: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="sombre"] {
  --fond: var(--bp-bleu);
  --texte: var(--bp-ecru);
  --texte-faible: var(--bp-gris-sombre);
  --titre: var(--bp-ecru);
  --lien: var(--bp-ecru);
  --bordure: var(--bp-filet-sombre);
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font-family: var(--font); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; color: var(--titre); line-height: 1.15; font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); font-weight: 500; }
h3 { font-size: var(--t-h3); }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lien); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
ul.nu { list-style: none; margin: 0; padding: 0; }

.conteneur { width: 100%; max-width: calc(var(--conteneur) + 160px); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 640px) { .conteneur { padding-inline: 48px; } }
@media (min-width: 1024px) { .conteneur { padding-inline: 80px; } }

.eyebrow {
  font-size: var(--t-micro); font-weight: 600; letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--bp-or-profond);
  display: inline-flex; align-items: center; gap: 12px;
}
/* Filet or de part et d'autre, repris du logo (« — CONSEIL EN GESTION DE PATRIMOINE — ») */
.eyebrow--filet::before { content: ""; width: 28px; height: 1.5px; background: var(--bp-or); }
[data-theme="sombre"] .eyebrow { color: var(--bp-or); }
.section { padding-block: var(--s-3xl); }
.section--alterne { background: var(--fond-alterne); }
.entete-section { display: grid; gap: var(--s-sm); margin-bottom: var(--s-2xl); }
.entete-section--centre { justify-items: center; text-align: center; }
.chapo { font-size: 1.125rem; color: var(--texte-faible); max-width: 52ch; }

/* --- Boutons : toujours la pilule ---------------------------------------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: .625rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color var(--duree) var(--courbe), border-color var(--duree) var(--courbe);
}
.bouton--cta { background: var(--accent); color: var(--sur-accent); }
.bouton--cta:hover { background: var(--bp-or-survol); }
.bouton--contour { border-color: currentColor; color: var(--titre); background: transparent; }
.bouton--contour:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

/* --- En-tête --------------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bp-ivoire) 94%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--bordure);
}
.entete__barre { display: flex; align-items: center; gap: var(--s-lg); min-height: 80px; }
.lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.lockup__mono { height: 46px; width: auto; }
.lockup__texte { display: grid; gap: 6px; }
.lockup__nom { height: 17px; width: auto; }
.lockup__metier { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bp-bleu); font-weight: 600; white-space: nowrap; }
.entete__cta .bouton { white-space: nowrap; }
.entete__nav ul { display: flex; gap: var(--s-md); }
.entete__nav a {
  color: var(--titre); font-weight: 500; font-size: .9375rem; text-decoration: none; white-space: nowrap;
  padding-block: 6px; border-bottom: 1.5px solid transparent;
}
.entete__nav a:hover, .entete__nav a[aria-current="page"] { border-bottom-color: var(--bp-or); }
.entete__mobile { display: none; position: relative; }
.entete__mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.entete__mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--bp-bleu); border-radius: 2px; content: ""; position: relative; }
.burger::before { position: absolute; top: -7px; } .burger::after { position: absolute; top: 7px; }
.entete__mobile[open] .burger { background: transparent; }
.entete__mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
.entete__mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
.entete__mobile > nav {
  position: fixed; left: 0; right: 0; top: 80px; background: var(--bp-ivoire);
  border-bottom: 1px solid var(--bordure); padding: var(--s-md) 24px var(--s-lg); display: grid; gap: var(--s-md);
}
.entete__mobile > nav a:not(.bouton) { display: block; font-size: 1.0625rem; padding-block: 8px; color: var(--titre); text-decoration: none; font-weight: 500; }
@media (max-width: 1359px) {  /* même seuil que fd-cap.fr */
  .entete__nav, .entete__cta { display: none; }
  .entete__mobile { display: block; }
}
@media (max-width: 479px) { .lockup__metier { display: none; } .lockup__nom { height: 13px; } }

/* --- Bandeau d'accueil ------------------------------------------------------ */
.bandeau { position: relative; isolation: isolate; overflow: hidden; min-height: min(88svh, 820px); display: grid; background: var(--bp-bleu); }
.bandeau__visuel { position: absolute; inset: 0; z-index: -1; }
.bandeau__visuel::before {  /* lumière douce, en attendant la photo */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(176, 138, 85, .30), transparent 70%),
    radial-gradient(50% 60% at 15% 100%, rgba(179, 161, 138, .22), transparent 70%),
    linear-gradient(180deg, #13243B 0%, #182D49 100%);
}
.bandeau__filigrane { position: absolute; right: -4%; bottom: -10%; height: 105%; width: auto; opacity: .16; }  /* .07 → .16 : remarque de Maxence du 23/11/2026 */
.bandeau__texte {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: repeat(4, auto) 1fr;
  column-gap: var(--s-xl); gap: var(--s-md); padding-block: var(--s-3xl) var(--s-xl);
}
.bandeau__texte > :not(.mandat) { grid-column: 1; }
.bandeau h1 { font-size: var(--t-hero); font-weight: 500; letter-spacing: var(--ls-hero); max-width: 19ch; }
.bandeau__signature { height: clamp(44px, 5vw, 64px); width: auto; }
.bandeau__actions { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-top: var(--s-xs); align-self: start; }
.mandat { grid-column: 2; grid-row: 5; align-self: end; justify-self: end; display: grid; gap: 8px; justify-items: end; text-align: right; color: var(--bp-ecru); }
.mandat__libelle { font-size: var(--t-petit); font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.mandat__logo { display: flex; align-items: center; gap: 12px; }
.mandat__logo img:first-child { height: 46px; width: auto; } .mandat__logo img:last-child { height: 40px; width: auto; }
@media (max-width: 639px) {
  .bandeau__texte { grid-template-columns: 1fr; grid-template-rows: none; }
  .bandeau h1 { font-size: var(--t-h1); }
  .mandat { grid-column: 1; grid-row: auto; justify-self: start; justify-items: start; text-align: left; margin-top: var(--s-lg); }
}

/* --- Pastilles-teasing (ronds qui se retournent) ----------------------------- */
.pst__grille { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-xl) var(--s-lg); }
.pst__grille li { flex: 0 1 230px; }
.pst__item { display: grid; justify-items: center; text-align: center; gap: var(--s-md); perspective: 1000px; color: inherit; text-decoration: none; }
.teinte-bleu  { --sature: var(--bp-bleu);  --pastel: var(--bp-bleu-pale);  --sur: var(--bp-bleu); }
.teinte-or    { --sature: var(--bp-or);    --pastel: var(--bp-or-pale);    --sur: var(--bp-or-profond); }
.teinte-sable { --sature: var(--bp-sable); --pastel: var(--bp-sable-pale); --sur: var(--bp-bleu); }
.pst__disque { position: relative; display: block; width: 220px; height: 220px; transform-style: preserve-3d; transition: transform 650ms var(--courbe); }
.pst__face { position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; display: grid; place-content: center; justify-items: center; }
.pst__recto { background: var(--pastel); color: var(--sur); gap: 4px;
  box-shadow: 0 0 0 9px color-mix(in srgb, var(--pastel) 45%, transparent), inset 0 0 0 2px color-mix(in srgb, var(--sature) 55%, transparent); }
.pst__verso { background: var(--bp-ivoire); color: var(--texte); gap: var(--s-xs); padding: 0 28px; border: 3px solid var(--sature);
  box-shadow: 0 0 0 9px color-mix(in srgb, var(--pastel) 45%, transparent); transform: rotateY(180deg); }
.pst__icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bp-ivoire); }
.pst__chiffre { font-weight: 700; line-height: 1; letter-spacing: -.02em; font-size: 3rem; }
.pst__chiffre--mot { font-size: 1.875rem; }
.pst__chiffre--long { font-size: 1.5rem; }  /* « Interlocuteur » : tient dans le disque (23/11/2026) */
.pst__unite { font-weight: 600; font-size: .9375rem; max-width: 15ch; line-height: 1.2; }
.pst__accroche { font-size: .9375rem; line-height: 1.4; }
.pst__cta { font-weight: 700; font-size: .9375rem; color: var(--titre); }
.pst__page { font-size: 1.25rem; font-weight: 700; color: var(--titre); }
.pst__item:hover .pst__disque, .pst__item:focus-visible .pst__disque { transform: rotateY(180deg); }
@media (hover: none) {
  .pst__disque { height: auto; width: auto; transform: none !important; display: grid; justify-items: center; gap: var(--s-md); }
  .pst__face { position: relative; backface-visibility: visible; }
  .pst__recto { width: 200px; height: 200px; }
  .pst__verso { transform: none; border-radius: var(--r-lg); padding: var(--s-md); box-shadow: none; max-width: 280px; }
}

/* --- Emplacement photo (en attendant les vraies) ----------------------------- */
.photo-attente {
  position: relative; display: grid; place-items: center; text-align: center; gap: 8px;
  background:
    linear-gradient(135deg, rgba(176,138,85,.18), rgba(19,36,59,.10)),
    repeating-linear-gradient(45deg, rgba(19,36,59,.05) 0 2px, transparent 2px 14px),
    var(--bp-sable-pale);
  color: var(--bp-bleu); padding: var(--s-lg); border-radius: var(--r-xl);
}
.photo-attente svg { opacity: .55; }
.photo-attente strong { font-size: .9375rem; }
.photo-attente span { font-size: .8125rem; color: var(--bp-gris); max-width: 32ch; }

/* --- Appel à l'action de fin de page ----------------------------------------- */
.appel { position: relative; isolation: isolate; overflow: hidden; min-height: min(78svh, 640px); display: grid; align-items: center; padding-block: var(--s-3xl); }
.appel__fond { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.appel__carte {
  display: grid; gap: var(--s-md); justify-items: start; max-width: 36rem; padding: var(--s-xl);
  border-radius: var(--r-xl); background: var(--bp-ivoire); box-shadow: var(--ombre-3);
}
/* Encart à gauche, sur le ciel : le chêne, à droite de la photo, reste visible (23/11/2026). */
@media (min-width: 640px) { .appel__carte { margin-inline-end: auto; } }
.appel h2 { font-size: var(--t-h1); font-weight: 500; letter-spacing: var(--ls-hero); max-width: 16ch; }
.appel__chapo { font-size: 1.125rem; }
@media (max-width: 639px) { .appel { min-height: 0; align-items: end; padding-block: 220px var(--s-lg); } .appel__carte { padding: var(--s-lg) var(--s-md); } }

/* --- Pied de page (fond sombre bleu profond) --------------------------------- */
.pied { background: var(--bp-bleu); color: var(--bp-ecru); padding-block: var(--s-3xl) var(--s-xl); }
.pied a { color: var(--bp-ecru); }
.pied__haut { display: grid; gap: var(--s-xl); padding-bottom: var(--s-xl); border-bottom: 1px solid var(--bp-filet-sombre); }
@media (min-width: 640px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .pied__haut { grid-template-columns: repeat(4, auto); justify-content: space-between; column-gap: var(--s-lg); } .pied__marque { grid-column: auto; } }
.pied__logo { width: 210px; height: auto; margin-bottom: var(--s-md); }
.pied__zone { color: var(--bp-gris-sombre); max-width: 32ch; }
.pied__zone strong { color: var(--bp-ecru); display: block; }
.pied__secteur { display: inline-block; margin-top: var(--s-xs); padding: 6px 12px; border: 2px dotted var(--bp-gris-sombre); border-radius: var(--r-md); }
.pied__partenaire { margin-top: var(--s-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pied__partenaire p { font-size: var(--t-micro); font-weight: 500; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bp-gris-sombre); }
.pied__partenaire img:first-of-type { height: 30px; width: auto; } .pied__partenaire img:last-of-type { height: 26px; width: auto; }
.pied nav ul { display: grid; gap: var(--s-xs); }
.pied nav a { text-decoration: none; } .pied nav a:hover { text-decoration: underline; }
.pied__reseaux { border: 1.5px dashed var(--bp-filet-sombre); border-radius: var(--r-lg); padding: var(--s-md); display: grid; gap: var(--s-sm); align-content: start; align-self: start; max-width: 300px; }
.pied__reseaux p { font-size: .9375rem; }
.pied__icones { display: flex; gap: 10px; }
.pied__icones a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--bp-filet-sombre); }
.pied__fermeture { margin-top: var(--s-xl); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-md); }
.pied__fermeture img { height: 46px; width: auto; }
.pied__fermeture p { font-style: italic; font-size: 1.125rem; color: var(--bp-ecru); }
.pied__bandeau { margin-top: var(--s-md); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: var(--t-micro); font-weight: 500; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--bp-gris-sombre); }
.pied__bandeau strong { color: var(--bp-ecru); font-weight: 600; }

/* --- Cartes de projets (Particuliers, Dirigeants) ------------------------------ */
.projets { display: grid; gap: var(--s-md); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.projet {
  display: grid; gap: var(--s-sm); align-content: start; padding: var(--s-lg); border-radius: var(--r-xl);
  background: var(--pastel); color: var(--texte); text-decoration: none; position: relative;
  border: 1px solid color-mix(in srgb, var(--sature) 25%, transparent);
  transition: transform var(--duree) var(--courbe), box-shadow var(--duree) var(--courbe);
}
.projet:hover { transform: translateY(-3px); box-shadow: var(--ombre-2); }
.projet__icone { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bp-ivoire); color: var(--sur); }
.projet h2 { font-size: 1.25rem; font-weight: 700; }
.projet__cta { font-weight: 700; color: var(--titre); display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }

/* --- Sous-page projet ---------------------------------------------------------- */
.pp-bandeau { padding-block: var(--s-3xl) var(--s-2xl); background: var(--bp-ecru); }
.pp-bandeau__grille { display: grid; gap: var(--s-xl); align-items: center; }
@media (min-width: 960px) { .pp-bandeau__grille { grid-template-columns: 7fr 5fr; } }
.pp-bandeau h1 { font-size: var(--t-hero); font-weight: 500; letter-spacing: var(--ls-hero); max-width: 18ch; margin-block: var(--s-sm); }
.pp-question { font-size: 1.25rem; color: var(--bp-bleu); margin-bottom: var(--s-lg); max-width: 36ch; }
.fil { font-size: var(--t-petit); color: var(--texte-faible); }
.fil a { color: inherit; }
.pp-texte { display: grid; gap: var(--s-md); max-width: 62ch; font-size: 1.125rem; }
/* Sous-pages projet (25/11/2026) : médaillon aux couleurs de la carte, étiquettes des coûts, phrase forte sans chiffre. */
.pp-medaillon { justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--pastel); color: var(--sur); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--sature) 35%, transparent); }
.pp-etiquettes { display: flex; flex-wrap: wrap; gap: var(--s-xs); }
.pp-etiquettes li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--bp-sable-pale); color: var(--bp-bleu); font-size: .9375rem; font-weight: 600; }
.chiffre-fort .chiffre-fort__phrase { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 600; line-height: 1.25; color: var(--bp-ecru);
  max-width: 28ch; margin: 0 auto; text-wrap: balance; }
.pp-texte h2 { margin-bottom: var(--s-xs); }
.chiffre-fort { background: var(--bp-bleu); color: var(--bp-ecru); text-align: center; }
.chiffre-fort .chiffre-fort__valeur { font-size: clamp(3rem, 2rem + 5vw, 5.5rem); font-weight: 700; color: var(--bp-or); letter-spacing: -.02em; line-height: 1; }
.chiffre-fort p { font-size: 1.25rem; max-width: 40ch; margin: var(--s-md) auto 0; }
.chiffre-fort__note { color: var(--bp-gris-sombre); font-size: 1rem !important; }
.savoir { display: grid; gap: var(--s-md); }
@media (min-width: 800px) { .savoir { grid-template-columns: repeat(3, 1fr); } }
.savoir li { padding: var(--s-lg); border-radius: var(--r-xl); background: var(--bp-ivoire); border: 1px solid var(--bordure); font-size: 1.25rem; font-weight: 600; color: var(--titre); display: grid; gap: var(--s-sm); }
.savoir li span { font-size: 2rem; font-weight: 700; color: var(--bp-or); line-height: 1; }

/* --- Frise des 4 rendez-vous ---------------------------------------------------- */
.acc__entete { display: grid; gap: var(--s-sm); margin-bottom: var(--s-2xl); }
@media (min-width: 1024px) { .acc__entete { grid-template-columns: 7fr 5fr; column-gap: var(--s-2xl); align-items: end; } .acc__entete > :not(.chapo) { grid-column: 1; } .acc__entete .chapo { grid-column: 2; grid-row: 2; } }
.acc__titre { font-size: var(--t-h1); font-weight: 500; max-width: 20ch; }
.etapes { display: grid; gap: var(--s-lg); }
@media (min-width: 1024px) { .etapes { grid-template-columns: repeat(4, 1fr); gap: var(--s-md); } }
.etape { display: grid; grid-template-columns: auto 1fr; gap: var(--s-md); align-content: start; position: relative; }
.etape:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: calc(-1 * var(--s-lg)); width: 2px; background: var(--bp-sable); }
@media (min-width: 1024px) {
  .etape { grid-template-columns: 1fr; }
  .etape:not(:last-child)::after { left: 56px; right: calc(-1 * var(--s-md)); top: 27px; bottom: auto; width: auto; height: 2px; }
}
.etape__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bp-bleu); color: var(--bp-ecru); font-weight: 700; font-size: 1.125rem; }
.etape:nth-child(4) .etape__num { background: var(--bp-or); color: var(--bp-bleu); }
.etape__quand { display: flex; align-items: center; gap: var(--s-xs); flex-wrap: wrap; font-size: var(--t-micro); font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--texte-faible); }
.badge { padding: 2px 10px; border-radius: var(--r-pill); background: var(--bp-or); color: var(--bp-bleu); letter-spacing: .04em; font-size: var(--t-micro); font-weight: 700; text-transform: uppercase; }
.etape h3 { font-size: 1.5rem; font-weight: 700; margin-block: 4px var(--s-sm); }
.puces { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-xs); }
.puces li { position: relative; padding-left: 18px; font-size: .9375rem; }
.puces li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; border-radius: 2px; background: var(--bp-or); }

/* --- Deux colonnes (deux mondes, façon de travailler…) -------------------------- */
.deux { display: grid; gap: var(--s-lg); }
@media (min-width: 900px) { .deux { grid-template-columns: 1fr 1fr; } }
.panneau { padding: var(--s-xl); border-radius: var(--r-xl); background: var(--bp-ivoire); border: 1px solid var(--bordure); display: grid; gap: var(--s-md); align-content: start; }
.panneau--sombre { background: var(--bp-bleu); color: var(--bp-ecru); border-color: transparent; }
.panneau--sombre h3 { color: var(--bp-ecru); }
.panneau__tete { display: flex; align-items: center; gap: var(--s-sm); }
.panneau__tete img { height: 40px; width: auto; }
.qualites { display: grid; gap: var(--s-md); }
@media (min-width: 560px) { .qualites { grid-template-columns: 1fr 1fr; } }
.qualites dt { font-weight: 700; color: var(--bp-or-profond); text-transform: uppercase; font-size: var(--t-micro); letter-spacing: var(--ls-eyebrow); }
.panneau--sombre .qualites dt { color: var(--bp-or); }
.qualites dd { margin: 4px 0 0; font-size: .9375rem; }
.cartes { display: grid; gap: var(--s-md); }
@media (min-width: 800px) { .cartes--2 { grid-template-columns: 1fr 1fr; } .cartes--3 { grid-template-columns: repeat(3, 1fr); } }
.carte { padding: var(--s-lg); border-radius: var(--r-xl); background: var(--bp-ivoire); border: 1px solid var(--bordure); display: grid; gap: var(--s-sm); align-content: start; }
.section--alterne .carte { background: var(--bp-ivoire); }
.carte h3 { font-size: 1.25rem; }

/* --- Fin'Surance (version sombre) ------------------------------------------------ */
.methode { background: var(--bp-bleu); color: var(--bp-ecru); }
.methode h2, .methode h3 { color: var(--bp-ecru); }
.methode__temps { display: grid; gap: var(--s-md); margin-top: var(--s-xl); }
@media (min-width: 800px) { .methode__temps { grid-template-columns: repeat(3, 1fr); } }
.methode__temps li { border-top: 2px solid var(--bp-or); padding-top: var(--s-md); display: grid; gap: var(--s-xs); }
.methode__temps span { color: var(--bp-or); font-weight: 700; }

/* --- Qui suis-je ------------------------------------------------------------------ */
.presentation { padding-top: var(--s-2xl); overflow: hidden; }
.presentation__grille { display: grid; gap: var(--s-xl); align-items: end; }
@media (min-width: 900px) { .presentation__grille { grid-template-columns: 7fr 5fr; } }
.presentation__texte { display: grid; gap: var(--s-md); align-self: center; padding-bottom: var(--s-2xl); }
.presentation h1 { font-size: var(--t-hero); font-weight: 500; letter-spacing: var(--ls-hero); }
.presentation__role { font-size: var(--t-petit); font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--texte-faible); }
.presentation__accroche { font-size: 1.375rem; line-height: 1.4; font-weight: 500; max-width: 30ch; }
.citation { margin: var(--s-sm) 0 0; padding-left: var(--s-md); border-left: 3px solid var(--bp-or); font-style: italic; font-size: 1.25rem; line-height: 1.5; max-width: 34ch; }
.presentation__visuel { justify-self: center; width: min(100%, 440px); }
.presentation__visuel .photo-attente { aspect-ratio: 4 / 5; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.presentation__portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.chiffres { display: grid; gap: var(--s-md); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.chiffres li { padding: var(--s-md); border-left: 3px solid var(--bp-or); display: grid; gap: 4px; }
.chiffres strong { font-size: 1.75rem; color: var(--titre); line-height: 1.1; }
.chiffres span { font-size: .9375rem; color: var(--texte-faible); }
.etapes-num { display: grid; gap: var(--s-sm); counter-reset: n; }
.etapes-num li { display: flex; gap: var(--s-sm); align-items: baseline; }
.etapes-num li b { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bp-or); color: var(--bp-bleu); font-size: .9375rem; }
.phrase-forte { font-size: 1.375rem; font-weight: 600; color: var(--titre); border-left: 3px solid var(--bp-or); padding-left: var(--s-md); }
.statut { display: grid; gap: var(--s-md); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.statut li { padding: var(--s-md); border: 1px solid var(--bordure); border-radius: var(--r-lg); background: var(--bp-ivoire); display: grid; gap: 4px; font-size: .9375rem; }
.statut strong { color: var(--titre); }

/* --- Secteur ------------------------------------------------------------------------ */
/* Carte du secteur (23/11/2026), sur le principe de la carte FD CAP, à deux zones :
   Île-de-France en bleu profond, reste de la France en beige sable. Des aplats, jamais du texte. */
.secteur-carte { margin: 0; display: grid; gap: var(--s-md); }
.secteur-carte__scene { position: relative; }
.secteur-carte__dessin { display: block; width: 100%; height: auto; overflow: visible; }
.secteur-carte__zone path { stroke: var(--bp-ivoire); stroke-width: 1.4; stroke-linejoin: round; }
.secteur-carte__zone--1 path { fill: var(--bp-bleu); }
.secteur-carte__zone--2 path { fill: var(--bp-sable); }
.secteur-carte__zone { cursor: default; transition: opacity 180ms ease; }
.secteur-carte__zone:focus { outline: none; }
.secteur-carte__zone:focus-visible path { stroke: var(--bp-or); stroke-width: 2.4; }
.secteur-carte__scene:has(.secteur-carte__zone:hover) .secteur-carte__zone { opacity: .35; }
.secteur-carte__scene:has(.secteur-carte__zone--1:hover) .secteur-carte__zone--1,
.secteur-carte__scene:has(.secteur-carte__zone--2:hover) .secteur-carte__zone--2 { opacity: 1; }
.secteur-carte__scene:not(:has(.secteur-carte__zone:hover)):has(.secteur-carte__zone:focus-visible) .secteur-carte__zone { opacity: .35; }
.secteur-carte__scene:not(:has(.secteur-carte__zone:hover)):has(.secteur-carte__zone--1:focus-visible) .secteur-carte__zone--1,
.secteur-carte__scene:not(:has(.secteur-carte__zone:hover)):has(.secteur-carte__zone--2:focus-visible) .secteur-carte__zone--2 { opacity: 1; }
.secteur-carte__bulle { position: absolute; top: 0; left: 0; transform: translate(var(--x, 0px), var(--y, 0px)); pointer-events: none; width: max-content; max-width: 18rem; }
.secteur-carte__bulle-corps { opacity: 0; transform: translateY(6px); transition: opacity 160ms ease, transform 160ms ease;
  padding: var(--s-sm) var(--s-md); border-radius: var(--r-lg); background: var(--bp-ivoire); border: 1px solid var(--bp-filet);
  box-shadow: var(--ombre-3); border-left: 4px solid var(--accent, var(--bp-bleu)); }
.secteur-carte__bulle--visible .secteur-carte__bulle-corps { opacity: 1; transform: none; }
.secteur-carte__bulle[data-secteur="2"] { --accent: var(--bp-sable); }
.secteur-carte__bulle p { margin: 0; }
.secteur-carte__bulle-titre { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-gris); margin-bottom: 4px; }
.secteur-carte__bulle-detail { font-weight: 600; color: var(--bp-bleu); line-height: 1.35; }
.secteur-carte__liste { display: grid; gap: var(--s-sm); }
.secteur-carte__ligne { display: grid; grid-template-columns: auto 1fr; gap: var(--s-sm); align-items: start; font-size: .9375rem; }
.secteur-carte__ligne strong { display: block; color: var(--titre); }
.secteur-carte__ligne-texte { color: var(--texte-faible); }
.secteur-carte__puce { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; background: var(--puce); }
.secteur-carte__ligne--1 { --puce: var(--bp-bleu); }
.secteur-carte__ligne--2 { --puce: var(--bp-sable); }
.secteur-carte__source { margin: 0; font-size: .8125rem; color: var(--texte-faible); }
@media (hover: none) { .secteur-carte__bulle { display: none; } }
@media (prefers-reduced-motion: reduce) { .secteur-carte__zone, .secteur-carte__bulle-corps { transition: none; } }

/* --- Bilan offert -------------------------------------------------------------------- */
.contacts { display: grid; gap: var(--s-md); }
@media (min-width: 900px) { .contacts { grid-template-columns: repeat(3, 1fr); } }
.contact { padding: var(--s-lg); border-radius: var(--r-xl); background: var(--bp-ivoire); border: 1px solid var(--bordure); display: grid; gap: var(--s-sm); align-content: start; }
.contact__valeur { font-size: 1.375rem; font-weight: 700; color: var(--titre); }
.offert { display: grid; gap: var(--s-sm); }
@media (min-width: 800px) { .offert { grid-template-columns: repeat(4, 1fr); } }
.offert li { padding: var(--s-md); border-radius: var(--r-lg); background: var(--bp-ivoire); border: 1px solid var(--bordure); display: grid; gap: 8px; justify-items: start; font-weight: 600; color: var(--titre); }
.offert li small { font-weight: 700; color: var(--bp-or-profond); }

/* --- FAQ --------------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--s-2xl); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--bordure); padding-block: var(--s-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--titre); font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: var(--s-md); }
.faq summary::after { content: "+"; color: var(--bp-or-profond); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: var(--s-sm); color: var(--texte-faible); }

/* --- Pages légales ------------------------------------------------------------------------ */
.legal { max-width: 72ch; display: grid; gap: var(--s-lg); }
.legal h2 { font-size: 1.375rem; font-weight: 600; }
.legal p { color: var(--texte-faible); }
/* Rubriques rédigées (25/11/2026) : intertitres serrés sur leur texte, plus d'air au-dessus qu'en dessous. */
.legal .carte { gap: var(--s-xs); padding: var(--s-xl) var(--s-lg); }
.legal h2 { margin-bottom: var(--s-xs); scroll-margin-top: 96px; }
.legal .carte { scroll-margin-top: 96px; }
.legal h3 { font-size: 1.0625rem; font-weight: 700; color: var(--titre); margin-top: var(--s-md); }
.legal h2 + h3 { margin-top: 0; }
.legal p + p { margin-top: var(--s-xs); }
.legal__liste { margin: 0; padding-left: 1.25em; color: var(--texte-faible); display: grid; gap: var(--s-xs); }
.legal__liste li::marker { color: var(--bp-or-profond); }
.legal__sommaire { display: flex; flex-wrap: wrap; gap: var(--s-xs) var(--s-md); margin-top: var(--s-md); font-size: .9375rem; font-weight: 600; }
.legal__sommaire a { color: var(--bp-or-profond); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.legal__sommaire a:hover { color: var(--bp-bleu); }
.trou { background: var(--bp-or-pale); color: var(--bp-or-profond); font-weight: 600; padding: 0 6px; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[data-theme="sombre"] .trou, .bandeau .trou, .pied .trou, .chiffre-fort .trou, .methode .trou { background: rgba(176,138,85,.22); color: #E5C99A; }

/* --- Formulaire « Demander un rappel » (23/11/2026) ------------------------------------- */
.rappel__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rappel__retour { margin: 0; padding: var(--s-sm) var(--s-md); border-radius: var(--r-md); font-size: .9375rem; }
.rappel__retour--ok { background: var(--bp-or-pale); color: var(--bp-bleu); }
.rappel__retour--erreur { background: #F6E3E1; color: var(--bp-bleu); border-left: 3px solid #A23B32; }
