/* ==========================================================================
   Thème « Côté Retraite » — ile-maurice-retraite.fr (maquette, nov. 2026)
   Bleu nuit + laiton, titres en Fraunces, filets fins, rangées au lieu de cartes.
   À charger uniquement sur les pages Retraite (jamais sur l'accueil ni côté Vacances).
   Sélecteurs préfixés par « html:root » pour passer devant les styles déjà dans la page.
   ========================================================================== */

:root{
  --r-nuit:#0F1D2E;
  --r-nuit-2:#18304A;
  --r-or:#B8913A;
  --r-or-clair:#E6C97F;
  --r-ivoire:#EEE8DD;
  --r-papier:#F8F4EC;
  --r-encre:#1D2633;
  --r-gris:#5B6573;
  --r-filet:rgba(184,145,58,.45);
  --r-filet-gris:rgba(15,29,46,.10);
  --r-col-g:210px;
  --r-col-d:236px;
  --r-gouttiere:40px;
  --r-texte:680px;
}

/* ---------- fond & typographie ---------- */
html:root body{background:var(--r-ivoire);color:var(--r-encre);}
html:root body article{font-size:1.02em;}
html:root body article p,html:root body article li{color:var(--r-encre);}
html:root body h1,html:root body h2,html:root body h3{font-family:'Fraunces',Georgia,serif;color:var(--r-nuit);letter-spacing:-.005em;}
html:root body main a{color:var(--r-nuit-2);text-decoration-color:var(--r-or);text-decoration-thickness:1px;text-underline-offset:3px;}
html:root body main a:hover{color:var(--r-or);}
html:root body article{counter-reset:rh2;}
html:root body article > h2{counter-increment:rh2;font-weight:500;font-size:1.6rem;margin:2.4em 0 .7em;padding-top:1.1em;border-top:1px solid var(--r-filet-gris);position:relative;}
html:root body article > h2::before{content:counter(rh2,decimal-leading-zero);display:block;font:500 .72rem/1 'Inter',sans-serif;letter-spacing:.18em;color:var(--r-or);margin-bottom:.7em;}
html:root body article > h2::after{content:"";position:absolute;top:-1px;left:0;width:48px;height:1px;background:var(--r-or);}
html:root body article > h3{font-weight:500;font-size:1.18rem;}
.r-petites-caps{font:600 .7rem/1.2 'Inter',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--r-or);}


/* ---------- en-tête bleu nuit ---------- */
html:root body .site-header{background:var(--r-nuit) !important;border-bottom:1px solid var(--r-filet) !important;box-shadow:none !important;}
html:root body .site-header .brand,html:root body .site-header .brand-titre{color:#fff !important;}
html:root body .site-header .brand-titre small{color:var(--r-or-clair) !important;letter-spacing:.2em;}
html:root body .site-header .brand-logo{box-shadow:0 0 0 1px var(--r-filet);}
html:root body .site-header .ent-i:not(.ent-u){background:transparent !important;border:1px solid rgba(255,255,255,.28) !important;color:#fff !important;box-shadow:none !important;}
html:root body .site-header .ent-i .ent-t{color:#fff !important;}
html:root body .site-header .ent-i:not(.ent-u):hover{border-color:var(--r-or-clair) !important;}
html:root body .site-header .nav-toggle-label span{background:#fff !important;}
@media (min-width:1025px){
  html:root body .site-header .nav > a,html:root body .site-header .nav .nav-cat-summary{color:rgba(255,255,255,.86) !important;}
  html:root body .site-header .nav > a:hover,html:root body .site-header .nav .nav-cat-summary:hover{color:var(--r-or-clair) !important;}
  html:root body .site-header .nav a.nav-pros{color:var(--r-or-clair) !important;}
  html:root body .site-header .nav a.nav-cote{color:#fff !important;border-color:rgba(255,255,255,.35) !important;}
  html:root body .site-header .site-search input{background:rgba(255,255,255,.08) !important;border-color:rgba(255,255,255,.22) !important;color:#fff !important;}
  /* Champ de recherche ouvert sur fond blanc : rendre la saisie lisible. */
  html:root body.ent-cherche .site-header .site-search input[type="search"]{color:#163238 !important;-webkit-text-fill-color:#163238 !important;background:#fff !important;}
  html:root body .site-header .site-search input::placeholder{color:rgba(255,255,255,.6);}
  html:root body .site-header .nav-cat-panel{border-top:2px solid var(--r-or) !important;}
}

/* ---------- bandeau-titre : photo calme, courte, voile sombre ---------- */
html:root body .hero-band.grand-hero,html:root body .hero-band{min-height:0 !important;height:auto;padding:64px 0 52px !important;}
html:root body .hero-band .hero-band-overlay{background:linear-gradient(100deg,rgba(15,29,46,.92) 0%,rgba(15,29,46,.78) 45%,rgba(15,29,46,.45) 100%) !important;}
html:root body .hero-band-img{filter:saturate(.55) contrast(.95);}
html:root body .hero-band .hero{text-align:left !important;text-shadow:none !important;max-width:calc(var(--r-col-g) + var(--r-gouttiere) + var(--r-texte) + var(--r-gouttiere) + var(--r-col-d)) !important;}
html:root body .hero-band .kicker{background:none !important;padding:0 !important;border-radius:0 !important;color:var(--r-or-clair) !important;font:600 .72rem/1 'Inter',sans-serif !important;letter-spacing:.22em !important;text-transform:uppercase;display:flex !important;align-items:center;gap:12px;}
html:root body .hero-band .kicker::before{content:"Côté retraite";color:rgba(255,255,255,.6);}
html:root body .hero-band .kicker::after{content:"";width:40px;height:1px;background:var(--r-or);order:-1;}
html:root body .hero-band .kicker{flex-direction:row;}
html:root body .hero-band h1{font-weight:500 !important;font-size:clamp(1.9rem,3.4vw,2.9rem) !important;line-height:1.12 !important;margin:.45em 0 .35em !important;max-width:22ch;color:#fff !important;}
html:root body .hero-band p.lede{font-size:1.04rem !important;max-width:600px !important;margin:0 !important;color:rgba(255,255,255,.82) !important;}
html:root body .hero-band .r-maj-hero{display:inline-block;margin-top:18px;font:500 .78rem/1 'Inter',sans-serif;color:rgba(255,255,255,.7);border-top:1px solid var(--r-filet);padding-top:12px;}
html:root body .hero-band .r-maj-hero b{color:var(--r-or-clair);font-weight:600;}

/* ---------- trois colonnes (PC) ---------- */
.r-page{display:block;}
.r-gauche,.r-droite{display:none;}
@media (min-width:1180px){
  .r-page{display:grid;grid-template-columns:var(--r-col-g) minmax(0,var(--r-texte)) var(--r-col-d);column-gap:var(--r-gouttiere);justify-content:center;max-width:calc(100vw - 232px);margin:0 auto;align-items:start;}
  html:root body .r-page > main.wrap{max-width:none !important;padding:0 !important;margin:0 !important;overflow:visible;}
  .r-gauche,.r-droite{display:block;position:sticky;top:24px;padding-top:34px;max-height:calc(100vh - 32px);overflow:auto;scrollbar-width:none;}
  .r-gauche::-webkit-scrollbar,.r-droite::-webkit-scrollbar{display:none;}
  .r-tel-sommaire,.r-bas{display:none !important;}
}
@media (min-width:1180px) and (max-width:1359px){
  :root{--r-col-g:180px;--r-col-d:210px;--r-gouttiere:30px;--r-texte:620px;}
}

/* sommaire */
.r-som-titre{margin:0 0 14px;}
.r-som ol{list-style:none;margin:0;padding:0;border-left:1px solid var(--r-filet-gris);}
.r-som li{margin:0;}
.r-som a{display:grid;grid-template-columns:26px 1fr;padding:7px 0 7px 14px;margin-left:-1px;border-left:1px solid transparent;font:500 .86rem/1.35 'Inter',sans-serif;color:var(--r-gris) !important;text-decoration:none !important;transition:color .15s,border-color .15s;}
.r-som a span{font-variant-numeric:tabular-nums;color:var(--r-or);font-size:.74rem;padding-top:1px;}
.r-som a:hover{color:var(--r-nuit) !important;}
.r-som a.r-actif{color:var(--r-nuit) !important;border-left-color:var(--r-or);font-weight:600;}
.r-fiche{margin-top:28px;padding-top:16px;border-top:1px solid var(--r-filet-gris);font:400 .8rem/1.5 'Inter',sans-serif;color:var(--r-gris);}
.r-fiche dt{font:600 .66rem/1 'Inter',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--r-or);margin:0 0 5px;}
.r-fiche dd{margin:0 0 14px;color:var(--r-encre);}
.r-fiche dd a{color:var(--r-nuit-2) !important;}

/* colonne droite */
.r-bloc{margin:0 0 26px;}
.r-bloc-titre{margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--r-filet);}
.r-lire{list-style:none;margin:0;padding:0;}
.r-lire li{margin:0;border-bottom:1px solid var(--r-filet-gris);}
.r-lire a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;font:500 .9rem/1.35 'Fraunces',Georgia,serif;color:var(--r-nuit) !important;text-decoration:none !important;}
.r-lire a::after{content:"→";color:var(--r-or);font-family:'Inter',sans-serif;}
.r-lire a:hover{color:var(--r-or) !important;}
.r-service{background:var(--r-nuit);color:rgba(255,255,255,.86);padding:20px 20px 18px;border-top:2px solid var(--r-or);font:400 .84rem/1.55 'Inter',sans-serif;}
.r-service .r-petites-caps{color:var(--r-or-clair);}
.r-service h4{font:500 1.12rem/1.25 'Fraunces',Georgia,serif;color:#fff;margin:8px 0 8px;}
.r-service p{margin:0 0 10px;color:rgba(255,255,255,.82);}
.r-service .r-prix{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid rgba(216,188,130,.3);border-bottom:1px solid rgba(216,188,130,.3);padding:8px 0;margin:10px 0;}
.r-service .r-prix b{font:500 1.25rem/1 'Fraunces',Georgia,serif;color:var(--r-or-clair);}
.r-service small{display:block;color:rgba(255,255,255,.55);font-size:.72rem;line-height:1.45;}
.r-service a.r-bouton{display:block;text-align:center;margin-top:12px;padding:9px 12px;border:1px solid var(--r-or-clair);color:#fff !important;text-decoration:none !important;font-weight:600;font-size:.84rem;letter-spacing:.02em;transition:background .15s;}
.r-service a.r-bouton:hover{background:var(--r-or);border-color:var(--r-or);}
.r-partenaire{border:1px solid var(--r-filet);background:var(--r-papier);padding:14px 16px;font:400 .82rem/1.5 'Inter',sans-serif;color:var(--r-encre);}
.r-partenaire h4{font:500 1rem/1.3 'Fraunces',Georgia,serif;margin:6px 0 6px;color:var(--r-nuit);}
.r-partenaire p{margin:0 0 8px;}
.r-partenaire a{font-weight:600;color:var(--r-nuit-2) !important;}
.r-partenaire small{display:block;color:var(--r-gris);font-size:.7rem;margin-top:6px;}

/* téléphone / tablette : sommaire repliable, colonne droite en bas */
.r-tel-sommaire{margin:14px 0 6px;border-top:1px solid var(--r-filet);border-bottom:1px solid var(--r-filet-gris);background:var(--r-papier);}
.r-tel-sommaire summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;}
.r-tel-sommaire summary::-webkit-details-marker{display:none;}
.r-tel-sommaire summary::after{content:"+";font:400 1.3rem/1 'Inter',sans-serif;color:var(--r-or);}
.r-tel-sommaire[open] summary::after{content:"−";}
.r-tel-sommaire .r-som{padding:0 14px 12px;}
.r-bas{margin:36px 0 10px;padding-top:24px;border-top:1px solid var(--r-filet);display:grid;gap:22px;}
@media (min-width:700px) and (max-width:1179px){.r-bas{grid-template-columns:1fr 1fr;}}

/* ---------- blocs de contenu ---------- */
html:root body main.wrap{max-width:var(--r-texte);}
html:root body .crumb{font:500 .74rem/1 'Inter',sans-serif !important;letter-spacing:.06em;color:var(--r-gris);padding-top:30px;margin-bottom:22px;}
html:root body main .r-maj-cache{display:none !important;}

html:root body article .box,html:root body article .box.teal{background:var(--r-papier) !important;border:1px solid var(--r-filet-gris) !important;border-left:2px solid var(--r-or) !important;border-radius:0 !important;padding:18px 22px !important;box-shadow:none !important;}
html:root body article .box h3,html:root body article .box.teal h3{color:var(--r-nuit) !important;font-weight:500 !important;font-size:1.08rem !important;}

/* convertisseur */
html:root body .converter-box{background:var(--r-papier) !important;border:1px solid var(--r-filet) !important;border-radius:0 !important;box-shadow:none !important;padding:20px 22px !important;}
html:root body .converter-box h3{font-weight:500 !important;font-size:1.05rem !important;}
html:root body .converter-box input{border-radius:0 !important;border:1px solid var(--r-filet-gris) !important;border-bottom:1px solid var(--r-or) !important;background:var(--r-ivoire) !important;font-variant-numeric:tabular-nums;}
html:root body .converter-box .converter-arrow{color:var(--r-or) !important;}
html:root body .converter-share{opacity:.75;}

/* listes « terme — explication » : une rangée fine par ligne */
html:root body article ul.r-def{list-style:none;padding:0;margin:14px 0 22px;border-top:1px solid var(--r-filet-gris);}
html:root body article ul.r-def ul.r-def{margin:8px 0 10px;}
html:root body article ul.r-def > li{margin:0;padding:11px 0 11px 0;border-bottom:1px solid var(--r-filet-gris);line-height:1.55;}
html:root body article ul.r-def > li > strong:first-child{display:block;font:500 1.02rem/1.3 'Fraunces',Georgia,serif;color:var(--r-nuit);margin-bottom:2px;}
@media (min-width:700px){
  html:root body article ul.r-def > li{display:flow-root;padding-left:212px;}
  html:root body article ul.r-def > li > strong:first-child{float:left;width:190px;margin:0 0 0 -212px;}
  html:root body article ul.r-def.r-def-long > li,html:root body article ul.r-def ul.r-def > li{padding-left:0;}
  html:root body article ul.r-def.r-def-long > li > strong:first-child{display:inline;float:none;width:auto;margin:0;}
  html:root body article ul.r-def ul.r-def > li > strong:first-child{float:none;width:auto;margin:0 0 2px;}
}

/* cartes → rangées fines (ex. coordonnées des banques) */
html:root body .r-rangees{display:block !important;margin:12px 0 18px !important;border-top:1px solid var(--r-nuit);}
html:root body .r-rangees > *{background:none !important;border:0 !important;border-bottom:1px solid var(--r-filet-gris) !important;border-radius:0 !important;box-shadow:none !important;padding:12px 0 !important;margin:0 !important;display:grid;grid-template-columns:150px 1fr;column-gap:22px;align-items:baseline;}
html:root body .r-rangees > * > h3{grid-row:1 / span 3;margin:0 !important;font:500 1.12rem/1.25 'Fraunces',Georgia,serif !important;color:var(--r-nuit) !important;}
html:root body .r-rangees > * > p{margin:0 0 4px !important;color:var(--r-gris) !important;font-size:.88rem;}
html:root body .r-rangees > * > ul{display:flex;flex-wrap:wrap;gap:2px 0;margin:0 !important;padding:0 !important;list-style:none;font-size:.86rem;}
html:root body .r-rangees > * > ul > li{margin:0 !important;padding:0 14px 0 0 !important;}
html:root body .r-rangees > * > ul > li + li{border-left:1px solid var(--r-filet-gris);padding-left:14px !important;}
html:root body .r-rangees > * > ul > li:first-child{flex-basis:100%;border:0;padding-left:0 !important;color:var(--r-encre);}
html:root body .r-rangees .r-ico{display:none;}
@media (max-width:640px){
  html:root body .r-rangees > *{grid-template-columns:1fr;}
  html:root body .r-rangees > * > h3{grid-row:auto;margin-bottom:2px !important;}
  html:root body .r-rangees > * > ul{display:block;}
  html:root body .r-rangees > * > ul > li{border:0 !important;padding:1px 0 !important;}
}

/* partenaire dans le texte : une rangée sobre, plus de pavé coloré */
html:root body .bon-plan{background:var(--r-papier) !important;color:var(--r-encre) !important;border:1px solid var(--r-filet) !important;border-radius:0 !important;box-shadow:none !important;padding:12px 16px !important;align-items:center !important;font-size:.92rem !important;flex-direction:row !important;}
html:root body .bon-plan .bp-ic{display:none !important;}
html:root body .bon-plan strong{color:var(--r-nuit) !important;}
html:root body .bon-plan a,html:root body .bon-plan a:visited{color:var(--r-nuit-2) !important;}
html:root body .bon-plan a[rel~="sponsored"],html:root body .bon-plan a[rel~="sponsored"]:visited{background:none !important;border:1px solid var(--r-or) !important;color:var(--r-nuit) !important;border-radius:0 !important;padding:4px 12px !important;font-weight:600 !important;}
html:root body .bon-plan a[rel~="sponsored"]:hover{background:var(--r-or) !important;color:#fff !important;}
/* bannières publicitaires (images) : retirées côté Retraite */
html:root body .wise-ban,html:root body .r-cache{display:none !important;}

/* questions fréquentes */
html:root body .faq-item{background:none !important;border:0 !important;border-bottom:1px solid var(--r-filet-gris) !important;border-radius:0 !important;padding:2px 0 !important;margin:0 !important;}
html:root body .faq-item:first-of-type{border-top:1px solid var(--r-filet-gris) !important;}
html:root body .faq-item summary{font-weight:500 !important;color:var(--r-nuit);}
html:root body .faq-item summary::before{color:var(--r-or) !important;}

/* tableaux */
html:root body article table{width:100%;border-collapse:collapse;font-size:.9rem;font-variant-numeric:tabular-nums;margin:14px 0 22px;}
html:root body article th{text-align:left;font:600 .7rem/1.2 'Inter',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--r-or);border-bottom:1px solid var(--r-nuit);padding:8px 10px;background:none;}
html:root body article td{border-bottom:1px solid var(--r-filet-gris);padding:9px 10px;vertical-align:top;}

/* pages suivantes : rangées fines */
html:root body .next-pages{display:block !important;border-top:1px solid var(--r-nuit);margin-top:40px !important;}
html:root body .next-pages a{display:flex !important;justify-content:space-between;align-items:baseline;gap:16px;background:none !important;border:0 !important;border-bottom:1px solid var(--r-filet-gris) !important;border-radius:0 !important;padding:13px 0 !important;box-shadow:none !important;}
html:root body .next-pages .eyebrow{color:var(--r-or) !important;font-family:'Inter',sans-serif !important;font-size:.68rem !important;letter-spacing:.16em;}
html:root body .next-pages .title{font-weight:500 !important;color:var(--r-nuit) !important;}

/* liens externes : petite flèche discrète */
.r-ext{display:inline-block;margin-left:.18em;font-size:.75em;color:var(--r-or);text-decoration:none;}

/* pied de page assorti */
html:root body .site-footer.pied-v2{background:var(--r-nuit) !important;color:rgba(255,255,255,.75);margin-top:56px !important;padding:22px 0 18px !important;border-top:2px solid var(--r-or);}
html:root body .pied-v2 .pied-ligne{background:transparent !important;border:1px solid rgba(255,255,255,.14) !important;border-radius:0 !important;}
html:root body .pied-v2 .pied-nl-t{color:#fff !important;}
html:root body .site-footer a{color:rgba(255,255,255,.75) !important;}
html:root body .site-footer .pied-avert{color:rgba(255,255,255,.6);}
html:root body .pied-v2 .newsletter-btn{background:var(--r-or) !important;border-color:var(--r-or) !important;}

/* flèches page précédente/suivante de outils.js : sobres */
html:root body .fl-page .fl-rond{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(var(--r-or),var(--r-or)) border-box !important;border-width:1px !important;color:var(--r-nuit) !important;}

@media (max-width:640px){
  html:root body .hero-band.grand-hero,html:root body .hero-band{padding:34px 0 30px !important;}
  html:root body .hero-band h1{font-size:1.75rem !important;}
  html:root body article > h2{font-size:1.38rem;}
  html:root body .crumb{padding-top:18px;}
}
@media print{.r-gauche,.r-droite,.r-tel-sommaire,.r-bas{display:none !important;}}

/* ---------- retouches ---------- */
/* liens du texte : plus de surligneur jaune, un soulignement laiton */
html:root body article a:not([class]){background:none !important;padding:0 !important;border-radius:0 !important;color:var(--r-nuit-2) !important;text-decoration:underline !important;text-decoration-color:var(--r-or) !important;text-decoration-thickness:1px !important;text-underline-offset:3px !important;font-weight:500;}
html:root body article a:not([class]):hover{color:var(--r-or) !important;}
html:root body article li::marker{color:var(--r-or);}
html:root body article .box strong{color:var(--r-nuit) !important;}
html:root body .converter-share a,html:root body .converter-share button{background:none !important;border:1px solid var(--r-filet-gris) !important;color:var(--r-gris) !important;border-radius:0 !important;box-shadow:none !important;}
html:root body .converter-share .ext-ico,html:root body .converter-share .r-ext{display:none;}
html:root body .hero-band .kicker::before{content:"Côté retraite  ·";}
html:root body .hero-band.grand-hero,html:root body .hero-band{padding:46px 0 40px !important;}
html:root body .hero-band h1{max-width:30ch;}
html:root body .hero-band .share-float{margin-top:0 !important;}
@media (min-width:1180px){
  html:root body section.hero-band > .wrap.hero{max-width:calc(100vw - 232px) !important;width:calc(var(--r-col-g) + var(--r-gouttiere) * 2 + var(--r-texte) + var(--r-col-d));padding-left:calc(var(--r-col-g) + var(--r-gouttiere)) !important;padding-right:0 !important;}
  .r-gauche{max-height:calc(100vh - 120px);}
}
@media (max-width:640px){html:root body .hero-band.grand-hero,html:root body .hero-band{padding:30px 0 26px !important;}}
.r-fiche .r-off{font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--r-or);border:1px solid var(--r-filet);padding:0 4px;margin-left:3px;}
html:root body .converter-share a,html:root body .converter-share button{padding:5px 12px !important;text-decoration:none !important;font-size:.8rem !important;}
html:root body .print-btn{background:none !important;border:1px solid var(--r-filet-gris) !important;border-radius:0 !important;box-shadow:none !important;color:var(--r-gris) !important;font-size:.78rem !important;padding:5px 12px !important;}
html:root body .hero-band .wrap.hero{padding-bottom:0 !important;margin-bottom:0 !important;}
@media (max-width:640px){html:root body .hero-band p.lede{font-size:.98rem !important;line-height:1.5 !important;}html:root body .hero-band .r-maj-hero{font-size:.72rem;}}

/* ===== Lot « sérieux » (15/11) ===== */
/* Dodo de l'en-tête : en couleurs, cercle doré */
html:root body .site-header .brand-logo{filter:none !important;box-shadow:0 0 0 2px var(--r-or-clair),0 2px 8px rgba(0,0,0,.35) !important;}
/* Émojis de l'en-tête et du menu : retirés sur PC (les mots suffisent), gris sur téléphone */
html:root body .r-emo{filter:grayscale(1);opacity:.85;}
@media(min-width:1025px){html:root body .site-header .r-emo{display:inline-block !important;visibility:visible !important;opacity:1 !important;filter:none !important;}}
/* Boutons de partage flottants : bleu nuit uni au lieu des couleurs des réseaux */
html:root body .share-float .sf-btn{background:var(--r-nuit) !important;background-image:none !important;color:#fff !important;border:1px solid rgba(176,141,87,.55) !important;box-shadow:none !important;}
html:root body .share-float .sf-btn img,html:root body .share-float .sf-btn svg{filter:brightness(0) invert(1);}
html:root body .share-float .sf-btn .sf-ico{filter:grayscale(1) brightness(2.2);}
/* Dodos dessinés et bulles retirés des pages Retraite */
html:root body .dodo-guide,html:root body .dodo-mot{display:none !important;}
/* « Par où commencer » : étapes en bandes fines */
html:root body .step-card{display:grid !important;grid-template-columns:56px 1fr;gap:0 18px !important;border:0 !important;border-top:1px solid var(--r-filet) !important;border-radius:0 !important;background:transparent !important;padding:22px 0 18px !important;margin:0 !important;box-shadow:none !important;}
html:root body .step-card:last-of-type{border-bottom:1px solid var(--r-filet) !important;}
html:root body .step-photo{display:none !important;}
html:root body .step-num{width:auto !important;height:auto !important;border-radius:0 !important;background:none !important;color:var(--r-or) !important;font:400 2.1rem/1 'Fraunces',Georgia,serif !important;justify-content:flex-start !important;align-items:flex-start !important;padding-top:4px;}
html:root body .step-body h2{font-size:1.25rem !important;margin:2px 0 6px !important;}
html:root body .step-body h2::after{display:none !important;}
html:root body .step-links{gap:18px !important;}
html:root body .step-link{padding:0 !important;border:0 !important;border-radius:0 !important;background:none !important;color:var(--r-nuit) !important;border-bottom:1px solid var(--r-or) !important;font-weight:600;}
html:root body .step-link:hover{color:var(--r-or) !important;background:none !important;}
@media(max-width:640px){html:root body .step-card{grid-template-columns:40px 1fr;gap:0 12px !important;}html:root body .step-num{font-size:1.7rem !important;}}
/* Barre A-/A/A+ : icônes en gris */
html:root body .fs-tool button,html:root body .fs-tool a{filter:grayscale(1);}
/* Encadré « mémo du départ » : sobre */
html:root body .memo-box{background:var(--r-papier) !important;background-image:none !important;border:1px solid var(--r-filet) !important;border-top:2px solid var(--r-or) !important;border-radius:0 !important;box-shadow:none !important;}

/* ===== Lot « doré » (15/11 après-midi) ===== */
:root{--r-dore:linear-gradient(90deg,#9C7526 0%,#D9B65F 30%,#F3DE9A 50%,#D9B65F 70%,#9C7526 100%);}
html:root body .site-header{border-bottom:0 !important;}
html:root body .site-header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--r-dore);}
html:root body .site-header{position:relative;}
html:root body .site-header .ent-u{background:#d92f36 !important;border-color:#d92f36 !important;}
html:root body .site-header .ent-u .ent-t{color:#fff !important;}
html:root body .hero-band{border-bottom:3px solid transparent;border-image:var(--r-dore) 1;}
html:root body .hero-band .kicker{color:#F3DE9A !important;}
html:root body .hero-band .kicker::after{background:var(--r-dore) !important;height:2px !important;}
html:root body .hero-band h1{text-shadow:0 1px 0 rgba(0,0,0,.2);}
html:root body article > h2::after{width:64px !important;height:2px !important;background:var(--r-dore) !important;}
html:root body article .box,html:root body article .box.teal{border-left:3px solid #C9A24C !important;}
.r-service{background:linear-gradient(160deg,#0F1D2E 0%,#1B3350 100%) !important;border-top:3px solid #C9A24C !important;}
.r-service a.r-bouton{background:var(--r-dore) !important;border:0 !important;color:#1D2633 !important;}
.r-service a.r-bouton:hover{filter:brightness(1.06);}
.r-bloc-titre{border-bottom:2px solid #C9A24C !important;}
html:root body .site-footer.pied-v2{border-top:0 !important;box-shadow:inset 0 3px 0 0 #C9A24C;}
html:root body .pied-v2 .newsletter-btn{background:var(--r-dore) !important;color:#1D2633 !important;border:0 !important;}
html:root body .step-num{color:#B8913A !important;}
html:root body .r-maj-hero{border-top:1px solid rgba(230,201,127,.55) !important;}

/* Espacement mobile des pages Retraite : corrige les marges imposées
   par le thème sans toucher aux pages Vacances ni au contenu. */
@media (max-width: 820px) {
  html:root body .r-bas { margin-top: 18px; margin-bottom: 6px; padding-top: 14px; gap: 14px; }
  html:root body .next-pages { margin-top: 20px !important; margin-bottom: 12px !important; }
  html:root body .next-pages a { padding-top: 11px !important; padding-bottom: 11px !important; }
  html:root body .site-footer.pied-v2 { margin-top: 18px !important; }
}

/* Navigation transversale unifiée — 2026-11-16.
   Appliquée à toutes les pages utilisant ce thème, sans déplacement de fichiers. */
html body .site-header .nav > a.nav-cote.nav-cote-v,
html body .site-header .nav > a.nav-cote.nav-cote-v:visited {
  background:#F6B942 !important;
  background-image:none !important;
  color:#182C3B !important;
  -webkit-text-fill-color:#182C3B !important;
  border:2px solid #D48C19 !important;
  border-radius:999px !important;
  font-weight:800 !important;
  opacity:1 !important;
  box-shadow:0 2px 6px rgba(0,0,0,.16) !important;
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:165px !important;
  min-height:32px !important;
  height:32px !important;
  padding:3px 12px !important;
  margin:0 3px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
  text-align:center !important;
  vertical-align:middle !important;
}
@media(max-width:1024px) {
  html body .site-header .nav > a.nav-cote.nav-cote-v {
    width:calc(100% - 20px) !important;
    max-width:calc(100% - 20px) !important;
    min-width:0 !important;
    min-height:44px !important;
    height:auto !important;
    margin:7px 10px !important;
    padding:9px 14px !important;
  }
}
/* Repères de couleur conservés sur toutes les pages des deux univers. */
html body .site-header .ent-ics > a.ent-b,
html body .site-header .ent-ics > a.ent-b:visited {
  background:#FFD500 !important;
  border-color:#E8B400 !important;
  color:#3D2E00 !important;
  -webkit-text-fill-color:#3D2E00 !important;
}
html body .site-header .ent-ics > a.ent-b .ent-t {color:#3D2E00 !important;}
html body .site-header .ent-ics > a.ent-n,
html body .site-header .ent-ics > a.ent-n:visited {
  background:#FF6B4A !important;
  border-color:#FF6B4A !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
html body .site-header .ent-ics > a.ent-n .ent-t {color:#fff !important;}

/* Navigation : repères visibles sur ordinateur et mobile. */
html body .site-header .nav .site-search .site-search-icon {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  position:absolute !important;
  left:12px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:3 !important;
  pointer-events:none !important;
  font-size:15px !important;
  line-height:1 !important;
}
html body .site-header .nav .site-search input[type="search"] {
  padding-left:38px !important;
}
html body .site-header .nav > a.nav-new,
html body .site-header .nav > a.nav-new:visited {
  background:#FF6B4A !important;
  background-image:none !important;
  border:1px solid #E75639 !important;
  border-radius:999px !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  font-weight:700 !important;
  opacity:1 !important;
  text-shadow:none !important;
}

/* Menu téléphone — 18/11/2026 : emojis en couleur, boutons qui ne se coupent plus, hamburger plus facile à toucher. */
@media (max-width:1024px){
  html:root body .site-header .nav .r-emo{filter:none !important;opacity:1 !important;}
  html body .site-header .nav > a.nav-pros,
  html body .site-header .nav > a.nav-new,
  html body .site-header .nav > a.nav-bp{
    box-sizing:border-box !important;width:calc(100% - 20px) !important;max-width:calc(100% - 20px) !important;
    margin:6px 10px !important;min-height:44px !important;height:auto !important;
    display:block !important;
    padding:9px 14px !important;line-height:1.25 !important;white-space:normal !important;
    overflow:visible !important;text-decoration:none !important;
  }
  html body .site-header .nav > *{flex-shrink:0 !important;}
  html body .site-header .nav > a,
  html body .site-header .nav .nav-cat-summary{line-height:1.3 !important;height:auto !important;overflow:visible !important;}
  html body .site-header button.nav-toggle-label{background:none !important;border:0 !important;padding:0 !important;-webkit-appearance:none;appearance:none;cursor:pointer;}
  html body .site-header .nav-toggle-label::before{content:"";position:absolute;inset:-10px;}
}
/* Bouton « Bons plans » : toujours jaune sur toutes les pages Retraite (18/11/2026) */
html:root body .site-header .ent-ics > a.ent-i.ent-b{background:#FFD500 !important;background-color:#FFD500 !important;border:2px solid #E8B400 !important;color:#3D2E00 !important;}
html:root body .site-header .ent-ics > a.ent-i.ent-b .ent-t{color:#3D2E00 !important;-webkit-text-fill-color:#3D2E00 !important;}
