/*
Theme Name: LollyBet Official
Theme URI: https://lolly-bet.net
Author: LollyBet
Author URI: https://lolly-bet.net
Description: Thème officiel LollyBet - optimisé SEO, Featured Snippets, Schema.org, Core Web Vitals. Architecture multipage + blog pour dominer les SERPs sur "lollybet" et "lolly bet".
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: lollybet
Tags: seo, gambling, casino, sports-betting, schema, featured-snippets, performance
*/

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Charte officielle LollyBet (rouge + noir profond) ── */
  --lb-primary:      #E5002B;   /* Rouge CTA officiel */
  --lb-primary-dark: #C0001E;   /* Rouge hover */
  --lb-primary-glow: rgba(229,0,43,0.35);
  --lb-secondary:    #111115;   /* Fond cards/header */
  --lb-accent:       #FFD700;   /* Or — highlights */
  --lb-bg:           #09090D;   /* Fond ultra sombre */
  --lb-bg-card:      #141419;   /* Cards sombres */
  --lb-bg-light:     #1C1C23;   /* Fond sections claires */
  --lb-text:         #EBEBF0;   /* Texte principal */
  --lb-text-muted:   #8888A8;   /* Texte secondaire */
  --lb-green:        #00C851;   /* Succès / fiable */
  --lb-red:          #E5002B;   /* Erreurs / alertes */
  --lb-border:       rgba(255,255,255,0.07);
  --lb-radius:       12px;
  --lb-radius-sm:    8px;
  --lb-shadow:       0 4px 28px rgba(0,0,0,0.55);
  --lb-shadow-card:  0 2px 14px rgba(0,0,0,0.4);
  --lb-font-main:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --lb-font-display: 'Poppins', var(--lb-font-main);
  --lb-max-width:    1200px;
  --lb-transition:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--lb-font-main);
  background: var(--lb-bg);
  color: var(--lb-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lb-primary); text-decoration: none; transition: var(--lb-transition); }
a:hover { color: var(--lb-accent); }
ul, ol { padding-left: 1.5rem; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--lb-font-display);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-top: 2rem; }
h4 { font-size: 1.2rem; margin-top: 1.5rem; }

p { margin-bottom: 1.2rem; }

.entry-content h2 { border-left: 4px solid var(--lb-primary); padding-left: 1rem; }
.entry-content h3 { color: var(--lb-accent); }
.entry-content ul li, .entry-content ol li { margin-bottom: 0.5rem; }

strong, b { color: #fff; font-weight: 700; }
em { color: var(--lb-accent); font-style: italic; }

/* =====================================================
   LAYOUT
   ===================================================== */
.lb-container {
  max-width: var(--lb-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lb-container--wide { max-width: 1400px; }
.lb-container--narrow { max-width: 860px; }

.lb-section { padding: 4rem 0; }
.lb-section--sm { padding: 2rem 0; }
.lb-section--lg { padding: 6rem 0; }
.lb-section--dark { background: var(--lb-secondary); }
.lb-section--card { background: var(--lb-bg-card); }

/* Grid */
.lb-grid { display: grid; gap: 1.5rem; }
.lb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lb-grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lb-grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Content + Sidebar */
.lb-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
@media (max-width: 1024px) { .lb-layout { grid-template-columns: 1fr; } }

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.lb-header {
  background: var(--lb-secondary);
  border-bottom: 1px solid var(--lb-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.lb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.lb-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--lb-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.lb-logo span { color: var(--lb-primary); }
.lb-logo__badge {
  background: var(--lb-green);
  color: #000;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: -12px;
}

/* Navigation */
.lb-nav { display: flex; align-items: center; gap: 0.25rem; }
.lb-nav a {
  color: var(--lb-text);
  padding: 0.5rem 0.875rem;
  border-radius: var(--lb-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--lb-transition);
  white-space: nowrap;
}
.lb-nav a:hover, .lb-nav a.active { background: rgba(255,107,0,0.15); color: var(--lb-primary); }
.lb-nav a.lb-nav__cta {
  background: var(--lb-primary);
  color: #fff !important;
  font-weight: 700;
  margin-left: 0.5rem;
}
.lb-nav a.lb-nav__cta:hover { background: var(--lb-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,0,0.4); }
.lb-nav__login { color: var(--lb-text-muted); font-size: .9rem; }

.lb-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.lb-hamburger span { display: block; width: 24px; height: 2px; background: var(--lb-text); border-radius: 2px; transition: var(--lb-transition); }

/* Mobile nav */
@media (max-width: 900px) {
  .lb-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--lb-secondary); padding: 1rem; border-bottom: 1px solid var(--lb-border); z-index: 999; }
  .lb-nav.open { display: flex; }
  .lb-nav a { min-height: 44px; display: flex; align-items: center; padding: .65rem .875rem; }
  .lb-hamburger { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; touch-action: manipulation; }
}

/* =====================================================
   PAGE HERO (sous-pages)
   ===================================================== */
.lb-page-hero {
  padding: 3rem 0 2rem;
  background: var(--lb-secondary);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.lb-hero {
  background: linear-gradient(135deg, var(--lb-bg) 0%, var(--lb-secondary) 50%, #0a0a1a 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.lb-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,107,0,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255,215,0,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.lb-hero__content { position: relative; z-index: 1; max-width: 680px; }
.lb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,200,81,0.15);
  border: 1px solid rgba(0,200,81,0.3);
  color: var(--lb-green);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.lb-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #fff;
}

.lb-hero__title em { color: var(--lb-primary); font-style: normal; }
.lb-hero__subtitle { font-size: 1.15rem; color: var(--lb-text-muted); margin-bottom: 2rem; max-width: 560px; }

.lb-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.lb-hero__cta-main {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--lb-primary); color: #fff;
  padding: 1rem 2rem; border-radius: 100px;
  font-size: 1.05rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: var(--lb-transition);
  box-shadow: 0 4px 20px rgba(255,107,0,0.5);
}
.lb-hero__cta-main:hover { background: var(--lb-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,0,0.6); color: #fff; }
.lb-hero__cta-secondary { color: var(--lb-text-muted); font-size: 0.9rem; }
.lb-hero__cta-secondary:hover { color: #fff; }

/* Bonus cards in hero */
.lb-hero__bonus-strip {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.5rem;
}
.lb-bonus-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 0.875rem 1.25rem;
  text-align: center;
  flex: 1; min-width: 140px;
}
.lb-bonus-pill__value { font-size: 1.4rem; font-weight: 800; color: var(--lb-accent); display: block; }
.lb-bonus-pill__label { font-size: 0.75rem; color: var(--lb-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* =====================================================
   RATING & TRUST BAR
   ===================================================== */
.lb-trust-bar {
  background: var(--lb-bg-card);
  border-top: 1px solid var(--lb-border);
  border-bottom: 1px solid var(--lb-border);
  padding: 1.25rem 0;
}
.lb-trust-bar__inner {
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: center; justify-content: center;
}
.lb-trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--lb-text-muted);
}
.lb-trust-item strong { color: #fff; }
.lb-trust-item__icon { font-size: 1.2rem; }

/* Stars */
.lb-stars { display: inline-flex; gap: 2px; }
.lb-stars span { color: var(--lb-accent); font-size: 1rem; }

/* =====================================================
   CARDS
   ===================================================== */
.lb-card {
  background: var(--lb-bg-card);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 1.75rem;
  transition: var(--lb-transition);
}
.lb-card:hover { border-color: rgba(255,107,0,0.3); transform: translateY(-3px); box-shadow: var(--lb-shadow); }
.lb-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.lb-card__title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.lb-card__text { font-size: 0.9rem; color: var(--lb-text-muted); }
.lb-card__badge {
  display: inline-block; background: rgba(255,107,0,0.15); color: var(--lb-primary);
  padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Bonus card */
.lb-bonus-card {
  background: linear-gradient(135deg, var(--lb-bg-card), var(--lb-bg-light));
  border: 2px solid var(--lb-primary);
  border-radius: var(--lb-radius);
  overflow: hidden;
}
.lb-bonus-card__header {
  background: var(--lb-primary);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.lb-bonus-card__header h3 { color: #fff; margin: 0; font-size: 1rem; }
.lb-bonus-card__body { padding: 1.5rem; }
.lb-bonus-card__amount { font-size: 2.2rem; font-weight: 900; color: var(--lb-accent); display: block; }
.lb-bonus-card__sub { font-size: 0.85rem; color: var(--lb-text-muted); }
.lb-bonus-card__cta {
  display: block; width: 100%; text-align: center;
  background: var(--lb-primary); color: #fff;
  padding: 0.875rem; border-radius: var(--lb-radius-sm);
  font-weight: 700; margin-top: 1rem;
  transition: var(--lb-transition);
}
.lb-bonus-card__cta:hover { background: var(--lb-primary-dark); color: #fff; }

/* =====================================================
   TABLE OF CONTENTS
   ===================================================== */
.lb-toc {
  background: var(--lb-bg-card);
  border: 1px solid var(--lb-border);
  border-left: 4px solid var(--lb-primary);
  border-radius: var(--lb-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.lb-toc__title {
  font-size: 0.95rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.lb-toc ol { counter-reset: toc; list-style: none; padding: 0; }
.lb-toc ol li { counter-increment: toc; padding: 0.3rem 0; }
.lb-toc ol li::before {
  content: counter(toc) ". ";
  color: var(--lb-primary); font-weight: 700; font-size: 0.85rem;
}
.lb-toc ol li a { color: var(--lb-text-muted); font-size: 0.9rem; }
.lb-toc ol li a:hover { color: var(--lb-primary); }
.lb-toc ol li ul { list-style: none; padding-left: 1.5rem; margin-top: 0.25rem; }
.lb-toc ol li ul li::before { content: "→ "; color: var(--lb-text-muted); }

/* =====================================================
   FAQ SECTION
   ===================================================== */
.lb-faq { margin: 3rem 0; }
.lb-faq__title { margin-bottom: 2rem; }
.lb-faq__item {
  background: var(--lb-bg-card);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.lb-faq__question {
  width: 100%; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: #fff;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: var(--lb-transition);
  gap: 1rem;
}
.lb-faq__question:hover { background: rgba(255,107,0,0.08); }
.lb-faq__question.active { color: var(--lb-primary); }
.lb-faq__toggle {
  width: 24px; height: 24px; min-width: 24px;
  background: rgba(255,107,0,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--lb-primary); font-size: 1.2rem; font-weight: 700;
  transition: var(--lb-transition);
}
.lb-faq__question.active .lb-faq__toggle { transform: rotate(45deg); background: var(--lb-primary); color: #fff; }
.lb-faq__answer {
  display: none; padding: 0 1.5rem 1.25rem;
  color: var(--lb-text-muted); font-size: 0.95rem; line-height: 1.8;
}
.lb-faq__answer.open { display: block; }

/* =====================================================
   COMPARISON TABLE
   ===================================================== */
.lb-table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: var(--lb-radius); }
.lb-table {
  width: 100%; border-collapse: collapse;
  background: var(--lb-bg-card);
  font-size: 0.9rem;
}
.lb-table th {
  background: var(--lb-primary); color: #fff;
  padding: 1rem 1.25rem; text-align: left;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.lb-table th:first-child { border-radius: var(--lb-radius) 0 0 0; }
.lb-table th:last-child { border-radius: 0 var(--lb-radius) 0 0; }
.lb-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--lb-border);
  color: var(--lb-text);
  vertical-align: middle;
}
.lb-table tr:last-child td { border-bottom: none; }
.lb-table tr:hover td { background: rgba(255,107,0,0.05); }
.lb-table td .check { color: var(--lb-green); font-size: 1.1rem; }
.lb-table td .cross { color: var(--lb-red); font-size: 1.1rem; }
.lb-table .lb-table__highlight td { background: rgba(255,107,0,0.08); }
.lb-table .lb-table__highlight td:first-child { border-left: 3px solid var(--lb-primary); }

/* =====================================================
   RATING BOX
   ===================================================== */
.lb-rating-box {
  background: linear-gradient(135deg, var(--lb-bg-card), var(--lb-bg-light));
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.lb-rating-box__score { font-size: 4rem; font-weight: 900; color: var(--lb-accent); line-height: 1; }
.lb-rating-box__max { font-size: 1.2rem; color: var(--lb-text-muted); }
.lb-rating-box__label { font-size: 1.1rem; font-weight: 700; color: #fff; margin-top: 0.5rem; }
.lb-rating-criteria { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; text-align: left; }
.lb-rating-criteria__item { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.lb-rating-criteria__name { color: var(--lb-text-muted); }
.lb-rating-criteria__bar { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin: 0 1rem; overflow: hidden; }
.lb-rating-criteria__fill { height: 100%; background: var(--lb-primary); border-radius: 3px; }
.lb-rating-criteria__score { font-weight: 700; color: #fff; min-width: 2.5rem; text-align: right; }

/* =====================================================
   STEPS / HOW-TO
   ===================================================== */
.lb-steps { counter-reset: steps; margin: 2rem 0; }
.lb-step {
  display: flex; gap: 1.5rem; margin-bottom: 1.5rem;
  counter-increment: steps;
}
.lb-step__number {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--lb-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: #fff;
}
.lb-step__number::before { content: counter(steps); }
.lb-step__content { flex: 1; }
.lb-step__title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.lb-step__text { font-size: 0.95rem; color: var(--lb-text-muted); }

/* =====================================================
   FEATURED SNIPPET BOX
   ===================================================== */
.lb-snippet-box {
  background: var(--lb-bg-light);
  border: 2px solid var(--lb-accent);
  border-radius: var(--lb-radius);
  padding: 1.75rem;
  margin: 2rem 0;
  position: relative;
}
.lb-snippet-box::before {
  content: var(--lb-snippet-label, '★ À RETENIR');
  position: absolute; top: -14px; left: 1.5rem;
  background: var(--lb-accent); color: #000;
  font-size: 0.7rem; font-weight: 800;
  padding: 3px 10px; border-radius: 4px;
  letter-spacing: 1px;
}
.lb-snippet-box p { color: var(--lb-text); margin: 0; }

/* =====================================================
   DEFINITION BOX (for Position 0)
   ===================================================== */
.lb-definition {
  background: var(--lb-bg-card);
  border-left: 5px solid var(--lb-primary);
  padding: 1.5rem;
  border-radius: 0 var(--lb-radius) var(--lb-radius) 0;
  margin: 2rem 0;
}
.lb-definition__term { font-weight: 800; color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; }
.lb-definition p { color: var(--lb-text-muted); margin: 0; font-size: 0.95rem; }

/* =====================================================
   TL;DR BOX
   ===================================================== */
.lb-tldr {
  background: linear-gradient(135deg, rgba(255,107,0,.07), rgba(255,107,0,.03));
  border: 1px solid rgba(255,107,0,.3);
  border-left: 4px solid var(--lb-primary);
  border-radius: var(--lb-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.lb-tldr__header {
  font-weight: 800;
  font-size: 1rem;
  color: var(--lb-primary);
  margin-bottom: .8rem;
}
.lb-tldr__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.lb-tldr__list li {
  font-size: .9rem;
  color: var(--lb-text);
  line-height: 1.5;
}

/* =====================================================
   E-E-A-T BAR
   ===================================================== */
.lb-eeat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--lb-text-muted);
  margin: .5rem 0 1.25rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--lb-border);
}
.lb-eeat-bar__item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.lb-eeat-bar__sep { opacity: .4; }

/* =====================================================
   PROMO CODE BOX
   ===================================================== */
.lb-promo-box {
  background: linear-gradient(135deg, #1a0d00, #2a1500);
  border: 2px dashed var(--lb-primary);
  border-radius: var(--lb-radius);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.lb-promo-box__label { font-size: 0.85rem; color: var(--lb-text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; }
.lb-promo-code {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  width: 100%; box-sizing: border-box;
  background: rgba(255,107,0,0.1);
  border: 2px solid var(--lb-primary);
  border-radius: var(--lb-radius-sm);
  padding: 1rem 1.25rem;
  font-size: 1.8rem; font-weight: 900;
  color: var(--lb-accent);
  letter-spacing: 3px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--lb-transition);
  overflow: hidden; word-break: break-all;
}
.lb-promo-code:hover { background: rgba(255,107,0,0.2); }
.lb-promo-copy { font-size: 0.8rem; color: var(--lb-text-muted); }

/* =====================================================
   SIDEBAR
   ===================================================== */
.lb-sidebar { position: sticky; top: 90px; min-width: 0; overflow: hidden; }
.lb-widget {
  background: var(--lb-bg-card);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.lb-widget__title {
  background: var(--lb-bg-light);
  padding: 0.875rem 1.25rem;
  font-size: 0.85rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--lb-border);
}
.lb-widget__body { padding: 1.25rem; overflow: hidden; }
.lb-widget .lb-promo-code { font-size: 1.2rem; letter-spacing: 2px; padding: .75rem 1rem; }
.lb-widget .lb-promo-box { margin: 0; }

/* =====================================================
   BLOG FEATURED (page-blog.php)
   ===================================================== */
.lb-blog-featured {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--lb-bg-card);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.lb-blog-featured__img {
  width: 340px;
  min-width: 240px;
  height: 240px;
  object-fit: cover;
  flex-shrink: 0;
}
.lb-blog-featured__body {
  padding: 1.5rem;
  flex: 1;
}
.lb-blog-featured__cat {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  color: var(--lb-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.lb-blog-featured__title { font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; }
.lb-blog-featured__excerpt { font-size: .95rem; color: var(--lb-text-muted); margin-bottom: 1rem; }
.lb-blog-featured__meta { font-size: .8rem; color: var(--lb-text-muted); margin-bottom: 1.25rem; }

/* Blog filters */
.lb-blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.lb-blog-filter-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--lb-border);
  border-radius: 100px; padding: .4rem 1rem; font-size: .85rem;
  color: var(--lb-text-muted); transition: var(--lb-transition);
}
.lb-blog-filter-btn:hover, .lb-blog-filter-btn.active {
  background: rgba(229,0,43,.15); border-color: rgba(229,0,43,.4);
  color: var(--lb-primary);
}

/* =====================================================
   BLOG / POSTS
   ===================================================== */
.lb-post-card {
  background: var(--lb-bg-card);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  overflow: hidden;
  transition: var(--lb-transition);
}
.lb-post-card:hover { border-color: rgba(255,107,0,0.3); transform: translateY(-3px); box-shadow: var(--lb-shadow); }
.lb-post-card__thumb img { width: 100%; height: 200px; object-fit: cover; }
.lb-post-card__body { padding: 1.25rem; }
.lb-post-card__cat {
  display: inline-block; background: rgba(255,107,0,0.15); color: var(--lb-primary);
  padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 0.75rem;
}
.lb-post-card__title a { color: #fff; font-size: 1rem; font-weight: 700; }
.lb-post-card__title a:hover { color: var(--lb-primary); }
.lb-post-card__meta { font-size: 0.8rem; color: var(--lb-text-muted); margin-top: 0.75rem; }

/* Author bio */
.lb-author-box {
  background: var(--lb-bg-card);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 1.75rem;
  display: flex; gap: 1.5rem;
  margin: 3rem 0;
}
.lb-author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lb-primary); flex-shrink: 0; }
.lb-author-box__name { font-weight: 800; color: #fff; font-size: 1.05rem; }
.lb-author-box__role { font-size: 0.8rem; color: var(--lb-primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; }
.lb-author-box__bio { font-size: 0.9rem; color: var(--lb-text-muted); }

/* =====================================================
   LAST UPDATED BANNER
   ===================================================== */
.lb-updated {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(0,200,81,0.08);
  border: 1px solid rgba(0,200,81,0.2);
  border-radius: var(--lb-radius-sm);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem; color: var(--lb-text-muted);
  margin-bottom: 2rem;
}
.lb-updated__dot { width: 8px; height: 8px; background: var(--lb-green); border-radius: 50%; flex-shrink: 0; }

/* =====================================================
   BREADCRUMBS
   ===================================================== */
.lb-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  align-items: center; font-size: 0.82rem;
  padding: 1rem 0; color: var(--lb-text-muted);
}
.lb-breadcrumb a { color: var(--lb-text-muted); }
.lb-breadcrumb a:hover { color: var(--lb-primary); }
.lb-breadcrumb__sep { margin: 0 0.25rem; opacity: 0.4; }
.lb-breadcrumb__current { color: var(--lb-text); }

/* =====================================================
   FOOTER
   ===================================================== */
.lb-footer {
  background: var(--lb-secondary);
  border-top: 1px solid var(--lb-border);
  padding: 4rem 0 0;
  margin-top: 5rem;
}
.lb-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .lb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lb-footer__grid { grid-template-columns: 1fr; } }
.lb-footer__brand p { font-size: 0.9rem; color: var(--lb-text-muted); margin-top: 1rem; line-height: 1.8; }
.lb-footer__col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--lb-text-muted); margin-bottom: 1rem; }
.lb-footer__col ul { list-style: none; padding: 0; }
.lb-footer__col ul li { margin-bottom: 0.5rem; }
.lb-footer__col ul li a { color: var(--lb-text-muted); font-size: 0.9rem; }
.lb-footer__col ul li a:hover { color: var(--lb-primary); }
.lb-footer__bottom {
  border-top: 1px solid var(--lb-border);
  padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--lb-text-muted);
}
.lb-footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.lb-footer__links a { color: var(--lb-text-muted); }
.lb-footer__links a:hover { color: #fff; }
.lb-footer__rg { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 1rem; border-top: 1px solid var(--lb-border); padding-top: 1rem; }

/* =====================================================
   BUTTONS
   ===================================================== */
.lb-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--lb-transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.lb-btn--primary { background: var(--lb-primary); color: #fff; box-shadow: 0 4px 16px rgba(255,107,0,0.4); }
.lb-btn--primary:hover { background: var(--lb-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,0,0.5); color: #fff; }
.lb-btn--outline { border-color: var(--lb-primary); color: var(--lb-primary); background: transparent; }
.lb-btn--outline:hover { background: var(--lb-primary); color: #fff; }
.lb-btn--sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.lb-btn--lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.lb-btn--full { width: 100%; justify-content: center; }

/* Section image helpers */
.lb-section-img { width: 100%; height: auto; display: block; border-radius: var(--lb-radius); margin-bottom: 1.5rem; }
.lb-authority-block { background: rgba(255,255,255,.03); border: 1px solid var(--lb-border); border-radius: var(--lb-radius-sm); padding: 1rem 1.25rem; margin-top: 1.5rem; }

/* =====================================================
   IA REVIEWS SUMMARY (page-avis.php)
   ===================================================== */
.lb-ia-summary {
  background: linear-gradient(135deg, rgba(229,0,43,.06) 0%, rgba(20,20,25,.8) 100%);
  border: 1px solid rgba(229,0,43,.25);
  border-left: 4px solid var(--lb-primary);
  border-radius: var(--lb-radius);
  margin: 1.5rem 0 2rem;
  overflow: hidden;
}
.lb-ia-summary__badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--lb-primary);
  background: rgba(229,0,43,.1);
  padding: .55rem 1.25rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(229,0,43,.15);
}
.lb-ia-summary__badge svg { flex-shrink: 0; color: var(--lb-primary); }
.lb-ia-summary__header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem 1rem;
  flex-wrap: wrap;
}
.lb-ia-summary__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  min-width: 80px;
}
.lb-ia-summary__score-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--lb-text);
  line-height: 1;
}
.lb-ia-summary__score-denom {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--lb-text-muted);
}
.lb-ia-summary__stars {
  font-size: 1.1rem;
  color: #facc15;
  letter-spacing: .05em;
}
.lb-ia-summary__source {
  font-size: .75rem;
  color: var(--lb-text-muted);
  white-space: nowrap;
}
.lb-ia-summary__bars {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.lb-ia-bar-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
}
.lb-ia-bar-label {
  width: 2rem;
  color: var(--lb-text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  flex-shrink: 0;
}
.lb-ia-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
}
.lb-ia-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .4s ease;
}
.lb-ia-bar-pct {
  width: 2.5rem;
  color: var(--lb-text-muted);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.lb-ia-summary__body {
  padding: 0 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.lb-ia-summary__body p {
  font-size: .9rem;
  color: var(--lb-text-muted);
  line-height: 1.65;
  margin: 0;
}
.lb-ia-summary__body p strong { color: var(--lb-text); }
.lb-ia-summary__verdict {
  background: rgba(229,0,43,.07);
  border-radius: var(--lb-radius-sm);
  padding: .75rem 1rem !important;
  color: var(--lb-text) !important;
  font-size: .88rem !important;
}
.lb-ia-summary__alert {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .78rem;
  color: var(--lb-text-muted);
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: .75rem 1.5rem;
  line-height: 1.5;
}
.lb-ia-summary__alert svg { flex-shrink: 0; margin-top: .1rem; color: #facc15; }
.lb-ia-summary__alert strong { color: var(--lb-text); }

/* =====================================================
   NOTICE BOX
   ===================================================== */
.lb-notice {
  border-radius: var(--lb-radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: 1.5rem 0;
}
.lb-notice--info { background: rgba(100,149,237,0.1); border: 1px solid rgba(100,149,237,0.2); color: #a0b4e0; }
.lb-notice--success { background: rgba(0,200,81,0.1); border: 1px solid rgba(0,200,81,0.2); color: #80d4a0; }
.lb-notice--warning { background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.2); color: #d4b800; }

/* =====================================================
   SECTION TITLES
   ===================================================== */
.lb-section-title { text-align: center; margin-bottom: 3rem; }
.lb-section-title h2 { margin-top: 0; }
.lb-section-title p { color: var(--lb-text-muted); max-width: 560px; margin: 0 auto; }
.lb-section-badge {
  display: inline-block;
  background: rgba(255,107,0,0.15); color: var(--lb-primary);
  padding: 3px 12px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 0.75rem;
}

/* =====================================================
   PRE-FOOTER
   ===================================================== */
.lb-prefooter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lb-prefooter__title {
  font-size: .9rem;
  color: var(--lb-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* =====================================================
   PAYMENT LOGOS
   ===================================================== */
.lb-payments {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  align-items: center; justify-content: center;
  margin: 2rem 0;
}
.lb-payment-pill {
  background: var(--lb-bg-light);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.85rem; font-weight: 600; color: var(--lb-text);
}

/* =====================================================
   SEARCH
   ===================================================== */
.lb-search-form { position: relative; }
.lb-search-form input {
  width: 100%; padding: 0.875rem 1rem 0.875rem 3rem;
  background: var(--lb-bg-light); border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius); color: var(--lb-text); font-size: 0.95rem;
  outline: none; transition: var(--lb-transition);
}
.lb-search-form input:focus { border-color: var(--lb-primary); }
.lb-search-form::before { content: '🔍'; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* =====================================================
   SKIP LINK (Accessibility)
   ===================================================== */
.lb-skip { position: absolute; top: -40px; left: 0; background: var(--lb-primary); color: #fff; padding: 0.5rem 1rem; z-index: 9999; border-radius: 0 0 var(--lb-radius-sm) 0; }
.lb-skip:focus { top: 0; }

/* =====================================================
   UTILITIES
   ===================================================== */
.lb-text-center { text-align: center; }
.lb-text-muted { color: var(--lb-text-muted); }
.lb-text-primary { color: var(--lb-primary); }
.lb-text-accent { color: var(--lb-accent); }
.lb-text-green { color: var(--lb-green); }
.lb-mt-0 { margin-top: 0; }
.lb-mb-0 { margin-bottom: 0; }
.lb-hidden { display: none; }
.lb-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ── Tablette large (1024px) ── */
@media (max-width: 1024px) {
  .lb-layout { grid-template-columns: 1fr; }
  .lb-sidebar { display: none; }
  .lb-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .lb-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablette / mobile large (768px) ── */
@media (max-width: 768px) {
  .lb-container { padding: 0 1rem; }
  .lb-section { padding: 2rem 0; }
  .lb-section--lg { padding: 3rem 0; }
  .lb-hero { padding: 2.5rem 0 2rem; }
  .lb-hero__title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .lb-hero__actions { flex-direction: column; align-items: stretch; }
  .lb-hero__cta-main, .lb-hero__cta-secondary { width: 100%; justify-content: center; text-align: center; }
  .lb-hero__bonus-strip { gap: .5rem; }
  .lb-bonus-pill { padding: .5rem .4rem; }
  .lb-bonus-pill__value { font-size: 1rem; }
  .lb-grid--3, .lb-grid--2 { grid-template-columns: 1fr; }
  .lb-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .lb-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .lb-footer__brand { grid-column: 1 / -1; }
  .lb-footer__bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .lb-footer__links { flex-wrap: wrap; gap: 1rem; }
  .lb-table th, .lb-table td { padding: .5rem .6rem; font-size: .82rem; }
  .lb-steps { gap: 1rem; }
  .lb-step { flex-direction: row; gap: 1rem; }
  .lb-step__number { width: 40px; height: 40px; font-size: 1rem; }
  .lb-toc { padding: 1rem; font-size: .9rem; }
  .lb-tldr { padding: 1rem; }
  .lb-eeat-bar { flex-wrap: wrap; gap: .4rem; font-size: .78rem; }
  .lb-page-hero { padding: 2rem 0 1.5rem; }
  .lb-author-box { flex-direction: column; }
  .lb-rating-box { flex-direction: column; padding: 1.5rem; }
  .lb-rating-box__score { font-size: 3rem; }
  .lb-bonus-card { margin: 0; }
  .lb-prefooter__inner { flex-direction: column; gap: .75rem; }
  /* Buttons — touch targets 44px minimum sur tous les variants */
  .lb-btn { touch-action: manipulation; min-height: 44px; justify-content: center; }
  .lb-btn--lg { min-height: 48px; }
  .lb-btn--sm { min-height: 40px; }
  .lb-faq__question { min-height: 44px; }
  .lb-blog-filter-btn { min-height: 44px; }
  input, select, textarea { min-height: 44px; }
  /* Promo code box */
  .lb-promo-box { padding: 1.5rem 1rem; }
  .lb-promo-code { width: 100%; justify-content: center; flex-wrap: wrap; }
  /* Trust bar */
  .lb-trust-bar__inner { gap: 1rem; }
  /* Bonus card compact */
  .lb-bonus-card__header { padding: .875rem 1rem; }
  .lb-bonus-card__body { padding: 1rem; }
}

/* ── Mobile (480px) ── */
@media (max-width: 480px) {
  .lb-grid--4 { grid-template-columns: 1fr; }
  .lb-hero__bonus-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .lb-bonus-pill { padding: .6rem .5rem; }
  .lb-bonus-pill__value { font-size: 1.1rem; }
  .lb-eeat-bar { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .lb-eeat-bar__sep { display: none; }
  .lb-tldr { padding: 1rem; }
  .lb-tldr__list li { font-size: .85rem; }
  .lb-footer__grid { grid-template-columns: 1fr; }
  .lb-footer__authority-links { flex-direction: column; align-items: flex-start; }
  .lb-footer__geo-links { gap: .35rem; }
  .lb-footer__geo-link { font-size: .75rem; padding: .25rem .5rem; }
  .lb-footer__apps { flex-wrap: wrap; }
  .lb-footer__bottom { font-size: .75rem; }
  .lb-footer__links { gap: .75rem; }
  .lb-prefooter__inner { flex-direction: column; gap: .75rem; }
  .lb-payments { gap: .4rem; }
  .lb-payment-pill { font-size: .75rem; padding: .25rem .5rem; }
  .lb-nav__cta { padding: .4rem .7rem; font-size: .82rem; }
  /* Nav login touch target dans le menu hamburger */
  .lb-nav__login { min-height: 44px; display: flex; align-items: center; }
  .lb-table-wrap { margin: 1rem -1rem; border-radius: 0; }
  h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  h2 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  /* Tous les boutons */
  .lb-btn { font-size: .9rem; padding: .75rem 1.1rem; }
  .lb-btn--lg { padding: .875rem 1.5rem; font-size: .95rem; }
  .lb-btn--sm { padding: .5rem 1rem; font-size: .82rem; min-height: 40px; }
  .lb-container { padding: 0 1rem; }
  .lb-hero__subtitle { font-size: 1rem; }
  .lb-snippet-box { padding: 1rem; }
  .lb-definition { padding: 1rem; }
  .lb-faq__question { font-size: .9rem; padding: .9rem 1rem; }
  .lb-table { font-size: .82rem; }
  /* Blog featured */
  .lb-blog-featured { flex-direction: column; }
  .lb-blog-featured__img { min-width: unset; width: 100%; height: 200px; object-fit: cover; }
  /* IA review */
  .lb-ia-summary__header { flex-direction: column; gap: 1rem; }
  .lb-ia-summary__bars { min-width: unset; width: 100%; }
  .lb-rating-criteria__bar { margin: 0 .5rem; }
  /* Bonus card */
  .lb-bonus-card__amount { font-size: 1.8rem; }
  /* Trust bar */
  .lb-trust-bar__inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
  /* Promo box */
  .lb-promo-box { padding: 1.25rem .875rem; }
  .lb-promo-code { font-size: 1.2rem; padding: .75rem 1rem; letter-spacing: 1px; }
}

/* =====================================================
   PRINT
   ===================================================== */
@media print {
  .lb-header, .lb-footer, .lb-sidebar, .lb-hero__actions { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
