/* comparatif.css — gabarit page Comparatif FR
   common.css : tokens, reset, nav, footer, STT — non dupliqués. */

body:has(.cmp-page){
  --max:1100px;
}

body:has(.cmp-page) .page-hero{
  background:var(--band);padding:64px 32px 56px;color:#fff;text-align:center;
  position:relative;overflow:visible;
}
body:has(.cmp-page) .page-hero::before{display:none}
body:has(.cmp-page) .page-hero .ey{
  display:inline-block;font-size:.75rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.08em;background:rgba(13,17,23,.28);color:rgba(255,255,255,.95);
  padding:4px 14px;border-radius:100px;margin-bottom:18px;
}
body:has(.cmp-page) .page-hero h1{
  font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;letter-spacing:-.03em;
  line-height:1.15;margin-bottom:14px;
}
body:has(.cmp-page) .page-hero h1 em{
  font-style:italic;font-family:'DM Serif Display',Georgia,serif;font-weight:400;color:#9FD4C8;
}
body:has(.cmp-page) .page-hero p{
  font-size:1rem;color:rgba(255,255,255,.95);max-width:560px;margin:0 auto;line-height:1.65;
}
body:has(.cmp-page) .section{padding:80px 32px}
body:has(.cmp-page) .inner{max-width:var(--max);margin:0 auto}
body:has(.cmp-page) .eyebrow{
  font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
  color:var(--green-text);margin-bottom:12px;
}
body:has(.cmp-page) .sec-title{
  font-size:clamp(1.5rem,2.8vw,2.1rem);font-weight:800;letter-spacing:-.03em;
  line-height:1.2;margin-bottom:16px;
}
body:has(.cmp-page) .sec-title em{
  font-style:italic;font-family:'DM Serif Display',Georgia,serif;font-weight:400;color:var(--green-text);
}
body:has(.cmp-page) .sec-sub{
  font-size:.97rem;color:var(--muted);max-width:620px;line-height:1.7;margin-bottom:48px;
}

/* Table — spécifique comparatif */
body:has(.cmp-page) .table-wrap{
  overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:48px;
}
body:has(.cmp-page) table{width:100%;border-collapse:collapse;min-width:700px}
body:has(.cmp-page) caption{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
body:has(.cmp-page) th{
  padding:14px 18px;text-align:left;font-size:.82rem;font-weight:700;color:var(--muted);
  border-bottom:2px solid var(--border);background:var(--bg2);white-space:nowrap;vertical-align:bottom;
}
body:has(.cmp-page) th .th-sub{
  display:block;font-size:.68rem;font-weight:500;color:var(--muted);margin-top:4px;white-space:normal;
}
body:has(.cmp-page) th.hl{background:var(--green-bg);color:var(--green-text);border-bottom-color:var(--green)}
body:has(.cmp-page) td{
  padding:13px 18px;font-size:.87rem;border-bottom:1px solid var(--border);
  color:var(--fg2);vertical-align:middle;
}
body:has(.cmp-page) tr:last-child td{border-bottom:none}
body:has(.cmp-page) td.hl{background:rgba(74,124,111,.04)}
body:has(.cmp-page) td:first-child{font-weight:500;color:var(--fg);font-size:.88rem}
body:has(.cmp-page) .check{color:var(--green-text);font-weight:700}
body:has(.cmp-page) .cross{color:#ef4444}
body:has(.cmp-page) .part{color:#f59e0b;font-size:.8rem;font-weight:600}

/* Citation CNB */
body:has(.cmp-page) .quote-block{
  background:var(--green-bg);border:1px solid rgba(74,124,111,.2);
  border-radius:var(--r);padding:28px 32px;margin-bottom:48px;
}
body:has(.cmp-page) .quote-block blockquote{
  font-size:1.05rem;font-style:italic;color:var(--fg);line-height:1.7;
  margin-bottom:10px;font-family:'DM Serif Display',Georgia,serif;
}
body:has(.cmp-page) .quote-block cite{font-size:.82rem;color:var(--muted);font-style:normal}

/* Catégories d’usage */
body:has(.cmp-page) .cat-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:48px;
}
body:has(.cmp-page) .cat-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:24px;
}
body:has(.cmp-page) .cat-card h3{font-size:.95rem;font-weight:700;margin-bottom:8px;color:var(--fg)}
body:has(.cmp-page) .cat-card p{font-size:.85rem;color:var(--muted);line-height:1.65;margin-bottom:12px}
body:has(.cmp-page) .cat-verdict{font-size:.82rem;font-weight:700;color:var(--green-text)}

body:has(.cmp-page) .cta-section{
  background:var(--band);padding:80px 32px;text-align:center;color:#fff;
}
body:has(.cmp-page) .cta-section h2{
  font-size:clamp(1.5rem,3vw,2.1rem);font-weight:800;letter-spacing:-.03em;margin-bottom:12px;
}
body:has(.cmp-page) .cta-section h2 em{
  font-style:italic;font-family:'DM Serif Display',Georgia,serif;font-weight:400;color:#9FD4C8;
}
body:has(.cmp-page) .cta-section > p{
  font-size:1rem;color:rgba(255,255,255,.95);margin-bottom:28px;max-width:480px;
  margin-left:auto;margin-right:auto;line-height:1.65;
}
body:has(.cmp-page) .cta-links{
  text-align:center;margin-bottom:16px !important;font-size:.9rem;
  max-width:640px !important;color:rgba(255,255,255,.95);
}
body:has(.cmp-page) .cta-links a{color:#fff;text-decoration:underline}
body:has(.cmp-page) .cta-links a:hover{color:#e8f4f1}
body:has(.cmp-page) .btn-w{
  background:#fff;color:#3A6259;border-radius:10px;padding:13px 28px;font-size:.95rem;
  font-weight:700;text-decoration:none;display:inline-block;
}
body:has(.cmp-page) .btn-w:hover{background:#e8f4f1;text-decoration:none}

@media(max-width:900px){
  body:has(.cmp-page) .cat-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  body:has(.cmp-page) .section{padding:56px 20px}
  body:has(.cmp-page) .page-hero{padding:48px 20px 40px}
  body:has(.cmp-page) .cta-section{padding:56px 20px}
  body:has(.cmp-page) .quote-block{padding:22px 20px}
}
