
  :root{
    --orange:#d4af37;
    --orange-soft:rgba(212,175,55,0.12);
    --bg:#0a0e1a;
    --bg-card:#12182a;
    --bg-card-2:#161d33;
    --border:#232a40;
    --text:#f5f3f0;
    --text-soft:#a3a09a;
    --text-mute:#8a8782;
    --radius:16px;
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    background:
      radial-gradient(ellipse 1100px 750px at 15% -10%, rgba(70,95,190,0.45), transparent 62%),
      radial-gradient(ellipse 900px 650px at 100% 5%, rgba(55,80,170,0.32), transparent 58%),
      radial-gradient(ellipse 700px 500px at 50% 40%, rgba(45,65,140,0.16), transparent 65%),
      linear-gradient(180deg, #10173a 0%, var(--bg) 520px, var(--bg) 100%);
    background-attachment:fixed;
    color:var(--text);
    font-family:'Plus Jakarta Sans',sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{
    font-weight:800;
    margin:0;
    letter-spacing:-0.02em;
    line-height:1.15;
    color:var(--text);
  }
  a{ color:inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }
  .wrap{ max-width:1140px; margin:0 auto; padding:0 24px; }
  a:focus-visible, button:focus-visible, select:focus-visible{ outline:2px solid var(--orange); outline-offset:3px; }
  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
  }

  /* header */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(10,14,26,0.85);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
  }
  .nav{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:18px 0; }
  .nav > .brand{ justify-self:start; }
  .nav > nav.links{ justify-self:center; }
  .nav > .nav-game{ justify-self:end; }
  .brand{
    display:flex; align-items:center; gap:10px;
    font-weight:800; font-size:1.02rem; color:var(--text); letter-spacing:-0.01em; white-space:nowrap;
  }
  .brand .mark{
    width:38px; height:38px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
  }
  .brand .mark img{ width:100%; height:100%; object-fit:contain; display:block; }
  nav.links{ display:flex; gap:20px; }
  nav.links a{
    font-size:0.9rem; font-weight:600; color:var(--text);
    display:flex; align-items:center; gap:6px;
  }
  nav.links a.active{ color:var(--orange); }
  nav.links a .chev{ font-size:0.65rem; color:var(--text-mute); }
  nav.links a:hover{ color:var(--orange); }
  .burger{ display:none; background:none; border:0; font-size:1.4rem; color:var(--text); }
  @media(max-width:720px){
    .nav{ display:flex; justify-content:space-between; }
    .nav > .nav-game{ display:none; }
  }
  @media(max-width:720px){ nav.links{ display:none; } .burger{ display:block; } }
  /* mega-menu dropdowns */
  nav.links{ position:relative; }
  .nav-item > a{
    padding:8px 13px; border-radius:999px; transition:background .15s ease, color .15s ease;
  }
  .nav-item > a.active{ color:var(--orange); }
  .nav-item:hover > a, .nav-item:focus-within > a{
    background:var(--bg-card-2);
  }
  .nav-item > a .chev{ display:inline-block; transition:transform .15s ease; }
  .nav-item:hover > a .chev, .nav-item:focus-within > a .chev{ transform:rotate(180deg); }
  .dropdown-panel{
    position:absolute; top:100%; left:0; transform:translateX(-50%);
    padding-top:14px;
    width:640px;
    opacity:0; visibility:hidden; pointer-events:none;
    transition:left .28s cubic-bezier(.4,0,.2,1), opacity .1s ease;
    z-index:60;
  }
  .dropdown-panel.open{
    opacity:1; visibility:visible; pointer-events:auto;
  }
  .dropdown-inner{
    background:var(--bg-card); border:1px solid var(--border); border-radius:16px;
    padding:36px 40px; box-shadow:0 28px 56px -18px rgba(0,0,0,0.65);
    display:grid; grid-template-columns:repeat(2, minmax(240px, 1fr)); gap:26px 40px;
  }
  .drop-item{ display:block !important; }
  .drop-item .dt{ font-weight:700; font-size:1.02rem; color:var(--text); margin-bottom:6px; letter-spacing:-0.01em; }
  .drop-item .dd{ font-size:0.82rem; color:var(--text-soft); line-height:1.45; font-weight:400; }
  @media(max-width:720px){ .dropdown-panel{ width:400px; } .dropdown-inner{ grid-template-columns:1fr; padding:28px; } .drop-item .dt{ font-size:0.95rem; } }
  @media(max-width:720px){ .dropdown-panel{ display:none; } }

  /* breadcrumb + page head */
  .page-head{ padding:44px 0 12px; }
  .breadcrumb{
    display:flex; align-items:center; gap:8px; flex-wrap:wrap;
    font-size:0.88rem; color:var(--text-mute); margin-bottom:26px;
  }
  .breadcrumb a{ color:var(--text-soft); }
  .breadcrumb a:not(.breadcrumb-home), .breadcrumb .current{
    background:var(--orange-soft); color:var(--orange); padding:4px 11px; border-radius:6px; font-weight:600;
  }
  .breadcrumb a:not(.breadcrumb-home):hover{ background:rgba(212,175,55,0.24); color:var(--orange); }
  .breadcrumb .sep{ color:var(--orange); }
  .breadcrumb-home{ display:flex; align-items:center; color:var(--text-mute); }
  .breadcrumb-home:hover{ color:var(--orange); }
  .breadcrumb-home svg{ width:16px; height:16px; }
  .page-head h1{ font-size:clamp(1.9rem,4vw,2.6rem); max-width:22ch; }
  .page-head p{ margin-top:16px; color:var(--text-soft); font-size:1.02rem; max-width:60ch; line-height:1.6; }

  section{ padding:52px 0; }
  section.first{ padding-top:36px; }
  .group-head{
    margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid var(--border);
  }
  .group-head h2{ font-size:1.35rem; }

  /* comparateur cards */
  .grid{ display:grid; gap:20px; grid-template-columns:repeat(3,1fr); }
  @media(max-width:800px){ .grid{ grid-template-columns:1fr; } }
  .card{
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:28px 26px; transition:border-color .2s ease, transform .2s ease;
  }
  .card:hover{ border-color:rgba(212,175,55,0.4); transform:translateY(-3px); }
  .card .icon{
    width:44px; height:44px; border-radius:12px; background:var(--orange-soft); color:var(--orange);
    display:flex; align-items:center; justify-content:center; font-weight:800; margin-bottom:18px; font-size:0.78rem;
    border:1px solid rgba(212,175,55,0.25);
  }
  .card h3{ font-size:1.15rem; margin-bottom:10px; }
  .card p{ color:var(--text-soft); font-size:0.92rem; line-height:1.55; margin:0 0 18px; }
  .card-link{ font-size:0.88rem; font-weight:700; color:var(--orange); }
  .card-link:hover{ opacity:0.8; }

  /* head to head */
  .duel{
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:34px 30px;
    display:grid; grid-template-columns:1fr auto 1fr; gap:22px; align-items:end;
  }
  @media(max-width:700px){ .duel{ grid-template-columns:1fr; } }
  .duel-field label{
    display:block; font-size:0.78rem; font-weight:700; color:var(--text-mute);
    text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px;
  }
  .duel-field select{
    width:100%; background:var(--bg-card-2); border:1px solid var(--border); color:var(--text);
    padding:13px 14px; border-radius:10px; font-size:0.95rem; font-family:inherit; appearance:none;
  }
  .duel-vs{
    display:flex; align-items:center; justify-content:center;
    width:38px; height:38px; border-radius:50%; background:var(--orange-soft); color:var(--orange);
    font-weight:800; font-size:0.8rem; border:1px solid rgba(212,175,55,0.25);
    justify-self:center; margin-bottom:6px;
  }
  .duel-btn{
    grid-column:1 / -1; justify-self:center; margin-top:6px;
    background:var(--orange); color:#161310; font-weight:700; font-size:0.95rem;
    padding:13px 32px; border-radius:999px; border:none; cursor:pointer; font-family:inherit;
    transition:filter .2s ease;
  }
  .duel-btn:hover{ filter:brightness(1.08); }

  .duel-result{ margin-top:24px; display:grid; grid-template-columns:1fr 1fr; gap:20px; }
  @media(max-width:700px){ .duel-result{ grid-template-columns:1fr; } }
  .duel-result.empty{ display:none; }
  .result-card{
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:24px; text-align:center;
  }
  .result-card.winner{ border-color:var(--orange); box-shadow:0 0 0 1px rgba(212,175,55,0.3); }
  .result-card .name{ font-size:1.1rem; font-weight:800; margin-bottom:4px; }
  .result-card .badge{
    display:inline-block; font-size:0.72rem; font-weight:700; color:var(--orange);
    background:var(--orange-soft); border:1px solid rgba(212,175,55,0.25);
    padding:3px 10px; border-radius:999px; margin-bottom:14px;
  }
  .result-card .cost{ font-size:1.6rem; font-weight:800; color:var(--text); margin-bottom:2px; }
  .result-card .cost-label{ font-size:0.78rem; color:var(--text-mute); }
  .calc-note{ font-size:0.78rem; color:var(--text-mute); margin-top:14px; text-align:center; }

  /* footer */
  footer{ background:var(--bg); color:var(--text-soft); padding:60px 0 28px; border-top:1px solid var(--border); margin-top:60px; }
  .footer-top{ display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr 1fr; gap:26px; padding-bottom:40px; border-bottom:1px solid var(--border); }
  @media(max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; row-gap:34px; } }
  @media(max-width:720px){ .footer-top{ grid-template-columns:1fr; } }
  .footer-brand h3{ color:var(--text); font-size:1.05rem; margin-bottom:12px; }
  .footer-brand p{ font-size:0.88rem; line-height:1.6; max-width:30ch; }
  .footer-col h4{ color:var(--text); font-size:0.85rem; margin:0 0 16px; }
  .footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
  .footer-col a{ font-size:0.88rem; }
  .footer-col a:hover{ color:var(--orange); }
  .footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding-top:26px; font-size:0.8rem; }

  
  
  
  

  /* halo lumineux glissant sur les boutons pleins */
  .btn-primary, .bank-cta, .offer-btn, .duel-btn, .calc-cta{
    position:relative; overflow:hidden;
  }
  .btn-primary::after, .bank-cta::after, .offer-btn::after, .duel-btn::after, .calc-cta::after{
    content:""; position:absolute; top:0; left:130%; width:90%; height:100%;
    background:linear-gradient(100deg,
      transparent 0%,
      rgba(255,255,255,0.05) 22%,
      rgba(255,255,255,0.18) 50%,
      rgba(255,255,255,0.05) 78%,
      transparent 100%);
    animation:btnShine 8s ease-in-out infinite;
    pointer-events:none;
  }
  @keyframes btnShine{
    0%{ left:130%; }
    12%{ left:130%; }
    62%{ left:-110%; }
    100%{ left:-110%; }
  }

  /* --- bloc « Pour aller plus loin » (maillage interne) --- */
  .related-block{ margin:44px 0 8px; padding-top:26px; border-top:1px solid var(--border); }
  .related-block .rb-title{
    font-size:0.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em;
    color:var(--text-mute); margin-bottom:16px;
  }
  .related-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:12px; }
  .related-card{
    display:block; text-decoration:none; background:var(--bg-card-2);
    border:1px solid var(--border); border-radius:12px; padding:15px 17px;
    transition:border-color .2s ease, transform .2s ease;
  }
  .related-card:hover{ border-color:rgba(212,175,55,0.45); transform:translateY(-2px); }
  .related-card .rc-name{ font-size:0.92rem; font-weight:700; color:var(--text); margin-bottom:4px; }
  .related-card .rc-desc{ font-size:0.8rem; color:var(--text-mute); line-height:1.45; }

  /* --- section de contenu rédactionnel --- */
  .prose{ max-width:760px; margin:0 auto; }
  .prose h2{ font-size:1.4rem; margin:44px 0 16px; }
  .prose h2:first-child{ margin-top:0; }
  .prose p{ color:var(--text-soft); font-size:1rem; line-height:1.75; margin:0 0 16px; }
  .prose ul, .prose ol{ color:var(--text-soft); font-size:1rem; line-height:1.75; margin:0 0 16px; padding-left:22px; }
  .prose li{ margin-bottom:10px; }
  .prose li::marker{ color:var(--orange); }
  .prose strong{ color:var(--text); }

  /* --- menu mobile --- */
  .mobile-menu{
    display:none; position:fixed; inset:56px 0 0; z-index:70; overflow-y:auto;
    background:var(--bg); border-top:1px solid var(--border); padding:8px 0 40px;
  }
  .mobile-menu.open{ display:block; }
  .mm-group{ border-bottom:1px solid var(--border); }
  .mm-head{
    display:flex; align-items:center; justify-content:space-between; width:100%;
    background:none; border:0; padding:16px 22px; cursor:pointer;
    font-family:inherit; font-size:1rem; font-weight:700; color:var(--text); text-align:left;
  }
  .mm-head .mm-chev{ color:var(--text-mute); transition:transform .25s ease; font-size:0.8rem; }
  .mm-head[aria-expanded="true"] .mm-chev{ transform:rotate(180deg); }
  .mm-panel{ display:none; padding:0 22px 14px; }
  .mm-panel.open{ display:block; }
  .mm-panel a{
    display:block; padding:11px 0 11px 14px; border-left:2px solid var(--border);
    color:var(--text-soft); font-size:0.93rem; text-decoration:none;
  }
  .mm-panel a:hover, .mm-panel a:focus{ color:var(--orange); border-left-color:var(--orange); }
  .mm-panel a.mm-all{ color:var(--orange); font-weight:700; }
  .mm-simple{
    display:block; padding:16px 22px; color:var(--text); font-weight:700;
    text-decoration:none; font-size:1rem;
  }
  .mm-cta{
    display:block; margin:20px 22px 0; padding:14px; border-radius:999px;
    background:var(--orange); color:#161310; font-weight:800; text-align:center;
    text-decoration:none;
  }
  body.mm-lock{ overflow:hidden; }

  /* --- bouton Jeu dans la barre --- */
  .nav-game > a{
    position:relative; background:transparent; color:var(--text) !important;
    font-weight:800; font-size:0.8rem; letter-spacing:0.01em; border-radius:999px; padding:8px 15px !important;
    box-shadow:0 0 16px -6px rgba(76,126,217,0.45);
    transition:box-shadow .25s ease;
  }
  .nav-game > a::before{
    content:""; position:absolute; inset:0; border-radius:inherit;
    padding:1.5px; pointer-events:none;
    background:linear-gradient(100deg, #22305c 0%, #4c7ed9 12%, #93b6ec 25%, #4c7ed9 38%, #22305c 50%, #4c7ed9 62%, #93b6ec 75%, #4c7ed9 88%, #22305c 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
  }
  .nav-game > a:hover{ box-shadow:0 0 24px -4px rgba(76,126,217,0.7); }
  /* sans cela, le fond de survol de .nav-item recouvrirait l'intérieur transparent */
  .nav-item.nav-game:hover > a, .nav-item.nav-game:focus-within > a{ background:transparent; }

  /* --- entête « voir tout » dans les menus déroulants --- */
  .drop-all{
    grid-column:1 / -1; display:block; padding:0 0 14px; margin-bottom:4px;
    border-bottom:1px solid var(--border); color:var(--orange);
    font-weight:700; font-size:0.9rem; text-decoration:none;
  }
  .drop-all:hover{ text-decoration:underline; }

  /* --- lien d'évitement clavier --- */
  .skip-link{
    position:absolute; left:-9999px; top:0; z-index:200;
    background:var(--orange); color:#161310; font-weight:800;
    padding:12px 22px; border-radius:0 0 10px 0; text-decoration:none;
  }
  .skip-link:focus{ left:0; }

  /* --- contour dégradé animé ---
     le motif est doublé et la surface portée à 200 % : un déplacement de
     0 à 100 % fait défiler exactement un cycle, la boucle est invisible.
     Les animations réduites sont déjà neutralisées par la règle globale. */
  @keyframes contour-glisse{
    from{ background-position:0% 0; }
    to{ background-position:100% 0; }
  }
  .btn-ghost::before, .nav-game > a::before{
    background-size:200% 100%;
    animation:contour-glisse 5s linear infinite;
  }

  /* --- nom du site dans l'en-tête --- */
  .brand-name{ font-weight:800; font-size:0.98rem; letter-spacing:-0.01em; white-space:nowrap; }
  @media(max-width:420px){ .brand-name{ display:none; } }

  /* --- illustration des cartes « pour aller plus loin » --- */
  .related-card{ overflow:hidden; padding:0 !important; }
  .related-card .rc-art{ display:block; width:100%; aspect-ratio:400/210; }
  .related-card .rc-body{ padding:14px 16px 16px; }
  .related-grid{ grid-template-columns:repeat(auto-fit,minmax(196px,1fr)) !important; }

/* « Pour aller plus loin » : une seule ligne de quatre */
.related-grid{ grid-template-columns:repeat(4, 1fr) !important; }
@media(max-width:900px){ .related-grid{ grid-template-columns:repeat(2, 1fr) !important; } }
@media(max-width:560px){ .related-grid{ grid-template-columns:1fr !important; } }

/* « Pour aller plus loin » : rail défilant de quatre vignettes */
.related-block{ position:relative; }
.rel-scroller{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; padding-bottom:10px; scrollbar-width:thin;
  scrollbar-color:var(--border) transparent; }
.rel-scroller::-webkit-scrollbar{ height:6px; }
.rel-scroller::-webkit-scrollbar-thumb{ background:var(--border); border-radius:3px; }
.rel-scroller > .related-card{ flex:0 0 calc((100% - 36px) / 4); scroll-snap-align:start; }
.related-block .rail-nav{ position:absolute; top:calc(50% + 4px); width:36px; height:36px;
  border-radius:50%; background:var(--bg-card); border:1px solid var(--border); color:var(--orange);
  font-size:1.25rem; line-height:1; cursor:pointer; z-index:3; display:flex; align-items:center;
  justify-content:center; transition:background .15s, opacity .2s; }
.related-block .rail-prev{ left:-18px; } .related-block .rail-next{ right:-18px; }
@media(max-width:900px){ .related-block .rail-nav{ display:none !important; }
  .rel-scroller > .related-card{ flex:0 0 62%; } }
/* colonne de texte élargie sous le simulateur */

/* espacements resserrés */
section{ padding:52px 0; }
section + section{ padding-top:44px; }
.prose h2{ margin:32px 0 12px; }
.related-block{ margin:28px 0 0; padding-top:22px; }

/* tableau comparatif */
.tab-zone{ overflow-x:auto; border:1px solid var(--border); border-radius:14px; background:var(--bg-card); }
.tab-comp{ width:100%; border-collapse:collapse; font-size:0.92rem; min-width:640px; }
.tab-comp thead th{ text-align:left; font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--text-mute); font-weight:800; padding:14px 16px; border-bottom:1px solid var(--border);
  white-space:nowrap; }
.tab-comp thead th:hover{ color:var(--orange); }
.tab-comp tbody th{ text-align:left; font-weight:700; color:var(--text); padding:14px 16px; }
.tab-comp tbody td{ color:var(--text-soft); padding:14px 16px; vertical-align:top; }
.tab-comp tbody tr + tr th, .tab-comp tbody tr + tr td{ border-top:1px solid var(--border); }
.tab-comp tbody tr:hover th, .tab-comp tbody tr:hover td{ background:rgba(212,175,55,0.05); }
.tab-lien{ color:var(--orange); font-weight:700; text-decoration:none; white-space:nowrap; }

/* comparateurs : verdict, tableau, simulateur */
.verdict{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.verdict .v{ background:var(--bg-card); border:1px solid var(--border); border-radius:14px; padding:20px 22px; }
.verdict .v .lab{ font-size:0.68rem; font-weight:800; letter-spacing:0.09em; text-transform:uppercase; color:var(--orange); margin-bottom:8px; }
.verdict .v .who{ font-size:1.12rem; font-weight:800; color:var(--text); margin-bottom:6px; }
.verdict .v p{ margin:0; font-size:0.9rem; color:var(--text-soft); line-height:1.5; }
.sim-frais{ background:var(--bg-card); border:1px solid var(--border); border-radius:16px; padding:22px 24px; }
.sim-frais .champs{ display:flex; flex-wrap:wrap; gap:18px; margin-bottom:18px; }
.sim-frais label{ display:block; font-size:0.76rem; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-mute); margin-bottom:6px; }
.sim-frais input, .sim-frais select{ background:var(--bg); border:1px solid var(--border); color:var(--text); border-radius:10px; padding:10px 12px; font-family:inherit; font-size:0.95rem; min-width:150px; }
.sim-ligne{ display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center; padding:11px 0; border-top:1px solid var(--border); }
.sim-ligne:first-of-type{ border-top:0; }
.sim-nom{ font-weight:700; color:var(--text); }
.sim-barre{ height:8px; border-radius:4px; background:var(--orange); opacity:0.75; margin-top:6px; }
.sim-cout{ font-weight:800; color:var(--orange); white-space:nowrap; }
@media(max-width:820px){ .verdict{ grid-template-columns:1fr; } }

/* alignement sur les dimensions de la page Actions */
.prose{ max-width:744px !important; }
.chart-block{ margin:34px 0 !important; }
.chart-frame{ background:var(--bg-card) !important; border:1px solid var(--border) !important; border-radius:16px !important; padding:24px 26px 18px !important; }
.chart-caption{ text-align:left !important; font-size:0.76rem !important; color:var(--text-mute) !important; margin-top:14px !important; }

/* débordement horizontal : une colonne de grille ne doit jamais s'élargir
   au gré d'un conteneur défilant qu'elle contient */
.article-layout > .content, .article-layout > .sidebar{ min-width:0; }
.rel-scroller, .sim-scroller, .books-scroller, .tab-zone{ min-width:0; max-width:100%; }
.content img, .content svg, .prose img, .prose svg{ max-width:100%; }
.content{ overflow-wrap:anywhere; }

/* bandeaux d'ouverture */
.bandeau-article{ border-radius:18px; overflow:hidden; }
/* encarts typés */
.summary-box{ position:relative; }
.summary-box.encart{ border-left:3px solid var(--border); padding-top:16px; }
.summary-box.encart-retenir{ border-left-color:#d4af37; }
.summary-box.encart-chiffre{ border-left-color:#6b96e0; }
.summary-box.encart-methode{ border-left-color:#5aa87a; }
.encart-tete{ display:flex; align-items:center; gap:9px; font-size:0.7rem; font-weight:800;
  letter-spacing:0.09em; text-transform:uppercase; margin-bottom:12px; }
.encart-ic{ display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px;
  border-radius:6px; color:#12182a; font-size:0.72rem; font-weight:800; }
.lecture{ display:inline-block; margin-left:10px; font-size:0.78rem; color:var(--text-mute); }

/* progression de lecture */
.progression{ position:fixed; top:0; left:0; right:0; height:3px; background:transparent; z-index:200;
  pointer-events:none; }
.progression span{ display:block; height:100%; width:0;
  background:linear-gradient(90deg, var(--orange), #f0d67a); transition:width .1s linear; }
/* sommaire actif */
.toc-list a.toc-actif{ color:var(--orange); font-weight:700; }
.toc-list a.toc-actif::before{ content:''; position:absolute; left:0; width:2px; height:1.2em;
  background:var(--orange); }
.toc-list a{ position:relative; }
/* retour en haut */
.haut{ position:fixed; right:22px; bottom:22px; width:42px; height:42px; border-radius:50%;
  background:var(--bg-card); border:1px solid var(--border); color:var(--orange); font-size:1.1rem;
  cursor:pointer; opacity:0; pointer-events:none; transition:opacity .2s, background .15s; z-index:150; }
.haut.vu{ opacity:1; pointer-events:auto; }
.haut:hover{ background:var(--bg-card-2); }
/* recherche */
.rech-ouvrir{ background:transparent; border:1px solid var(--border); color:var(--text-soft);
  width:36px; height:36px; border-radius:10px; cursor:pointer; display:inline-flex;
  align-items:center; justify-content:center; margin-left:10px; transition:color .15s, border-color .15s; }
.rech-ouvrir:hover{ color:var(--orange); border-color:var(--orange); }
.rech-voile{ position:fixed; inset:0; background:rgba(6,9,18,0.72); backdrop-filter:blur(4px);
  display:none; align-items:flex-start; justify-content:center; padding-top:12vh; z-index:300; }
.rech-voile.vu{ display:flex; }
.rech-boite{ width:min(620px, 92vw); background:var(--bg-card); border:1px solid var(--border);
  border-radius:16px; padding:18px; box-shadow:0 30px 60px -20px rgba(0,0,0,0.7); }
.rech-boite input{ width:100%; background:var(--bg); border:1px solid var(--border); color:var(--text);
  border-radius:12px; padding:13px 15px; font-family:inherit; font-size:1rem; }
.rech-liste{ margin-top:12px; max-height:52vh; overflow-y:auto; }
.rech-liste a{ display:block; padding:11px 12px; border-radius:10px; text-decoration:none; }
.rech-liste a:hover{ background:var(--bg-card-2); }
.rech-rub{ display:block; font-size:0.66rem; font-weight:800; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--orange); }
.rech-titre{ display:block; color:var(--text); font-weight:700; margin:2px 0 3px; }
.rech-desc{ display:block; color:var(--text-mute); font-size:0.84rem; line-height:1.4; }
.rech-vide{ color:var(--text-mute); padding:14px 12px; margin:0; }
.rech-pied{ margin-top:10px; font-size:0.72rem; color:var(--text-mute); text-align:right; }
@media(max-width:900px){ .rech-ouvrir{ display:none; } }

/* rythme : une section sur deux légèrement détachée */
section:nth-of-type(even){ background:rgba(255,255,255,0.012); }
section:nth-of-type(even)::before{ content:''; position:absolute; }
.hero, #apropos{ background:none; }

/* loupe sur la ligne du fil d'ariane */
.wrap.breadcrumb{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.breadcrumb .rech-ouvrir{ margin-left:auto; width:auto; padding:6px 12px; gap:7px; font-family:inherit;
  font-size:0.78rem; font-weight:600; }
.breadcrumb .rech-ouvrir span{ display:inline-block; }
@media(max-width:640px){ .breadcrumb .rech-ouvrir span{ display:none; } .breadcrumb .rech-ouvrir{ padding:6px 9px; } }
/* date, pastille et temps de lecture alignés à droite du titre */
.article-title{ display:flex; align-items:baseline; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.article-title h1{ margin:0; flex:1 1 340px; }

.article-meta .maj-date{ margin:0; }

/* pastille de vérification : une seule mise en forme */

/* méta empilée et alignée sur la marge droite de la page */
.article-meta{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right; }

.page-head .article-meta{ margin-top:14px; align-items:flex-end; }
@media(max-width:760px){ .article-meta{ align-items:flex-start; text-align:left; } }


/* pastille et temps de lecture : une ligne, à droite du titre */
.badge-verif{ display:inline-block; font-size:0.72rem; font-weight:700; color:var(--orange);
  background:var(--orange-soft); border:1px solid rgba(212,175,55,0.25); padding:3px 10px;
  border-radius:999px; white-space:nowrap; letter-spacing:0; }
.article-meta{ display:flex; flex-direction:row; align-items:center; gap:8px; flex-wrap:wrap;
  justify-content:flex-end; }
.sep-meta{ color:var(--text-mute); font-size:0.78rem; }
.lecture{ display:inline-block; margin:0; color:var(--text); font-size:0.78rem; font-weight:400; }
.titre-bloc{ flex:1 1 340px; }
.titre-bloc h1{ margin:0; }
.article-title{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
@media(max-width:760px){ .article-meta{ justify-content:flex-start; } }

/* bloc titre : méta calée sur la marge droite, comme le visuel qui suit */
.wrap.article-title, .wrap.page-head{ padding-left:24px; padding-right:24px; }
.article-title, .page-head{ display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap; }
.article-title > h1, .page-head > h1{ margin:0; flex:1 1 340px; }
.page-head > p{ flex:1 1 100%; margin:6px 0 0; }
.article-meta{ display:flex; flex-direction:row; align-items:center; gap:8px; flex-wrap:nowrap;
  justify-content:flex-end; margin-left:auto; }
.page-head .article-meta{ margin-top:0; order:2; }
@media(max-width:760px){ .article-meta{ justify-content:flex-start; margin-left:0; flex-wrap:wrap; } }

/* le bloc de titre des pages à fil d'ariane intégré reste en colonne */



.page-head .breadcrumb{ margin-bottom:18px; }
.page-head .article-meta{ margin-top:14px; margin-left:auto; justify-content:flex-end; }

/* pages de simulateur : le texte a exactement la largeur du simulateur */

body.page-outil .prose p, body.page-outil .prose ul, body.page-outil .prose ol,
body.page-outil .prose h2, body.page-outil .prose h3{ max-width:none; }

/* ---- harmonisation des trois gabarits ---- */
/* bloc de titre : identique partout (titre à gauche, méta à droite) */
.wrap.article-title, .wrap.page-head{ padding-left:24px; padding-right:24px; }
.article-title{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px;
  flex-wrap:wrap; padding-top:20px; padding-bottom:36px; }
.article-title > h1{ margin:0; flex:1 1 340px; max-width:26ch; }
.article-title.page-head{ display:block !important; padding-top:20px; padding-bottom:32px; }
.article-title.page-head > h1{ margin:0 0 10px; max-width:26ch; }
.article-title.page-head > p{ margin:0; max-width:70ch; color:var(--text-soft); }
.article-title.page-head .article-meta{ margin-top:14px; justify-content:flex-start; }
/* colonne de texte : même mesure que la colonne d'article, alignée à gauche */
.wrap.prose{ max-width:1140px !important; margin-left:auto; margin-right:auto;
  padding-left:24px; padding-right:24px; }
.wrap.prose > *{ max-width:744px; }
body.page-outil .wrap.prose > *{ max-width:744px; }
/* rythme vertical identique */
section{ padding:52px 0; }
section + section{ padding-top:44px; }
.group-head{ margin-bottom:26px; }

/* marge latérale garantie sur tous les blocs de titre */
.wrap.article-title, .wrap.page-head, .wrap.article-title.page-head{ padding-left:24px !important; padding-right:24px !important; }

/* respiration entre la barre de navigation et le fil d'ariane */
.wrap.breadcrumb{ padding-top:28px; margin-bottom:22px; }
@media(max-width:760px){ .wrap.breadcrumb{ padding-top:20px; } }

/* pages de simulateur : la colonne de texte est centrée sous le simulateur */
body.page-outil .wrap.prose > *{ margin-left:auto; margin-right:auto; }
body.page-outil .wrap.prose > h2{ margin-top:34px; }

/* bloc « pour aller plus loin » : plus de filet, et contour de survol entier */
.related-block{ border-top:0 !important; }
.rel-scroller{ padding-top:6px; padding-left:2px; padding-right:2px; }
.rel-scroller > .related-card{ margin-top:0; }
.related-card:hover{ border-color:rgba(212,175,55,0.65) !important; }

/* colonne de texte centrée sur toutes les pages hub et outils */
.wrap.prose > *{ margin-left:auto !important; margin-right:auto !important; }
.wrap.prose > h2{ margin-top:34px; }
.wrap.prose .summary-box, .wrap.prose .figure{ margin-left:auto !important; margin-right:auto !important; }

/* quiz de fin de guide */
.quiz{ margin:40px 0 8px; background:var(--bg-card); border:1px solid var(--border);
  border-left:3px solid #6b96e0; border-radius:16px; padding:24px 26px 20px; }
.quiz-tete{ display:flex; align-items:center; gap:9px; font-size:0.7rem; font-weight:800;
  letter-spacing:0.09em; text-transform:uppercase; color:#6b96e0; margin-bottom:6px; }
.quiz-ic{ display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px;
  border-radius:6px; background:#6b96e0; color:#12182a; font-size:0.72rem; font-weight:800; }
.quiz h2{ font-size:1.12rem; margin:0 0 4px; }
.quiz-intro{ color:var(--text-mute); font-size:0.85rem; margin:0 0 18px; }
.quiz-q{ padding:16px 0; border-top:1px solid var(--border); }
.quiz-q:first-child{ border-top:0; padding-top:4px; }
.quiz-enonce{ margin:0 0 12px; color:var(--text); font-weight:600; font-size:0.98rem; }
.quiz-enonce span{ color:var(--orange); font-weight:800; margin-right:4px; }
.quiz-choix-liste{ display:flex; flex-direction:column; gap:8px; }
.quiz-choix{ text-align:left; background:var(--bg); border:1px solid var(--border); color:var(--text-soft);
  border-radius:10px; padding:10px 14px; font-family:inherit; font-size:0.92rem; cursor:pointer;
  transition:border-color .15s, color .15s, background .15s; }
.quiz-choix:hover:not(:disabled){ border-color:var(--orange); color:var(--text); }
.quiz-choix:disabled{ cursor:default; }
.quiz-choix.bon{ border-color:#5aa87a; color:#f5f3f0; background:rgba(90,168,122,0.12); }
.quiz-choix.faux{ border-color:#e2665a; color:#f5f3f0; background:rgba(226,102,90,0.10); }
.quiz-expl{ margin:12px 0 0; font-size:0.88rem; color:var(--text-mute); line-height:1.55;
  border-left:2px solid var(--border); padding-left:12px; }
.quiz-score{ margin:18px 0 0; padding-top:14px; border-top:1px solid var(--border);
  color:var(--text-soft); font-size:0.95rem; }
.quiz-score strong{ color:var(--orange); font-size:1.1rem; }

/* quiz : encadré doré uniforme, titre avec pastille */
.quiz{ border:1px solid rgba(212,175,55,0.45) !important; border-left:1px solid rgba(212,175,55,0.45) !important; }
.quiz-titre{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:6px; }
.quiz-titre h2{ margin:0; font-size:1.12rem; }
.quiz-badge{ display:inline-flex; align-items:center; background:var(--orange); color:#161310;
  font-size:0.66rem; font-weight:800; letter-spacing:0.12em; text-transform:uppercase;
  padding:5px 12px; border-radius:999px; white-space:nowrap; }
.quiz-choix.bon{ border-color:#5aa87a; }



/* ============ mise en cohérence responsive ============
   trois paliers seulement : 1024 (tablette), 760 (grande
   tablette et mobile paysage), 520 (mobile)             */
html, body{ overflow-x:hidden; }
img, svg, table, iframe{ max-width:100%; }

@media(max-width:1024px){
  /* les sous-menus s'ouvrent sous le thème au lieu de déborder à droite */
  .mega-pane{ position:static !important; width:auto !important; box-shadow:none !important;
    border:0 !important; padding:4px 0 10px 14px !important; top:auto !important; left:auto !important; }
  .mega2{ max-height:70vh; overflow-y:auto; }
  /* le simulateur passe en une colonne bien avant d'être illisible */
  .calc-card{ grid-template-columns:1fr !important; }
  .calc-panel-left, .calc-panel-right{ border-right:0 !important; border-left:0 !important; }
  /* grilles et cartes */
  .verdict{ grid-template-columns:repeat(2,1fr) !important; }
  .rel-scroller > .related-card{ flex:0 0 calc((100% - 24px) / 3) !important; }
  .sim-scroller > .card{ flex:0 0 calc((100% - 40px) / 3) !important; }
  .books-scroller > .card{ flex:0 0 calc((100% - 20px) / 2) !important; }
}

@media(max-width:760px){
  .article-layout{ grid-template-columns:1fr !important; }
  .sidebar{ position:static !important; width:auto !important; }
  .about-grid, .verdict, .grid, .related-grid{ grid-template-columns:1fr !important; }
  .rel-scroller > .related-card, .sim-scroller > .card, .books-scroller > .card{ flex:0 0 82% !important; }
  .rail-nav{ display:none !important; }
  .tab-zone{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .article-title, .article-title.page-head{ display:block !important; }
  .article-meta{ justify-content:flex-start !important; margin:12px 0 0 !important; }
  .hero{ min-height:auto !important; padding:56px 0 44px !important; }
  section{ padding:40px 0 !important; }
  section + section{ padding-top:34px !important; }
  .wrap.prose > *{ max-width:100% !important; }
  .duel{ grid-template-columns:1fr !important; }
  .duel-vs{ justify-self:center; }
}

@media(max-width:520px){
  .wrap{ padding-left:16px !important; padding-right:16px !important; }
  .wrap.article-title, .wrap.page-head, .wrap.article-title.page-head{
    padding-left:16px !important; padding-right:16px !important; }
  .quiz, .summary-box, .figure, .sim-frais{ padding-left:16px !important; padding-right:16px !important; }
  .badge-verif{ font-size:0.68rem; padding:3px 9px; }
  .breadcrumb{ font-size:0.78rem; }
  .rech-ouvrir span{ display:none; }
  .haut{ right:14px; bottom:14px; }
}

/* formulaire de contact */
.form-contact{ display:flex; flex-direction:column; gap:14px; max-width:620px; }
.form-contact label{ font-size:0.78rem; font-weight:700; text-transform:uppercase;
  letter-spacing:0.06em; color:var(--text-mute); margin-bottom:6px; display:block; }
.form-contact input, .form-contact select, .form-contact textarea{ width:100%; background:var(--bg);
  border:1px solid var(--border); color:var(--text); border-radius:10px; padding:11px 13px;
  font-family:inherit; font-size:0.95rem; }
.form-contact textarea{ min-height:150px; resize:vertical; }
.form-contact .envoyer{ align-self:flex-start; background:var(--orange); color:#161310; border:0;
  border-radius:999px; padding:12px 26px; font-family:inherit; font-weight:800; font-size:0.95rem;
  cursor:pointer; }
.form-note{ font-size:0.8rem; color:var(--text-mute); }


/* pied de page : logo puis trois colonnes homogènes */
.footer-top{ display:grid !important; grid-template-columns:auto repeat(4, 1fr) !important;
  gap:34px !important; align-items:start; }
.footer-brand img{ width:72px; height:72px; display:block; }
.footer-col ul{ gap:9px; }
.footer-tous{ color:var(--orange) !important; font-weight:700; }
@media(max-width:1024px){ .footer-top{ grid-template-columns:repeat(2, 1fr) !important; row-gap:30px !important; } }
@media(max-width:760px){ .footer-top{ grid-template-columns:1fr !important; } .footer-brand img{ width:60px; height:60px; } }

/* allègement du rendu : le flou permanent de la barre de navigation coûte cher */
header{ backdrop-filter:none !important; background:rgba(10,14,26,0.96) !important; }
.rech-voile{ backdrop-filter:none !important; background:rgba(6,9,18,0.88) !important; }
.progression span{ transition:none !important; will-change:width; }
.rel-scroller, .sim-scroller, .books-scroller{ will-change:scroll-position; }
/* on limite les transitions aux propriétés peu coûteuses */
.card, .related-card, .offer-card{ transition:border-color .15s ease, transform .15s ease !important; }

/* mention d'affiliation */
.mention-affiliation{ font-size:0.8rem; color:var(--text-mute); line-height:1.5;
  border-left:2px solid var(--border); padding-left:12px; margin:0 0 22px; max-width:760px; }
.footer-affil{ color:var(--text-mute); }

/* couverture de livre dans la carte */
.livre-couv{ display:block; float:left; width:88px; margin:0 16px 10px 0; border-radius:6px;
  overflow:hidden; box-shadow:0 6px 18px -6px rgba(0,0,0,0.6); }
.livre-couv img{ display:block; width:100%; height:auto; }
.card.offer-card::after{ content:''; display:block; clear:both; }
.card.offer-card .icon{ display:none; }
@media(max-width:520px){ .livre-couv{ width:72px; margin-right:12px; } }

/* couverture de livre : en tête de carte, pleine largeur */
.livre-couv{ float:none !important; display:flex; align-items:flex-end; justify-content:center;
  width:auto !important; margin:-4px -4px 18px !important; padding:22px 0 0;
  background:linear-gradient(180deg, rgba(212,175,55,0.10), rgba(255,255,255,0.02));
  border-radius:12px; overflow:hidden; box-shadow:none !important; }
.livre-couv img{ width:auto !important; height:190px; display:block;
  border-radius:4px 4px 0 0;
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.85), 0 2px 6px rgba(0,0,0,0.5);
  transition:transform .2s ease; }
.livre-couv:hover img{ transform:translateY(-4px) scale(1.03); }
.livre-couv:focus-visible img{ transform:translateY(-4px); }
@media(prefers-reduced-motion: reduce){ .livre-couv img{ transition:none; } }
@media(max-width:520px){ .livre-couv img{ height:158px; } }

/* carte de livre : texte centré, fond tiré des couleurs de la couverture */
.card.offer-card.livre{ text-align:center; }
.card.offer-card.livre .offer-tags{ justify-content:center; }
.card.offer-card.livre h3{ text-align:center; }
.card.offer-card.livre p{ text-align:center; }
.livre-couv{ position:relative; isolation:isolate; float:none !important;
  display:flex; align-items:flex-end; justify-content:center;
  width:auto !important; margin:-4px -4px 18px !important; padding:26px 0 0;
  border-radius:12px; overflow:hidden; box-shadow:none !important; background:transparent; }
/* le fond reprend l'image de couverture, floutée : chaque livre a donc sa teinte */
.livre-couv::before{ content:''; position:absolute; inset:-20%; z-index:-2;
  background-image:var(--couv); background-size:cover; background-position:center;
  filter:blur(26px) saturate(1.5); opacity:0.55; }
.livre-couv::after{ content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(10,14,26,0.35), rgba(10,14,26,0.75)); }
.livre-couv img{ width:auto !important; height:190px; display:block; border-radius:4px 4px 0 0;
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.55);
  transition:transform .2s ease; }
.livre-couv:hover img{ transform:translateY(-4px) scale(1.03); }
@media(prefers-reduced-motion: reduce){ .livre-couv img{ transition:none; } }
@media(max-width:520px){ .livre-couv img{ height:158px; } }

/* texte justifié dans les cartes de livre */
.card.offer-card.livre p{ text-align:justify; hyphens:auto; }
.card.offer-card.livre h3, .card.offer-card.livre .offer-tags{ text-align:center; }
.card.offer-card.livre p[style*="text-mute"]{ text-align:center; }

/* mise en volume du livre */
.livre-couv{ perspective:1300px; }
.livre-3d{ position:relative; display:block; transform-style:preserve-3d;
  transform:rotateY(-17deg) rotateX(2deg); transition:transform .35s ease; }
.livre-3d img{ display:block; width:auto; height:190px; border-radius:2px 5px 5px 2px;
  box-shadow:0 22px 38px -14px rgba(0,0,0,0.95), 0 3px 8px rgba(0,0,0,0.6); }
/* la tranche : épaisseur des pages, côté opposé au dos */
.livre-3d::after{ content:''; position:absolute; top:4px; bottom:4px; right:-11px; width:13px;
  background:repeating-linear-gradient(90deg, #efece4 0 2px, #d6d1c4 2px 3px);
  transform:skewY(7deg); border-radius:0 3px 3px 0;
  box-shadow:2px 0 6px rgba(0,0,0,0.55); }
/* le dos : ombre portée sur la reliure */
.livre-3d::before{ content:''; position:absolute; inset:0; z-index:2; border-radius:2px 5px 5px 2px;
  background:linear-gradient(90deg, rgba(0,0,0,0.5) 0, rgba(0,0,0,0.16) 5%, rgba(0,0,0,0) 13%,
    rgba(255,255,255,0.06) 82%, rgba(255,255,255,0.12) 100%); pointer-events:none; }
.livre-couv:hover .livre-3d{ transform:rotateY(-7deg) rotateX(1deg) translateY(-5px); }
.livre-couv:hover img{ transform:none; }
@media(prefers-reduced-motion: reduce){ .livre-3d{ transition:none; } }
@media(max-width:520px){ .livre-3d img{ height:158px; } .livre-3d::after{ width:10px; right:-9px; } }

/* couverture de livre : à plat, sans fond coloré */
.livre-couv{ perspective:none !important; background:transparent !important; }
.livre-couv::before, .livre-couv::after{ display:none !important; }
.livre-3d{ transform:none !important; transform-style:flat !important; }
.livre-3d::before, .livre-3d::after{ display:none !important; }
.livre-3d img{ border-radius:5px !important;
  box-shadow:0 16px 32px -12px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.5) !important;
  transition:transform .2s ease; }
.livre-couv:hover .livre-3d img{ transform:translateY(-4px) scale(1.03); }
@media(prefers-reduced-motion: reduce){ .livre-3d img{ transition:none; } }

/* pastille de catégorie en tête de vignette, auteur aligné à gauche */
.card.offer-card.livre .offer-tags{ order:-1; justify-content:center; margin:0 0 14px !important; }
.card.offer-card.livre{ display:flex; flex-direction:column; }
.card.offer-card.livre .livre-couv{ order:0; }
.card.offer-card.livre h3{ order:1; }
.card.offer-card.livre p{ order:2; }
.card.offer-card.livre > div:last-of-type{ order:3; margin-top:auto; }
.card.offer-card.livre p.livre-auteur{ text-align:left !important; margin:-10px 0 12px !important; }

/* titre du livre aligné à gauche, comme l'auteur */
.card.offer-card.livre h3{ text-align:left !important; }


/* titre et auteur recentrés */
.card.offer-card.livre h3{ text-align:center !important; }
.card.offer-card.livre p.livre-auteur{ text-align:center !important; }

/* pastille de catégorie — identique à celle de l'accueil */
.tag{ font-size:0.72rem; font-weight:700; color:var(--orange); background:var(--orange-soft);
  padding:4px 10px; border-radius:999px; margin-right:6px;
  border:1px solid rgba(212,175,55,0.2); }

/* couverture un peu plus haute, écart resserré avec la pastille */
.card.offer-card.livre .offer-tags{ margin:0 0 8px !important; }
.livre-couv{ margin:0 -4px 16px !important; padding:0 !important; }
.livre-3d img{ height:224px !important; }
@media(max-width:520px){ .livre-3d img{ height:184px !important; } }

/* même écart de part et d'autre de la couverture : 8 px */
.card.offer-card.livre .offer-tags{ margin:0 0 8px !important; }
.livre-couv{ margin:0 -4px 8px !important; }
.card.offer-card.livre h3{ margin-top:0 !important; }

/* marges autour de la couverture portées à 16 px */
.card.offer-card.livre .offer-tags{ margin:0 0 16px !important; }
.livre-couv{ margin:0 -4px 16px !important; }





/* bloc auteur et avis d'affiliation */
.bloc-auteur{ display:flex; align-items:center; gap:14px; margin:0 0 14px; }
.bloc-auteur img{ border-radius:50%; border:1.5px solid rgba(212,175,55,0.35); display:block; }
.ba-nom{ margin:0 0 3px; font-size:0.9rem; font-weight:700; color:var(--text); }
.ba-nom a{ color:var(--orange); text-decoration:none; }
.ba-nom a:hover{ text-decoration:underline; }
.ba-role{ margin:0; font-size:0.82rem; color:var(--text-mute); line-height:1.5; max-width:62ch; }
.avis-affiliation{ margin:0 0 4px; padding-left:12px; border-left:2px solid var(--border);
  font-size:0.78rem; color:var(--text-mute); line-height:1.5; max-width:78ch; }
.verdict-note{ margin:16px 0 0; font-size:0.86rem; color:var(--text-mute); line-height:1.55; }
.wrap.prose ol{ margin:14px 0 18px; padding-left:22px; }
.wrap.prose ol li{ margin-bottom:9px; line-height:1.65; }

/* bloc auteur : nom en texte simple, liens d'affiliation en or et gras */
.ba-nom{ font-weight:400 !important; color:var(--text-mute) !important; }
.ba-nom a{ color:var(--text-mute) !important; text-decoration:none !important;
  pointer-events:none; cursor:default; }
.ba-role a{ color:var(--orange) !important; font-weight:800 !important;
  text-decoration:none; border-bottom:1px solid rgba(212,175,55,0.35); }
.ba-role a:hover{ border-bottom-color:var(--orange); }


/* vignette de l'auteur : contour argenté et loupe, comme sur l'accueil */
.bloc-auteur .avatar{ flex:0 0 auto; width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  text-decoration:none; cursor:pointer; padding:0;
  border:1.5px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, #f6f9fd 0%, #b9c3d4 18%, #5a6b8c 34%, #1e2a44 48%,
      #eaf0f8 62%, #7f8da8 78%, #26324c 100%) border-box;
  box-shadow:0 0 0 1px rgba(255,255,255,0.04), 0 6px 16px -8px rgba(0,0,0,0.8);
  transition:transform .2s ease, background .2s ease; }
.bloc-auteur .avatar:hover{ transform:scale(1.05);
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, #ffffff 0%, #cdd7e6 18%, #6d80a5 34%, #2a3a5c 48%,
      #ffffff 62%, #97a5c0 78%, #33425f 100%) border-box; }
.bloc-auteur .avatar img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:50%; }
@media(prefers-reduced-motion: reduce){ .bloc-auteur .avatar{ transition:none; } }
/* texte de présentation en blanc, seuls les liens restent dorés */
.ba-role{ color:var(--text) !important; }

/* bloc auteur : nom et présentation en gras */
.ba-nom{ font-weight:700 !important; color:var(--text) !important; }
.ba-role{ font-weight:700 !important; }

/* titre de comparateur sur une seule ligne, nom de l'auteur en argent */
.article-title h1{ white-space:nowrap; }
@media(max-width:760px){ .article-title h1{ white-space:normal; } }
.ba-nom{ color:#c8cdd6 !important; }

/* nom de l'auteur : le gris du corps de texte */
.ba-nom{ color:var(--text-soft) !important; }

/* présentation de l'auteur : une seule ligne sur grand écran */
.ba-role{ max-width:none !important; white-space:nowrap; }
@media(max-width:900px){ .ba-role{ white-space:normal; } }



/* simulateur de coût réel */
.simu-zone{ background:var(--bg-card); border:1px solid var(--border); border-radius:16px;
  padding:20px 22px; display:flex; flex-direction:column; gap:16px; }
.simu-champ label{ display:flex; justify-content:space-between; align-items:baseline; gap:14px;
  font-size:0.85rem; color:var(--text-soft); margin-bottom:8px; }
.simu-val{ color:var(--orange); font-weight:800; white-space:nowrap; }
.simu-champ input[type=range]{ width:100%; -webkit-appearance:none; appearance:none; height:4px;
  border-radius:999px; background:var(--border); outline:none; }
.simu-champ input[type=range]::-webkit-slider-thumb{ -webkit-appearance:none; width:18px; height:18px;
  border-radius:50%; background:var(--orange); cursor:pointer; border:0; }
.simu-champ input[type=range]::-moz-range-thumb{ width:18px; height:18px; border-radius:50%;
  background:var(--orange); cursor:pointer; border:0; }
.simu-sortie{ margin-top:20px; }
.simu-verdict{ color:var(--text-soft); margin:0 0 16px; font-size:0.95rem; }
.simu-verdict strong{ color:var(--orange); }
.simu-liste{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.simu-ligne{ display:grid; grid-template-columns:132px 1fr 68px; grid-template-areas:"nom barre cout" "note note note";
  align-items:center; gap:6px 12px; padding:10px 12px; border-radius:10px;
  background:var(--bg-card); border:1px solid var(--border); }
.simu-premier{ border-color:rgba(212,175,55,0.45); }
.simu-nom{ grid-area:nom; font-weight:700; color:var(--text); font-size:0.88rem; }
.simu-barre{ grid-area:barre; display:block; height:7px; border-radius:999px; background:var(--bg); overflow:hidden; }
.simu-barre > span{ display:block; height:100%; border-radius:999px;
  background:linear-gradient(90deg, rgba(212,175,55,0.55), var(--orange)); transition:width .25s ease; }
.simu-premier .simu-barre > span{ background:linear-gradient(90deg, rgba(90,168,122,0.6), #5aa87a); }
.simu-cout{ grid-area:cout; text-align:right; font-weight:800; color:var(--orange); font-size:0.92rem; }
.simu-premier .simu-cout{ color:#5aa87a; }
.simu-note{ grid-area:note; color:var(--text-mute); font-size:0.75rem; line-height:1.4; }
@media(prefers-reduced-motion: reduce){ .simu-barre > span{ transition:none; } }
@media(max-width:520px){
  .simu-zone{ padding:16px 14px; }
  .simu-ligne{ grid-template-columns:1fr 62px; grid-template-areas:"nom cout" "barre barre" "note note"; }
}

/* barre de filtres collante sur mobile */
.filtre-mobile{ display:none; }
@media(max-width:760px){
  .filtre-mobile{ display:flex; position:sticky; bottom:0; z-index:40; gap:10px; align-items:center;
    justify-content:space-between; margin:0 -16px; padding:10px 16px;
    background:rgba(10,14,26,0.96); border-top:1px solid var(--border); }
  .filtre-mobile button{ background:var(--orange); border:0; color:#161310; font-family:inherit;
    font-weight:800; font-size:0.84rem; padding:9px 18px; border-radius:999px; cursor:pointer; }
  .filtre-mobile span{ font-size:0.8rem; color:var(--text-mute); }
}

/* ===== comparateur de banques : filtre, cartes, tableau ===== */
.filtre-banques{ background:var(--bg-card); border:1px solid var(--border); border-radius:16px;
  padding:20px 22px 14px; }
.filtre-famille{ padding:11px 0; border-top:1px solid var(--border); }
.filtre-famille:first-child{ border-top:0; padding-top:0; }
.filtre-titre{ display:block; font-size:0.66rem; font-weight:800; letter-spacing:0.09em;
  text-transform:uppercase; color:var(--orange); margin-bottom:9px; }
.filtre-puces{ display:flex; flex-wrap:wrap; gap:8px; }
.filtre-puce{ background:var(--bg); border:1px solid var(--border); color:var(--text-soft);
  border-radius:999px; padding:7px 14px; font-family:inherit; font-size:0.84rem; cursor:pointer;
  transition:border-color .15s, color .15s, background .15s; }
.filtre-puce:hover{ border-color:var(--orange); color:var(--text); }
.filtre-puce.on{ background:var(--orange); border-color:var(--orange); color:#161310; font-weight:700; }
.filtre-plus{ background:transparent; border:0; color:var(--text-mute); font-family:inherit;
  font-size:0.8rem; cursor:pointer; text-decoration:underline; text-underline-offset:3px; padding:0; }
.filtre-plus:hover, .filtre-plus.on{ color:var(--orange); }
.filtre-pied{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap:wrap; padding-top:12px; margin-top:4px; border-top:1px solid var(--border); }
.filtre-compte{ font-size:0.82rem; color:var(--orange); font-weight:700; }
.filtre-profil{ margin:14px 0 0; font-size:0.76rem; color:var(--text-mute); line-height:1.5; }
.filtre-resultats{ margin-top:22px; }
.filtre-bilan{ color:var(--text-soft); margin:0 0 16px; font-size:0.92rem; }
.filtre-bilan strong{ color:var(--orange); font-size:1.1rem; }
.filtre-cartes{ display:grid; grid-template-columns:repeat(auto-fill, minmax(272px, 1fr)); gap:16px; }

.filtre-carte{ position:relative; display:flex; flex-direction:column;
  background:var(--bg-card); border:1px solid var(--border); border-left:3px solid var(--border);
  border-radius:14px; padding:18px 18px 16px; }
.fc-complet{ border-left-color:#5aa87a; }
.fc-partiel{ border-left-color:var(--orange); }
.fc-incomplet{ border-left-color:rgba(226,102,90,0.5); opacity:0.78; }
.fc-neutre{ border-left-color:rgba(212,175,55,0.3); }
.fc-badge{ position:absolute; top:-9px; left:16px; background:var(--orange); color:#161310;
  font-size:0.66rem; font-weight:800; letter-spacing:0.04em; text-transform:uppercase;
  padding:3px 10px; border-radius:999px; }
.fc-tete{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.fc-logo{ flex:0 0 auto; width:34px; height:34px; border-radius:9px; display:flex;
  align-items:center; justify-content:center; font-size:0.8rem; font-weight:800; color:#fff;
  background:var(--marque); box-shadow:inset 0 0 0 1px rgba(255,255,255,0.14); }
.fc-nom{ flex:1 1 auto; font-weight:800; color:var(--text); font-size:0.98rem; }
.fc-note{ font-size:0.78rem; font-weight:700; color:var(--text-mute); white-space:nowrap; }
.fc-chiffres{ margin:0 0 13px; padding:11px 0; border-top:1px solid var(--border);
  border-bottom:1px solid var(--border); display:flex; flex-direction:column; gap:6px; }
.fc-chiffres > div{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.fc-chiffres dt{ font-size:0.78rem; color:var(--text-mute); }
.fc-chiffres dd{ margin:0; font-size:0.82rem; color:var(--text-soft); text-align:right; font-weight:600; }
.fc-chiffres .fc-cout{ color:var(--orange); font-size:1.02rem; font-weight:800; }
.fc-liste{ list-style:none; margin:0 0 12px; padding:0; display:flex; flex-direction:column; gap:6px; }
.fc-liste li{ display:flex; gap:9px; align-items:flex-start; font-size:0.85rem; line-height:1.4; }
.fc-sym{ flex:0 0 auto; width:15px; text-align:center; font-weight:800; }
.fr-oui{ color:var(--text-soft); } .fr-oui .fc-sym{ color:#5aa87a; }
.fr-partiel{ color:var(--text-soft); } .fr-partiel .fc-sym{ color:var(--orange); }
.fr-non{ color:var(--text-mute); } .fr-non .fc-sym{ color:#e2665a; }
.fc-liste em{ font-style:normal; color:var(--text-mute); font-size:0.79rem; }
.fc-plus, .fc-moins{ margin:0 0 6px; font-size:0.82rem; line-height:1.45; display:flex; gap:8px; }
.fc-plus{ color:var(--text-soft); } .fc-plus span{ color:#5aa87a; font-weight:800; }
.fc-moins{ color:var(--text-mute); } .fc-moins span{ color:#e2665a; font-weight:800; }
.fc-offre{ display:block; text-align:center; margin-top:auto; padding:11px 14px; border-radius:999px;
  background:var(--orange); color:#161310; font-weight:800; font-size:0.86rem; text-decoration:none;
  transition:filter .15s; }
.fc-offre:hover{ filter:brightness(1.08); }
.fc-prime{ margin:8px 0 0; text-align:center; color:var(--orange); font-size:0.8rem; font-weight:700; }
.fc-reassure{ margin:5px 0 0; text-align:center; color:var(--text-mute); font-size:0.72rem; }
.fc-modalites{ display:block; width:100%; margin:8px 0 0; padding:0; background:transparent; border:0;
  color:var(--text-mute); font-family:inherit; font-size:0.74rem; text-align:center; cursor:pointer;
  text-decoration:underline; text-underline-offset:3px; }
.fc-modalites:hover, .fc-modalites.on{ color:var(--orange); }
.fc-cond{ margin:8px 0 0; padding:10px 12px; background:var(--bg); border:1px solid var(--border);
  border-radius:10px; color:var(--text-mute); font-size:0.75rem; line-height:1.5; text-align:left; }

/* tableau : colonne d'action centrée, cartes empilées sur mobile */
.tab-comp th:last-child, .tab-comp td:last-child{ text-align:center; }
.tab-btn{ display:inline-block; white-space:nowrap; padding:6px 14px; border-radius:999px;
  font-size:0.78rem; font-weight:700; text-decoration:none; background:transparent;
  border:1px solid var(--border); color:var(--text-soft); transition:border-color .15s, color .15s; }
.tab-btn:hover{ border-color:var(--orange); color:var(--orange); }
.tab-btn-offre{ background:var(--orange); border-color:var(--orange); color:#161310; font-weight:800; }
.tab-btn-offre:hover{ filter:brightness(1.08); background:var(--orange); color:#161310; }

@media(max-width:760px){
  .tab-zone{ overflow:visible; }
  .tab-comp thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .tab-comp, .tab-comp tbody, .tab-comp tr, .tab-comp th, .tab-comp td{ display:block; width:auto; }
  .tab-comp tr{ background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    padding:14px 16px; margin-bottom:12px; }
  .tab-comp tr > th[scope="row"]{ font-size:1rem; font-weight:800; color:var(--text);
    padding:0 0 10px; border-bottom:1px solid var(--border); margin-bottom:10px; text-align:left; }
  .tab-comp td{ display:flex; gap:12px; justify-content:space-between; align-items:baseline;
    padding:6px 0; border:0; text-align:right; font-size:0.85rem; }
  .tab-comp td::before{ content:attr(data-col); flex:0 0 42%; text-align:left;
    color:var(--text-mute); font-size:0.78rem; font-weight:600; }
  .tab-comp td:last-child{ display:block; text-align:center; padding-top:12px; }
  .tab-comp td:last-child::before{ display:none; }
  .tab-btn{ display:block; }
  .filtre-banques{ padding:16px 14px 10px; }
  .filtre-cartes{ grid-template-columns:1fr; }
}

/* cartes de résultat : survol identique aux portes d'entrée de l'accueil */
.filtre-carte{ transition:border-color .2s ease, transform .2s ease; }
.filtre-carte:hover{ border-color:rgba(212,175,55,0.5); transform:translateY(-3px); }
@media(prefers-reduced-motion: reduce){ .filtre-carte{ transition:none; } }

/* boutons alignés en bas de carte, quelle que soit la longueur du contenu */
.filtre-carte{ display:flex; flex-direction:column; }
.fc-liste{ flex:1 1 auto; }
.fc-bas{ margin-top:auto; }
.fc-offre{ margin-top:auto; }
/* « Visiter le site » : contour doré plutôt que gris */
/* la prime réserve sa place même quand elle est vide, pour aligner les boutons */
.fc-prime:empty{ display:none; }


/* note sur l'astérisque des bonus */
.filtre-asterisque{ margin:18px 0 0; padding-left:12px; border-left:2px solid var(--border);
  font-size:0.76rem; color:var(--text-mute); line-height:1.55; max-width:78ch; }
.fc-offre{ display:block !important; text-align:center; padding:11px 14px; }

/* le style du bouton dépend du type d'offre, pas de l'état de la carte */
.filtre-carte .fc-offre{ background:var(--orange) !important; border:1px solid var(--orange) !important;
  color:#161310 !important; }
.filtre-carte .fc-offre:hover{ filter:brightness(1.08); }
.filtre-carte .fc-offre.fc-offre-site{ background:transparent !important;
  border:1px solid var(--orange) !important; color:var(--orange) !important; }
.filtre-carte .fc-offre.fc-offre-site:hover{ background:rgba(212,175,55,0.12) !important;
  color:var(--orange) !important; filter:none; }



/* ===== fiches de lecture ===== */
.fiche-hero{ display:grid; grid-template-columns:200px 1fr; gap:30px; align-items:start;
  background:var(--bg-card); border:1px solid var(--border); border-radius:16px; padding:26px 28px; }
.fiche-couv{ display:block; border-radius:8px; overflow:hidden; box-shadow:0 14px 34px -14px rgba(0,0,0,0.85);
  transition:transform .2s ease; }
.fiche-couv:hover{ transform:translateY(-3px) scale(1.02); }
.fiche-couv img{ width:100%; height:auto; display:block; }
.fiche-accroche{ margin:0 0 20px; font-size:1.02rem; line-height:1.7; color:var(--text-soft); }
.fiche-meta{ margin:0 0 20px; display:grid; grid-template-columns:repeat(auto-fit, minmax(148px, 1fr));
  gap:10px 22px; }
.fiche-meta > div{ display:flex; flex-direction:column; gap:2px; }
.fiche-meta dt{ font-size:0.68rem; font-weight:800; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--text-mute); }
.fiche-meta dd{ margin:0; font-size:0.88rem; color:var(--text); font-weight:600; }
.fiche-meta .fiche-note{ color:var(--orange); font-size:1.15rem; font-weight:800; }
.fiche-cta{ display:inline-block; background:var(--orange); color:#161310; font-weight:800;
  font-size:0.9rem; padding:11px 26px; border-radius:999px; text-decoration:none; transition:filter .15s; }
.fiche-cta:hover{ filter:brightness(1.08); }

.idee-bloc{ padding:18px 0 4px; border-top:1px solid var(--border); }
.idee-bloc:first-of-type{ border-top:0; }
.idee-bloc h3{ margin:0 0 10px; }
.idee-ligne{ margin:0 0 7px !important; padding-left:14px; border-left:2px solid var(--border);
  font-size:0.88rem !important; line-height:1.6 !important; color:var(--text-soft); }
.idee-ligne span{ display:block; font-size:0.68rem; font-weight:800; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--text-mute); margin-bottom:2px; }
.idee-erreur{ border-left-color:rgba(226,102,90,0.5); }
.idee-erreur span{ color:#e2665a; }

.fiche-change{ list-style:none; margin:0 0 18px; padding:0; display:flex; flex-direction:column; gap:10px; }
.fiche-change li{ padding-left:24px; position:relative; color:var(--text-soft); line-height:1.65; }
.fiche-change li::before{ content:"\2713"; position:absolute; left:0; color:#5aa87a; font-weight:800; }

.pq-liste{ display:flex; flex-direction:column; gap:1px; background:var(--border);
  border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.pq-ligne{ display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:12px 18px; background:var(--bg-card); }
.pq-profil{ color:var(--text); font-weight:600; font-size:0.92rem; }
.pq-etoiles{ color:var(--orange); font-size:1rem; letter-spacing:0.14em; white-space:nowrap; }

.proches-grille{ display:grid; grid-template-columns:repeat(auto-fill, minmax(232px, 1fr)); gap:14px; }
.proche{ background:var(--bg-card); border:1px solid var(--border); border-radius:14px; padding:16px 18px;
  transition:border-color .2s ease, transform .2s ease; }
.proche:hover{ border-color:rgba(212,175,55,0.5); transform:translateY(-3px); }
.proche-titre{ display:block; color:var(--orange); font-weight:800; font-size:0.92rem;
  text-decoration:none; margin-bottom:7px; }
.proche p{ margin:0; color:var(--text-mute); font-size:0.83rem; line-height:1.55; }

.fiche-notes{ display:flex; flex-direction:column; gap:11px; margin-bottom:22px; }
.note-ligne{ display:grid; grid-template-columns:170px 1fr 54px; align-items:center; gap:14px; }
.note-lib{ font-size:0.88rem; color:var(--text-soft); }
.note-jauge{ display:block; height:7px; border-radius:999px; background:var(--bg-card);
  border:1px solid var(--border); overflow:hidden; }
.note-jauge > span{ display:block; height:100%; border-radius:999px;
  background:linear-gradient(90deg, rgba(212,175,55,0.5), var(--orange)); }
.note-val{ text-align:right; font-weight:800; color:var(--orange); font-size:0.86rem; }
.fiche-verdict{ color:var(--text-soft); line-height:1.75; margin:0 0 24px; }
.fiche-fin{ background:var(--bg-card); border:1px solid rgba(212,175,55,0.35); border-radius:16px;
  padding:24px 26px; text-align:center; }
.fiche-fin-note{ margin:14px 0 0; color:var(--text-mute); font-size:0.84rem; line-height:1.6; }

@media(max-width:760px){
  .fiche-hero{ grid-template-columns:1fr; gap:22px; padding:20px 18px; }
  .fiche-couv{ max-width:180px; margin:0 auto; }
  .note-ligne{ grid-template-columns:1fr 46px; grid-template-areas:"lib val" "jauge jauge"; gap:5px 10px; }
  .note-lib{ grid-area:lib; } .note-val{ grid-area:val; } .note-jauge{ grid-area:jauge; }
}
@media(prefers-reduced-motion: reduce){ .fiche-couv, .proche{ transition:none; } }



/* carrousel des livres sur l'accueil */
.books-rail{ position:relative; }
.books-scroller{ display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:4px 2px 16px; scroll-behavior:smooth; scrollbar-width:thin;
  scrollbar-color:var(--border) transparent; }
.books-scroller::-webkit-scrollbar{ height:6px; }
.books-scroller::-webkit-scrollbar-thumb{ background:var(--border); border-radius:3px; }
.books-scroller::-webkit-scrollbar-track{ background:transparent; }
.rail-nav{ position:absolute; top:calc(50% - 26px); width:40px; height:40px; border-radius:50%;
  background:var(--bg-card); border:1px solid var(--border); color:var(--orange);
  font-size:1.4rem; line-height:1; cursor:pointer; z-index:3; transition:background .15s, opacity .2s;
  display:flex; align-items:center; justify-content:center; }
.rail-nav:hover{ background:var(--bg-card-2); }
.books-scroller{ gap:14px; }
.books-scroller > .card{ flex:0 0 calc((100% - 40px) / 3); scroll-snap-align:start; margin:0; }
/* en-tête de la section Livres : titre et chapeau sur une ligne */
#livres-accueil, #livres-fiche .section-head{ max-width:900px; }
#livres-accueil, #livres-fiche .section-head h2{ white-space:nowrap; }
.related-block .rail-nav{ position:absolute; top:calc(50% + 4px); width:36px; height:36px;
  border-radius:50%; background:var(--bg-card); border:1px solid var(--border); color:var(--orange);
  font-size:1.25rem; line-height:1; cursor:pointer; z-index:3; display:flex; align-items:center;
  justify-content:center; transition:background .15s, opacity .2s; }
.rel-scroller, .sim-scroller, .books-scroller, .tab-zone{ min-width:0; max-width:100%; }
.books-scroller > .card{ flex:0 0 calc((100% - 20px) / 2) !important; }
.rel-scroller > .related-card, .sim-scroller > .card, .books-scroller > .card{ flex:0 0 82% !important; }

.rel-scroller, .sim-scroller, .books-scroller{ will-change:scroll-position; }
@media(max-width:900px){
  .rail-nav{ display:none; }
  .books-scroller{ gap:14px; }
}
@media(max-width:900px){
  .books-scroller > .card{ flex:0 0 84%; }
}
@media(max-width:820px){
  #livres-accueil, #livres-fiche .section-head h2{ white-space:normal; }
}
@media(max-width:900px){
  .related-block .rail-nav{ display:none !important; }
}
@media(max-width:1024px){
  .books-scroller > .card{ flex:0 0 calc((100% - 20px) / 2) !important; }
}
@media(max-width:760px){
  .rel-scroller > .related-card, .sim-scroller > .card, .books-scroller > .card{ flex:0 0 82% !important; }
  .rail-nav{ display:none !important; }
}

/* dépliant des critères : « + de critères », signe en or, texte en blanc */
.filtre-plus{ display:inline-flex !important; align-items:center; gap:8px;
  background:transparent; border:0; padding:0; margin:0; font-family:inherit;
  font-size:0.86rem; font-weight:700; color:var(--text) !important;
  text-decoration:none !important; cursor:pointer; }
.filtre-plus:hover, .filtre-plus.on{ color:var(--text) !important;
  text-decoration:none !important; }
.fp-signe{ color:var(--orange); font-size:1.05rem; font-weight:800; line-height:1; }
.filtre-pied{ justify-content:flex-end; }

/* espace entre le dépliant et le premier bloc de critères */
.filtre-replie{ margin-top:14px; }
.filtre-replie > .filtre-famille:first-child{ border-top:1px solid var(--border);
  padding-top:14px; }

/* couverture de repli sur les cartes de livre */
.couv-repli{ display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:9px; width:100%; aspect-ratio:2/3; padding:18px 14px; text-align:center; border-radius:4px;
  background:linear-gradient(160deg, #16233d, #0d1626);
  box-shadow:inset 0 0 0 1px rgba(212,175,55,0.25); }
.cr-titre{ font-size:0.86rem; font-weight:800; line-height:1.3; color:var(--orange); }
.cr-auteur{ font-size:0.72rem; color:var(--text-mute); }

/* ===== pages de questions ===== */
.q-reponse{ background:var(--bg-card); border:1px solid rgba(212,175,55,0.4); border-radius:16px;
  padding:22px 26px; }
.q-reponse-lab{ display:block; font-size:0.66rem; font-weight:800; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--orange); margin-bottom:10px; }
.q-reponse p{ margin:0; font-size:1.05rem; line-height:1.75; color:var(--text-soft); }
.q-reponse strong{ color:var(--text); }
.q-fin{ background:var(--bg-card); border:1px solid var(--border); border-radius:16px;
  padding:24px 26px; text-align:center; }
.q-cta{ display:inline-block; background:var(--orange); color:#161310; font-weight:800;
  font-size:0.92rem; padding:12px 28px; border-radius:999px; text-decoration:none; transition:filter .15s; }
.q-cta:hover{ filter:brightness(1.08); }
.q-liens{ margin-top:20px; padding-top:18px; border-top:1px solid var(--border); }
.q-liens-lab{ display:block; font-size:0.66rem; font-weight:800; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--text-mute); margin-bottom:11px; }
.q-lien{ display:inline-block; margin:4px 5px; padding:7px 15px; border-radius:999px;
  background:var(--bg); border:1px solid var(--border); color:var(--text-soft);
  font-size:0.83rem; text-decoration:none; transition:border-color .15s, color .15s; }
.q-lien:hover{ border-color:var(--orange); color:var(--orange); }

/* page pivot */
.qp-liste{ display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:14px; }
.qp-item{ display:block; background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
  padding:18px 20px; text-decoration:none; transition:border-color .2s ease, transform .2s ease; }
.qp-item:hover{ border-color:rgba(212,175,55,0.5); transform:translateY(-3px); }
.qp-q{ display:block; color:var(--orange); font-weight:800; font-size:0.95rem; line-height:1.4;
  margin-bottom:8px; }
.qp-r{ display:block; color:var(--text-mute); font-size:0.85rem; line-height:1.6; }
@media(prefers-reduced-motion: reduce){ .qp-item{ transition:none; } }
@media(max-width:520px){ .q-reponse{ padding:18px 17px; } .q-fin{ padding:20px 17px; } }

/* pied de page : le logo et les quatre colonnes sur une seule ligne */
.footer-top{ gap:26px !important; }
.footer-col h4{ white-space:nowrap; }
.footer-col a{ line-height:1.45; }
@media(max-width:1180px){
  .footer-top{ gap:20px !important; }
  .footer-col a{ font-size:0.83rem; }
}

/* « Pour aller plus loin » : même carrousel que la page Questions */
.related-block .rail-nav{ display:flex !important; position:absolute; top:calc(50% - 15px);
  width:54px; height:54px; border-radius:50%; background:rgba(13,22,38,0.82);
  border:1px solid rgba(255,255,255,0.10); color:var(--orange); font-size:1.45rem;
  line-height:1; cursor:pointer; z-index:5; align-items:center; justify-content:center;
  padding:0; backdrop-filter:blur(2px);
  transition:border-color .18s, background .18s, opacity .2s; }
.related-block .rail-nav:hover:not(:disabled){ background:rgba(20,32,54,0.94);
  border-color:rgba(212,175,55,0.55); }
.related-block .rail-nav:disabled{ cursor:default; }
.related-block .rail-prev{ left:-27px; }
.related-block .rail-next{ right:-27px; }
.rel-scroller{ gap:20px !important; padding:4px 2px 14px !important; }
.rel-scroller > .related-card{ flex:0 0 calc((100% - 40px) / 3) !important;
  scroll-snap-align:start; }
@media(max-width:1024px){
  .rel-scroller > .related-card{ flex:0 0 calc((100% - 20px) / 2) !important; }
  .related-block .rail-prev{ left:-14px; } .related-block .rail-next{ right:-14px; }
}
@media(max-width:760px){
  .rel-scroller > .related-card{ flex:0 0 82% !important; }
  .related-block .rail-nav{ display:none !important; }
}
@media(prefers-reduced-motion: reduce){ .rel-scroller{ scroll-behavior:auto; } }

/* appel à l'action de fin de guide */
.q-fin .qf-phrase{ margin:0 0 16px; color:var(--text-soft); font-size:0.98rem; line-height:1.6; }

/* liens en ligne */
.content a.inline-link{ color:var(--orange); font-weight:600; border-bottom:1px solid rgba(212,175,55,0.35); }
.content a.inline-link:hover{ opacity:0.8; }

/* lien partenaire sous l'appel à l'action */
.qf-part{ margin:16px 0 0; padding-top:14px; border-top:1px solid var(--border);
  font-size:0.88rem; color:var(--text-mute); line-height:1.65; }
.qf-prime{ display:inline-block; margin-left:4px; font-size:0.78rem; font-weight:800;
  color:var(--orange); }
.qf-note{ font-size:0.76rem; color:var(--text-mute); line-height:1.6; margin:0;
  padding-top:14px; border-top:1px solid var(--border); }

/* liens de parrainage dans le texte */
.lien-affilie{ color:var(--orange) !important; font-weight:800 !important; text-decoration:none; border-bottom:1px solid rgba(212,175,55,0.45); transition:border-color .15s; }
.lien-affilie:hover{ border-bottom-color:var(--orange); opacity:1; }

/* ============ PALIER A — profondeur premium ============ */

/* 1. Inclinaison 3D des cartes au survol.
   Le mouvement reprend la translation existante, il ne la remplace pas. */
.card, .vcard, .related-card{ transform-style:preserve-3d; will-change:transform; }
.pr-tilt{
  transform: perspective(1000px)
             rotateX(var(--pr-rx, 0deg)) rotateY(var(--pr-ry, 0deg))
             translateY(var(--pr-ty, 0px)) translateZ(0);
  transition: transform .12s cubic-bezier(.2,.7,.3,1), border-color .2s ease, box-shadow .25s ease;
}
.pr-tilt:hover{ box-shadow:0 18px 44px -18px rgba(0,0,0,0.65),
                           0 0 0 1px rgba(212,175,55,0.10); }

/* 2. Halo qui suit le curseur, très discret */
.pr-halo{ position:relative; overflow:hidden; }
.pr-halo::after{
  content:''; position:absolute; inset:0; pointer-events:none; opacity:0;
  transition:opacity .3s ease;
  background:radial-gradient(420px circle at var(--pr-x, 50%) var(--pr-y, 50%),
             rgba(212,175,55,0.09), transparent 42%);
}
.pr-halo:hover::after{ opacity:1; }

/* 3. Révélation progressive des sections au défilement */
.pr-rev{ opacity:0; transform:translateY(22px); }
.pr-rev.pr-vu{ opacity:1; transform:none;
  transition:opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.pr-rev-1.pr-vu{ transition-delay:.06s; }
.pr-rev-2.pr-vu{ transition-delay:.12s; }
.pr-rev-3.pr-vu{ transition-delay:.18s; }

/* 4. Parallaxe des bandeaux d'ouverture */
.pr-para{ will-change:transform; }

/* 5. Verre maîtrisé sur les encarts, sans coût au premier rendu */
.summary-box, .q-fin, .q-reponse{
  background-image:linear-gradient(160deg, rgba(255,255,255,0.028), rgba(255,255,255,0));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 30px -22px rgba(0,0,0,0.7);
}

/* 6. Reflet lent sur les chiffres dorés — une seule animation sur la page */
.pr-brillance{
  background:linear-gradient(100deg, var(--orange) 0%, #f4e2a6 42%, var(--orange) 68%);
  background-size:280% 100%;
  -webkit-background-clip:text; background-clip:text;
  color:transparent; animation:pr-glisse 7s ease-in-out infinite;
}
@keyframes pr-glisse{ 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }

/* 7. Profondeur du bandeau de navigation, au défilement seulement */
header.pr-flotte{
  box-shadow:0 10px 34px -20px rgba(0,0,0,0.85);
  border-bottom-color:rgba(212,175,55,0.16);
}

/* 8. Élévation douce des illustrations en ligne */
.rc-art, .vcard-art{ transition:transform .45s cubic-bezier(.2,.7,.3,1); }
.related-card:hover .rc-art, .vcard:hover .vcard-art{ transform:scale(1.035); }

@media(max-width:760px){
  /* sur mobile, on garde la révélation et on coupe le reste */
  .pr-tilt{ transform:none !important; transition:border-color .2s ease; }
  .pr-halo::after{ display:none; }
  .pr-para{ transform:none !important; }
}
@media(prefers-reduced-motion: reduce){
  .pr-tilt{ transform:none !important; transition:none; }
  .pr-halo::after{ display:none; }
  .pr-rev{ opacity:1; transform:none; }
  .pr-rev.pr-vu{ transition:none; }
  .pr-brillance{ animation:none; background:none; -webkit-background-clip:initial;
    background-clip:initial; color:var(--orange); }
  .pr-para{ transform:none !important; }
}
