/* pam-pages.css — DESIGN SYSTEM PAM 2026 pour les pages SEO statiques.
   V2022 : montée au niveau "grosse app PAM" (glassmorphism, profondeur, hover premium,
   or #FFE0A4 en accent PLAT réservé aux actions). HTML inchangé = 0 impact perf.
   Règles PAM : fond #0B0B0B, surfaces blanc translucide NEUTRE (jamais brun/kaki),
   or PLAT réservé CTA/accents, titres blancs. Une source -> toutes les landings. */

:root{
  --gold:#FFE0A4; --gold-l:#FFE0A4; --gold-deep:#E5C88A; --black:#0B0B0B; --bordeaux:#8B1538;
  --text:#F4EEE8; --text-soft:rgba(244,238,232,0.64); --text-mute:rgba(244,238,232,0.42);
  --line:rgba(255,255,255,0.08); --line-strong:rgba(255,255,255,0.14);
  --surface:rgba(255,255,255,0.035); --surface-2:rgba(255,255,255,0.05);
  --surface-active:rgba(255,255,255,0.08);
  --radius:18px; --radius-lg:22px;
  --shadow:0 10px 40px rgba(0,0,0,0.45);
  --glow-gold:0 8px 30px rgba(255,224,164,0.28);
  --ease:cubic-bezier(0.16,1,0.3,1);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:-apple-system,'Segoe UI',Inter,system-ui,sans-serif;
  color:var(--text); line-height:1.7; -webkit-font-smoothing:antialiased;
  /* Fond PAM : noir profond + double lueur or discrète (haut) et bordeaux très subtile (bas). */
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(255,224,164,0.07), transparent 60%),
    radial-gradient(ellipse 70% 40% at 80% 100%, rgba(139,21,56,0.06), transparent 60%),
    var(--black);
  background-attachment:fixed; min-height:100vh;
}

/* ===== EN-TÊTE / HERO ===== */
header, header.top, header.blog{
  text-align:center; padding:64px 22px 34px; position:relative;
}
header a.logo, header.top a.logo, header.blog a.logo{
  display:inline-block; margin-bottom:26px; transition:transform .3s var(--ease);
}
header a.logo:hover{transform:scale(1.04);}
header img, header.top img, header.blog img{height:84px;width:auto;filter:drop-shadow(0 4px 20px rgba(255,224,164,0.18));}
header h1, header.top h1, header.blog h1{
  font-size:clamp(1.85rem,5.2vw,2.8rem); font-weight:800; line-height:1.12;
  max-width:780px; margin:0 auto; color:#fff; letter-spacing:-0.02em;
  background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0.82) 100%);
  -webkit-background-clip:text; background-clip:text;
}
header > p, header.top .sub, header.blog .sub{
  margin:16px auto 0; color:var(--text-soft); font-size:1.08rem; max-width:620px; line-height:1.6;
}

/* Bannière de rôle (anti-cannibalisation) — carte glass discrète */
header .role, header.top .role{
  margin:22px auto 0; max-width:640px; padding:14px 20px; text-align:left;
  background:rgba(255,224,164,0.06); border:1px solid rgba(255,224,164,0.18);
  border-radius:14px; color:var(--text-soft); font-size:0.94rem; line-height:1.55;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
}
header .role strong, header.top .role strong{color:var(--gold-l);}
header .role a, header.top .role a{color:var(--gold-l);text-decoration:underline;text-underline-offset:2px;}

/* CTA header — pilule OR avec dégradé subtil + glow (le seul remplissage or) */
header.top .cta-top, .cta-top{
  display:inline-block; margin-top:28px;
  background:linear-gradient(90deg,var(--gold-deep) 0%,var(--gold) 100%); color:var(--black);
  font-weight:700; padding:15px 32px; border-radius:50px; text-decoration:none;
  box-shadow:var(--glow-gold); transition:transform .18s var(--ease),box-shadow .18s var(--ease);
}
header.top .cta-top:hover, .cta-top:hover{transform:translateY(-2px);box-shadow:0 12px 38px rgba(255,224,164,0.4);}
header.top .cta-top:active, .cta-top:active{transform:scale(0.97);}

main{max-width:780px;margin:0 auto;padding:28px 22px 72px;}

/* ===== "EN BREF" / TLDR — carte glass avec accent or ===== */
.tldr, .lead-box{
  background:var(--surface-2); border:1px solid var(--line-strong);
  border-left:3px solid var(--gold); border-radius:var(--radius);
  padding:22px 26px; margin:0 0 38px; font-size:1.07rem; color:var(--text);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); box-shadow:var(--shadow);
}
.tldr strong, .lead strong{color:var(--gold-l);}
.lead{font-size:1.2rem;color:var(--text);margin-bottom:30px;}

/* ===== TITRES / TEXTE ===== */
h2{font-size:1.55rem;font-weight:800;margin:46px 0 16px;color:#fff;letter-spacing:-0.015em;position:relative;padding-left:16px;}
h2::before{content:"";position:absolute;left:0;top:0.15em;bottom:0.15em;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--gold) 0%,var(--gold-deep) 100%);}
h3{font-size:1.18rem;font-weight:700;margin:24px 0 10px;color:var(--text);}
p{margin:0 0 17px;color:var(--text);}
ul{margin:0 0 17px 22px;}li{margin-bottom:9px;color:var(--text);}
main a{color:var(--gold-l);}
em{color:var(--text-soft);}

blockquote{
  border-left:3px solid var(--gold); background:var(--surface); backdrop-filter:blur(10px);
  margin:26px 0; padding:20px 26px; font-style:italic; color:var(--text); border-radius:0 14px 14px 0;
}
.signature{margin-top:10px;font-style:normal;font-weight:700;color:var(--gold);}

/* ===== CARTES FEATURE — glassmorphism + hover premium + puce or ===== */
.feature, .value{
  position:relative; background:var(--surface-2); border:1px solid var(--line-strong);
  border-radius:var(--radius); padding:22px 24px 22px 26px; margin:16px 0;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  transition:border-color .25s var(--ease),transform .25s var(--ease),box-shadow .25s var(--ease);
  overflow:hidden;
}
.feature::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--gold) 0%,transparent 100%);opacity:0.6;}
.feature:hover, .value:hover{
  border-color:rgba(255,224,164,0.35); transform:translateY(-3px);
  box-shadow:0 16px 44px rgba(0,0,0,0.4);
}
.feature h3, .value h3{margin:0 0 9px;color:var(--gold);display:block;font-size:1.14rem;}
.feature p, .value p{margin:0;color:var(--text-soft);}
.values{display:grid;gap:16px;margin:20px 0;}

/* ===== TABLEAU COMPARATIF ===== */
table{width:100%;border-collapse:separate;border-spacing:0;margin:20px 0 28px;font-size:.95rem;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
th,td{text-align:left;padding:13px 15px;border-bottom:1px solid var(--line);vertical-align:top;color:var(--text);}
thead th{background:var(--surface-active);color:#fff;font-weight:700;}
thead th.pam{background:linear-gradient(90deg,var(--gold-deep),var(--gold));color:var(--black);}
td.pam{background:rgba(255,224,164,0.07);}
td.pam strong{color:var(--gold-l);}
tbody tr:last-child td{border-bottom:none;}
tbody tr td:first-child{font-weight:600;color:var(--text);}

/* ===== CARTES ARTICLE / VILLE — glass + hover ===== */
.article, .city{
  display:block; background:var(--surface-2); border:1px solid var(--line-strong);
  border-radius:var(--radius-lg); padding:26px; margin-bottom:16px; text-decoration:none;
  color:inherit; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  transition:border-color .25s var(--ease),background .25s var(--ease),transform .2s var(--ease),box-shadow .25s var(--ease);
}
.article:hover, .city:hover{
  border-color:rgba(255,224,164,0.42); background:var(--surface-active);
  transform:translateY(-3px); box-shadow:0 16px 44px rgba(0,0,0,0.4);
}
.article h2{font-size:1.3rem;color:#fff;margin-bottom:8px;padding-left:0;}
.article h2::before{display:none;}
.article p{color:var(--text-soft);}
.article .date{color:var(--text-mute);font-size:.85rem;margin-top:10px;}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:8px;}
.city{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;margin-bottom:0;}
.city strong{color:var(--text);} .city span{color:var(--text-mute);font-size:.85rem;}

/* ===== E-E-A-T (auteur/dates/sources) ===== */
.meta{font-size:0.9rem;color:var(--text-soft);margin:0 0 22px;}
.meta strong{color:var(--gold-l);}
ul.sources{list-style:none;padding:0;margin:8px 0 28px;}
ul.sources li{padding:10px 0;border-bottom:1px solid var(--line);font-size:0.95rem;}
ul.sources a{color:var(--gold-l);text-decoration:underline;text-underline-offset:2px;}

/* ===== CTA PRINCIPAL — pilule or dégradé + glow ===== */
.cta{
  display:block;text-align:center;
  background:linear-gradient(90deg,var(--gold-deep) 0%,var(--gold) 100%);color:var(--black);
  font-weight:700;font-size:1.12rem;padding:19px;border-radius:50px;text-decoration:none;
  margin:40px 0; box-shadow:var(--glow-gold); transition:transform .18s var(--ease),box-shadow .18s var(--ease);
}
.cta:hover{transform:translateY(-2px);box-shadow:0 14px 42px rgba(255,224,164,0.42);}
.cta:active{transform:scale(0.99);}

/* ===== FAQ — items glass ===== */
.faq{margin-top:8px;}
.faq dt{font-weight:700;margin-top:16px;color:#fff;padding:16px 20px 8px;background:var(--surface);border:1px solid var(--line);border-bottom:none;border-radius:14px 14px 0 0;}
.faq dd{margin:0 0 2px;color:var(--text-soft);padding:0 20px 16px;background:var(--surface);border:1px solid var(--line);border-top:none;border-radius:0 0 14px 14px;}

/* ===== LIENS CONNEXES ===== */
.related{margin-top:48px;padding-top:26px;border-top:1px solid var(--line);}
.related a{color:var(--gold-l);font-weight:600;text-decoration:none;display:block;margin:10px 0;transition:padding-left .2s var(--ease);}
.related a:hover{padding-left:6px;}
.related strong{color:var(--text);}

/* ===== FOOTER ===== */
footer{
  text-align:center;padding:38px 22px;font-size:.9rem;color:var(--text-soft);
  border-top:1px solid var(--line);margin-top:36px;
}
footer a{color:var(--gold);text-decoration:none;}
footer strong{color:var(--text);}
.note{font-size:.85rem;color:var(--text-mute);font-style:italic;margin-top:-12px;}

/* Respecte les préférences de mouvement réduit */
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;scroll-behavior:auto !important;}
}
