/* =====================================================================
   Habillage commun des pages publiques : le même style que l'accueil
   (fond bleu Evo + courbes de niveau, verre, en-tête et pied identiques).
   Chargé après evo.css et site.css, sur body.habille.
   ===================================================================== */
@font-face{font-family:"Schibsted Grotesk";src:url(/fonts/schibsted-grotesk-latin.woff2) format("woff2");font-weight:400 900;font-display:swap}
body.habille{--clair:#C9D8EE;--pale:#93A6C2;--accent2:#A6E1FF;
  background:#0A2A75;color:#fff;font-family:"Schibsted Grotesk",-apple-system,Arial,sans-serif}
body.habille::before{content:"";position:fixed;inset:0!important;height:auto!important;z-index:-1!important;pointer-events:none;
  background:url(/images/topo.svg) center/cover no-repeat,
    radial-gradient(60vw 60vw at 92% -10%,rgba(120,215,255,.42),rgba(120,215,255,0) 70%),
    linear-gradient(160deg,#0B57F0 0%,#0A47D6 30%,#0A3AA8 58%,#0A2A75 85%,#08204F 100%)}
.habille #site,.habille #gpage,.habille #fpage{background:none}

/* ---- en-tête : le même que l'accueil ---- */
.habille .hero,.habille .hero.small{background:none!important;clip-path:none!important;padding-bottom:20px!important;overflow:visible}
.habille .hero::before,.habille .hero::after,.habille .mesh{display:none!important}
.habille .haut{display:flex;align-items:center;gap:18px;padding:16px clamp(16px,3vw,32px);position:relative;z-index:5}
.habille .haut .logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:20px;letter-spacing:-.04em;text-decoration:none;color:#fff}
.habille .tuile{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;
  background:linear-gradient(160deg,rgba(255,255,255,.26),rgba(255,255,255,.08));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),inset 0 1px 0 rgba(255,255,255,.35),0 8px 20px -10px rgba(0,10,40,.5)}
.habille .tuile svg{width:22px;height:22px}
.habille .nav-d{display:flex;align-items:center;gap:6px;margin-left:auto}
.habille .nav-d .lien{font-size:13.5px;font-weight:700;color:var(--clair);text-decoration:none;padding:8px 10px;border-radius:999px}
.habille .nav-d .lien:hover,.habille .nav-d .lien.ici{color:#fff}
.habille .nav-d .lien b{color:var(--accent2)}
.habille .nav-d .essai{font-size:13.5px;font-weight:700;text-decoration:none;padding:8px 14px;border-radius:999px;background:#fff;color:#0A2540;white-space:nowrap}
@media (max-width:1100px){.habille .nav-d .lien.gratuit{display:none}}
@media (max-width:720px){.habille .nav-d .lien{display:none}.habille .nav-d .lien.connect{display:inline}}
@media (max-width:420px){.habille .nav-d .lien.connect{display:none}}

/* ---- titre de page ---- */
.habille .fp-hero{padding-top:40px;max-width:760px}
.habille .fp-hero h1{color:#fff;font-size:clamp(32px,4.4vw,52px);line-height:1.04;letter-spacing:-.045em}
.habille .lead{color:var(--clair)!important;max-width:34em}
.habille .ctas .btn.white{background:#fff;color:#0A2540}
.habille .ctas .btn.textw{color:#fff}

/* ---- contenu : cartes de verre ---- */
.habille .page-body{color:var(--clair)}
.habille .boite,.habille .offre,.habille .bloc,.habille .legal-txt,.habille .guide,.habille .cta-box{
  background:linear-gradient(160deg,rgba(255,255,255,.15),rgba(255,255,255,.05) 60%)!important;border:0!important;color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 40px 80px -40px rgba(2,8,30,.7)!important;border-radius:24px!important}
.habille .boite{margin-top:0!important;padding:30px}
.habille .legal-txt,.habille .guide{padding:clamp(22px,4vw,44px)}
.habille .legal-txt h2,.habille .legal-txt h3,.habille .guide h2,.habille .bloc h2,.habille .offre .prix,.habille .cta-box h2{color:#fff}
.habille .legal-txt p,.habille .legal-txt li,.habille .guide p,.habille .guide li,.habille .bloc p,.habille .offre li,.habille .cta-box p{color:var(--clair)}
.habille .legal-txt a,.habille .guide a,.habille .sous a,.habille .case a,.habille .boite a,.habille .bloc a{color:var(--accent2)}
.habille .legal-txt .maj,.habille .offre .petit,.habille .hint,.habille .offre .prix small{color:var(--pale)!important}
.habille .legal-txt table{color:var(--clair)}
.habille .legal-txt th,.habille .legal-txt td{border-color:rgba(255,255,255,.15)}
.habille .legal-txt th{background:rgba(255,255,255,.06);color:#fff}
.habille .boite label,.habille .boite .case,.habille .bloc label,.habille .page-body>.case{color:#fff}
.habille .boite .input,.habille .bloc .input,.habille .page-body .input{background:#fff;color:#0A2540;border:1px solid transparent;border-radius:10px}
.habille .page-body .input:focus{outline:none;box-shadow:0 0 0 3px rgba(166,225,255,.55)}
.habille .btn.primary,.habille .boite .btn.primary,.habille .offre .btn.primary{background:#fff;color:#0A2540;border:0;box-shadow:0 14px 30px -14px rgba(2,8,30,.6)}
.habille .btn.primary:hover{background:#EAF2FF}
.habille .sous{color:var(--clair)}
.habille .msg{border-radius:12px}
.habille .offre .d{border-color:rgba(255,255,255,.15)!important}
.habille .offre li::before{background-color:var(--accent2)}
.habille .badge{background:rgba(255,255,255,.12);color:#fff}

/* ---- Fonctionnalités : les tuiles restent claires, posées sur le bleu ---- */
.habille .fp-body{padding-top:10px}
.habille .bt{box-shadow:0 40px 80px -40px rgba(2,8,30,.7)}

/* ---- Devis gratuit : l'outil reste blanc, dans un grand panneau ---- */
.habille .g-body{color:#0A2540}
.habille .g-body>*{position:relative}

/* ---- pied de page : le même que l'accueil ---- */
.habille .pied{max-width:1080px;margin:40px auto 0;padding:56px clamp(16px,3vw,40px) 40px;display:grid;gap:18px;color:var(--pale);font-size:14px}
.habille .pied .logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:20px;letter-spacing:-.04em;text-decoration:none;color:#fff}
.habille .pied nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.habille .pied nav a{color:var(--clair);text-decoration:none}
.habille .pied nav a:hover{color:#fff}
.habille .pied .legal a{color:var(--pale);font-size:13px}

/* ---- corrections ---- */
html:has(body.habille){background:#0A2A75}
body.habille{background:transparent!important}
.habille .offre{margin-top:0!important}
.habille .offre .d{background:rgba(255,255,255,.04)!important}
.habille .offre .eyebrow{color:var(--accent2)}
.habille .offre .prix{color:#fff}
.habille [style*="color:var(--muted)"]{color:var(--clair)!important}
.habille .boite .btn:not(.primary){background:rgba(255,255,255,.08);color:#fff;border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
.habille .boite .btn:not(.primary):hover{background:rgba(255,255,255,.14)}
.habille .boite .lien-sec{color:var(--accent2)}

/* tuiles claires (Fonctionnalités) et outil de devis : texte foncé */
.habille .bt:not(.sombre),.habille .g-body .card,.habille .g-body [class*="g-"]:not(.g-seo):not(.g-types):not(.g-top){color:#0A2540}
.habille .bt:not(.sombre) h2{color:#0A2540}
.habille .bt:not(.sombre) .bt-tags li{color:#3A4A60;border-color:#DCE5F2}
.habille .g-body label{color:#3A4A60}
.habille .g-types .fbtn:not(.on){color:#DCE7F7;background:rgba(255,255,255,.08)}
.habille .g-seo,.habille .g-seo p,.habille .g-seo li{color:#C9D8EE}
.habille .g-seo h2,.habille .g-seo h3{color:#fff}
.habille .g-seo a{color:#A6E1FF}
.habille .g-top .btn:not(.primary):not(.white){color:#fff}
.habille .g-top .btn.ghost{color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}

@media (max-width:860px){.habille .pied nav{gap:0 20px}.habille .pied nav a{display:inline-block;padding:8px 0}}

/* Fonctionnalités : sur tablette, une tuile par ligne pour que les dessins ne se chevauchent pas */
@media (max-width:1000px){.habille .bento{grid-template-columns:1fr!important}.habille .bento .bt{grid-column:auto!important}}
/* Mon compte : titre qui ne chevauche plus, libellés et boutons lisibles sur fond bleu */
.habille .compte-grille{margin-top:0}
.habille .page-body .compte-grille{margin-top:8px}
.habille .bloc .ligne{border-top-color:rgba(255,255,255,.16);color:#fff}
.habille .bloc .ligne span:first-child{color:rgba(255,255,255,.72)}
.habille .bloc .btn:not(.primary):not(.rouge){background:rgba(255,255,255,.08);color:#fff;border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.32)}
.habille .bloc .btn:not(.primary):not(.rouge):hover{background:rgba(255,255,255,.16)}
.habille .bloc .btn.primary{color:#0A2540}
.habille .badge.essai{background:rgba(255,255,255,.18);color:#fff}
.habille .badge.ok{background:rgba(52,211,153,.22);color:#BBF7D0}
.habille .badge.ko{background:rgba(248,113,113,.22);color:#FECACA}
.habille .bloc.danger h2{color:#FECACA}

/* Guides : le bouton secondaire du cadre blanc doit rester lisible */
.habille .guide-cta .btn.ghost{color:#0B5CFF;background:transparent;box-shadow:inset 0 0 0 1px rgba(11,92,255,.35)}
.habille .guide-cta .btn.ghost:hover{background:rgba(11,92,255,.06)}
