:root {
  --navy: #0D1B2E;
  --navy-deep: rgba(6, 14, 30, 0.80);
  --gold-1: #FCD34D;
  --gold-2: #F59E0B;
  --gold-3: #D97706;
  --txt: #F5F5F5;
  --txt-soft: #C9D4E0;
  --txt-mute: #93A5B8;
  --txt-dim: #7d8fa3;
  --line: rgba(255,255,255,0.08);
  --gold-line: rgba(251,191,36,0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--txt);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.bebas { font-family: 'Bebas Neue', sans-serif; font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px;
}
.bg-halo {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 80% -5%, rgba(245,158,11,0.07), transparent),
    radial-gradient(ellipse 70% 50% at 10% 110%, rgba(2,60,120,0.18), transparent),
    var(--navy);
}

/* ===== Nav ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(6, 14, 30, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav .brand img { height: 30px; width: auto; }
nav .links { display: flex; gap: 24px; align-items: center; }
nav .links a {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--txt-soft);
  transition: color 0.2s;
}
nav .links a:hover, nav .links a.active { color: #FBBF24; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none; font-family: 'Inter', sans-serif;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #0A0A0A; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }

/* ===== Layout ===== */
.wrap { max-width: 760px; margin: 0 auto; padding: 130px 24px 80px; position: relative; z-index: 1; }
.wrap-wide { max-width: 1000px; }
.kicker {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: #FBBF24; padding: 5px 14px;
  border: 1px solid var(--gold-line); border-radius: 999px;
  background: rgba(251,191,36,0.06); margin-bottom: 20px;
}
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.03em; line-height: 1.08; margin-bottom: 16px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.meta { font-size: 0.8rem; color: var(--txt-dim); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 42px; }
.meta a { color: var(--txt-dim); }

/* ===== Article ===== */
article h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: 0.04em;
  color: var(--gold-1); margin: 46px 0 16px;
}
article h3 { font-size: 1.02rem; font-weight: 700; margin: 30px 0 10px; }
article p { color: var(--txt-soft); line-height: 1.9; font-size: 0.97rem; margin-bottom: 16px; font-weight: 300; }
article p strong, article li strong { color: var(--txt); font-weight: 600; }
article ul, article ol { margin: 0 0 18px 22px; }
article li { color: var(--txt-soft); line-height: 1.85; font-size: 0.97rem; margin-bottom: 8px; font-weight: 300; }
article a { color: #FBBF24; text-decoration: none; border-bottom: 1px solid rgba(251,191,36,0.35); transition: border-color 0.2s; }
article a:hover { border-color: #FBBF24; }
.lead { font-size: 1.05rem !important; color: var(--txt) !important; font-weight: 400 !important; }

.note {
  background: rgba(251,191,36,0.05);
  border: 1px solid var(--gold-line); border-radius: 14px;
  padding: 20px 24px; margin: 26px 0;
  font-size: 0.88rem; color: var(--txt-mute); line-height: 1.75;
}
.note strong { color: var(--gold-1); }

.vs-table { width: 100%; border-collapse: collapse; margin: 24px 0 30px; font-size: 0.9rem; }
.vs-table th, .vs-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--txt-soft); line-height: 1.6; }
.vs-table th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #FBBF24; }
.vs-table td:first-child { color: var(--txt-mute); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; white-space: nowrap; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 10px; }
details.faq {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; overflow: hidden;
}
details.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 0.93rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus { flex-shrink: 0; color: #FBBF24; font-size: 1.2rem; transition: transform 0.25s ease; }
details.faq[open] summary .plus { transform: rotate(45deg); }
details.faq .answer { padding: 0 22px 20px; font-size: 0.88rem; line-height: 1.8; color: var(--txt-mute); }

/* ===== Encart produit ===== */
.brand-card {
  margin: 50px 0 10px;
  border: 1px solid rgba(245,158,11,0.3); border-radius: 18px;
  background: linear-gradient(160deg, rgba(251,191,36,0.06), rgba(6,14,30,0.4));
  padding: 30px 30px 28px; text-align: center;
}
.brand-card img { height: 34px; margin: 0 auto 14px; }
.brand-card p { color: var(--txt-mute); font-size: 0.88rem; line-height: 1.7; max-width: 46ch; margin: 0 auto 20px; }
.brand-card .btn { padding: 13px 28px; font-size: 12.5px; }

/* ===== Cartes blog (index) ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.post-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 18px;
  padding: 28px 26px 26px; text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--gold-line); box-shadow: 0 18px 44px rgba(4,10,22,0.45); }
.post-card .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #FBBF24; margin-bottom: 14px; }
.post-card h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.04em; line-height: 1.15; margin-bottom: 12px; color: var(--txt); }
.post-card p { font-size: 0.87rem; color: var(--txt-mute); line-height: 1.7; margin-bottom: 18px; }
.post-card .more { margin-top: auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #FBBF24; }

/* ===== Sources & footer ===== */
.sources { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.sources p { font-size: 0.78rem; color: var(--txt-dim); line-height: 1.7; margin-bottom: 6px; }
footer {
  position: relative; z-index: 1;
  background: rgba(5, 12, 26, 0.94); border-top: 1px solid var(--line);
  padding: 40px 28px; text-align: center;
}
footer .legal { font-size: 0.72rem; line-height: 1.75; color: #5f7186; max-width: 760px; margin: 0 auto 14px; }
footer .copyright { font-size: 0.75rem; color: var(--txt-dim); }
footer .flinks { margin-bottom: 18px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
footer .flinks a { font-size: 0.82rem; color: var(--txt-mute); text-decoration: none; }
footer .flinks a:hover { color: #FBBF24; }

@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  nav .links a.navlink { display: none; }
  .wrap { padding: 110px 20px 60px; }
  .vs-table { font-size: 0.82rem; }
  .vs-table th, .vs-table td { padding: 10px 10px; }
}
