/* Retraite & Autonomie · thème « Belvédère »
   Premium et calme pour un public de plus de 60 ans : grands aplats lie-de-vin, un seul accent mandarine,
   cartes arrondies, médaillons photo, texte en Atkinson Hyperlegible (lisibilité basse vision). */

@font-face { font-family: "Onest"; src: url("fontes/onest-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Onest"; src: url("fontes/onest-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url("fontes/onest-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("fontes/atkinson-next-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("fontes/atkinson-next-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("fontes/atkinson-next-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Chiffres sans zéro barré : le zéro barré d'Atkinson gêne la lecture des montants */
@font-face { font-family: "Chiffres"; src: url("fontes/chiffres-400.woff2") format("woff2"); font-weight: 400; unicode-range: U+0030-0039; font-display: swap; }
@font-face { font-family: "Chiffres"; src: url("fontes/chiffres-700.woff2") format("woff2"); font-weight: 700; unicode-range: U+0030-0039; font-display: swap; }

:root {
  --vin: #4a1730;
  --vin-2: #6b2444;
  --vin-fonce: #33101f;
  --mandarine: #f28c38;
  --mandarine-pale: #fff1e4;
  --rose: #f8eff2;
  --rose-2: #efdfe5;
  --blanc: #ffffff;
  --fond: #fcfbfb;
  --encre: #241820;
  --doux: #5e5059;
  --trait: #e6dce1;
  --r: 18px;
  --r-petit: 12px;
  --ombre: 0 12px 32px rgba(74, 23, 48, .09);
  --large: 1180px;
  --lecture: 800px;
  --gouttiere: 24px;
  --titre: "Onest", "Segoe UI", Arial, sans-serif;
  --texte: "Chiffres", "Atkinson Next", "Atkinson Hyperlegible", Verdana, Arial, sans-serif;
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[data-texte="grand"] { font-size: 112.5%; }
html[data-texte="tres-grand"] { font-size: 128%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 1.1875rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
.cadre { max-width: var(--large); margin: 0 auto; padding: 0 var(--gouttiere); }
.cadre-lecture { max-width: calc(var(--lecture) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
@media (max-width: 600px) { :root { --gouttiere: 16px; --r: 14px; } body { font-size: 1.125rem; } }

h1, h2, h3 { font-family: var(--titre); color: var(--vin); margin: 0 0 .5em; text-wrap: wrap; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 1.35rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -.025em; }
h2 { font-weight: 700; font-size: clamp(1.55rem, 1.2rem + 1.25vw, 2.1rem); line-height: 1.18; letter-spacing: -.015em; margin-top: 1.8em; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.3; margin-top: 1.5em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; }
a { color: var(--vin); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--mandarine); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--mandarine); outline-offset: 3px; border-radius: 6px; }
.evitement { position: absolute; left: -9999px; top: 8px; background: var(--vin); color: #fff; padding: 14px 20px; border-radius: 999px; font-weight: 700; z-index: 60; }
.evitement:focus { left: 8px; }
.surtitre { font-family: var(--titre); font-weight: 700; font-size: .9rem; letter-spacing: .09em; text-transform: uppercase; color: var(--vin-2); margin: 0 0 14px; }
.sur-fonce .surtitre { color: var(--mandarine); }
.discret { color: var(--doux); font-size: .98rem; }
.surtitre-espace { margin-top: 18px; }
.source-espace { margin-top: 16px; }
.cadre-large-lecture { max-width: calc(1000px + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- En-tête ---------- */
.entete { background: var(--blanc); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 30; }
.entete-ligne { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--vin); margin-right: auto; }
.logo:hover { color: var(--vin); }
.logo-medaillon { width: 46px; height: 46px; flex: none; }
.logo-nom { font-family: var(--titre); font-weight: 800; font-size: 1.32rem; line-height: 1.05; letter-spacing: -.02em; display: flex; flex-direction: column; }
.logo-nom small { font-family: var(--texte); font-weight: 400; font-size: .9rem; letter-spacing: 0; color: var(--doux); margin-top: 3px; }
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.navigation li { margin: 0; }
.navigation a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; font-family: var(--titre); font-weight: 700; font-size: 1.05rem; color: var(--vin); text-decoration: none; }
.navigation a:hover { background: var(--rose); }
.navigation a[aria-current="page"] { background: var(--vin); color: #fff; }
.taille { display: inline-flex; align-items: center; border: 1px solid var(--trait); border-radius: 999px; padding: 4px; gap: 2px; background: var(--blanc); }
.taille-libelle { font-size: .85rem; color: var(--doux); padding: 0 8px 0 10px; }
.taille button { min-width: 44px; min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--vin); font: 700 1rem var(--titre); cursor: pointer; }
.taille button[data-taille="grand"] { font-size: 1.15rem; }
.taille button[data-taille="tres-grand"] { font-size: 1.3rem; }
.taille button[aria-pressed="true"] { background: var(--vin); color: #fff; }
.bouton-menu { display: none; }
@media (max-width: 1080px) { .taille-libelle { display: none; } .navigation a { padding: 0 14px; } }
@media (max-width: 940px) {
  .entete { position: static; }
  .entete-ligne { min-height: 76px; gap: 12px; }
  .entete .taille, .navigation { display: none; }
  .bouton-menu { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--vin); color: #fff; font: 700 1.05rem var(--titre); cursor: pointer; flex: none; }
  .bouton-menu-icone { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .bouton-menu-icone::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .logo { min-width: 0; flex: 1 1 0; }
}
@media (max-width: 480px) { .logo-medaillon { width: 40px; height: 40px; } .logo-nom { font-size: 1.12rem; } .logo-nom small { display: none; } .bouton-menu { padding: 0 16px; } }

/* Volet de menu plein écran (mobile) */
.volet { position: fixed; inset: 0; background: var(--vin); color: #fff; z-index: 70; padding: 18px var(--gouttiere) 40px; overflow-y: auto; }
.volet[hidden] { display: none; }
.volet-haut { display: flex; justify-content: space-between; align-items: center; min-height: 58px; margin-bottom: 18px; }
.volet-titre { font-family: var(--titre); font-weight: 800; font-size: 1.3rem; margin: 0; }
.volet-fermer { min-height: 50px; padding: 0 20px; border-radius: 999px; border: 2px solid rgba(255,255,255,.7); background: transparent; color: #fff; font: 700 1.05rem var(--titre); cursor: pointer; }
.volet ul { list-style: none; margin: 0 0 28px; padding: 0; }
.volet li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.volet a { display: flex; justify-content: space-between; align-items: center; min-height: 66px; color: #fff; text-decoration: none; font-family: var(--titre); font-weight: 700; font-size: 1.35rem; }
.volet a::after { content: "→"; color: var(--mandarine); }
.volet .taille { background: transparent; border-color: rgba(255,255,255,.4); }
.volet .taille button { color: #fff; }
.volet .taille button[aria-pressed="true"] { background: #fff; color: var(--vin); }
.volet .taille-libelle { display: inline; color: rgba(255,255,255,.8); }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--vin); color: #fff; font: 700 1.08rem var(--titre); text-decoration: none; border: 0; cursor: pointer; }
.bouton:hover { background: var(--vin-2); color: #fff; text-decoration: none; }
.bouton::after { content: "→"; color: var(--mandarine); font-size: 1.2em; line-height: 1; }
.bouton-clair { background: var(--mandarine); color: var(--vin-fonce); }
.bouton-clair::after { color: var(--vin-fonce); }
.bouton-clair:hover { background: #ffa257; color: var(--vin-fonce); }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--titre); font-weight: 700; color: var(--vin); text-decoration: none; }
.lien-fleche::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--mandarine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h12M12 6l6 6-6 6' fill='none' stroke='%2333101f' stroke-width='2.4'/%3E%3C/svg%3E") center / 18px no-repeat; flex: none; }
.lien-fleche:hover { text-decoration: underline; text-decoration-color: var(--mandarine); }
.sur-fonce .lien-fleche { color: #fff; }

/* ---------- Fil d'Ariane, en-têtes de page ---------- */
.ariane { font-size: 1rem; padding: 22px 0 6px; color: var(--doux); }
.ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.ariane li { margin: 0; }
.ariane li + li::before { content: "/"; margin: 0 10px; color: var(--trait); }
.ariane a { color: var(--doux); }
.sur-fonce .ariane, .sur-fonce .ariane a { color: rgba(255,255,255,.82); }
.pastille-rubrique { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--rose); color: var(--vin); font-family: var(--titre); font-weight: 700; font-size: .95rem; text-decoration: none; margin-bottom: 18px; }
.pastille-rubrique:hover { background: var(--rose-2); text-decoration: none; }
.chapo { font-size: 1.3rem; line-height: 1.55; color: var(--encre); margin: 0 0 22px; }
.sur-fonce .chapo { color: rgba(255,255,255,.92); }
.signature { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 1rem; color: var(--doux); }
.signature-auteur { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--vin); color: #fff; font-family: var(--titre); font-weight: 800; font-size: 1.15rem; flex: none; }

/* ---------- Bandes sombres ---------- */
.sur-fonce { background: var(--vin); color: #fff; }
.sur-fonce h1, .sur-fonce h2, .sur-fonce h3 { color: #fff; }
.sur-fonce a { color: #fff; }

/* ---------- Accueil ---------- */
.ouverture { padding: 56px 0 140px; position: relative; overflow: hidden; }
.ouverture::after { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -180px; top: -220px; background: var(--vin-2); opacity: .55; }
.ouverture-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.ouverture h1 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 3.9rem); }
.ouverture-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 8px; }
.medaillon { position: relative; }
.medaillon img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px var(--r) var(--r); }
.medaillon-chiffre { position: absolute; left: -26px; bottom: 34px; width: 168px; height: 168px; border-radius: 50%; background: var(--mandarine); color: var(--vin-fonce); display: grid; place-content: center; text-align: center; padding: 18px; box-shadow: var(--ombre); }
.medaillon-chiffre strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--vin-fonce); }
.medaillon-chiffre span { display: block; font-size: .88rem; line-height: 1.25; margin-top: 6px; }
.medaillon figcaption { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 10px; text-align: right; }
@media (max-width: 940px) {
  .ouverture { padding: 34px 0 120px; }
  .ouverture-grille { grid-template-columns: 1fr; gap: 36px; }
  .medaillon { max-width: 340px; margin: 0 auto; width: 100%; }
  .medaillon-chiffre { left: -8px; width: 140px; height: 140px; }
  .medaillon-chiffre strong { font-size: 1.6rem; }
}

/* Outil : carte flottante sous l'ouverture */
.outil { background: var(--blanc); border-radius: var(--r); box-shadow: var(--ombre); border: 1px solid var(--trait); padding: 30px 32px; position: relative; z-index: 2; }
.outil-flottant { margin-top: -96px; }
.outil-tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 18px 32px; align-items: end; }
.outil-titre { font-weight: 800; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin: 0 0 6px; }
.outil-tete p { margin: 0; color: var(--doux); }
.outil label { display: block; font-family: var(--titre); font-weight: 700; margin: 0 0 8px; color: var(--vin); }
.choix { width: 100%; min-height: 60px; font: 400 1.15rem var(--texte); color: var(--encre); background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234a1730' stroke-width='2.4'/%3E%3C/svg%3E") right 18px center / 22px no-repeat; border: 2px solid transparent; border-radius: 999px; padding: 0 52px 0 22px; appearance: none; cursor: pointer; }
.choix:hover { border-color: var(--rose-2); }
.choix:focus { border-color: var(--vin); outline: none; box-shadow: 0 0 0 4px rgba(242,140,56,.45); }
.outil-resultat { margin-top: 26px; }
.outil-resultat[hidden] { display: none; }
.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tuile { background: var(--rose); border-radius: var(--r-petit); padding: 18px 18px 16px; }
.tuile-valeur { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.85rem; line-height: 1.05; color: var(--vin); letter-spacing: -.02em; }
.tuile-libelle { display: block; font-size: .98rem; color: var(--doux); margin-top: 6px; line-height: 1.35; }
.tuile-forte { background: var(--vin); }
.tuile-forte .tuile-valeur { color: #fff; }
.tuile-forte .tuile-libelle { color: rgba(255,255,255,.85); }
.outil-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; margin-top: 16px; }
.source { font-size: .9rem; color: var(--doux); margin: 0; }
@media (max-width: 860px) { .outil { padding: 22px 20px; } .outil-tete { grid-template-columns: 1fr; } .tuiles { grid-template-columns: 1fr 1fr; } .tuile-valeur { font-size: 1.5rem; } }

.bloc { padding: 72px 0; }
.bloc-teinte { background: var(--rose); }
.bloc-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 32px; }
.bloc-tete h2 { margin: 0; }
.bloc-tete p { margin: 0; color: var(--doux); font-size: 1.15rem; }
@media (max-width: 600px) { .bloc { padding: 52px 0; } }

.situations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.situations li { margin: 0; grid-column: span 2; }
.situations li:nth-child(4), .situations li:nth-child(5) { grid-column: span 3; }
.situation { display: flex; flex-direction: column; height: 100%; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); padding: 26px 26px 22px; text-decoration: none; color: var(--encre); transition: box-shadow .2s, transform .2s; }
.situation:hover { box-shadow: var(--ombre); transform: translateY(-2px); text-decoration: none; }
.situation-num { width: 44px; height: 44px; border-radius: 50%; background: var(--mandarine); color: var(--vin-fonce); display: grid; place-items: center; font-family: var(--titre); font-weight: 800; margin-bottom: 18px; }
.situation-titre { font-family: var(--titre); font-weight: 800; font-size: 1.35rem; color: var(--vin); line-height: 1.2; margin-bottom: 8px; }
.situation-texte { flex: 1; font-size: 1.05rem; }
.situation-suite { font-family: var(--titre); font-weight: 700; color: var(--vin); margin-top: 14px; }
.situation-suite::after { content: " →"; color: var(--mandarine); }
@media (max-width: 940px) { .situations { grid-template-columns: 1fr 1fr; } .situations li, .situations li:nth-child(4), .situations li:nth-child(5) { grid-column: span 1; } .situations li:last-child { grid-column: span 2; } }
@media (max-width: 600px) { .situations { grid-template-columns: 1fr; } .situations li:last-child { grid-column: span 1; } }

.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.carte { background: var(--blanc); border-radius: var(--r); overflow: hidden; border: 1px solid var(--trait); position: relative; display: flex; flex-direction: column; transition: box-shadow .2s; }
.carte:hover { box-shadow: var(--ombre); }
.carte img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.carte-corps { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.carte-rubrique { font-family: var(--titre); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--vin-2); margin-bottom: 8px; }
.carte-titre { font-family: var(--titre); font-weight: 800; font-size: 1.3rem; line-height: 1.22; margin: 0 0 10px; color: var(--vin); }
.carte-titre a { color: inherit; text-decoration: none; }
.carte-titre a::after { content: ""; position: absolute; inset: 0; }
.carte:hover .carte-titre a { text-decoration: underline; text-decoration-color: var(--mandarine); text-decoration-thickness: 3px; }
.carte p { margin: 0; font-size: 1.04rem; color: var(--doux); }
@media (max-width: 940px) { .cartes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cartes { grid-template-columns: 1fr; } }

/* Cartes des villes avec réglette de prix */
.villes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.villes li { margin: 0; }
.ville { display: block; height: 100%; background: var(--blanc); border-radius: var(--r); border: 1px solid var(--trait); padding: 18px 20px 20px; text-decoration: none; color: var(--encre); position: relative; }
.ville:hover { box-shadow: var(--ombre); text-decoration: none; }
.ville-dept { position: absolute; right: 16px; top: 16px; min-width: 38px; height: 30px; border-radius: 999px; background: var(--rose); color: var(--vin); font-family: var(--titre); font-weight: 700; font-size: .85rem; display: grid; place-items: center; padding: 0 10px; }
.ville-nom { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.3rem; color: var(--vin); margin-bottom: 2px; padding-right: 48px; }
.ville-info { display: block; font-size: .98rem; color: var(--doux); }
.ville-prix { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.5rem; color: var(--encre); margin-top: 12px; }
.ville-prix small { font-family: var(--texte); font-weight: 400; font-size: .9rem; color: var(--doux); }
.reglette { display: block; position: relative; height: 8px; border-radius: 999px; background: var(--rose-2); margin: 12px 0 4px; }
.reglette span { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--vin-2); }
.reglette i { position: absolute; top: -5px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--mandarine); border: 3px solid var(--blanc); box-shadow: 0 0 0 1px var(--vin-2); }
.reglette-legende { display: flex; justify-content: space-between; font-size: .85rem; color: var(--doux); }
@media (max-width: 1000px) { .villes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .villes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .villes { grid-template-columns: 1fr; } }

.plumes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plume { background: var(--blanc); border-radius: var(--r); padding: 26px; border: 1px solid var(--trait); }
.plume .avatar { width: 64px; height: 64px; font-size: 1.6rem; margin-bottom: 14px; }
.plume-nom { font-family: var(--titre); font-weight: 800; font-size: 1.3rem; color: var(--vin); margin: 0; }
.plume-titre { font-family: var(--titre); font-weight: 700; font-size: .95rem; color: var(--vin-2); margin: 2px 0 10px; }
.plume p:last-child { margin: 0; font-size: 1.04rem; }
@media (max-width: 900px) { .plumes { grid-template-columns: 1fr; } }

/* ---------- Article (format A : colonne centrée, sommaire dépliant en tête) ---------- */
.tete-article { padding: 8px 0 30px; }
.contenu-article { padding-bottom: 80px; }
.tete-article h1 { margin-bottom: 18px; }
.couverture { margin: 30px 0 28px; }
.couverture img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
figcaption { font-size: .9rem; color: var(--doux); margin-top: 8px; }
.sommaire { background: var(--rose); border-radius: var(--r); margin: 0 0 28px; }
.sommaire summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 0 22px; font-family: var(--titre); font-weight: 800; font-size: 1.15rem; color: var(--vin); }
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire summary small { font-family: var(--texte); font-weight: 400; font-size: .95rem; color: var(--doux); margin-left: auto; }
.sommaire summary::after { content: "+"; width: 38px; height: 38px; border-radius: 50%; background: var(--vin); color: #fff; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; flex: none; }
.sommaire[open] summary::after { content: "−"; }
.sommaire ol { list-style: none; margin: 0; padding: 0 22px 18px; counter-reset: s; columns: 2 300px; column-gap: 28px; }
.sommaire li { counter-increment: s; break-inside: avoid; margin: 0; }
.sommaire a { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 8px 0; text-decoration: none; color: var(--encre); font-size: 1.02rem; line-height: 1.35; }
.sommaire a::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--blanc); color: var(--vin); font-family: var(--titre); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.sommaire a:hover { color: var(--vin); text-decoration: underline; }

.essentiel { background: var(--blanc); border: 2px solid var(--vin); border-radius: var(--r); padding: 24px 26px 10px; margin: 0 0 40px; }
.essentiel-titre { font-weight: 800; font-size: 1.35rem; margin: 0 0 14px; }
.essentiel ul { list-style: none; padding: 0; }
.essentiel li { position: relative; padding-left: 38px; margin-bottom: .8em; }
.essentiel li::before { content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%; background: var(--mandarine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2333101f' stroke-width='2.6'/%3E%3C/svg%3E") center / 16px no-repeat; }

.prose h2 { scroll-margin-top: 24px; }
.prose h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 999px; background: var(--mandarine); margin-bottom: 18px; }
.prose ul li::marker { color: var(--mandarine); }
.photo { margin: 36px 0; }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.exemple { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); padding: 22px 24px 8px; margin: 30px 0; box-shadow: var(--ombre); }
.exemple-titre { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--vin); color: #fff; font-family: var(--titre); font-weight: 700; font-size: .9rem; margin: 0 0 14px; }
.attention { background: var(--mandarine-pale); border-radius: var(--r); padding: 22px 24px 8px 70px; margin: 30px 0; position: relative; }
.attention::before { content: "!"; position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--mandarine); color: var(--vin-fonce); display: grid; place-items: center; font-family: var(--titre); font-weight: 800; }
.reflexe { background: var(--rose); border-radius: var(--r); padding: 22px 24px 8px 70px; margin: 30px 0; position: relative; }
.reflexe::before { content: ""; position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--vin) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3C/svg%3E") center / 18px no-repeat; }
.reflexe-titre { font-family: var(--titre); font-weight: 800; color: var(--vin); margin-bottom: 6px; }
.etapes { list-style: none; padding: 0; counter-reset: etape; margin: 26px 0; }
.etapes li { counter-increment: etape; position: relative; padding: 4px 0 18px 64px; margin: 0; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--vin); color: #fff; display: grid; place-items: center; font-family: var(--titre); font-weight: 800; font-size: 1.15rem; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--rose-2); }
.tableau-defile { overflow-x: auto; margin: 30px 0; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); }
.bareme { width: 100%; border-collapse: collapse; font-size: 1.04rem; }
.bareme caption { caption-side: top; text-align: left; font-size: .9rem; color: var(--doux); padding: 14px 18px; }
.bareme th { background: var(--rose); color: var(--vin); text-align: left; padding: 13px 18px; font-family: var(--titre); font-weight: 700; vertical-align: bottom; }
.bareme td { padding: 13px 18px; border-top: 1px solid var(--trait); vertical-align: top; }
.bareme td.nombre, .bareme th.nombre { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.relation { background: var(--vin); color: #fff; border-radius: var(--r); padding: 26px 28px; margin: 36px 0; }
.relation-etiquette { font-family: var(--titre); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mandarine); margin: 0 0 8px; }
.relation-texte { font-family: var(--titre); font-weight: 700; font-size: 1.25rem; color: #fff; }
.relation .bouton { background: var(--mandarine); color: var(--vin-fonce); }
.relation .bouton::after { color: var(--vin-fonce); }
.relation-mention { font-size: .9rem; color: rgba(255,255,255,.8); margin: 16px 0 0; }

.questions { display: grid; gap: 12px; margin-top: 8px; }
.questions details { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-petit); }
.questions details[open] { border-color: var(--vin); }
.questions summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 14px; align-items: center; min-height: 64px; padding: 14px 18px 14px 22px; font-family: var(--titre); font-weight: 700; font-size: 1.15rem; color: var(--vin); }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; width: 36px; height: 36px; border-radius: 50%; background: var(--rose); color: var(--vin); display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.questions details[open] summary::after { content: "−"; background: var(--vin); color: #fff; }
.questions .reponse { padding: 0 22px 8px; }

.titre-annexe { font-weight: 800; font-size: 1.55rem; margin: 56px 0 18px; }
.sources { font-size: 1rem; }
.sources ol { padding-left: 1.4em; }
.sources li { margin-bottom: .5em; }
.encart-auteur { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; background: var(--rose); border-radius: var(--r); padding: 22px 24px; }
.encart-auteur .avatar { width: 64px; height: 64px; font-size: 1.5rem; }
.encart-auteur p { margin: 0 0 6px; }
.suites { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; padding: 0; margin: 0; }
.suites li { margin: 0; }
.suites a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 110px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-petit); padding: 18px 20px; text-decoration: none; color: var(--vin); font-family: var(--titre); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.suites a:hover { border-color: var(--vin); }
.suites small { font-family: var(--texte); font-weight: 400; font-size: .92rem; color: var(--doux); margin-top: 10px; }
@media (max-width: 640px) { .suites { grid-template-columns: 1fr; } }

/* ---------- EHPAD : bandeau, classement, fiches ---------- */
.bandeau-ehpad { padding: 10px 0 120px; }
.bandeau-ehpad-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; padding-top: 18px; }
.chiffre-rond { width: 260px; height: 260px; border-radius: 50%; background: var(--mandarine); color: var(--vin-fonce); display: grid; place-content: center; text-align: center; padding: 24px; justify-self: center; }
.chiffre-rond strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--vin-fonce); letter-spacing: -.03em; }
.chiffre-rond span { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.3; }
@media (max-width: 900px) { .bandeau-ehpad-grille { grid-template-columns: 1fr; gap: 28px; } .chiffre-rond { width: 200px; height: 200px; justify-self: start; } .chiffre-rond strong { font-size: 2.3rem; } }

.classement-outils { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; margin-bottom: 20px; }
.classement-outils label { display: block; font-family: var(--titre); font-weight: 700; color: var(--vin); margin-bottom: 6px; }
.champ { min-height: 56px; font: 400 1.1rem var(--texte); border: 2px solid var(--trait); border-radius: 999px; padding: 0 20px; background: var(--blanc); color: var(--encre); width: min(100%, 360px); }
.champ:focus { border-color: var(--vin); outline: none; box-shadow: 0 0 0 4px rgba(242,140,56,.45); }
.bascule { display: inline-flex; background: var(--rose); border-radius: 999px; padding: 4px; }
.bascule button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--vin); font: 700 1rem var(--titre); cursor: pointer; }
.bascule button[aria-pressed="true"] { background: var(--vin); color: #fff; }
.classement { list-style: none; margin: 0; padding: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; }
.classement li { display: grid; grid-template-columns: minmax(150px, 260px) minmax(0, 1fr) 96px; gap: 16px; align-items: center; padding: 10px 20px; border-top: 1px solid var(--trait); margin: 0; }
.classement li:first-child { border-top: 0; }
.classement li[hidden] { display: none; }
.classement-nom { font-size: 1.02rem; }
.classement-nom b { font-family: var(--titre); color: var(--vin-2); margin-right: 6px; }
.classement-barre { height: 12px; border-radius: 999px; background: var(--rose); position: relative; }
.classement-barre span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--vin); }
.classement-barre.est-haut span { background: var(--mandarine); }
.classement-valeur { text-align: right; font-family: var(--titre); font-weight: 800; color: var(--vin); white-space: nowrap; }
.classement-vide { padding: 18px 20px; margin: 0; }
@media (max-width: 640px) { .classement li { grid-template-columns: minmax(0, 1fr) 86px; padding: 12px 16px; } .classement-barre { grid-column: 1 / -1; grid-row: 2; } }

.bandeau-ville { padding: 6px 0 56px; }
.bandeau-ville .tuiles { margin-top: 28px; }
.bandeau-ville .tuile { background: rgba(255,255,255,.1); }
.bandeau-ville .tuile-valeur { color: #fff; }
.bandeau-ville .tuile-libelle { color: rgba(255,255,255,.82); }
.bandeau-ville .tuile-forte { background: var(--mandarine); }
.bandeau-ville .tuile-forte .tuile-valeur { color: var(--vin-fonce); }
.bandeau-ville .tuile-forte .tuile-libelle { color: var(--vin-fonce); }
.sur-fonce .source { color: rgba(255,255,255,.75); }

.barres { display: grid; gap: 18px; margin: 26px 0; }
.barre-ligne { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); gap: 8px 18px; align-items: center; }
.barre-nom { font-family: var(--titre); font-weight: 700; color: var(--vin); }
.barre-nom small { display: block; font-family: var(--texte); font-weight: 400; color: var(--doux); font-size: .9rem; }
.barre-piste { position: relative; height: 40px; border-radius: 999px; background: var(--rose); }
.barre-piste span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--vin); display: flex; align-items: center; justify-content: flex-end; padding-right: 14px; color: #fff; font-family: var(--titre); font-weight: 800; min-width: 112px; }
.barre-piste.est-ville span { background: var(--mandarine); color: var(--vin-fonce); }
@media (max-width: 600px) { .barre-ligne { grid-template-columns: 1fr; } }

.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.filtres button { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--trait); background: var(--blanc); color: var(--vin); font: 700 1rem var(--titre); cursor: pointer; }
.filtres button[aria-pressed="true"] { background: var(--vin); border-color: var(--vin); color: #fff; }
.filtres button span { font-weight: 600; opacity: .75; margin-left: 4px; }
.tri { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; flex-wrap: wrap; }
.tri label { font-family: var(--titre); font-weight: 700; color: var(--vin); }
.tri .choix { width: auto; min-height: 50px; font-size: 1.05rem; }
.fiches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fiches li { margin: 0; }
.fiches li[hidden] { display: none; }
.fiche { height: 100%; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; }
.fiche-nom { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; line-height: 1.25; color: var(--vin); margin: 0; }
.fiche-adresse { font-size: .98rem; color: var(--doux); margin: 2px 0 10px; }
.fiche-prix { text-align: right; grid-row: span 2; }
.fiche-prix strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.55rem; color: var(--vin); line-height: 1; white-space: nowrap; }
.fiche-prix span { display: block; font-size: .88rem; color: var(--doux); margin-top: 4px; }
.fiche-prix.est-vide strong { font-size: 1rem; color: var(--doux); }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; }
.etiquettes li { margin: 0; min-height: 30px; padding: 3px 12px; border-radius: 999px; background: var(--rose); color: var(--vin); font-size: .9rem; display: inline-flex; align-items: center; }
.etiquettes li.est-habilite { background: var(--mandarine-pale); color: #7a3d0b; }
.fiche-bas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--trait); font-size: .92rem; color: var(--doux); }
.appeler { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--rose); color: var(--vin); font-family: var(--titre); font-weight: 700; text-decoration: none; font-size: 1rem; }
.appeler:hover { background: var(--vin); color: #fff; text-decoration: none; }
.appeler svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .fiches { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .fiche { grid-template-columns: 1fr; } .fiche-prix { text-align: left; grid-row: auto; } }

/* ---------- Pages simples, rubriques ---------- */
.bandeau-page { padding: 6px 0 46px; }
.page-corps { padding: 44px 0 72px; }
.plan-depts { columns: 3 230px; column-gap: 32px; list-style: none; padding: 0; }

/* ---------- Pied ---------- */
.pied { background: var(--vin-fonce); color: rgba(255,255,255,.88); border-radius: 36px 36px 0 0; padding: 60px 0 30px; margin-top: 0; font-size: 1.02rem; }
.pied a { color: #fff; }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.pied-nom { font-family: var(--titre); font-weight: 800; font-size: 1.7rem; color: #fff; margin: 0 0 8px; }
.pied-haut p { margin: 0; }
.pied-contact { justify-self: end; text-align: right; }
.pied-colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 34px 0; }
.pied-titre { font-family: var(--titre); font-weight: 700; font-size: .85rem; letter-spacing: .09em; text-transform: uppercase; color: var(--mandarine); margin: 0 0 12px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin: 0; }
.pied nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.pied nav a:hover { text-decoration: underline; text-decoration-color: var(--mandarine); }
.pied-utiles p { margin: 0 0 14px; }
.pied-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; margin: 0; font-size: .92rem; color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .pied-haut { grid-template-columns: 1fr; } .pied-contact { justify-self: start; text-align: left; } .pied-colonnes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pied-colonnes { grid-template-columns: 1fr; } .pied { border-radius: 24px 24px 0 0; } }

.remonter { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--mandarine); color: var(--vin-fonce); border: 0; cursor: pointer; z-index: 25; box-shadow: var(--ombre); }
.remonter svg { width: 24px; height: 24px; }
.remonter[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .entete, .volet, .sommaire, .pied, .remonter, .relation, .outil { display: none !important; } body { background: #fff; font-size: 12pt; } .sur-fonce { background: #fff; color: #000; } .sur-fonce h1 { color: #000; } }
