
/* --- menu : barre horizontale sur desktop, panneau latéral sur mobile --- */
.main-nav{display:none}
.site-header .container{gap:1rem}
@media screen and (min-width:992px){
  .main-nav{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin-left:auto}
  .main-nav a{display:inline-block;padding:.5rem .85rem;border-radius:.5rem;font-size:.9rem;
    font-weight:600;color:var(--header-text);text-decoration:none;line-height:1.2;
    border:1px solid transparent;transition:background .15s,border-color .15s}
  .main-nav a:hover{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18);
    color:var(--header-text);text-decoration:none}
  .main-nav a.is-cta{background:var(--button-bg-color);color:var(--button-text-color);
    border-color:transparent}
  .main-nav a.is-cta:hover{opacity:.88;background:var(--button-bg-color)}
  .header-sidebar-menu{display:none}
}
.header-branding-favicon .brandmark{width:2.5rem;height:2.5rem;display:block}

/* --- blocs de contenu --- */
.page-content{color:#111827}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:26px;
  margin:24px 0;box-shadow:0 10px 28px rgba(15,23,42,.08);color:#111827}
.card > :first-child{margin-top:0}
.card > :last-child{margin-bottom:0}
.card h2{margin:0 0 14px;font-size:28px;line-height:1.25;color:#0f172a}
.card h3{margin:26px 0 12px;font-size:23px;line-height:1.3;color:#0f172a}
.card h4{margin:20px 0 10px;font-size:19px;line-height:1.35;color:#0f172a}
.card p{margin:0 0 14px;color:#26313f;font-size:16px;line-height:1.75}
.card a{color:#1d4ed8}
.lead{background:var(--bg-color-2);border:1px solid rgba(255,255,255,.10);border-radius:14px;
  padding:22px 26px;margin:0 0 26px;color:#eef2f7;font-size:18px;line-height:1.7;font-weight:500}
.lead strong{color:#fff;font-weight:800}
.lead p{margin:0 0 12px;font-size:18px;line-height:1.7}
.lead p:last-child{margin:0}

/* --- tableaux --- */
.tbl-wrap{width:100%;overflow-x:auto;margin:22px 0 28px;border:1px solid #dbe1ea;
  border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06)}
table.tbl{width:100%;min-width:620px;border-collapse:collapse;background:#fff;color:#26313f;margin:0}
table.tbl th{background:#1e2a44;color:#fff;text-align:left;padding:14px 16px;font-size:14px;
  line-height:1.4;font-weight:800;letter-spacing:.02em;border:1px solid #1e2a44;vertical-align:top}
table.tbl td{padding:13px 16px;border:1px solid #e4e8ef;vertical-align:top;color:#26313f;
  font-size:15px;line-height:1.6;background:#fff}
table.tbl tbody tr:nth-child(even) td{background:#f6f8fb}
table.tbl td:first-child{font-weight:700;color:#0f172a}
.body-content table.tbl th,.body-content table.tbl td{color:inherit}
@media screen and (max-width:991px){.body-content .tbl-wrap table.tbl{display:table}
  .body-content table.tbl th,.body-content table.tbl td{white-space:normal}}

/* --- listes --- */
.box{background:linear-gradient(180deg,#f7faff 0%,#eef3fb 100%);border:1px solid #d3dcea;
  border-left:6px solid var(--accent,#1e2a44);border-radius:16px;margin:24px 0 30px;
  padding:22px 24px;box-shadow:0 10px 24px rgba(15,23,42,.07)}
.box h4{margin:0 0 14px;font-size:19px;color:#152036}
ul.plist,ol.nlist,ul.blist{margin:0;padding:0;list-style:none;display:grid;gap:11px}
ul.plist li,ol.nlist li,ul.blist li{display:flex;align-items:flex-start;gap:12px;margin:0;
  padding:0;list-style:none;color:#2c3846;font-size:16px;line-height:1.6}
ul.plist li::before,ul.blist li::before{flex:0 0 25px;width:25px;height:25px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:14px;
  line-height:1;margin-top:2px}
ul.plist li::before{content:"\2713";background:#e6f6ec;border:1px solid #b9e0c5;color:#15803d}
ul.blist li::before{content:"!";background:#fdecec;border:1px solid #f2bcbc;color:#b03e3e}
ol.nlist{counter-reset:n}
ol.nlist li{counter-increment:n}
ol.nlist li::before{content:counter(n);flex:0 0 28px;width:28px;height:28px;border-radius:50%;
  background:#1e2a44;color:#fff;display:inline-flex;align-items:center;justify-content:center;
  font-weight:900;font-size:14px;line-height:1;margin-top:1px}

/* --- fiches de marque --- */
.rev{background:#fff;border:1px solid #e3e8f0;border-radius:16px;padding:24px;margin:24px 0;
  box-shadow:0 8px 22px rgba(15,23,42,.07);color:#111827}
.rev > :first-child{margin-top:0}
.rev-shot{display:block;width:100%;max-width:420px;height:auto;margin:16px 0 22px;
  border-radius:14px;border:1px solid #e3e8f0;background:#0f1628;padding:14px;
  box-shadow:0 10px 26px rgba(15,23,42,.14)}
.pc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0 4px}
@media screen and (max-width:860px){.pc{grid-template-columns:1fr}}
.pc-card{background:#fff;border:1px solid #e3e8f0;border-radius:16px;padding:20px;
  box-shadow:0 8px 22px rgba(15,23,42,.06)}
.pc-good{border-top:5px solid #15803d}
.pc-bad{border-top:5px solid #b03e3e}
.pc-card h4{margin:0 0 14px;font-size:19px}
.pc-good h4{color:#15803d}
.pc-bad h4{color:#b03e3e}

/* --- FAQ --- */
.faq{display:grid;gap:12px;margin:20px 0 4px}
.faq details{background:#f7f9fc;border:1px solid #dde3ec;border-radius:12px;overflow:hidden;
  box-shadow:0 6px 18px rgba(15,23,42,.05)}
.faq summary{cursor:pointer;padding:17px 20px;color:#152036;font-weight:800;font-size:17px;
  line-height:1.45;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;font-weight:800;color:#5b6b8a}
.faq details[open] summary::after{content:"\2013"}
.faq .answer{padding:0 20px 20px;color:#44505f;font-size:16px;line-height:1.7}
.faq .answer p{margin:0 0 12px;color:#44505f}
.faq .answer p:last-child{margin:0}

/* --- toplist brute --- */
.tl{margin:0 0 26px}
.tl-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:8px;margin:0 0 14px}
.tl-head h2{margin:0;font-size:26px;color:#0f172a}
.tl-head .tl-upd{font-size:13px;color:#64748b}
.tl-row{display:grid;grid-template-columns:44px 190px 1fr 190px;gap:16px;align-items:center;
  background:#fff;border:1px solid #e3e8f0;border-radius:14px;padding:16px 18px;margin:0 0 12px;
  box-shadow:0 8px 20px rgba(15,23,42,.07);position:relative}
.tl-row.is-top{border-color:#f0c14b;box-shadow:0 10px 26px rgba(180,130,20,.16)}
.tl-rank{width:34px;height:34px;border-radius:50%;background:#1e2a44;color:#fff;font-weight:900;
  display:flex;align-items:center;justify-content:center;font-size:15px}
.tl-row.is-top .tl-rank{background:#e0a80d;color:#22190a}
.tl-logo{display:flex;align-items:center;justify-content:center;background:#0f1628;
  border-radius:10px;padding:10px;min-height:74px}
.tl-logo img{max-width:100%;height:auto;display:block}
.tl-name{font-weight:800;color:#0f172a;font-size:17px;line-height:1.3;margin:0 0 4px}
.tl-bonus{color:#15803d;font-weight:800;font-size:16px;line-height:1.4;margin:0 0 6px}
.tl-meta{display:flex;flex-wrap:wrap;gap:6px}
.tl-tag{font-size:12px;color:#3c4b60;background:#eef2f8;border:1px solid #dde4ee;
  border-radius:999px;padding:4px 9px;line-height:1.2}
.tl-right{text-align:center}
.tl-score{font-size:22px;font-weight:900;color:#0f172a;line-height:1}
.tl-stars{color:#e0a80d;font-size:14px;letter-spacing:1px;margin:4px 0 10px;display:block}
.tl-cta{display:block;background:var(--button-bg-color);color:var(--button-text-color);
  font-weight:800;text-align:center;padding:12px 14px;border-radius:10px;text-decoration:none;
  font-size:15px;line-height:1.2}
.tl-cta:hover{opacity:.88;color:var(--button-text-color);text-decoration:none}
.tl-terms{grid-column:1/-1;font-size:12px;color:#7a8798;border-top:1px solid #eef1f6;
  padding-top:10px;margin-top:2px}
@media screen and (max-width:860px){
  .tl-row{grid-template-columns:1fr;text-align:center;gap:10px;padding:16px}
  .tl-rank{position:absolute;top:10px;left:10px;width:28px;height:28px;font-size:13px}
  .tl-logo{min-height:64px}
  .tl-meta{justify-content:center}
  .tl-cta{padding:14px}
}

/* --- pages annexes --- */
.hero-annexe{background:var(--bg-color-2);border:1px solid rgba(255,255,255,.10);
  border-radius:16px;padding:26px 28px;margin:0 0 26px;color:#eef2f7}
.hero-annexe h1{margin:0 0 10px;font-size:2rem;color:#fff}
.hero-annexe p{margin:0;font-size:17px;line-height:1.7;color:#d8dfe9}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
@media screen and (max-width:860px){.grid2{grid-template-columns:1fr}}
.mini{background:#fff;border:1px solid #e3e8f0;border-radius:14px;padding:20px;
  box-shadow:0 8px 20px rgba(15,23,42,.06)}
.mini h3{margin:0 0 8px;font-size:18px;color:#0f172a}
.mini p{margin:0;font-size:15px;line-height:1.65;color:#3b4757}
.steps{counter-reset:s;display:grid;gap:14px;margin:20px 0;padding:0;list-style:none}
.steps li{counter-increment:s;background:#fff;border:1px solid #e3e8f0;border-radius:14px;
  padding:18px 20px 18px 62px;position:relative;box-shadow:0 8px 20px rgba(15,23,42,.06);
  color:#3b4757;font-size:16px;line-height:1.7;list-style:none;margin:0}
.steps li::before{content:counter(s);position:absolute;left:18px;top:16px;width:30px;height:30px;
  border-radius:50%;background:var(--button-bg-color);color:var(--button-text-color);
  font-weight:900;display:flex;align-items:center;justify-content:center;font-size:15px}
.steps li strong{color:#0f172a;display:block;margin-bottom:3px}
.author-box{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid #e3e8f0;
  border-radius:14px;padding:20px;margin:22px 0;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.author-box img,.author-box svg{flex:0 0 64px;width:64px;height:64px;border-radius:50%}
.author-box h4{margin:0 0 6px;font-size:17px;color:#0f172a}
.author-box p{margin:0;font-size:15px;line-height:1.65;color:#3b4757}

/* --- footer --- */
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:26px;
  margin-bottom:2rem}
.footer-grid h4{margin:0 0 12px;font-size:15px;color:var(--site-headings)}
.footer-grid a{display:block;color:var(--footer-text);font-size:14px;line-height:2;
  text-decoration:none}
.footer-grid a:hover{color:var(--primary-color)}
.age-badge{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border-radius:50%;border:2px solid #f59e0b;color:#f59e0b;font-weight:900;font-size:13px}

/* ================= MOBILE ================= */
/* La toplist remonte au-dessus de la ligne de flottaison : l'article et le corps de
   page passent en flex, la première carte (celle qui porte la toplist) prend order:1,
   le chapô et la signature descendent en dessous. */
@media screen and (max-width:900px){
  main.site-main{padding:14px 0}
  .body-content{padding-top:.5rem;padding-bottom:1.25rem}
  .body-content article{display:flex;flex-direction:column}
  .page-header{order:1;margin:0 0 .6rem}
  .page-content{order:2;display:flex;flex-direction:column}
  .new_modifyDetails{order:3;margin:1.25rem 0 0;padding-top:1rem;
    border-top:1px solid rgba(255,255,255,.12)}
  .page-title{font-size:1.42rem;line-height:1.25;margin:0}
  .page-content > p,.page-content > .lead{order:2}
  .page-content > .card{order:3}
  .page-content > .card:first-of-type{order:1;margin-top:0}
  .lead{padding:15px 17px;margin:0 0 16px;font-size:15.5px;line-height:1.65;border-radius:12px}
  .lead p{font-size:15.5px;line-height:1.65;margin-bottom:10px}
  .card{padding:15px;border-radius:14px;margin:16px 0}
  .card h2{font-size:20px;line-height:1.3;margin-bottom:10px}
  .card h3{font-size:17.5px;margin:20px 0 9px}
  .card h4{font-size:16px;margin:16px 0 8px}
  .card p{font-size:15.5px;line-height:1.7;margin-bottom:12px}

  /* toplist compacte : logo + infos sur une ligne, bouton pleine largeur */
  .tl{margin-bottom:16px}
  .tl-head{margin-bottom:10px;gap:2px}
  .tl-head h2{font-size:19px;line-height:1.3}
  .tl-head .tl-upd{font-size:12px}
  .tl-row{grid-template-columns:84px minmax(0,1fr);gap:9px 12px;padding:11px;
    text-align:left;align-items:center;margin-bottom:9px;border-radius:12px}
  .tl-rank{position:absolute;top:-8px;left:-8px;width:24px;height:24px;font-size:12px;
    border:2px solid #fff;box-shadow:0 2px 6px rgba(15,23,42,.25)}
  .tl-logo{min-height:54px;padding:7px;border-radius:9px}
  .tl-body{min-width:0}
  .tl-name{font-size:14.5px;margin-bottom:2px}
  .tl-bonus{font-size:13.5px;line-height:1.35;margin-bottom:5px}
  .tl-meta{gap:4px;justify-content:flex-start}
  .tl-tag{font-size:10.5px;padding:3px 7px}
  .tl-right{grid-column:1/-1;display:flex;align-items:center;gap:10px;text-align:left}
  .tl-score{font-size:17px;flex:0 0 auto}
  .tl-stars{margin:0;font-size:11px;flex:0 0 auto}
  .tl-cta{flex:1 1 auto;padding:12px 10px;font-size:14.5px;border-radius:9px}
  .tl-terms{font-size:10.5px;padding-top:8px;line-height:1.5}

  /* fiches, tableaux, listes */
  .rev{padding:15px;border-radius:14px;margin:18px 0}
  .rev-shot{max-width:240px;padding:9px;margin:12px 0 15px;border-radius:11px}
  .pc{gap:12px;margin:18px 0 2px}
  .pc-card{padding:15px;border-radius:13px}
  .pc-card h4{font-size:17px;margin-bottom:11px}
  .tbl-wrap{margin:15px 0 18px;border-radius:11px}
  table.tbl{min-width:520px}
  table.tbl th{padding:10px 11px;font-size:12.5px}
  table.tbl td{padding:10px 11px;font-size:14px;line-height:1.55}
  .box{padding:15px;margin:16px 0 20px;border-radius:13px}
  .box h4{font-size:17px;margin-bottom:11px}
  ul.plist,ol.nlist,ul.blist{gap:9px}
  ul.plist li,ol.nlist li,ul.blist li{font-size:15px;line-height:1.55;gap:10px}
  ul.plist li::before,ul.blist li::before{flex:0 0 22px;width:22px;height:22px;font-size:12px}
  ol.nlist li::before{flex:0 0 24px;width:24px;height:24px;font-size:12px}

  /* FAQ */
  .faq{gap:9px}
  .faq summary{font-size:15.5px;padding:13px 15px;line-height:1.4}
  .faq .answer{padding:0 15px 15px;font-size:15px;line-height:1.65}

  /* pages annexes */
  .hero-annexe{padding:17px;border-radius:13px;margin-bottom:16px}
  .hero-annexe h1{font-size:1.45rem;margin-bottom:8px}
  .hero-annexe p{font-size:15.5px;line-height:1.6}
  .grid2{gap:12px;margin:16px 0}
  .mini{padding:15px;border-radius:12px}
  .mini h3{font-size:16.5px}
  .mini p{font-size:14.5px}
  .steps{gap:11px;margin:16px 0}
  .steps li{padding:14px 15px 14px 50px;font-size:15px;line-height:1.6;border-radius:12px}
  .steps li::before{left:14px;top:14px;width:26px;height:26px;font-size:13px}
  .author-box{padding:15px;gap:12px;border-radius:12px}
  .author-box img,.author-box svg{flex:0 0 52px;width:52px;height:52px}

  /* en-tête et pied */
  .site-header{padding-top:10px;padding-bottom:10px}
  .header-branding{gap:.6rem}
  .header-branding-title{font-size:1.02rem;line-height:1.3}
  .header-branding-tagline{font-size:.7rem;line-height:1.2}
  .header-branding-favicon .brandmark{width:2.1rem;height:2.1rem}
  .site-footer{padding-top:1.75rem;padding-bottom:1.75rem}
  .footer-grid{gap:16px;margin-bottom:1.25rem}
  .responsible-box{padding:1.1rem;gap:.75rem}
}

@media screen and (max-width:430px){
  .container{padding-left:.7rem;padding-right:.7rem}
  .page-title{font-size:1.28rem}
  .card{padding:13px}
  .tl-row{grid-template-columns:68px minmax(0,1fr);padding:10px;gap:8px 10px}
  .tl-logo{min-height:46px;padding:5px}
  .tl-name{font-size:13.5px}
  .tl-bonus{font-size:13px}
  .tl-tag{font-size:10px;padding:2px 6px}
  .tl-right{flex-wrap:wrap}
  .tl-cta{flex:1 0 100%;order:3}
  .rev-shot{max-width:200px}
  .header-branding-tagline{display:none}
}

/* évite tout débordement horizontal quel que soit l'écran */
html,body{max-width:100%;overflow-x:hidden}
img,svg{max-width:100%}
.page-content{overflow-wrap:break-word;word-wrap:break-word}
