/* ===================================================================
   ExpertSportsBets.com - Editorial Plum (lilas / violet / ambre)
   Mise en page unique : verdict éditorial, classement en accordéon,
   barres de pondération, barre de confiance.
   CSS statique pur. Aucun préprocesseur, aucun CDN, aucune police externe.
   =================================================================== */

:root {
  --bg: #f2eff8;
  --bg-2: #e8e1f4;
  --surface: #ffffff;
  --surface-2: #f8f5fd;

  --ink: #1c1430;
  --violet: #6d28d9;
  --violet-dark: #571bb0;
  --violet-soft: rgba(109, 40, 217, 0.09);
  --violet-border: rgba(109, 40, 217, 0.24);
  --amber: #c98a06;
  --amber-bright: #f0b429;
  --amber-soft: rgba(240, 180, 41, 0.16);

  --text: #322a45;
  --text-muted: #6f6685;
  --text-dim: #a399b5;
  --positive: #16a34a;
  --danger: #dc2626;

  --border: #e5dff1;
  --border-2: #d7cdea;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(28, 20, 48, 0.12);
  --shadow-sm: 0 8px 20px rgba(28, 20, 48, 0.07);
  --shadow-violet: 0 14px 34px rgba(109, 40, 217, 0.20);

  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--violet-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; font-weight: 700; color: var(--ink); }

/* ---------- Bandeau ---------- */
.warning-banner { background: var(--ink); color: #e3dcf2; text-align: center; font-size: 0.8rem; padding: 9px 14px; }
.warning-banner span { display: inline-block; background: var(--violet); color: #fff; font-weight: 800; border-radius: 5px; padding: 1px 7px; margin-right: 4px; font-size: 0.74rem; }
.warning-banner strong { color: #fff; }

/* ---------- En-tête ---------- */
header { position: sticky; top: 0; z-index: 50; background: rgba(242, 239, 248, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--violet); color: #fff; box-shadow: var(--shadow-sm); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; }
.logo-expert { color: var(--ink); }
.logo-sports { color: var(--violet); }
.logo-bets { color: var(--amber); }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 600; padding: 9px 13px; border-radius: 8px; transition: color 0.18s, background 0.18s; }
nav a:hover { color: var(--ink); background: var(--bg-2); text-decoration: none; }
nav a.nav-cta { color: #fff; background: var(--violet); font-weight: 700; }
nav a.nav-cta:hover { background: var(--violet-dark); box-shadow: var(--shadow-violet); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--violet); border-radius: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 11px; font-weight: 700; font-size: 0.93rem; text-align: center; cursor: pointer; border: 2px solid transparent; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; font-family: var(--font-body); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--violet); color: #fff; box-shadow: var(--shadow-violet); }
.btn-accent:hover { background: var(--violet-dark); }
.btn-outline { background: transparent; color: var(--violet-dark); border-color: var(--violet-border); }
.btn-outline:hover { background: var(--violet-soft); }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 7vw, 84px) 0 clamp(26px, 4vw, 44px); text-align: center; }
.byline { display: inline-block; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--violet-dark); background: var(--violet-soft); border: 1px solid var(--violet-border); padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; font-weight: 700; font-family: var(--font-body); }
.hero h1 { font-size: clamp(2rem, 4.8vw, 3.2rem); max-width: 20ch; margin: 0 auto 16px; }
.subtitle { color: var(--text-muted); font-size: clamp(1rem, 2.1vw, 1.16rem); max-width: 62ch; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Verdict ---------- */
.verdict { padding: clamp(20px, 4vw, 36px) 0 clamp(36px, 5vw, 56px); }
.verdict .container { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.verdict-quote { position: relative; background: var(--surface); border: 1px solid var(--border-2); border-left: 4px solid var(--violet); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.verdict-mark { position: absolute; top: 6px; left: 18px; font-family: var(--font-display); font-size: 4rem; color: var(--violet-soft); line-height: 1; }
.verdict-quote p { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--ink); line-height: 1.5; margin: 14px 0 14px; position: relative; }
.verdict-quote strong { color: var(--violet-dark); }
.verdict-quote footer { color: var(--text-muted); font-size: 0.9rem; font-style: italic; }
.verdict-pick { background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--violet-border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.vp-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-dark); font-weight: 800; }
.verdict-pick .book-logo { align-self: center; font-size: 1.3rem; }
.vp-score { display: flex; align-items: center; justify-content: center; gap: 12px; }

.score-pill { display: inline-grid; place-items: center; min-width: 56px; padding: 8px 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; background: var(--violet); border-radius: 10px; }
.stars { color: var(--amber-bright); font-size: 0.95rem; letter-spacing: 1px; white-space: nowrap; }

/* ---------- Titres ---------- */
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--text-muted); max-width: 72ch; margin: 0 auto 34px; }

/* ---------- Logos opérateurs ---------- */
.book-logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; padding: 6px 11px; border-radius: 8px; font-family: var(--font-body); line-height: 1; white-space: nowrap; }
.book-winamax { background: #e2001a; color: #fff; text-transform: lowercase; }
.book-betclic { background: #0a1f3d; color: #fff; text-transform: lowercase; }
.book-betclic::first-letter { color: #19a0e6; }
.book-unibet { background: #14854a; color: #fff; text-transform: lowercase; }
.book-pmu { background: #0a7a4f; color: #fff; letter-spacing: 0.04em; }
.book-netbet { background: #14181f; color: #fff; }
.book-netbet span { color: #ff6a00; }

/* ---------- Classement : accordéon ---------- */
.ranking { padding: clamp(36px, 5vw, 58px) 0; }
.acc { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.18s; }
.acc-item.open { border-color: var(--violet-border); box-shadow: var(--shadow); }
.acc-head { width: 100%; display: grid; grid-template-columns: 38px auto 1fr auto 28px; align-items: center; gap: 16px; background: none; border: 0; cursor: pointer; padding: 16px 20px; text-align: left; }
.acc-rank { width: 32px; height: 32px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--violet-dark); background: var(--violet-soft); border-radius: 9px; }
.acc-item.open .acc-rank { color: #fff; background: var(--violet); }
.acc-tag { color: var(--text-muted); font-size: 0.86rem; font-weight: 600; }
.acc-score { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--violet-dark); }
.acc-toggle { color: var(--violet); font-size: 1.5rem; font-weight: 700; transition: transform 0.2s; text-align: center; }
.acc-item.open .acc-toggle { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.acc-item.open .acc-body { max-height: 640px; }
.acc-inner { padding: 4px 20px 22px; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 18px; }
.acc-verdict { color: var(--text-muted); margin-bottom: 14px; }
.acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }
.acc-cols h4 { color: var(--violet-dark); font-size: 0.95rem; margin-bottom: 8px; }
.acc-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--border); }
.acc-offer { font-family: var(--font-display); font-weight: 700; color: var(--violet-dark); font-size: 1.02rem; }
.acc-lic { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); }
.acc-foot .btn { margin-left: auto; }

/* ---------- Critères : barres de pondération ---------- */
.criteres { padding: clamp(36px, 5vw, 58px) 0; }
.weights { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.weight-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.weight-top span { color: var(--text); font-weight: 600; }
.weight-pct { font-family: var(--font-display); font-weight: 700; color: var(--violet-dark); }
.wbar { height: 12px; background: var(--bg-2); border-radius: 7px; overflow: hidden; }
.wbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), #9461e8); border-radius: 7px; }
.weights-link { text-align: center; margin-top: 26px; }
.weights-link a { font-weight: 700; }

/* ---------- Licences : barre de confiance ---------- */
.licensing { padding: clamp(36px, 5vw, 58px) 0; }
.trustbar { background: var(--surface); border: 1px solid var(--violet-border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trustbar-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.tb-check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--positive); color: #fff; font-weight: 800; font-size: 0.85rem; }
.tb-chips { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.tb-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 999px; padding: 6px 12px 6px 8px; transition: border-color 0.16s, transform 0.16s; }
.tb-chip:hover { border-color: var(--violet-border); transform: translateY(-2px); text-decoration: none; }
.tb-chip .book-logo { font-size: 0.9rem; padding: 4px 9px; }
.tb-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.lic-foot { text-align: center; color: var(--text-dim); font-size: 0.82rem; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(36px, 5vw, 58px) 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; color: var(--ink); cursor: pointer; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; text-align: left; padding: 17px 22px; }
.faq-icon { color: var(--violet); font-size: 1.4rem; flex-shrink: 0; transition: transform 0.2s; font-weight: 700; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { color: var(--text-muted); padding: 0 22px 18px; font-size: 0.94rem; }

/* ---------- Pages internes (SPA) ---------- */
.content-page { display: none; padding: clamp(34px, 6vw, 60px) 0; border-top: 1px solid var(--border); }
.content-page.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.page-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--amber-bright); display: inline-block; }
.review-intro p, .methodology-intro p, .about-intro p, .legal-intro p, .contact-intro p, .safer-intro p { color: var(--text-muted); font-size: 1.05rem; max-width: 75ch; margin-bottom: 14px; }

.review-detailed { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.review-block { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.review-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 26px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.review-score { text-align: right; }
.score-number { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--violet-dark); }
.review-content { padding: 22px 26px; }
.review-content h3 { font-size: 1.3rem; margin-bottom: 6px; }
.review-content h4 { font-size: 1rem; margin: 16px 0 8px; color: var(--violet-dark); }
.review-content p { color: var(--text-muted); margin-bottom: 10px; }
.review-content strong { color: var(--ink); }
.cons-list { list-style: none; margin: 8px 0; }
.cons-list li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--text-muted); }
.cons-list li::before { content: "\2715"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 0.7rem; color: #fff; font-weight: 800; background: var(--danger); border-radius: 50%; }

.methodology-section, .safer-section, .about-section, .legal-section { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.methodology-section h3, .safer-section h3, .about-section h3, .legal-section h3 { font-size: 1.2rem; margin-bottom: 12px; }
.methodology-section h4, .legal-section h4 { color: var(--violet-dark); margin: 14px 0 8px; font-size: 1rem; }
.methodology-section p, .safer-section p, .about-section p, .legal-section p { color: var(--text-muted); margin-bottom: 10px; }
.methodology-section strong, .safer-section strong, .about-section strong, .legal-section strong { color: var(--ink); }
.methodology-note { font-size: 0.92rem; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(220, 38, 38, 0.07); border: 1px solid rgba(220, 38, 38, 0.22); }
.scoring-table { margin-top: 16px; }
.scoring-table table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.scoring-table td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-muted); font-size: 0.92rem; }
.scoring-table td strong { color: var(--ink); }
.methodology-final { background: var(--violet-soft); border: 1px solid var(--violet-border); border-radius: var(--radius); padding: 28px; }
.methodology-final h3 { color: var(--violet-dark); margin-bottom: 12px; }
.score-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.score-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.score-item span { font-family: var(--font-display); font-weight: 700; color: var(--violet-dark); font-size: 1.05rem; }
.score-item p { font-size: 0.85rem; color: var(--text-muted); margin: 4px 0 0; }

.check-list { list-style: none; margin: 12px 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 9px; color: var(--text-muted); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 0.72rem; color: #fff; font-weight: 800; background: var(--positive); border-radius: 50%; }
.check-list strong { color: var(--ink); }

.warning-box { background: rgba(220, 38, 38, 0.06); border: 1px solid rgba(220, 38, 38, 0.25); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; }
.warning-box h3 { color: var(--danger); margin-bottom: 8px; }
.warning-box p { color: var(--text-muted); }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.support-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.support-card h4 { color: var(--violet-dark); margin-bottom: 8px; }
.support-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 6px; }
.safer-final { background: var(--amber-soft); border: 1px solid rgba(240, 180, 41, 0.35); border-radius: var(--radius); padding: 22px 26px; }
.safer-final p { color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-method { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.contact-method h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--violet-dark); }
.contact-method p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 8px; }
.contact-note { font-style: italic; color: var(--text-dim); }
.contact-disclaimer { background: var(--violet-soft); border: 1px solid var(--violet-border); border-radius: var(--radius); padding: 20px 24px; }
.contact-disclaimer p { color: var(--ink); }
.cookie-category { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; background: var(--surface-2); }
.cookie-category h4 { color: var(--violet-dark); margin-bottom: 6px; }
.cookie-category p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Pied de page ---------- */
footer { background: var(--ink); color: #c8bedd; padding: clamp(40px, 6vw, 60px) 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 34px; }
.footer-column h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-column p { color: #a99fbd; font-size: 0.9rem; margin-bottom: 8px; }
.footer-column .location { color: #7d7393; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 9px; }
.footer-column a { color: #a99fbd; font-size: 0.9rem; }
.footer-column a:hover { color: var(--amber-bright); }
.disclaimer { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px; background: rgba(255, 255, 255, 0.03); }
.disclaimer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.disclaimer-badge { background: var(--violet); color: #fff; font-weight: 800; padding: 5px 11px; border-radius: 8px; font-size: 0.9rem; }
.disclaimer h3 { font-size: 1rem; color: #fff; }
.disclaimer p { color: #a99fbd; font-size: 0.87rem; margin-bottom: 8px; }
.disclaimer strong { color: #fff; }
.copyright { text-align: center; color: #7d7393; font-size: 0.82rem; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---------- Bouton remonter ---------- */
.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--violet); color: #fff; font-size: 1.3rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.2s; box-shadow: var(--shadow-violet); }
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); background: var(--violet-dark); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 880px) {
  .verdict .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 1px solid var(--border); padding: 14px 18px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; box-shadow: var(--shadow); }
  nav.open { transform: none; opacity: 1; pointer-events: auto; }
  nav a { padding: 12px 14px; }
  nav a.nav-cta { text-align: center; }
  .acc-head { grid-template-columns: 32px auto 1fr 28px; }
  .acc-tag { display: none; }
  .acc-item.open .acc-body { max-height: 760px; }
  .acc-cols { grid-template-columns: 1fr; gap: 10px; }
  .acc-foot .btn { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .review-header { flex-direction: column; align-items: flex-start; }
  .review-score { text-align: left; }
  .trustbar { flex-direction: column; align-items: flex-start; }
}
