
@font-face { font-family: "Jost"; src: url("polices/Jost.woff2") format("woff2"), url("polices/Jost.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Halo lumineux autour des boutons « Être rappelé » (ils mènent à la page « Prendre rendez-vous ») */
@keyframes halo-rappel {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 214, 147, .65), 0 0 14px 2px rgba(237, 214, 147, .35), 0 12px 28px -14px rgba(0, 40, 45, .5); }
  50% { box-shadow: 0 0 0 8px rgba(237, 214, 147, 0), 0 0 30px 9px rgba(237, 214, 147, .6), 0 12px 28px -14px rgba(0, 40, 45, .5); }
}
.bouton.lumineux, .rappel-flottant { animation: halo-rappel 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .bouton.lumineux, .rappel-flottant { animation: none; box-shadow: 0 0 22px 5px rgba(237, 214, 147, .55); }
}
.rdv-lien { margin-top: 10px; }

/* Pavés dynamiques : apparition en cascade, survol vivant (rien ne bouge si l'on demande de réduire les animations) */
.paves-section { padding-block: 56px 24px; }
.paves { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .paves { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .paves { grid-template-columns: 1fr; } }
.pave { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px 22px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--trait); color: inherit; text-decoration: none; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1.2), box-shadow .35s, border-color .35s; transition-delay: calc(var(--i, 0) * 70ms); }
.pave h3 { margin: 4px 0 0; font-size: 1.22rem; font-weight: 500; color: var(--encre); letter-spacing: 0; }
.pave p { margin: 0; color: var(--encre-douce); }
.pave .icone { width: 38px; height: 38px; color: var(--accent-pave, var(--teal)); transition: transform .45s cubic-bezier(.2, .8, .3, 1.4), color .3s; }
.pave::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px 140px at var(--x, 30%) var(--y, 0%), rgba(237, 214, 147, .28), transparent 70%); }
.pave:hover, .pave:focus-visible, .preuve:hover, .partout-france .carte:hover { transform: translateY(-6px); border-color: rgba(237, 214, 147, .9);
  box-shadow: 0 26px 50px -28px rgba(0, 63, 70, .55), 0 0 0 1px rgba(237, 214, 147, .5); transition-delay: 0s; }
.pave:hover::after { opacity: 1; }
.pave:hover .icone { transform: translateY(-3px) rotate(-8deg) scale(1.12); color: var(--or); }
a.pave::before { content: "→"; position: absolute; right: 18px; top: 18px; color: var(--or); opacity: 0; transform: translateX(-6px); transition: .3s; }
a.pave:hover::before { opacity: 1; transform: none; }
.js .pave.apparait.attente { transform: translateY(26px) scale(.97); }
.preuve, .partout-france .carte { transition: transform .35s cubic-bezier(.2, .8, .3, 1.2), box-shadow .35s, border-color .35s; }
.preuve b.compte { display: inline-block; animation: chiffre-eclat .9s ease-out; }
@keyframes chiffre-eclat { 0% { text-shadow: 0 0 0 rgba(237, 214, 147, 0); } 60% { text-shadow: 0 0 22px rgba(237, 214, 147, .8); } 100% { text-shadow: none; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pave { --accent-pave: var(--sur-teal-doux); } }
:root[data-theme="dark"] .pave { --accent-pave: var(--sur-teal-doux); }
@media (prefers-reduced-motion: reduce) {
  .pave, .pave .icone, .pave::after, .preuve, .partout-france .carte { transition: none; }
  .pave:hover, .preuve:hover, .partout-france .carte:hover { transform: none; }
  .preuve b.compte { animation: none; }
}

/* Vidéo de l'accueil : 16:9 sur ordinateur, 9:16 sur téléphone (plus lisible), jouée une fois, l'image de fin reste */
.video-accueil { position: relative; margin: 40px auto 8px; max-width: 980px; border-radius: 20px; overflow: hidden; background: #002a30;
  box-shadow: 0 24px 60px -28px rgba(0, 40, 45, .6); }
.video-accueil video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #002a30; }
.video-accueil.verticale { max-width: min(100%, calc(78svh * 9 / 16)); }
.video-accueil.verticale video { aspect-ratio: 9 / 16; }
.video-bouton { position: absolute; right: 14px; bottom: 14px; padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .9rem/1 var(--f-texte); color: #0f2a2e; background: var(--or-vif); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6); }
.video-son { background: rgba(255, 255, 255, .85); }
/* Petit drapeau français après le mot « France » (décoratif, dessiné en CSS) */
.fr-mot { white-space: nowrap; }
.drapeau-fr { display: inline-block; width: .95em; height: .64em; margin-left: .3em; vertical-align: .02em; border-radius: 2px;
  background: linear-gradient(90deg, #002395 0 33.4%, #ffffff 33.4% 66.6%, #ed2939 66.6%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }

/* Page « Prendre rendez-vous » */
.page-rdv .rappel-flottant { display: none; }
.rdv-grille { display: grid; gap: 28px; }
@media (min-width: 900px) { .rdv-grille { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); align-items: start; } }
.rdv-grille > *, .rdv-etape, #rdv .ligne > * { min-width: 0; }
.rdv-etape { margin: 0 0 22px; }
.rdv-etape > h2 { font-size: 1.15rem; margin: 0 0 10px; }
.rdv-types { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.rdv-types label { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--trait); border-radius: 14px; background: var(--surface); cursor: pointer; }
.rdv-types input { position: absolute; opacity: 0; pointer-events: none; }
.rdv-types label:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent); }
.rdv-types label:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.rdv-types small { color: var(--encre-douce); }
.rdv-jours { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; }
.rdv-jours button, .rdv-heures button { font: inherit; color: var(--encre); background: var(--surface); border: 1.5px solid var(--trait); border-radius: 12px; cursor: pointer; }
.rdv-jours button { flex: none; min-width: 96px; padding: 8px 10px; text-align: center; scroll-snap-align: start; line-height: 1.25; }
.rdv-jours button b { display: block; font-size: 1.15rem; }
.rdv-heures { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.rdv-heures button { padding: 9px 0; }
.rdv-jours button[aria-pressed="true"], .rdv-heures button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #f3f1eb; }
.rdv-resume { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--or-vif) 28%, transparent); font-weight: 500; }
.rdv-info { color: var(--encre-douce); font-size: .93rem; }
/* Mise en page : une seule colonne pensée pour le téléphone, qui s'ouvre en 2 et 3 colonnes ; bandes claires,
   une bande bleu-vert pour le simulateur et le pied de page, l'or réservé aux gestes importants. */
:root {
  --encre: #0f2a2e;          /* texte principal */
  --encre-douce: #4a6267;    /* texte secondaire */
  --fond: #f4f7f6;           /* fond de page, gris bleuté */
  --surface: #ffffff;        /* cartes, formulaires */
  --trait: #d8e2e0;
  --teal: #005059;           /* bleu-vert du logo */
  --teal-profond: #003f46;
  --or: #8a6a26;             /* or lisible sur fond clair */
  --or-vif: #edd693;         /* or du logo, sur fond sombre */
  --sur-teal: #f3f1eb;       /* texte sur bande bleu-vert */
  --sur-teal-doux: #bbd7db;
  --alerte: #a33a1f;
  --ok: #1f6b4a;
  --ombre: 0 18px 50px -24px rgba(0, 63, 70, .35);
  --f-titre: "Jost", "Segoe UI", system-ui, sans-serif;
  --f-texte: "Jost", "Segoe UI", system-ui, sans-serif;
  --rayon: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --encre: #e9efee; --encre-douce: #a9bcbf; --fond: #0b2226; --surface: #10303a; --trait: #24464d;
    --teal: #0d6570; --teal-profond: #072c31; --or: #e2c983; --or-vif: #edd693; --sur-teal: #f3f1eb;
    --sur-teal-doux: #bbd7db; --alerte: #f08a6c; --ok: #7fd1a8; --ombre: 0 18px 50px -24px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --encre: #e9efee; --encre-douce: #a9bcbf; --fond: #0b2226; --surface: #10303a; --trait: #24464d;
  --teal: #0d6570; --teal-profond: #072c31; --or: #e2c983; --or-vif: #edd693; --sur-teal: #f3f1eb;
  --sur-teal-doux: #bbd7db; --alerte: #f08a6c; --ok: #7fd1a8; --ombre: 0 18px 50px -24px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1.0625rem/1.65 var(--f-texte); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 300; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--or-vif); outline-offset: 3px; border-radius: 4px; }
.conteneur { width: min(1180px, 100%); margin-inline: auto; padding-inline: 20px; }
.etiquette { font: 500 .75rem/1 var(--f-texte); letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.pole { font-family: var(--f-titre); font-style: italic; }
section { padding-block: 72px; }
.intro-section { display: grid; gap: 14px; max-width: 42rem; margin-bottom: 40px; }
.intro-section h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.intro-section p { color: var(--encre-douce); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--teal); background: var(--teal); color: var(--sur-teal);
  font: 500 1rem/1 var(--f-texte); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.bouton:hover { background: var(--teal-profond); transform: translateY(-1px); }
.bouton.clair { background: transparent; color: var(--encre); border-color: var(--trait); }
.bouton.clair:hover { border-color: var(--teal); background: transparent; }
.bouton.or { background: var(--or-vif); border-color: var(--or-vif); color: #0f2a2e; }
.bouton.or:hover { background: #f3e2b0; }
.bouton[aria-disabled="true"] { opacity: .7; cursor: default; transform: none; }

/* En-tête */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--fond) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.entete.defile { border-bottom-color: var(--trait); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal); }
:root:not([data-theme="light"]) .marque { color: var(--encre); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .marque { color: var(--teal); } }
.marque svg { width: 40px; height: 40px; flex: none; }
.marque span { display: grid; line-height: 1; }
.marque b { font: 700 1.05rem/1 var(--f-titre); letter-spacing: .2em; white-space: nowrap; }
.marque small { font: 400 .62rem/1.3 var(--f-texte); letter-spacing: .38em; color: var(--or); margin-top: 4px; }
.menu { display: none; gap: 28px; font-size: .95rem; }
.menu a { text-decoration: none; color: var(--encre-douce); white-space: nowrap; }
.menu a:hover { color: var(--encre); }
.entete .actions { display: flex; gap: 8px; align-items: center; }
.entete .espace { display: none; }
.entete .bouton { min-height: 42px; padding: 0 18px; font-size: .92rem; }
@media (min-width: 960px) { .menu { display: flex; } .entete .espace { display: inline-flex; } }

/* Ouverture */
.ouverture { padding-block: 36px 64px; }
.ouverture .grille { display: grid; gap: 36px; align-items: center; }
.ouverture h1 { font-size: clamp(2.3rem, 8vw, 4.4rem); color: var(--encre); }
.ouverture h1 em { color: var(--teal); font-style: italic; }
:root[data-theme="dark"] .ouverture h1 em { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ouverture h1 em { color: var(--or); } }
.ouverture .chapeau { font-size: 1.15rem; color: var(--encre-douce); max-width: 34rem; margin-top: 20px; }
.ouverture .appels { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.offre { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--trait); font-size: .92rem; }
.offre b { background: var(--or-vif); color: #0f2a2e; border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: .78rem; letter-spacing: .04em; }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 22px 22px 22px 120px; overflow: hidden;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-profond) 100%); box-shadow: var(--ombre); }
.portrait .a-venir { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; padding: 24px;
  color: var(--sur-teal-doux); font-size: .92rem; }
.portrait .a-venir svg { width: 64px; height: 64px; margin-inline: auto; opacity: .55; }
.portrait figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 12px;
  background: color-mix(in srgb, var(--teal-profond) 82%, transparent); color: var(--sur-teal); font-size: .9rem; line-height: 1.4;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.portrait figcaption b { display: block; font: italic 400 1.05rem/1.3 var(--f-titre); color: var(--or-vif); }
@media (min-width: 900px) { .ouverture .grille { grid-template-columns: 1.25fr .75fr; gap: 64px; } .ouverture { padding-block: 64px 88px; } }

.portrait .photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Trois portes */
.portes { display: grid; gap: 14px; margin-top: 48px; }
.porte { position: relative; display: grid; gap: 8px; padding: 22px 22px 24px; border-radius: var(--rayon); background: var(--surface);
  border: 1px solid var(--trait); text-decoration: none; color: var(--encre); transition: transform .25s, box-shadow .25s, border-color .25s; }
.porte:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: transparent; }
.porte .pole { font-size: 1.5rem; color: var(--teal); }
:root[data-theme="dark"] .porte .pole { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .porte .pole { color: var(--or); } }
.porte .etiquette { color: var(--encre-douce); letter-spacing: .14em; }
.porte p { color: var(--encre-douce); font-size: .98rem; }
.porte .fleche { position: absolute; right: 20px; top: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--trait);
  display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.porte:hover .fleche { background: var(--teal); color: var(--sur-teal); border-color: var(--teal); }
@media (min-width: 760px) { .portes { grid-template-columns: repeat(3, 1fr); } }

/* Simulateur */
.bande { background: var(--teal); color: var(--sur-teal); }
:root[data-theme="dark"] .bande { background: var(--teal-profond); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bande { background: var(--teal-profond); } }
.bande .etiquette { color: var(--or-vif); }
.bande .intro-section p { color: var(--sur-teal-doux); }
.simulateur { display: grid; gap: 20px; }
.questions, .verdict { border-radius: 18px; padding: 22px; min-width: 0; }
.questions { background: color-mix(in srgb, #ffffff 7%, transparent); border: 1px solid color-mix(in srgb, #ffffff 16%, transparent); display: grid; gap: 22px; }
.question { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.question legend, .question > label { font-weight: 500; padding: 0; margin-bottom: 2px; }
/* Boutons de choix : tous au même format (colonnes égales, même hauteur, texte centré) */
.choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix label { display: flex; align-items: center; justify-content: center; text-align: center; height: 54px; line-height: 1.2;
  padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, #ffffff 28%, transparent); cursor: pointer;
  font-size: .93rem; color: var(--sur-teal); transition: background .2s, color .2s, border-color .2s; }
.choix input:checked + label { background: var(--or-vif); border-color: var(--or-vif); color: #0f2a2e; font-weight: 500; }
.choix input:focus-visible + label { outline: 3px solid var(--or-vif); outline-offset: 2px; }
.montant { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.montant output { font: 400 1.6rem/1 var(--f-titre); color: var(--or-vif); font-variant-numeric: tabular-nums; min-width: 7ch; text-align: right; }
input[type=range] { width: 100%; accent-color: #edd693; }
.verdict { background: var(--surface); color: var(--encre); box-shadow: var(--ombre); display: grid; gap: 18px; align-content: start; }
.verdict h3 { font-size: 1.55rem; }
.verdict .resume { color: var(--encre-douce); }
.frise { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: etape; }
.frise li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-bottom: 16px; }
.frise li::before { counter-increment: etape; content: counter(etape); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 500 .9rem/1 var(--f-texte); background: var(--fond); border: 1px solid var(--trait); color: var(--teal); }
.frise li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 36px; bottom: 2px; width: 1px; background: var(--trait); }
.frise li.fait::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.frise li.fait { opacity: .7; }
.frise b { display: block; font-weight: 500; }
.frise span { color: var(--encre-douce); font-size: .93rem; }
.frise .duree { display: inline-block; margin-top: 4px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--or); }
.points { display: grid; gap: 10px; }
.point { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; line-height: 1.5; }
.point i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 600; margin-top: 1px; }
.point.info i { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal); }
.point.vigilance i { background: color-mix(in srgb, var(--alerte) 16%, transparent); color: var(--alerte); }
.point.atout i { background: color-mix(in srgb, var(--or) 18%, transparent); color: var(--or); }
:root[data-theme="dark"] .point.info i { color: var(--sur-teal-doux); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .point.info i { color: var(--sur-teal-doux); } }
.verdict .total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--fond); font-size: .95rem; }
.verdict .total b { font-family: var(--f-titre); font-size: 1.15rem; font-weight: 400; }
.simulateur .choix label { height: auto; min-height: 54px; padding-block: 8px; }
.encart-info { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; min-width: 0; overflow-wrap: anywhere;
  border-left: 6px solid var(--teal); background: color-mix(in srgb, var(--teal) 13%, var(--surface)); box-shadow: 0 12px 26px -18px rgba(0, 63, 70, .65); }
.encart-info[hidden] { display: none; }
.encart-info p.encart-clause { margin-top: 10px; font-size: 1rem; font-weight: 500; }
.encart-corps { min-width: 0; }
.encart-lien { display: inline-block; margin-top: 8px; font-size: .85rem; font-weight: 500; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.encart-lien[hidden] { display: none; }
.encart-info p { margin: 0; font: 500 1.2rem/1.4 var(--f-texte); color: var(--teal); }
.encart-pastille { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff;
  font: 700 1.5rem/1 var(--f-titre); font-style: italic; }
.encart-info.vigilance { border-left-color: var(--or); background: color-mix(in srgb, var(--or) 18%, var(--surface)); }
.encart-info.vigilance p { color: color-mix(in srgb, var(--or) 60%, #000); }
.encart-info.vigilance .encart-pastille { background: var(--or); color: var(--surface); }
:root[data-theme="dark"] .encart-info p { color: var(--or-vif); }
:root[data-theme="dark"] .encart-info .encart-pastille { background: var(--or-vif); color: #0f2a2e; }
:root[data-theme="dark"] .encart-info.vigilance p { color: var(--or); }
:root[data-theme="dark"] .encart-info.vigilance .encart-pastille { background: var(--or); color: #0f2a2e; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .encart-info p { color: var(--or-vif); }
  :root:not([data-theme="light"]) .encart-info .encart-pastille { background: var(--or-vif); color: #0f2a2e; }
  :root:not([data-theme="light"]) .encart-info.vigilance p { color: var(--or); }
  :root:not([data-theme="light"]) .encart-info.vigilance .encart-pastille { background: var(--or); color: #0f2a2e; }
}
.pyramide { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.etage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: 14px; min-width: 0; overflow-wrap: anywhere;
  border: 1px solid var(--trait); }
.etage-corps { min-width: 0; }
.etage h4 { margin: 0; font: 500 1.08rem/1.25 var(--f-texte); color: var(--encre); }
.etage p { margin: 6px 0 0; font-size: .93rem; line-height: 1.5; color: var(--encre-douce); }
.etage .etage-ligne { font-size: .85rem; color: var(--encre); }
.pastille { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 500 1.15rem/1 var(--f-titre); }
.etage-amiable { background: color-mix(in srgb, var(--teal) 10%, var(--surface)); border-color: color-mix(in srgb, var(--teal) 45%, var(--trait)); }
.etage-amiable .pastille { background: var(--teal); color: #fff; }
.etage-judiciaire { background: color-mix(in srgb, var(--or) 16%, var(--surface)); border-color: color-mix(in srgb, var(--or) 60%, var(--trait)); }
.etage-judiciaire .pastille { background: var(--or); color: var(--surface); }
.lien-etages { margin: 0; padding: 6px 0; text-align: center; font-size: .85rem; font-weight: 500; color: var(--encre-douce); }
.lien-etages::before { content: "\2193\00a0"; font-size: 1.1em; }
@media (min-width: 700px) {
  .etage-judiciaire { order: 1; width: 78%; align-self: center; }
  .lien-etages { order: 2; }
  .lien-etages::before { content: "\2191\00a0"; font-size: 1.1em; }
  .etage-amiable { order: 3; }
}
.mention { font-size: .8rem; color: var(--encre-douce); line-height: 1.5; }
@media (min-width: 900px) { .simulateur { grid-template-columns: 1fr 1fr; gap: 28px; } .questions, .verdict { padding: 30px; } }

/* Activités */
.activites { display: grid; gap: 28px; }
.activite { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--trait); border-radius: 20px; overflow: hidden; }
.activite .visuel { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: linear-gradient(140deg, var(--teal) 0%, var(--teal-profond) 100%);
  display: grid; place-items: center; color: var(--sur-teal-doux); }
.activite .visuel svg { width: min(46%, 220px); height: auto; opacity: .9; }
.activite .visuel small { position: absolute; left: 14px; bottom: 12px; font-size: .75rem; letter-spacing: .08em; opacity: .8; }
.activite .corps { padding: 26px 22px 28px; display: grid; gap: 14px; align-content: start; }
.activite h3 { font-size: 2rem; font-style: italic; color: var(--teal); }
:root[data-theme="dark"] .activite h3 { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .activite h3 { color: var(--or); } }
.activite .pour { font-size: .9rem; color: var(--encre-douce); }
.activite ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.activite li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.activite li::before { content: ""; width: 8px; height: 8px; margin-top: .62em; border: 1.5px solid var(--or); transform: rotate(45deg); }
.lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--teal); text-decoration: none; border-bottom: 1px solid currentColor;
  width: fit-content; padding-bottom: 2px; }
:root[data-theme="dark"] .lien { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lien { color: var(--or); } }
.rachat { margin-top: 6px; padding: 18px; border-radius: 14px; background: var(--fond); border: 1px dashed var(--or); display: grid; gap: 8px; }
.rachat b { font-family: var(--f-titre); font-weight: 400; font-size: 1.15rem; }
.rachat p { font-size: .95rem; color: var(--encre-douce); }
@media (min-width: 900px) {
  .activite { grid-template-columns: 1fr 1.1fr; }
  .activite .visuel { aspect-ratio: auto; min-height: 100%; }
  .activite:nth-child(even) .visuel { order: 2; }
  .activite .corps { padding: 40px 44px; }
}

/* Méthode et garanties */
.methode { display: grid; gap: 14px; counter-reset: pas; }
.pas { padding: 22px; border-top: 2px solid var(--teal); background: var(--surface); border-radius: 0 0 14px 14px; display: grid; gap: 8px; }
.pas::before { counter-increment: pas; content: "Étape " counter(pas); font: 500 .75rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.pas h3 { font-size: 1.25rem; }
.pas p { color: var(--encre-douce); font-size: .97rem; }
@media (min-width: 760px) { .methode { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .methode { grid-template-columns: repeat(4, 1fr); } }
.garanties { display: grid; gap: 1px; margin-top: 44px; background: var(--trait); border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; }
.garantie { background: var(--fond); padding: 22px; display: grid; gap: 6px; align-content: start; }
.garantie svg { width: 28px; height: 28px; color: var(--teal); }
:root[data-theme="dark"] .garantie svg { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .garantie svg { color: var(--or); } }
.garantie b { font-weight: 500; }
.garantie span { color: var(--encre-douce); font-size: .93rem; }
@media (min-width: 640px) { .garanties { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .garanties { grid-template-columns: repeat(3, 1fr); } }

/* Fondatrice */
.fondatrice { display: grid; gap: 32px; align-items: center; }
.fondatrice blockquote { margin: 0; font: italic 400 clamp(1.4rem, 4vw, 2rem)/1.35 var(--f-titre); color: var(--encre); text-wrap: balance; }
.fondatrice blockquote::before { content: "« "; color: var(--or); }
.fondatrice blockquote::after { content: " »"; color: var(--or); }
.fondatrice .signature { display: grid; gap: 4px; margin-top: 22px; }
.fondatrice .signature b { font-weight: 500; }
.fondatrice .signature span { color: var(--encre-douce); font-size: .95rem; }
.titres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.titres span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--trait); font-size: .85rem; background: var(--surface); }
.fondatrice .portrait { border-radius: 120px 22px 22px 22px; aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .fondatrice { grid-template-columns: .8fr 1.2fr; gap: 72px; } }

/* Conseils */
.articles { display: grid; gap: 18px; }
.article { display: grid; gap: 12px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); align-content: start; }
.article .pole { color: var(--or); font-size: .95rem; }
.article h3 { font-size: 1.35rem; }
.article p { color: var(--encre-douce); font-size: .97rem; }
.article button { justify-self: start; background: none; border: 0; padding: 0; font: 500 1rem var(--f-texte); color: var(--teal); cursor: pointer; border-bottom: 1px solid currentColor; }
:root[data-theme="dark"] .article button { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .article button { color: var(--or); } }
.article .lecture { font-size: .8rem; color: var(--encre-douce); letter-spacing: .04em; }
@media (min-width: 900px) { .articles { grid-template-columns: repeat(3, 1fr); } }
dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); border: 0; border-radius: 20px; padding: 0; background: var(--surface); color: var(--encre); box-shadow: var(--ombre); }
dialog::backdrop { background: rgba(5, 30, 34, .55); backdrop-filter: blur(3px); }
dialog .contenu { padding: 32px 26px 28px; display: grid; gap: 14px; }
dialog h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
dialog h3 { font-size: 1.15rem; margin-top: 8px; }
dialog p, dialog li { color: var(--encre-douce); }
dialog ul, dialog ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
dialog .fermer { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 12px 12px 0; background: var(--surface); }
dialog .fermer button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--trait); background: var(--surface); color: var(--encre); cursor: pointer; font-size: 1.1rem; }

/* Questions fréquentes */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--trait); border-radius: 14px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--f-texte); color: var(--or); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--encre-douce); }

/* Rappel */
.rappel { display: grid; gap: 32px; }
.formulaire { background: var(--surface); border: 1px solid var(--trait); border-radius: 20px; padding: 24px; display: grid; gap: 16px; box-shadow: var(--ombre); min-width: 0; }
.formulaire .ligne { display: grid; gap: 16px; }
.formulaire { position: relative; }
/* Sceau JurisViva Groupe : tampon rond apposé sur le formulaire, avec un léger effet d'encre */
.sceau { position: absolute; right: 10px; bottom: 8px; width: 94px; height: 94px; color: var(--teal); transform: rotate(-13deg); opacity: .92; pointer-events: none; z-index: 1; }
.sceau svg { width: 100%; height: 100%; display: block; }
@media (min-width: 720px) { .sceau { right: 22px; bottom: 22px; width: 150px; height: 150px; } }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ label { font-size: .9rem; font-weight: 500; }
.champ input, .champ select, .champ textarea { width: 100%; font: 400 1rem/1.4 var(--f-texte); color: var(--encre); background: var(--fond); border: 1px solid var(--trait);
  border-radius: 10px; padding: 12px 14px; }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.consentement { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .85rem; color: var(--encre-douce); }
.consentement input { width: 18px; height: 18px; margin-top: 2px; accent-color: #005059; }
.erreur { color: var(--alerte); font-size: .88rem; }
.confirmation { padding: 18px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.coordonnees { display: grid; gap: 18px; align-content: start; }
.coordonnees .bloc { display: grid; gap: 4px; }
.coordonnees .bloc span { color: var(--encre-douce); font-size: .9rem; }
.coordonnees .bloc b { font: 400 1.25rem/1.3 var(--f-titre); overflow-wrap: anywhere; }
.coordonnees .bloc b a { color: inherit; }
.en-cours { font-family: var(--f-texte) !important; font-size: 1rem !important; font-style: italic; color: var(--encre-douce); }
.a-completer { background: color-mix(in srgb, var(--or-vif) 45%, transparent); padding: 0 4px; border-radius: 3px; }
@media (min-width: 720px) { .formulaire .ligne { grid-template-columns: 1fr 1fr; } .formulaire { padding: 32px; } }
@media (min-width: 960px) { .rappel { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* Pied de page : même bleu-vert que le fond du logo */
.pied { background: #005059; color: #f3f1eb; padding-block: 56px 32px; }
.pied .haut { display: grid; gap: 32px; }
.pied img { width: 190px; height: auto; }
.pied h4 { margin: 0 0 12px; font: 500 .75rem/1 var(--f-texte); letter-spacing: .18em; text-transform: uppercase; color: #edd693; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; color: #bbd7db; }
.pied a { text-decoration: none; }
.pied a:hover { color: #f3f1eb; }
.pied .bas { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(243, 241, 235, .18); display: grid; gap: 8px; font-size: .8rem; color: #bbd7db; }
.pied .a-completer { background: rgba(237, 214, 147, .22); }
@media (min-width: 900px) { .pied .haut { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

/* Bouton flottant « Être rappelé » */
.rappel-flottant { position: fixed; z-index: 30; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center;
  gap: 10px; min-height: 52px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--or-vif); color: #0f2a2e; text-decoration: none;
  font: 600 1rem/1 var(--f-texte); box-shadow: 0 14px 34px -12px rgba(0, 40, 45, .55); transition: transform .2s, opacity .3s; }
.rappel-flottant:hover { transform: translateY(-2px); }
.rappel-flottant svg { width: 22px; height: 22px; }
.rappel-flottant.cache { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 520px) { .rappel-flottant { left: 16px; right: 16px; justify-content: center; } .pied { padding-bottom: 96px; }
  .entete .actions .bouton { display: none; } /* sur téléphone, le bouton flottant suffit */ }

/* Apparition douce au défilement (la page est lisible même sans) */
.apparait { transition: opacity .7s ease, transform .7s ease; }
.js .apparait.attente { opacity: .001; transform: translateY(18px); }

/* ===================== Version 2 : ambiance bleu-vert, profondeur et mouvement ===================== */
:root { --nuit: #00363d; --abysse: #002a30; --halo: rgba(237, 214, 147, .16); --verre: rgba(255, 255, 255, .07); --verre-trait: rgba(255, 255, 255, .14); }
body { background:
  radial-gradient(1200px 600px at 110% 40%, color-mix(in srgb, var(--teal) 9%, transparent), transparent 70%),
  radial-gradient(900px 500px at -10% 75%, color-mix(in srgb, var(--teal) 8%, transparent), transparent 70%), var(--fond); }

/* En-tête en verre bleu-vert */
.entete { background: color-mix(in srgb, var(--abysse) 78%, transparent); border-bottom: 1px solid var(--verre-trait); }
.entete.defile { border-bottom-color: var(--verre-trait); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55); }
.entete .marque, :root:not([data-theme="light"]) .entete .marque { color: #f3f1eb; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .entete .marque { color: #f3f1eb; } }
.marque small { color: #edd693; }
.menu a { color: #bbd7db; } .menu a:hover { color: #fff; }
.entete .bouton { background: #edd693; border-color: #edd693; color: #0f2a2e; }
.entete .bouton:hover { background: #f3e2b0; }
.entete .bouton.clair { background: transparent; color: #f3f1eb; border-color: var(--verre-trait); }

/* Menu sur écran étroit : bouton « Menu » qui déplie les liens sous la barre */
.burger { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--verre-trait); background: transparent; color: #f3f1eb; font: 500 .92rem/1 var(--f-texte); }
.burger svg { width: 20px; height: 20px; }
.burger:hover { border-color: #edd693; }
@media (max-width: 959px) {
  .entete.ouvert .menu { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    padding: 6px 20px 18px; background: #00262c; border-bottom: 1px solid var(--verre-trait); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    max-height: calc(100vh - 72px); overflow-y: auto; }
  .entete.ouvert .menu a { padding: 14px 4px; font-size: 1.05rem; color: #f3f1eb; border-bottom: 1px solid var(--verre-trait); }
  .entete.ouvert .menu a:last-child { border-bottom: 0; }
  .entete.ouvert .menu a[aria-current="page"] { color: #edd693; }
}
@media (min-width: 960px) { .burger { display: none; } }

/* Ouverture : nuit bleu-vert, halos qui respirent */
.ouverture { position: relative; overflow: hidden; color: #f3f1eb; margin-top: -72px; padding-top: 108px;
  background: radial-gradient(900px 520px at 85% 15%, rgba(13, 101, 112, .9), transparent 65%),
              radial-gradient(700px 500px at 0% 100%, rgba(0, 80, 89, .95), transparent 70%),
              linear-gradient(165deg, #005059 0%, #00363d 55%, #002228 100%); }
.ouverture::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--fond) 0%, transparent)); pointer-events: none; }
.halo { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; animation: respire 14s ease-in-out infinite alternate; }
.halo.or { width: 380px; height: 380px; right: -80px; top: 60px; background: rgba(237, 214, 147, .28); }
.halo.clair { width: 460px; height: 460px; left: -160px; bottom: -120px; background: rgba(187, 215, 219, .2); animation-delay: -6s; }
@keyframes respire { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.15); } }
.ouverture .conteneur { position: relative; z-index: 1; }
.ouverture .etiquette { color: #edd693; }
.ouverture h1 { color: #f3f1eb; }
.ouverture h1 em, :root[data-theme="dark"] .ouverture h1 em, :root:not([data-theme="light"]) .ouverture h1 em { color: #edd693; }
/* reflet doré : posé sur chaque mot (un dégradé « texte » ne traverse pas des mots animés séparément) */
.ouverture h1 em .mot { background: linear-gradient(100deg, #edd693 0%, #fff6d8 40%, #c9a85c 60%, #edd693 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: monte .9s cubic-bezier(.2, .7, .2, 1) both, reflet 6s ease-in-out infinite;
  animation-delay: calc(.35s + var(--i) * 70ms), 2.6s; }
@keyframes reflet { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.ouverture .chapeau { color: #bbd7db; }
.ouverture .bouton { background: #edd693; border-color: #edd693; color: #0f2a2e; box-shadow: 0 12px 30px -12px rgba(237, 214, 147, .55); }
.ouverture .bouton:hover { background: #f3e2b0; }
.ouverture .bouton.clair { background: var(--verre); color: #f3f1eb; border-color: var(--verre-trait); box-shadow: none; }
.ouverture .offre { background: var(--verre); border-color: var(--verre-trait); color: #f3f1eb; }
.ouverture .portrait { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(237, 214, 147, .25); background: linear-gradient(160deg, #0d6570, #002a30); }

/* Logo animé */
.embleme-anime { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.embleme-anime svg { width: 74px; height: 74px; overflow: visible; }
.embleme-anime .trace { stroke-dasharray: 80; stroke-dashoffset: 80; animation: trace 1.1s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
.embleme-anime .ligne { stroke-dasharray: 64; stroke-dashoffset: 64; animation: trace .9s cubic-bezier(.65, 0, .35, 1) .9s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.embleme-anime .mots { display: grid; gap: 6px; line-height: 1; }
.embleme-anime .mots b { font: 700 1.35rem/1 var(--f-titre); letter-spacing: .26em; color: #f3f1eb; animation: espace 1.6s cubic-bezier(.2, .7, .2, 1) .5s both; }
.embleme-anime .mots span { font: 400 .72rem/1 var(--f-texte); letter-spacing: .5em; color: #edd693; animation: espace 1.6s cubic-bezier(.2, .7, .2, 1) .8s both; }
@keyframes espace { from { opacity: 0; letter-spacing: .02em; filter: blur(4px); } to { opacity: 1; filter: blur(0); } }
.marque svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: trace 1s ease .3s forwards; }

/* Logo au survol : une ligne dorée se dessine sous le nom, de gauche à droite, et le chevron s'illumine */
.marque span, .logo-pied { position: relative; }
.logo-pied { justify-self: start; width: max-content; }
.marque span::after, .logo-pied::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #c9a85c, #edd693 55%, #c9a85c); transform: scaleX(0); transform-origin: left center;
  transition: transform .6s cubic-bezier(.65, 0, .35, 1); pointer-events: none; }
.logo-pied::after { bottom: -10px; height: 3px; }
.marque:hover span::after, .marque:focus-visible span::after, .logo-pied:hover::after { transform: scaleX(1); }
.marque svg { transition: filter .4s ease; }
.marque:hover svg, .marque:focus-visible svg { filter: drop-shadow(0 0 5px rgba(237, 214, 147, .75)); }

/* Titre : les mots montent un à un au chargement */
.mot { display: inline-block; animation: monte .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.35s + var(--i) * 70ms); }
@keyframes monte { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.ouverture .chapeau, .ouverture .appels, .ouverture .offre { animation: monte 1s cubic-bezier(.2, .7, .2, 1) 1.1s both; }
.ouverture .portrait { animation: monte 1.2s cubic-bezier(.2, .7, .2, 1) .6s both; }

/* Portes en verre sur fond nuit */
.ouverture .porte { background: var(--verre); border-color: var(--verre-trait); color: #f3f1eb; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: monte 1s cubic-bezier(.2, .7, .2, 1) both; }
.ouverture .porte:nth-child(1) { animation-delay: 1.3s; } .ouverture .porte:nth-child(2) { animation-delay: 1.45s; } .ouverture .porte:nth-child(3) { animation-delay: 1.6s; }
.ouverture .porte .pole, :root[data-theme="dark"] .ouverture .porte .pole, :root:not([data-theme="light"]) .ouverture .porte .pole { color: #edd693; }
.ouverture .porte .etiquette { color: #bbd7db; }
.ouverture .porte p { color: #d4e4e6; }
.ouverture .porte .fleche { border-color: var(--verre-trait); }
.ouverture .porte:hover { background: rgba(255, 255, 255, .12); border-color: rgba(237, 214, 147, .5); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.ouverture .porte:hover .fleche { background: #edd693; color: #0f2a2e; border-color: #edd693; }

/* Bandes bleu-vert en dégradé */
.bande { background: radial-gradient(800px 400px at 100% 0%, rgba(13, 101, 112, .8), transparent 70%), linear-gradient(170deg, #00474f 0%, #002e34 100%) !important; }
.questions { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.verdict { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.verdict.maj > * { animation: fondu .45s ease both; }
@keyframes fondu { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.sombre { position: relative; color: #f3f1eb; background: radial-gradient(700px 380px at 0% 0%, rgba(13, 101, 112, .75), transparent 70%),
  linear-gradient(185deg, #003a41 0%, #00262b 100%); padding-block: 80px !important; }
.sombre .etiquette { color: #edd693; }
.sombre .intro-section p { color: #bbd7db; }
.sombre .pas { background: var(--verre); border-top-color: #edd693; color: #f3f1eb; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); }
.sombre .pas p { color: #bbd7db; }
.sombre .pas::before { color: #edd693; }
.sombre .garanties { background: var(--verre-trait); border-color: var(--verre-trait); }
.sombre .garantie { background: #002f35; }
.sombre .garantie b { color: #f3f1eb; } .sombre .garantie span { color: #bbd7db; }
.sombre .garantie svg, :root[data-theme="dark"] .sombre .garantie svg, :root:not([data-theme="light"]) .sombre .garantie svg { color: #edd693; }

/* Profondeur sur les cartes claires */
.activite { box-shadow: 0 30px 70px -40px rgba(0, 63, 70, .5); border-color: transparent; transition: transform .35s, box-shadow .35s; }
.activite:hover { transform: translateY(-4px); box-shadow: 0 40px 90px -40px rgba(0, 63, 70, .6); }
.activite .visuel { background: radial-gradient(400px 260px at 80% 20%, rgba(237, 214, 147, .18), transparent 70%), linear-gradient(140deg, #0d6570 0%, #00363d 100%); }
.activite .visuel svg { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.activite:hover .visuel svg { transform: scale(1.06) rotate(-1deg); }
.article, .faq details { box-shadow: 0 18px 40px -30px rgba(0, 63, 70, .45); }
.article:hover { transform: translateY(-3px); box-shadow: 0 26px 56px -30px rgba(0, 63, 70, .55); }
.article { transition: transform .3s, box-shadow .3s; }
.fondatrice .portrait { box-shadow: 0 40px 80px -36px rgba(0, 63, 70, .7); }

/* Rappel : fond teinté */
#rappel { background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--teal) 10%, transparent) 100%); padding-bottom: 96px; }

/* Apparition au défilement plus marquée */
.js .apparait.attente { opacity: .001; transform: translateY(28px); filter: blur(4px); }
.apparait { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s; }

/* Pied de page en dégradé */
.pied { background: radial-gradient(700px 300px at 100% 0%, rgba(13, 101, 112, .7), transparent 70%), linear-gradient(180deg, #005059 0%, #003a41 100%); }

@media (prefers-reduced-motion: reduce) { .mot, .embleme-anime *, .marque svg path { animation: none !important; stroke-dashoffset: 0 !important; } .halo { animation: none; } }

/* Carte « votre interlocutrice » : la photo reste discrète, les engagements passent devant */
.interlocutrice { display: grid; gap: 20px; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); color: #f3f1eb;
  animation: monte 1.2s cubic-bezier(.2, .7, .2, 1) .9s both; max-width: 420px; justify-self: end; width: 100%; }
.interlocutrice .qui { display: flex; align-items: center; gap: 18px; }
.interlocutrice img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid #edd693; flex: none; }
.interlocutrice p { display: grid; gap: 2px; line-height: 1.35; }
.interlocutrice b { font-weight: 500; font-size: 1.05rem; }
.interlocutrice span { font-size: .85rem; color: #bbd7db; }
.interlocutrice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.interlocutrice li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: #e4eeef; }
.interlocutrice li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 600;
  background: rgba(237, 214, 147, .18); color: #edd693; }
.interlocutrice .bouton { width: 100%; }
@media (max-width: 899px) { .interlocutrice { justify-self: stretch; max-width: none; } }
/* Fondatrice : portrait petit et rond */
.fondatrice .portrait { width: 280px; max-width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; justify-self: center; box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--trait), 0 30px 60px -30px rgba(0, 63, 70, .6); }
@media (min-width: 900px) { .fondatrice { grid-template-columns: 300px 1fr !important; gap: 56px !important; } }

/* Mosaïque de trois photos par activité */
.activite .visuel.mosaique { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; aspect-ratio: 16 / 11;
  background: linear-gradient(140deg, #0d6570 0%, #00363d 100%); }
.mosaique img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 12px; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.mosaique img:first-child { grid-row: span 2; border-radius: 14px 8px 8px 14px; }
.mosaique { overflow: hidden; }
.activite:hover .mosaique img { transform: scale(1.04); }
.activite:hover .mosaique img:first-child { transform: scale(1.06); }
@media (min-width: 900px) { .activite .visuel.mosaique { aspect-ratio: auto; min-height: 420px; padding: 8px; gap: 8px; } }

/* Notre éthique */
.engagements-accueil { display: grid; gap: 14px; }
.engagement { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); border-top: 3px solid var(--or-vif);
  box-shadow: 0 18px 40px -30px rgba(0, 63, 70, .45); display: grid; gap: 8px; align-content: start; }
.engagement b { font-weight: 500; font-size: 1.1rem; }
.engagement p { color: var(--encre-douce); font-size: .97rem; }
@media (min-width: 760px) { .engagements-accueil { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .engagements-accueil { grid-template-columns: repeat(4, 1fr); } }
/* Chiffres clés */
.preuves { padding-block: 44px 8px; }
.grille-chiffres { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preuve { padding: 22px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--trait); display: grid; gap: 8px; align-content: start;
  box-shadow: 0 24px 50px -34px rgba(0, 63, 70, .55); position: relative; overflow: hidden; }
.preuve::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #edd693, #c9a85c); }
.preuve b { font: 300 clamp(2.2rem, 7vw, 3.2rem)/1 var(--f-titre); color: var(--teal); letter-spacing: -.02em; }
:root[data-theme="dark"] .preuve b { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .preuve b { color: var(--or); } }
.preuve span { color: var(--encre-douce); font-size: .93rem; line-height: 1.45; }
@media (min-width: 960px) { .grille-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Le mot de la fondatrice */
.mot-fondatrice { position: relative; overflow: hidden; color: #f3f1eb; padding-block: 88px !important;
  background: radial-gradient(800px 460px at 100% 0%, rgba(13, 101, 112, .85), transparent 70%),
              radial-gradient(600px 400px at 0% 100%, rgba(0, 80, 89, .9), transparent 70%),
              linear-gradient(170deg, #004a52 0%, #00262b 100%); }
.mot-fondatrice .halo.or { right: auto; left: -120px; top: 40%; }
.mot-fondatrice .conteneur { position: relative; z-index: 1; }
.mot-grille { display: grid; gap: 40px; align-items: center; }
.mot-portrait { position: relative; margin: 0 auto; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: 28px 28px 28px 150px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(237, 214, 147, .35); }
.mot-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
/* petite étiquette en bas à droite, sous le visage (25/10/2026 : l'ancien bandeau pleine largeur couvrait le visage) */
.mot-portrait figcaption { position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 38, 43, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-wrap: wrap; align-items: baseline;
  column-gap: 8px; line-height: 1.3; }
.mot-portrait figcaption b { font-weight: 500; font-size: .88rem; color: #f3f1eb; }
.mot-portrait figcaption span { font-size: .76rem; color: #edd693; }
.mot-texte { display: grid; gap: 16px; }
.mot-texte .etiquette { color: #edd693; }
.mot-texte h2 { font-size: clamp(2rem, 5.5vw, 3.1rem); color: #f3f1eb; margin-bottom: 6px; }
.mot-texte h2 em { color: #edd693; font-style: italic; }
.mot-texte p { color: #d4e4e6; font-size: 1.06rem; }
.mot-texte .chute { font: italic 400 clamp(1.3rem, 3.4vw, 1.6rem)/1.35 var(--f-titre); color: #edd693; margin-top: 6px; }
.signature-mot { display: grid; gap: 2px; font-weight: 500; color: #f3f1eb !important; margin-top: 4px; }
.signature-mot span { font-weight: 400; font-size: .9rem; color: #bbd7db; }
.parcours-fondatrice { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 12px; }
.parcours-fondatrice li { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13); border-top: 2px solid rgba(237, 214, 147, .6); }
.parcours-fondatrice em { font-style: normal; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #edd693; }
.parcours-fondatrice b { font-weight: 500; color: #f3f1eb; }
.parcours-fondatrice span { font-size: .9rem; color: #bbd7db; line-height: 1.45; }
.parcours-fondatrice li.aujourdhui { background: rgba(237, 214, 147, .12); border-color: rgba(237, 214, 147, .45); }
@media (min-width: 760px) { .parcours-fondatrice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .mot-grille { grid-template-columns: 400px minmax(0, 1fr); gap: 72px; }
  .parcours-fondatrice { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Visuels */
.pas .icone { width: 34px; height: 34px; color: #edd693; margin-bottom: 4px; }
.partout-france .cartes { display: grid; gap: 16px; }
.partout-france .carte { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); display: grid; gap: 10px; align-content: start; box-shadow: 0 18px 40px -30px rgba(0, 63, 70, .45); }
.partout-france .carte h3 { font-size: 1.25rem; font-weight: 400; }
.partout-france .carte p { color: var(--encre-douce); font-size: .97rem; }
@media (min-width: 760px) { .partout-france .cartes.quatre { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .partout-france .cartes.quatre { grid-template-columns: repeat(4, 1fr); } }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.carte .icone { width: 38px; height: 38px; color: var(--teal); margin-bottom: 6px; }
:root[data-theme="dark"] .carte .icone { color: var(--or); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .carte .icone { color: var(--or); } }
.article { overflow: hidden; }
.article .vignette { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 6px; aspect-ratio: 16 / 10; height: auto;
  object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.article:hover .vignette { transform: scale(1.04); }
.ethique-duo { display: grid; gap: 22px; align-items: stretch; }
.photo-france { position: relative; margin: 0; border-radius: 22px 22px 22px 90px; overflow: hidden; min-height: 280px;
  box-shadow: 0 30px 70px -40px rgba(0, 63, 70, .6); }
.photo-france img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.photo-france figcaption, .photo-rappel figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; border-radius: 12px;
  background: rgba(0, 38, 43, .74); color: #f3f1eb; font-size: .92rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.photo-rappel { position: relative; margin: 0 0 8px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10;
  box-shadow: 0 30px 70px -40px rgba(0, 63, 70, .6); }
.photo-rappel img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
@media (min-width: 960px) { .ethique-duo { grid-template-columns: 340px minmax(0, 1fr); }
  .ethique-duo .engagements-accueil { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.suivez-nous { display: grid; gap: 18px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--trait); }
.suivez-nous .etiquette { margin-bottom: 10px; }
.reseaux { display: flex; gap: 10px; flex-wrap: wrap; }
.reseau { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--teal); background: var(--surface);
  border: 1px solid var(--trait); transition: transform .2s, background .2s, color .2s; }
.reseau svg { width: 21px; height: 21px; }
a.reseau:hover { transform: translateY(-2px); background: var(--teal); color: #f3f1eb; }
.reseau.inactif { opacity: .55; cursor: default; }
.presse { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.presse a { color: inherit; } .presse span { display: block; font-size: .85rem; color: var(--encre-douce); }
.presse-vide { margin: 0; font-size: .92rem; }
.pied .reseaux-pied { margin-top: 6px; }
.pied .reseau { width: 38px; height: 38px; color: #edd693; background: rgba(255, 255, 255, .06); border-color: rgba(237, 214, 147, .35); }
.pied a.reseau:hover { background: #edd693; color: #0d3b66; }
.pied .reseau svg { width: 18px; height: 18px; }
/* question ouverte : fond teinté de la couleur du pôle, comme sur la page Cession (21/10/2026) */
/* bandeaux rectangulaires avec la barre de couleur du pôle, comme sur la page Cession */
.faq details { border-radius: 4px; border-left: 3px solid var(--teal); }
.faq details[open] { background: color-mix(in srgb, var(--teal) 13%, var(--surface)); transition: background .25s; }
/* le texte sur les données ne passe plus sous le tampon (21/10/2026) */
.formulaire .mention-donnees { padding-right: 92px; min-height: 72px; }
@media (min-width: 720px) { .formulaire .mention-donnees { padding-right: 168px; min-height: 96px; } }

/* ===================== Pages des activités ===================== */
.fil { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: #bbd7db; margin-bottom: 22px; }
.fil a { color: #f3f1eb; text-decoration: none; border-bottom: 1px solid rgba(243, 241, 235, .35); }
.fil a:hover { border-bottom-color: #edd693; }
.page-pole .grille { grid-template-columns: 1fr; }
.page-pole h1 .pole { display: block; font-style: italic; color: #edd693; font-size: .55em; margin-bottom: 10px; letter-spacing: 0; }
.page-pole h1 { animation: monte 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
.page-pole .visuel.mosaique { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px;
  height: 300px; border-radius: 20px; overflow: hidden; background: linear-gradient(140deg, #0d6570 0%, #00363d 100%);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .65); animation: monte 1.2s cubic-bezier(.2, .7, .2, 1) .5s both; }
@media (min-width: 900px) { .page-pole .grille { grid-template-columns: 1.05fr .95fr; } .page-pole .visuel.mosaique { height: 440px; gap: 8px; padding: 8px; } }
.page-pole .video-hero { position: relative; margin: 0 auto; width: min(100%, 360px); animation: monte 1.2s cubic-bezier(.2, .7, .2, 1) .5s both; }
.page-pole .video-hero video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; background: #f3f1eb;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .65); }
.page-pole .video-hero .video-bouton { bottom: auto; top: 14px; }
.page-pole .video-hero figcaption { margin-top: 10px; font-size: .88rem; color: #bbd7db; }
.page-pole .video-hero figcaption summary { cursor: pointer; color: #edd693; }
.page-pole .video-hero figcaption p { margin-top: 8px; color: #d6e6e8; }
@media (min-width: 900px) { .page-pole .video-hero { width: 330px; } }
.fondatrice-bande { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 24px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--trait); box-shadow: 0 18px 40px -30px rgba(0, 40, 45, .5); }
.fondatrice-bande img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.fondatrice-bande p { margin: 0; }
.fondatrice-bande .etiquette { margin-bottom: 6px; }
.fondatrice-bande .citation { margin-top: 8px; font-style: italic; color: var(--teal); }
.fondatrice-bande .citation a { font-style: normal; margin-left: 6px; }
@media (min-width: 760px) { .fondatrice-bande { grid-template-columns: 120px minmax(0, 1fr); padding: 26px 32px; }
  .fondatrice-bande img { width: 120px; height: 120px; } }
.encart-rachat { background: linear-gradient(140deg, #0d6570 0%, #00363d 100%); }
.encart-rachat .appels-rachat { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
@media (min-width: 900px) { .encart-rachat { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; } }
.cartes { display: grid; gap: 16px; }
.carte { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); display: grid; gap: 10px; align-content: start;
  box-shadow: 0 18px 40px -30px rgba(0, 63, 70, .45); }
.carte h3 { font-size: 1.3rem; }
.carte p, .carte li { color: var(--encre-douce); font-size: .97rem; }
.carte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.carte li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.carte li::before { content: ""; width: 8px; height: 8px; margin-top: .62em; border: 1.5px solid var(--or); transform: rotate(45deg); }
.carte .etiquette { color: var(--or); }
@media (min-width: 760px) { .cartes.deux { grid-template-columns: repeat(2, 1fr); } .cartes.trois { grid-template-columns: repeat(3, 1fr); } .cartes.quatre { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cartes.quatre { grid-template-columns: repeat(4, 1fr); } }
.parcours { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 46rem; counter-reset: etape; }
.parcours li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 28px; }
.parcours li::before { counter-increment: etape; content: counter(etape); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 500 1rem/1 var(--f-texte); background: var(--teal); color: #f3f1eb; box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 14%, transparent); }
.parcours li:not(:last-child)::after { content: ""; position: absolute; left: 21.5px; top: 50px; bottom: 6px; width: 1px; background: var(--trait); }
.parcours b { display: block; font-weight: 500; font-size: 1.1rem; }
.parcours p { color: var(--encre-douce); }
.sombre .parcours li::before { background: #edd693; color: #0f2a2e; box-shadow: 0 0 0 6px rgba(237, 214, 147, .15); }
.sombre .parcours li:not(:last-child)::after { background: rgba(255, 255, 255, .18); }
.parcours .duree { display: inline-block; margin-top: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--or); }
.encart { padding: 28px; border-radius: 20px; color: #f3f1eb; display: grid; gap: 12px;
  background: radial-gradient(500px 260px at 100% 0%, rgba(237, 214, 147, .18), transparent 70%), linear-gradient(150deg, #005059 0%, #002e34 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 63, 70, .7); }
.encart .etiquette { color: #edd693; }
.encart h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
.encart p, .encart li { color: #d4e4e6; }
.encart ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.encart .bouton { justify-self: start; background: #edd693; border-color: #edd693; color: #0f2a2e; }
.duo { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 48px; } }
.encart .photo-encart { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 6px; }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.engagements li { position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: var(--surface); border: 1px solid var(--trait);
  box-shadow: 0 18px 40px -32px rgba(0, 63, 70, .45); }
.engagements li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 600; background: color-mix(in srgb, var(--or-vif) 45%, transparent); color: var(--teal); }
.texte-legal .engagements { margin: 12px 0 8px; }
.retour { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 22px 24px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--trait); }
.retour p { color: var(--encre-douce); }
.autres .porte { min-height: 100%; }
.porte[aria-current="page"] { display: none; }
/* Vidéo de présentation */
.video { margin: 0 auto; max-width: 980px; border-radius: 20px; overflow: hidden; background: #002a30;
  box-shadow: 0 40px 80px -40px rgba(0, 63, 70, .7), 0 0 0 1px rgba(237, 214, 147, .25); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #002a30; }
.page-legale { padding-bottom: 48px; }
.page-legale h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-top: 6px; }
.texte-legal { max-width: 860px; display: grid; gap: 14px; }
.texte-legal > * { min-width: 0; }
.texte-legal div.defile { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.texte-legal h2 { font-size: 1.6rem; margin-top: 28px; }
.texte-legal h3 { font-size: 1.15rem; margin-top: 10px; font-weight: 500; }
.texte-legal p { color: var(--encre-douce); }
.texte-legal a { color: var(--teal); }
.fiche-legale { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 24px; margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--trait); }
.fiche-legale dt { font-weight: 500; margin-top: 8px; }
.fiche-legale dd { margin: 0; color: var(--encre-douce); }
@media (min-width: 720px) { .fiche-legale { grid-template-columns: 220px minmax(0, 1fr); } .fiche-legale dt, .fiche-legale dd { margin-top: 6px; } }
.tableau-legal { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; font-size: .93rem; }
.tableau-legal th, .tableau-legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau-legal th { background: var(--teal); color: #f3f1eb; font-weight: 500; }
.tableau-legal td { color: var(--encre-douce); }
.promesse-legale { margin: 0 0 14px; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--trait); border-left: 4px solid #edd693; }
.promesse-legale strong { display: block; font-size: 1.15rem; font-weight: 500; color: var(--encre); margin-bottom: 4px; }
.pied .bas a { text-decoration: underline; text-underline-offset: 3px; }
.menu a[aria-current="page"] { color: #fff; border-bottom: 1px solid #edd693; padding-bottom: 2px; }

/* ===================== Couleur de pôle : JurisViva Cession (grenat) =====================
   Le cadre du groupe (en-tête, pied de page) garde la couleur du groupe (bleu pétrole) ; à l'intérieur de la page,
   la couleur de signature du pôle remplace le bleu-vert : boutons, liens, icônes, bandes sombres. */
.pole-cession main { --teal: #6e2639; --teal-profond: #3d1420; --pole-doux: #f6e9ec; }
.pole-cession .ouverture { background: radial-gradient(900px 520px at 85% 15%, rgba(140, 58, 84, .9), transparent 65%),
              radial-gradient(700px 500px at 0% 100%, rgba(110, 38, 57, .95), transparent 70%),
              linear-gradient(165deg, #6e2639 0%, #4a1a28 55%, #2e0f18 100%); }
.pole-cession .ouverture .chapeau, .pole-cession .fil { color: #f0d5dc; }
.pole-cession .halo.clair { background: rgba(232, 169, 184, .22); }
.pole-cession .page-pole .visuel.mosaique { background: linear-gradient(140deg, #8c3a54 0%, #3d1420 100%); }
.pole-cession .sombre { background: radial-gradient(700px 380px at 0% 0%, rgba(140, 58, 84, .75), transparent 70%),
              linear-gradient(160deg, #4a1a28 0%, #2e0f18 100%); }
.pole-cession .sombre .intro-section p, .pole-cession .sombre .parcours p { color: #f0d5dc; }
.pole-cession .encart { background: radial-gradient(500px 260px at 100% 0%, rgba(237, 214, 147, .18), transparent 70%), linear-gradient(150deg, #6e2639 0%, #3d1420 100%);
  box-shadow: 0 40px 80px -40px rgba(61, 20, 32, .7); }
.pole-cession .encart p, .pole-cession .encart li { color: #f0d5dc; }
.pole-cession .carte, .pole-cession .engagements li, .pole-cession .retour { box-shadow: 0 18px 40px -30px rgba(61, 20, 32, .45); }
.pole-cession .engagements li::before { color: #6e2639; }
.pole-cession .parcours li::before { box-shadow: 0 0 0 6px rgba(110, 38, 57, .14); }
.pole-cession .note-pole { padding: 14px 18px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--pole-doux); color: var(--encre); }
.pole-cession .note-pole b { color: var(--teal); }
:root[data-theme="dark"] .pole-cession main { --teal: #9c3a5a; --teal-profond: #7a2d45; --pole-doux: #2a1118; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-cession main { --teal: #9c3a5a; --teal-profond: #7a2d45; --pole-doux: #2a1118; } }
:root[data-theme="dark"] .pole-cession .note-pole b { color: #e8a9b8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-cession .note-pole b { color: #e8a9b8; } }

/* ===================== Accueil du groupe : nuit et or, une porte par pôle =====================
   Groupe = bleu pétrole #0d3b66 + or (depuis le 21/10/2026) ; Créance = bleu-vert ; Cession = grenat ; Locatif = brique #9a5a1c. */
.ouverture.groupe { background: radial-gradient(900px 520px at 85% 10%, rgba(237, 214, 147, .16), transparent 65%),
              radial-gradient(700px 500px at 0% 100%, rgba(0, 80, 89, .55), transparent 70%),
              linear-gradient(165deg, #00363d 0%, #00262b 55%, #001316 100%); }
.ouverture.groupe h1 { font-size: clamp(2.1rem, 6.5vw, 3.9rem); }
.ouverture.groupe .portes { grid-template-columns: 1fr; }
@media (min-width: 760px) { .ouverture.groupe .portes { grid-template-columns: repeat(3, 1fr); } }
.ouverture .porte.creance { background: linear-gradient(150deg, rgba(13, 101, 112, .82), rgba(0, 80, 89, .92)); border-color: rgba(187, 215, 219, .35); }
.ouverture .porte.creance:hover { background: linear-gradient(150deg, rgba(26, 127, 138, .92), rgba(0, 80, 89, .98)); border-color: rgba(237, 214, 147, .6); }
.ouverture .porte.locatif { background: linear-gradient(150deg, rgba(185, 119, 47, .78), rgba(154, 90, 28, .9)); border-color: rgba(237, 214, 147, .3); }
.ouverture .porte.locatif:hover { background: linear-gradient(150deg, rgba(204, 138, 64, .9), rgba(154, 90, 28, .96)); border-color: rgba(237, 214, 147, .6); }
.ouverture .porte .bientot { position: absolute; left: 22px; bottom: 14px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #edd693; }
.ouverture .porte.locatif p { margin-bottom: 22px; }
.activite.locatif .visuel.mosaique { background: radial-gradient(400px 260px at 80% 20%, rgba(237, 214, 147, .18), transparent 70%), linear-gradient(140deg, #b9772f 0%, #4a2a0c 100%); }
.activite.locatif h3, .activite.locatif .lien { color: #9a5a1c; }
.activite.locatif .rachat { border-color: #9a5a1c; } .activite.locatif .rachat b { color: #9a5a1c; }
.activite.locatif { box-shadow: 0 30px 70px -40px rgba(74, 42, 12, .5); }
:root[data-theme="dark"] .activite.locatif h3, :root[data-theme="dark"] .activite.locatif .rachat b { color: #ebc088; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .activite.locatif h3, :root:not([data-theme="light"]) .activite.locatif .rachat b { color: #ebc088; } }
.activite .lien[aria-disabled="true"] { color: var(--encre-douce); border-bottom-style: dashed; cursor: default; }
/* Le pôle Cession sur l'accueil : bloc d'activité en grenat */
@media (min-width: 760px) { .portes.quatre { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .portes.quatre { grid-template-columns: repeat(4, 1fr); } }
.ouverture .porte.cession { background: linear-gradient(150deg, rgba(110, 38, 57, .78), rgba(61, 20, 32, .85)); border-color: rgba(232, 169, 184, .35); }
.ouverture .porte.cession .etiquette { color: #f0d5dc; }
.ouverture .porte.cession:hover { background: linear-gradient(150deg, rgba(140, 58, 84, .9), rgba(74, 26, 40, .95)); border-color: rgba(237, 214, 147, .6); }
.activite.cession .visuel.mosaique { background: radial-gradient(400px 260px at 80% 20%, rgba(237, 214, 147, .18), transparent 70%), linear-gradient(140deg, #8c3a54 0%, #3d1420 100%); }
.activite.cession h3, .activite.cession .lien { color: #6e2639; }
.activite.cession .lien:hover { color: #3d1420; }
.activite.cession .rachat { border-color: #6e2639; }
.activite.cession .rachat b { color: #6e2639; }
.activite.cession { box-shadow: 0 30px 70px -40px rgba(61, 20, 32, .5); }
.activite.cession:hover { box-shadow: 0 40px 90px -40px rgba(61, 20, 32, .6); }
:root[data-theme="dark"] .activite.cession h3, :root[data-theme="dark"] .activite.cession .rachat b { color: #e8a9b8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .activite.cession h3, :root:not([data-theme="light"]) .activite.cession .rachat b { color: #e8a9b8; } }

/* Lisibilité : les mots animés du titre ne coupent plus les italiques ; le bouton flottant s'efface tant que
   le bouton « Être rappelé » de la bande d'ouverture est à l'écran */
.ouverture h1 .mot { padding-right: .06em; margin-right: -.06em; }
.ouverture h1 em .mot { padding-right: .12em; margin-right: -.12em; }
/* ===================== Photos dans les pages ===================== */
.photo-bande { position: relative; margin: 0 0 32px; border-radius: 22px; overflow: hidden; aspect-ratio: 21 / 9; background: #002a30;
  box-shadow: 0 30px 70px -40px rgba(0, 63, 70, .55); }
@media (max-width: 700px) { .photo-bande { aspect-ratio: 4 / 3; } }
.photo-bande img, .photo-duo img, .photo-etapes img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.photo-bande:hover img, .photo-duo figure:hover img { transform: scale(1.03); }
.photo-bande figcaption, .photo-duo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; max-width: 34rem; padding: 12px 16px; border-radius: 12px;
  background: rgba(0, 38, 43, .62); color: #f3f1eb; font-size: .95rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.photo-duo figcaption b { display: block; font-weight: 500; color: #edd693; }
.photo-duo { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 760px) { .photo-duo { grid-template-columns: 1fr 1fr; } }
.photo-duo figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 24px 50px -32px rgba(0, 63, 70, .5); }
.carte:has(.photo-carte) { overflow: hidden; }
.carte .photo-carte { display: block; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: -24px -24px 8px; }
.photo-etapes { margin: 26px 0 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7), 0 0 0 1px rgba(237, 214, 147, .25); }
.pole-cession .photo-bande figcaption, .pole-cession .photo-duo figcaption { background: rgba(46, 15, 24, .62); }
.pole-cession .photo-bande { background: #2e0f18; box-shadow: 0 30px 70px -40px rgba(61, 20, 32, .55); }
/* Élodie sur la page Cession : même section que l'accueil, en grenat */
.pole-cession .mot-fondatrice { background: radial-gradient(800px 460px at 100% 0%, rgba(140, 58, 84, .85), transparent 70%),
              radial-gradient(600px 400px at 0% 100%, rgba(110, 38, 57, .9), transparent 70%), linear-gradient(170deg, #5a1f2f 0%, #2e0f18 100%); }
.pole-cession .mot-texte p { color: #f0d5dc; }
.pole-cession .signature-mot span { color: #e8a9b8; }
.pole-cession .mot-portrait figcaption { background: rgba(46, 15, 24, .72); }
.pole-cession .titres-pro { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; padding: 0; list-style: none; }
.pole-cession .titres-pro li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(237, 214, 147, .45); background: rgba(255, 255, 255, .06);
  color: #f3f1eb; font-size: .86rem; }
.pole-cession .titres-pro li b { color: #edd693; font-weight: 500; }

/* ===================== Page Cession : présentation propre au pôle =====================
   Même trame que la page Créance (sections, en-tête, pied de page), mais une autre écriture :
   fond ivoire, angles nets, filets or, chapitres numérotés, étapes en tuiles, ouverture sur photo plein cadre.
   La page Créance garde ses formes arrondies et son fond gris-bleu. */
.pole-cession main { --fond: #f8f4f1; --surface: #fffdfb; --trait: #eadcd6; --rayon: 6px; background: var(--fond); counter-reset: chapitre; }
:root[data-theme="dark"] .pole-cession main { --fond: #170d10; --surface: #23141a; --trait: #3d252c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-cession main { --fond: #170d10; --surface: #23141a; --trait: #3d252c; } }

/* Ouverture : photo de rue commerçante en plein cadre, voile grenat */
.pole-cession .ouverture { background: linear-gradient(100deg, rgba(46, 15, 24, .97) 0%, rgba(61, 20, 32, .9) 42%, rgba(110, 38, 57, .5) 100%),
    url("img/cession-1.webp") center 40% / cover; }
.pole-cession .ouverture h1 { font-weight: 300; letter-spacing: -.02em; }
.pole-cession .ouverture .offre, .pole-cession .ouverture .offre b { border-radius: 6px; }
.vitrine { position: relative; margin: 0; animation: monte 1.2s cubic-bezier(.2, .7, .2, 1) .5s both; }
.vitrine img { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 4px;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .75), 0 0 0 1px rgba(237, 214, 147, .4); }
.vitrine .cartouche { list-style: none; position: relative; margin: -44px 16px 0; padding: 18px 20px; display: grid; gap: 10px;
  background: #fffdfb; color: #2e0f18; border-top: 3px solid #edd693; border-radius: 4px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.vitrine .cartouche li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .95rem; line-height: 1.4; }
.vitrine .cartouche li::before { content: ""; width: 8px; height: 8px; margin-top: .5em; border: 1.5px solid #6e2639; transform: rotate(45deg); }
.vitrine .cartouche b { color: #6e2639; font-weight: 600; }
@media (min-width: 900px) { .vitrine img { height: 460px; } .vitrine .cartouche { position: absolute; left: -40px; bottom: 28px; margin: 0; width: min(330px, 82%); } }

/* Chapitres numérotés : 01, 02, 03… devant chaque titre de section, avec un filet */
.pole-cession main > section:not(.ouverture):not(#rappel) .intro-section > .etiquette:first-child { display: flex; align-items: center; gap: 12px; letter-spacing: .22em; }
.pole-cession main > section:not(.ouverture):not(#rappel) .intro-section > .etiquette:first-child::before {
  counter-increment: chapitre; content: counter(chapitre, decimal-leading-zero); font: 300 1.6rem/1 var(--f-titre); letter-spacing: 0; }
.pole-cession main > section:not(.ouverture):not(#rappel) .intro-section > .etiquette:first-child::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .55; }
.pole-cession .intro-section h2 { font-weight: 300; letter-spacing: -.015em; }

/* Cartes : angles nets, filet grenat en tête, icône cerclée */
.pole-cession .carte { border-radius: 4px; box-shadow: none; border: 1px solid var(--trait); border-top: 3px solid var(--teal); transition: border-color .3s, transform .3s; }
.pole-cession .carte:hover { border-color: #c9a85c; border-top-color: var(--teal); transform: translateY(-2px); }
.pole-cession .carte .icone { width: 48px; height: 48px; padding: 10px; border: 1px solid currentColor; border-radius: 50%; color: var(--teal); }
:root[data-theme="dark"] .pole-cession .carte .icone { color: #e8a9b8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-cession .carte .icone { color: #e8a9b8; } }
.pole-cession .carte h3 { font-weight: 400; }

/* Étapes du vendeur : tuiles numérotées « 01 » au lieu de la ligne verticale */
.pole-cession #etapes .duo { grid-template-columns: 1fr; gap: 36px; }
.pole-cession #etapes .photo-etapes { aspect-ratio: 21 / 9; }
@media (min-width: 900px) {
  .pole-cession #etapes .intro-section { max-width: none; grid-template-columns: 1.1fr .9fr; column-gap: 48px; align-items: center; }
  .pole-cession #etapes .intro-section > * { grid-column: 1; }
  .pole-cession #etapes .intro-section > .photo-etapes { grid-column: 2; grid-row: 1 / span 3; margin: 0; aspect-ratio: 16 / 10; }
}
.pole-cession .parcours { max-width: none; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.pole-cession .parcours li { display: block; padding: 22px 22px 24px; border: 1px solid rgba(255, 255, 255, .14); border-top: 2px solid rgba(237, 214, 147, .6);
  border-radius: 4px; background: rgba(255, 255, 255, .04); }
.pole-cession .parcours li::before { display: block; width: auto; height: auto; margin-bottom: 14px; background: none !important; box-shadow: none !important;
  content: counter(etape, decimal-leading-zero); font: 300 2.4rem/1 var(--f-titre); color: #edd693 !important; }
.pole-cession .parcours li::after { display: none; }

/* Questions fréquentes, encart repreneur, photos : même écriture nette */
.pole-cession .faq details { border-radius: 4px; border-left: 3px solid var(--teal); }
.pole-cession .faq details[open] { background: var(--pole-doux); }
.pole-cession .encart { border-radius: 4px; outline: 1px solid rgba(237, 214, 147, .45); outline-offset: -10px; }
.pole-cession .encart .photo-encart, .pole-cession .photo-etapes, .pole-cession .photo-bande { border-radius: 4px; }
.pole-cession .photo-bande figcaption { left: 0; right: auto; bottom: 24px; border-radius: 0 4px 4px 0; border-left: 3px solid #edd693; }
.pole-cession .engagements li, .pole-cession .retour, .pole-cession .parcours-fondatrice li { border-radius: 4px; }
.pole-cession .mot-portrait { border-radius: 4px 4px 4px 120px; }
.pole-cession main .bouton { border-radius: 6px; }
.pole-cession .note-pole { border-radius: 0 4px 4px 0; }

/* ===================== Page Annonces (pôle Cession) ===================== */
.annonces { display: grid; gap: 20px; }
@media (min-width: 760px) { .annonces { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .annonces { grid-template-columns: repeat(3, 1fr); } }
.pole-cession .carte.annonce { padding: 0; gap: 0; overflow: hidden; grid-template-rows: auto 1fr; }
.annonce figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #2e0f18; }
.annonce figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.annonce:hover figure img { transform: scale(1.04); }
.annonce .type { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 3px; background: rgba(46, 15, 24, .86); color: #edd693;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.annonce .corps { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.annonce .ref { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.annonce h3 { font-size: 1.22rem; font-weight: 400; line-height: 1.3; }
.annonce .lieu { font-size: .92rem; color: var(--encre-douce); margin-top: -4px; }
.annonce .prix { font: 300 1.9rem/1.1 var(--f-titre); color: var(--teal); }
.annonce .prix small { display: block; margin-top: 4px; font: 400 .78rem/1.3 var(--f-texte); letter-spacing: .04em; color: var(--encre-douce); }
:root[data-theme="dark"] .annonce .prix { color: #e8a9b8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .annonce .prix { color: #e8a9b8; } }
.annonce dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 12px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.annonce dl div { display: grid; gap: 2px; min-width: 0; }
.annonce dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-douce); }
.annonce dd { margin: 0; font-weight: 500; font-size: .94rem; overflow-wrap: anywhere; }
.annonce .corps > p { font-size: .94rem; }
.annonce .bouton { justify-self: start; margin-top: 4px; }
/* Cartes de recherche sur la section sombre : verre teinté, textes clairs, accents or */
.annonce.recherche { border-left: 3px solid var(--teal); }
.pole-cession .sombre .carte.annonce.recherche { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); border-left: 3px solid #edd693; border-top-color: rgba(237, 214, 147, .6); }
.pole-cession .sombre .carte.annonce.recherche:hover { border-color: rgba(237, 214, 147, .6); }
.sombre .annonce.recherche h3, .sombre .annonce.recherche dd { color: #f3f1eb; }
.sombre .annonce.recherche .ref, .sombre .annonce.recherche .lieu, .sombre .annonce.recherche dt, .sombre .annonce.recherche .corps > p { color: #f0d5dc; }
.sombre .annonce.recherche dl { border-color: rgba(255, 255, 255, .16); }
.sombre .annonce.recherche .profil span { border-color: #edd693; color: #edd693; }
.sombre .annonce.recherche .bouton { background: #edd693; border-color: #edd693; color: #2e0f18; }
.annonce .prix { font-weight: 400; }
.annonce.recherche .corps { padding-top: 22px; }
.annonce.recherche .profil { display: flex; align-items: center; gap: 12px; }
.annonce.recherche .profil span { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--teal); color: var(--teal);
  font: 300 1.1rem/1 var(--f-titre); }
.annonce.recherche h3 { font-size: 1.15rem; }
.annonces-note { margin: 0 0 28px; }
.annonces-comment { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .annonces-comment { grid-template-columns: repeat(3, 1fr); } }
.annonces-comment li { list-style: none; padding: 18px 20px; border: 1px solid var(--trait); border-radius: 4px; background: var(--surface); display: grid; gap: 6px; }
.annonces-comment li b { font-weight: 500; color: var(--teal); }
.annonces-comment li span { font-size: .93rem; color: var(--encre-douce); }

/* Estimateur de fonds (page Cession) : même trame que le simulateur d'impayé, en grenat */
.estimateur select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: inherit; font: inherit; }
.estimateur select option { color: #1d2b30; }
.estimateur .cases { display: grid; gap: 8px; }
.estimateur .cases label { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.35; cursor: pointer; }
.estimateur .cases input { margin-top: .25em; accent-color: var(--or-vif); }
.estimateur .fourchette { font: 300 clamp(1.6rem, 4vw, 2.3rem)/1.1 var(--f-titre); color: var(--teal); }
.estimateur .fourchette small { display: block; font: 400 .85rem/1.4 var(--f-texte); color: var(--encre-douce); margin-top: 6px; }
.estimateur .lignes { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.estimateur .lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--trait); font-size: .95rem; }
.estimateur .lignes li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.estimateur .lignes li.net { border-bottom: 0; font-size: 1.05rem; } .estimateur .lignes li.net b { color: var(--teal); font-size: 1.2rem; }
.estimateur .score { padding: 14px 16px; border-radius: 12px; background: var(--pole-doux, var(--fond)); }
.estimateur .score b { display: block; margin-bottom: 4px; } .estimateur .score ul { margin: 6px 0 0; padding-left: 18px; font-size: .93rem; color: var(--encre-douce); }
.pole-cession .bande { background: radial-gradient(700px 380px at 0% 0%, rgba(140, 58, 84, .75), transparent 70%), linear-gradient(160deg, #6e2639 0%, #3d1420 100%) !important; }
.pole-cession .bande .choix input:checked + label { color: #2e0f18; }
@media (min-width: 900px) { .simulateur.estimateur { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: #00252e; color: #fff; font-weight: 600; text-decoration: none; } .lien-evitement:focus { top: 12px; } .pied h2.titre-pied { margin: 0 0 12px; font: 500 .75rem/1 var(--f-texte); letter-spacing: .18em; text-transform: uppercase; color: #edd693; } .verdict .etiquette { color: #7a5a12; } :root[data-theme="dark"] .verdict .etiquette { color: #edd693; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .verdict .etiquette { color: #edd693; } } .texte-legal a.bouton { color: var(--sur-teal); } .texte-legal a.bouton.clair { color: var(--encre); } .texte-legal a.bouton.or { color: #0f2a2e; } .video figcaption details { margin-top: 10px; font-size: .92rem; color: #d6e6e8; } .video figcaption summary { cursor: pointer; color: #edd693; } .video figcaption span { color: inherit; }

#calculateur [hidden] { display: none !important; }
#calc-verdict #c-calcul, #calc-verdict #c-gros { display: grid; gap: 18px; }
#calculateur .simulateur { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { #calculateur .simulateur { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
#calculateur .questions, #calculateur .verdict, #calculateur .question, #calculateur .champ { min-width: 0; overflow-wrap: anywhere; }
#calculateur .verdict h3, #calculateur .verdict p { overflow-wrap: anywhere; }
#calculateur .choix { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); grid-auto-rows: auto; }
#calculateur .choix label { height: auto; min-height: 54px; padding: 8px 12px; overflow-wrap: anywhere; }
#calculateur #c-detail { font-size: .9rem; }
#calculateur .verdict > div { display: grid; gap: 18px; align-content: start; min-width: 0; }
#calculateur .verdict > div[hidden] { display: none; }
#calculateur input[type=number] { width: 100%; box-sizing: border-box; }
#calculateur .verdict .bouton { justify-self: start; max-width: 100%; text-align: center; white-space: normal; }
.champ[hidden] { display: none; }
.accroche-choc { margin: 16px 0 18px; padding-left: 16px; border-left: 3px solid #edd693; }
.accroche-choc .choc { margin: 0; font: 400 clamp(1.45rem, 3.4vw, 2.1rem)/1.2 var(--f-titre); color: #edd693; }
.accroche-choc .choc-sous { margin: 6px 0 0; font-size: .98rem; opacity: .92; }
img { max-width: 100%; height: auto; }
.pole-locatif main { --teal: #9a5a1c; --teal-profond: #4a2a0c; --pole-doux: #f8efe2; }
.pole-locatif .ouverture { background: radial-gradient(900px 520px at 85% 15%, rgba(185, 119, 47, .9), transparent 65%),
              radial-gradient(700px 500px at 0% 100%, rgba(154, 90, 28, .95), transparent 70%),
              linear-gradient(165deg, #9a5a1c 0%, #6b3f12 55%, #3a2208 100%); }
.pole-locatif .ouverture .chapeau, .pole-locatif .fil { color: #f6e4cc; }
.pole-locatif .halo.clair { background: rgba(240, 196, 140, .22); }
.pole-locatif .page-pole .visuel.mosaique { background: linear-gradient(140deg, #b9772f 0%, #4a2a0c 100%); }
.pole-locatif .rachat { border-color: #9a5a1c; } .pole-locatif .rachat b { color: #9a5a1c; }
.cartes-activites { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.carte-lien { display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.carte-lien:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }
.carte-lien h3 { margin: 0; color: var(--teal); } .carte-lien .lien { color: var(--teal); font-weight: 500; }
.poles-liens { font-size: .95rem; }
.mention-donnees { font-size: .85rem; color: var(--encre-douce); margin: 4px 0 0; }
.formulaire-type { border: 1px dashed var(--trait); border-radius: 12px; padding: 16px 20px; background: var(--surface); }
.entete .bouton, .entete .menu a { white-space: nowrap; }
@media (max-width: 1320px) { .entete .menu { gap: 16px; } } @media (min-width: 960px) and (max-width: 1240px) { .entete .menu { gap: 11px; font-size: .84rem; } .entete .bouton { padding-left: 13px; padding-right: 13px; font-size: .84rem; } } @media (min-width: 960px) and (max-width: 1060px) { .entete .menu a[href*=fondatrice] { display: none; } }
.page-conseil h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.meta-article { color: #bbd7db; font-size: .9rem; margin-top: 10px; }
.article-conseil { gap: 16px; }
.article-conseil .illustration { margin: 0 0 8px; }
.article-conseil .illustration img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.article-conseil ol.engagements { padding-left: 1.2em; }
.comparatif { width: 100%; border-collapse: collapse; min-width: 520px; }
.comparatif th, .comparatif td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.comparatif thead th { color: var(--teal); }
.a-lire { margin-top: 28px; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); }
.a-lire h2 { margin-top: 0; font-size: 1.3rem; }
.a-lire ul { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 8px; }
.article a.lire { justify-self: start; font: 500 1rem var(--f-texte); color: var(--teal); border-bottom: 1px solid currentColor; text-decoration: none; }

/* ===================== Couleur du groupe : bleu pétrole ===================== */
:root { --abysse: #071f38; --nuit: #0a2c4d; }
.pied { background: radial-gradient(700px 300px at 100% 0%, rgba(42, 95, 143, .55), transparent 70%), linear-gradient(180deg, #0d3b66 0%, #08294a 100%) !important; }
.intro { background: radial-gradient(800px 500px at 50% 35%, rgba(13, 59, 102, .75), transparent 70%), #05162a !important; }
.pole-groupe main { --teal: #0d3b66; --teal-profond: #08294a; --pole-doux: #e8eef5; }
:root[data-theme="dark"] .pole-groupe main { --teal: #2f6a9e; --teal-profond: #0d3b66; --pole-doux: #0f1f30; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-groupe main { --teal: #2f6a9e; --teal-profond: #0d3b66; --pole-doux: #0f1f30; } }
.pole-groupe .ouverture { background: radial-gradient(900px 520px at 85% 10%, rgba(237, 214, 147, .16), transparent 65%),
  radial-gradient(700px 500px at 0% 100%, rgba(13, 59, 102, .75), transparent 70%), linear-gradient(165deg, #0f3d66 0%, #0a2742 55%, #05162a 100%); }
.pole-groupe .sombre { background: radial-gradient(700px 380px at 0% 0%, rgba(42, 95, 143, .6), transparent 70%), linear-gradient(185deg, #0b3256 0%, #071f38 100%); }
.pole-groupe .mot-fondatrice { background: radial-gradient(800px 460px at 100% 0%, rgba(42, 95, 143, .7), transparent 70%),
  radial-gradient(600px 400px at 0% 100%, rgba(13, 59, 102, .9), transparent 70%), linear-gradient(170deg, #0d3b66 0%, #071f38 100%); }
.pole-groupe .bande { background: radial-gradient(800px 400px at 100% 0%, rgba(42, 95, 143, .7), transparent 70%), linear-gradient(170deg, #0d3b66 0%, #08294a 100%) !important; }
.pole-groupe .ouverture .portrait { background: linear-gradient(160deg, #1f5687, #071f38); }
/* ===== Mode sombre : teintes de pôle lisibles en texte ===== */
:root[data-theme="dark"] { --teal-texte: #7fd0d8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --teal-texte: #7fd0d8; } }
:root[data-theme="dark"] .pole-groupe main { --teal-texte: #8fb8e0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-groupe main { --teal-texte: #8fb8e0; } }
:root[data-theme="dark"] .pole-cession main, :root[data-theme="dark"] .activite.cession, :root[data-theme="dark"] .pole-activites.cession { --teal-texte: #e8a9b8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-cession main, :root:not([data-theme="light"]) .activite.cession, :root:not([data-theme="light"]) .pole-activites.cession { --teal-texte: #e8a9b8; } }
:root[data-theme="dark"] .pole-locatif main, :root[data-theme="dark"] .activite.locatif, :root[data-theme="dark"] .pole-activites.locatif { --teal-texte: #ebc088; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pole-locatif main, :root:not([data-theme="light"]) .activite.locatif, :root:not([data-theme="light"]) .pole-activites.locatif { --teal-texte: #ebc088; } }
:root[data-theme="dark"] .texte-legal a:not(.bouton), :root[data-theme="dark"] .a-lire a, :root[data-theme="dark"] .article a.lire, :root[data-theme="dark"] .article button, :root[data-theme="dark"] .carte-lien h3, :root[data-theme="dark"] .carte-lien .lien, :root[data-theme="dark"] .annonces-comment li b, :root[data-theme="dark"] .estimateur .fourchette, :root[data-theme="dark"] .estimateur .lignes li.net b, :root[data-theme="dark"] .annonce .prix, :root[data-theme="dark"] .pole-cession .note-pole b, :root[data-theme="dark"] .activite h3, :root[data-theme="dark"] .activite .rachat b, :root[data-theme="dark"] .pole-locatif .rachat b, :root[data-theme="dark"] .comparatif thead th, :root[data-theme="dark"] .preuve b, :root[data-theme="dark"] .fondatrice-bande .citation, :root[data-theme="dark"] .sceau { color: var(--teal-texte); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .texte-legal a:not(.bouton), :root:not([data-theme="light"]) .a-lire a, :root:not([data-theme="light"]) .article a.lire, :root:not([data-theme="light"]) .article button, :root:not([data-theme="light"]) .carte-lien h3, :root:not([data-theme="light"]) .carte-lien .lien, :root:not([data-theme="light"]) .annonces-comment li b, :root:not([data-theme="light"]) .estimateur .fourchette, :root:not([data-theme="light"]) .estimateur .lignes li.net b, :root:not([data-theme="light"]) .annonce .prix, :root:not([data-theme="light"]) .pole-cession .note-pole b, :root:not([data-theme="light"]) .activite h3, :root:not([data-theme="light"]) .activite .rachat b, :root:not([data-theme="light"]) .pole-locatif .rachat b, :root:not([data-theme="light"]) .comparatif thead th, :root:not([data-theme="light"]) .preuve b, :root:not([data-theme="light"]) .fondatrice-bande .citation, :root:not([data-theme="light"]) .sceau { color: var(--teal-texte); } }
