/* ============================================================
   BOOSTIFYSEO — main.css
   Architecture :
     1. Variables & Reset
     2. Base (html, body, typo)
     3. Composants globaux (g-bar, logo, nav, footer, reveal)
     4. Boutons & formulaires
     5. Cartes & grilles génériques
     6. FAQ
     7. Page : Landing
     8. Page : Produit
     9. Page : Dashboard
    10. Media queries
   ============================================================ */


/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette Google */
  --blue:       #4285F4;
  --blue-dark:  #1a73e8;
  --red:        #EA4335;
  --yellow:     #FBBC05;
  --yellow-dark:#9A6700;
  --green:      #34A853;

  /* Neutres */
  --dark:       #202124;
  --grey1:      #5F6368;
  --grey2:      #BDC1C6;
  --grey3:      #F8F9FA;
  --border:     #DADCE0;
  --white:      #FFFFFF;

  /* Teintes de fond colorées */
  --blue-bg:    #E8F0FE;
  --red-bg:     #FCE8E6;
  --yellow-bg:  #FEF9E7;
  --green-bg:   #E6F4EA;
  --green-border:#CEEAD6;

  /* Textes sur fond couleur */
  --on-blue:    #1967D2;
  --on-red:     var(--red);
  --on-yellow:  var(--yellow-dark);
  --on-green:   var(--green);

  /* Étoiles */
  --star:       #F9AB00;

  /* Dashboard sidebar */
  --sidebar-w:  240px;

  /* Ombres */
  --shadow-sm:  0 2px 12px rgba(60,64,67,.08);
  --shadow-md:  0 4px 20px rgba(60,64,67,.12);
  --shadow-lg:  0 8px 40px rgba(60,64,67,.15);
}


/* ============================================================
   2. BASE
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--dark);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Google Sans Display', sans-serif;
  letter-spacing: -.02em;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ============================================================
   3. COMPOSANTS GLOBAUX
   ============================================================ */

/* ── Barre de couleurs Google ── */
.g-bar {
  display: flex;
  height: 4px;
  flex-shrink: 0;
}
.g-bar span { flex: 1; }
.g-bar .b { background: var(--blue); }
.g-bar .r { background: var(--red); }
.g-bar .y { background: var(--yellow); }
.g-bar .g { background: var(--green); }

/* ── Logo multicolore ── */
.logo {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1px;
  letter-spacing: -.01em;
  text-decoration: none;
}
.logo .l-b { color: var(--blue); }
.logo .l-r { color: var(--red); }
.logo .l-y { color: var(--yellow); }
.logo .l-g { color: var(--green); }
.logo .l-seo { color: var(--grey1); font-weight: 400; }

/* ── Navigation principale (landing + produit) ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
}

.nav-cta {
  background: var(--blue);
  color: var(--white);
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 1px 6px rgba(60,64,67,.3);
  text-decoration: none;
}

/* Fil d'Ariane (page produit) */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--grey1);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  background: var(--grey3);
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  text-align: center;
}
.footer-logo {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
footer p { font-size: .8rem; color: var(--grey1); }
footer a { color: var(--blue); text-decoration: none; margin: 0 8px; }
footer a:hover { text-decoration: underline; }

/* ── Animations scroll ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Mockup SERP Google (partagé landing + produit) ── */
.search-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--grey3);
}
.search-text { font-size: .92rem; color: var(--dark); flex: 1; }
.search-text span { color: var(--grey2); }

.map-pack { padding: 14px 16px; border-bottom: 1px solid var(--border); background: #FAFAFA; }
.map-label { font-size: .72rem; color: var(--grey1); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; font-weight: 500; }
.map-result { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; margin-bottom: 6px; border: 1px solid var(--border); background: var(--white); }
.map-result.top { border-color: var(--green); background: #F6FEF8; }
.map-rank { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.r1 { background: var(--green); color: white; }
.r2 { background: var(--blue-bg); color: var(--blue); }
.r3 { background: var(--grey3); color: var(--grey1); }
.map-name { font-size: .88rem; font-weight: 500; }
.map-name.green { color: var(--green); }
.map-meta { font-size: .76rem; color: var(--grey1); margin-top: 2px; }
.map-stars { color: var(--star); font-size: .76rem; }
.rank-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--green-bg); color: var(--green); font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 12px; }

.serp-results { padding: 14px 16px; }
.serp-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.serp-item:last-child { border-bottom: none; }
.serp-url { font-size: .7rem; color: var(--grey1); margin-bottom: 2px; }
.serp-title { font-size: .92rem; color: var(--blue); margin-bottom: 3px; }
.serp-desc { font-size: .78rem; color: var(--grey1); line-height: 1.5; }

/* ── Statistiques (bande partagée) ── */
.stats-band {
  background: var(--grey3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 48px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-val {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .85rem; color: var(--grey1); }

/* ── Témoignages (partagés landing + produit) ── */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 48px; }
.proof-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: box-shadow .2s; }
.proof-card:hover { box-shadow: var(--shadow-md); }
.proof-stars { color: var(--star); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.proof-text { font-size: .92rem; color: var(--dark); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.proof-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Google Sans', sans-serif; font-weight: 600; font-size: .88rem; flex-shrink: 0; }
.proof-name { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; }
.proof-role { font-size: .78rem; color: var(--grey1); }


/* ============================================================
   4. BOUTONS & FORMULAIRES
   ============================================================ */

/* Boutons principaux */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(66,133,244,.4);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue);
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: 28px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-secondary:hover { background: var(--grey3); text-decoration: none; }

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 18px 40px;
  border-radius: 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  width: 100%;
  max-width: 380px;
}
.btn-buy:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(66,133,244,.45);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  padding: 10px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-save:hover { background: var(--blue-dark); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--red);
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  padding: 10px 24px;
  border-radius: 24px;
  border: 1px solid var(--red);
  cursor: pointer;
  transition: background .2s;
}
.btn-danger:hover { background: var(--red-bg); }

.btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  padding: 10px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-tool:hover { background: var(--blue-dark); }

/* Formulaires */
.input-group { margin-bottom: 16px; }
.input-label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
  display: block;
}
.input-field, .form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input-field:focus, .form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(66,133,244,.12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .82rem; font-weight: 500; color: var(--dark); }

/* Toggle */
.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--grey2); border-radius: 24px; cursor: pointer; transition: background .2s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: transform .2s; }
.toggle input:checked + .toggle-slider { background: var(--blue); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }


/* ============================================================
   5. CARTES & GRILLES GÉNÉRIQUES
   ============================================================ */

.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.card-pad { padding: 24px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }

/* Section label/titre partagés */
.section-label, .sec-label {
  font-family: 'Google Sans', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Google Sans Display', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--grey1);
  max-width: 560px;
  line-height: 1.7;
}
.sec-title {
  font-family: 'Google Sans Display', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.sec-body { font-size: .95rem; color: var(--grey1); line-height: 1.8; margin-bottom: 16px; }

/* Cartes douleur */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 48px; }
.pain-card { background: var(--grey3); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; transition: box-shadow .2s, transform .2s; }
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pain-icon { font-size: 1.8rem; margin-bottom: 14px; }
.pain-card h3 { font-family: 'Google Sans', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.pain-card p { font-size: .87rem; color: var(--grey1); line-height: 1.65; }

/* Cartes modules */
.modules-bg { background: var(--grey3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 48px; }
.modules-inner { max-width: 1100px; margin: 0 auto; }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 16px; margin-top: 48px; }
.module-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.module-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.module-accent { position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.module-num { font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--grey1); margin-bottom: 8px; padding-left: 8px; }
.module-card h3 { font-family: 'Google Sans', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; padding-left: 8px; }
.module-card p { font-size: .87rem; color: var(--grey1); line-height: 1.65; margin-bottom: 14px; padding-left: 8px; }
.module-list { list-style: none; padding-left: 8px; }
.module-list li { font-size: .83rem; color: var(--grey1); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.module-list li:last-child { border-bottom: none; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* Offre partagée */
.offer-section { padding: 80px 48px; max-width: 760px; margin: 0 auto; text-align: center; }
.offer-box { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 56px 48px; box-shadow: var(--shadow-lg); }
.offer-badge { display: inline-flex; align-items: center; gap: 6px; background: #FFF8E1; color: #E37400; font-family: 'Google Sans', sans-serif; font-size: .78rem; font-weight: 600; padding: 6px 14px; border-radius: 16px; margin-bottom: 24px; }
.offer-box h2 { font-family: 'Google Sans Display', sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 12px; }
.offer-box > p { color: var(--grey1); font-size: .95rem; margin-bottom: 32px; }
.offer-includes { text-align: left; background: var(--grey3); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.include-item { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--dark); }
.include-icon { font-size: 1rem; flex-shrink: 0; }
.offer-price { margin-bottom: 28px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 6px; }
.price-main { font-family: 'Google Sans Display', sans-serif; font-size: 3.5rem; font-weight: 700; color: var(--dark); letter-spacing: -.04em; line-height: 1; }
.price-strike { font-size: 1.3rem; text-decoration: line-through; color: var(--grey2); }
.price-save { font-size: .82rem; color: var(--green); font-weight: 500; margin-bottom: 4px; }
.price-note { font-size: .82rem; color: var(--grey1); }
.guarantee { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: .82rem; color: var(--grey1); }
.guarantee-mini { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .78rem; color: var(--grey1); }

/* Badges de difficulté SEO */
.diff-badge { font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 10px; }
.diff-easy   { background: var(--green-bg); color: var(--green); }
.diff-medium { background: var(--yellow-bg); color: var(--yellow-dark); }
.diff-hard   { background: var(--red-bg); color: var(--red); }

/* Barre de progression */
.progress-section { margin: 24px 0; }
.progress-item { margin-bottom: 16px; }
.progress-label { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 6px; }
.progress-label span { color: var(--grey1); }
.progress-track { height: 8px; background: var(--grey3); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.progress-fill { height: 100%; border-radius: 8px; transition: width 1s ease; }

/* Résultats outil */
.result-box { background: var(--grey3); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-top: 20px; }
.result-score { font-family: 'Google Sans', sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.result-label { font-size: .85rem; color: var(--grey1); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.result-item { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; }
.result-item-icon { font-size: .9rem; margin-bottom: 4px; }
.result-item-label { font-size: .75rem; color: var(--grey1); margin-bottom: 2px; }
.result-item-val { font-family: 'Google Sans', sans-serif; font-size: .9rem; font-weight: 600; }


/* ============================================================
   6. FAQ (partagée)
   ============================================================ */

.faq-section { padding: 80px 48px; max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--dark); font-family: 'Google Sans', sans-serif;
  font-size: .97rem; font-weight: 500; text-align: left;
  padding: 20px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  transition: transform .3s;
  color: var(--blue); background: var(--blue-bg);
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  color: var(--grey1); font-size: .92rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }


/* ============================================================
   7. PAGE : LANDING
   ============================================================ */

/* Wrapper section */
.section { padding: 80px 48px; max-width: 1100px; margin: 0 auto; }

/* Hero */
.hero {
  padding: 80px 48px 72px;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-bg); color: var(--blue);
  font-family: 'Google Sans', sans-serif; font-size: .8rem; font-weight: 500;
  padding: 6px 14px; border-radius: 16px; margin-bottom: 24px;
  animation: fadeUp .5s ease both;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp .5s .1s ease both;
}
.hero-sub {
  font-size: 1.05rem; color: var(--grey1); line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeUp .5s .2s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fadeUp .5s .3s ease both;
}
.hero-trust {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px; font-size: .82rem; color: var(--grey1);
  animation: fadeUp .5s .4s ease both;
}
.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--grey2); }


/* ============================================================
   8. PAGE : PRODUIT
   ============================================================ */

/* Hero produit */
.product-hero { background: var(--grey3); border-bottom: 1px solid var(--border); padding: 56px 48px; }
.product-hero-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }

/* Aperçu PDF */
.pdf-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pdf-cover { background: #0D1117; padding: 40px 32px; text-align: center; position: relative; overflow: hidden; }
.pdf-cover-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.08) 1px, transparent 1px); background-size: 32px 32px; }
.pdf-cover-title { position: relative; font-family: 'Google Sans Display', sans-serif; font-size: 1.6rem; font-weight: 700; color: white; line-height: 1.2; margin-bottom: 8px; }
.pdf-cover-title span { color: var(--green); }
.pdf-cover-sub { position: relative; font-size: .82rem; color: #94A3B8; margin-bottom: 24px; }
.pdf-cover-pills { position: relative; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pdf-pill { background: rgba(255,255,255,.1); color: #CBD5E1; font-size: .7rem; font-weight: 500; padding: 5px 12px; border-radius: 12px; }

.pdf-pages { display: flex; flex-direction: column; }
.pdf-page { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; cursor: pointer; transition: background .15s; }
.pdf-page:last-child { border-bottom: none; }
.pdf-page:hover { background: var(--grey3); }
.pdf-page.active { background: var(--blue-bg); }
.page-num { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex-shrink: 0; color: white; }
.page-info { flex: 1; min-width: 0; }
.page-title { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-sub { font-size: .75rem; color: var(--grey1); margin-top: 2px; }
.page-arrow { color: var(--grey2); font-size: .9rem; }
.pdf-page.active .page-arrow { color: var(--blue); }

/* Infos produit */
.product-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-bg); color: var(--blue); font-family: 'Google Sans', sans-serif; font-size: .76rem; font-weight: 500; padding: 5px 12px; border-radius: 14px; margin-bottom: 16px; }
.product-title { font-family: 'Google Sans Display', sans-serif; font-size: 2.2rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.product-desc { font-size: .97rem; color: var(--grey1); line-height: 1.75; margin-bottom: 24px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--grey1); }
.meta-dot { width: 6px; height: 6px; border-radius: 50%; }

/* Carte d'offre (colonne droite) */
.offer-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-sm); }
.offer-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.offer-price-row .price-main { font-size: 2.6rem; }
.offer-price-row .price-strike { font-size: 1.1rem; text-decoration: line-through; color: var(--grey2); }
.offer-price-row .price-save { display: inline-block; background: var(--green-bg); color: var(--green); font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 12px; margin-bottom: 16px; }
.btn-preview { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--white); color: var(--blue); font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: 1rem; padding: 15px; border-radius: 28px; border: 1px solid var(--border); text-decoration: none; transition: background .2s; }
.btn-preview:hover { background: var(--grey3); }
.offer-includes-mini { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }
.include-mini { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: var(--grey1); }

/* Onglets */
.tabs-wrap { border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 64px; z-index: 90; }
.tabs-inner { max-width: 1160px; margin: 0 auto; padding: 0 48px; display: flex; }
.tab { font-family: 'Google Sans', sans-serif; font-size: .9rem; font-weight: 500; color: var(--grey1); padding: 16px 20px; cursor: pointer; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; text-decoration: none; display: block; }
.tab:hover { color: var(--blue); text-decoration: none; }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Zone de contenu */
.content-wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1fr 340px; gap: 48px; }
.main-content { padding: 48px 0; }
.content-section { margin-bottom: 56px; }
.content-section:last-child { margin-bottom: 0; }

/* Extrait PDF simulé */
.pdf-extract { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 24px 0; box-shadow: var(--shadow-sm); }
.pdf-extract-header { background: var(--dark); color: white; padding: 12px 20px; display: flex; align-items: center; gap: 10px; }
.pdf-extract-header span { font-family: 'Google Sans', sans-serif; font-size: .8rem; color: #94A3B8; }
.pdf-extract-header strong { font-family: 'Google Sans', sans-serif; font-size: .88rem; color: white; }
.pdf-dots { display: flex; gap: 5px; margin-right: 4px; }
.pdf-dots span { width: 8px; height: 8px; border-radius: 50%; }
.pdf-body { padding: 28px 32px; }
.pdf-h1 { font-family: 'Google Sans Display', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.pdf-chapter-num { font-family: 'Google Sans', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1; flex-shrink: 0; }
.pdf-text { font-size: .88rem; color: #374151; line-height: 1.75; margin-bottom: 14px; }
.pdf-checklist { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.pdf-check-item { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: #374151; }
.check-box { width: 16px; height: 16px; border: 1.5px solid var(--border); border-radius: 3px; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; }
.check-box.done { background: var(--green); border-color: var(--green); }
.check-box.done::after { content: '✓'; color: white; font-size: .65rem; font-weight: 700; }
.pdf-tip { background: var(--blue-bg); border-left: 3px solid var(--blue); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; }
.pdf-tip-label { font-family: 'Google Sans', sans-serif; font-size: .75rem; font-weight: 600; color: var(--blue); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.pdf-tip-text { font-size: .84rem; color: var(--dark); line-height: 1.6; }
.pdf-blur { position: relative; }
.pdf-blur-content { filter: blur(5px); user-select: none; pointer-events: none; opacity: .5; }
.pdf-blur-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.pdf-blur-badge { background: var(--dark); color: white; font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 500; padding: 10px 20px; border-radius: 24px; }
.pdf-blur-sub { font-size: .78rem; color: var(--grey1); }

/* Table de structure */
.structure-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .88rem; }
.structure-table th { background: var(--dark); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: .8rem; text-align: left; padding: 12px 16px; }
.structure-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--dark); vertical-align: top; }
.structure-table tr:last-child td { border-bottom: none; }
.structure-table tr:nth-child(even) td { background: var(--grey3); }
.module-tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 10px; }

/* Aperçu miniatures */
.pages-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.page-thumb { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.page-thumb:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(66,133,244,.15); }
.page-thumb.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(66,133,244,.15); }
.thumb-top { height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; }
.thumb-title { font-family: 'Google Sans', sans-serif; font-size: .62rem; font-weight: 600; text-align: center; line-height: 1.3; }
.thumb-lines { display: flex; flex-direction: column; gap: 2px; width: 80%; margin-top: 4px; }
.thumb-line { height: 3px; border-radius: 2px; background: var(--border); }
.thumb-line.short { width: 60%; }
.thumb-bottom { border-top: 1px solid var(--border); padding: 5px 8px; font-size: .62rem; color: var(--grey1); text-align: center; }

/* Avis produit */
.reviews-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.review-card { background: var(--grey3); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Google Sans', sans-serif; font-weight: 600; font-size: .82rem; flex-shrink: 0; }
.review-name { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; }
.review-role { font-size: .75rem; color: var(--grey1); }
.review-stars { color: var(--star); font-size: .88rem; }
.review-text { font-size: .88rem; color: var(--dark); line-height: 1.7; }
.review-verified { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--green); margin-top: 8px; }

/* Sidebar produit */
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 16px; }
.sidebar-title { font-family: 'Google Sans', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 16px; }
.sidebar-offer-price { font-family: 'Google Sans', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--dark); letter-spacing: -.04em; margin-bottom: 4px; }
.sidebar-strike { font-size: .95rem; text-decoration: line-through; color: var(--grey2); margin-bottom: 16px; display: block; }
.sidebar-toc { display: flex; flex-direction: column; }
.toc-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .85rem; color: var(--dark); text-decoration: none; transition: color .15s; }
.toc-item:last-child { border-bottom: none; }
.toc-item:hover { color: var(--blue); }
.toc-num { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: white; flex-shrink: 0; }
.toc-text { flex: 1; }
.toc-pages { font-size: .75rem; color: var(--grey2); }


/* ============================================================
   9. PAGE : DASHBOARD
   ============================================================ */

/* Layout global dashboard */
html.dashboard, body.dashboard { height: 100%; overflow: hidden; }
body.dashboard { background: var(--grey3); display: flex; flex-direction: column; }
.app-body { display: flex; flex: 1; overflow: hidden; }

/* Top nav dashboard */
.topnav { height: 56px; flex-shrink: 0; background: var(--white); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 20px; gap: 16px; z-index: 200; }
.hamburger { background: none; border: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--grey1); font-size: 1.2rem; transition: background .2s; }
.hamburger:hover { background: var(--grey3); }
.logo-top { font-family: 'Google Sans', sans-serif; font-size: 1.2rem; font-weight: 700; margin-right: auto; }
.search-bar-top { display: flex; align-items: center; gap: 8px; background: var(--grey3); border: 1px solid var(--border); border-radius: 24px; padding: 8px 18px; width: 380px; transition: border-color .2s, box-shadow .2s; }
.search-bar-top:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(66,133,244,.15); background: var(--white); }
.search-bar-top input { background: none; border: none; outline: none; font-family: 'Roboto', sans-serif; font-size: .9rem; color: var(--dark); width: 100%; }
.search-bar-top input::placeholder { color: var(--grey2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: .88rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.notif-btn { width: 36px; height: 36px; border-radius: 50%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--grey1); font-size: 1.1rem; transition: background .2s; position: relative; }
.notif-btn:hover { background: var(--grey3); }
.notif-dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; border: 2px solid white; }

/* Sidebar dashboard */
.dash-sidebar { width: var(--sidebar-w); background: var(--white); border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; flex-shrink: 0; transition: width .25s ease; }
.dash-sidebar.collapsed { width: 60px; }
.sidebar-section { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; flex: 1; }
.sidebar-label { font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--grey2); padding: 8px 16px 4px; white-space: nowrap; overflow: hidden; transition: opacity .2s; }
.dash-sidebar.collapsed .sidebar-label { opacity: 0; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; border-radius: 0 24px 24px 0; margin: 2px 8px 2px 0; color: var(--grey1); font-size: .9rem; font-family: 'Roboto', sans-serif; transition: background .15s, color .15s; white-space: nowrap; overflow: hidden; text-decoration: none; }
.nav-item:hover { background: var(--grey3); color: var(--dark); }
.nav-item.active { background: var(--blue-bg); color: var(--blue); font-weight: 500; }
.nav-icon { font-size: 1.1rem; flex-shrink: 0; width: 20px; text-align: center; }
.nav-text { transition: opacity .2s; }
.dash-sidebar.collapsed .nav-text { opacity: 0; width: 0; }
.nav-badge { margin-left: auto; background: var(--blue); color: white; font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; flex-shrink: 0; }
.dash-sidebar.collapsed .nav-badge { display: none; }

/* Progression sidebar */
.sidebar-progress { padding: 12px 16px; }
.dash-sidebar.collapsed .sidebar-progress { display: none; }
.prog-label { display: flex; justify-content: space-between; font-size: .78rem; color: var(--grey1); margin-bottom: 6px; }
.prog-track { height: 6px; background: var(--grey3); border-radius: 6px; border: 1px solid var(--border); overflow: hidden; }
.prog-fill { height: 100%; border-radius: 6px; background: var(--green); }
.prog-modules { display: flex; gap: 3px; margin-top: 6px; }
.prog-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.prog-dot.done { background: var(--green); }

/* Main dashboard */
.main { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 28px 32px; }
.page { display: none; animation: fadeIn .25s ease; }
.page.active { display: block; }
.page-title { font-family: 'Google Sans Display', sans-serif; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.page-sub { font-size: .92rem; color: var(--grey1); margin-bottom: 28px; }

/* Stat cards dashboard */
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.stat-icon { font-size: 1.4rem; margin-bottom: 10px; }
.stat-change { font-size: .75rem; margin-top: 6px; }
.stat-change.up { color: var(--green); }
.stat-change.down { color: var(--red); }

/* Section head */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sec-head h3 { font-family: 'Google Sans', sans-serif; font-size: 1rem; font-weight: 600; }
.sec-head a { font-size: .82rem; color: var(--blue); text-decoration: none; }
.sec-head a:hover { text-decoration: underline; }

/* Module progress dashboard */
.module-progress { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: box-shadow .2s; }
.module-progress:hover { box-shadow: var(--shadow-md); }
.mod-num { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0; }
.mod-info { flex: 1; }
.mod-title { font-family: 'Google Sans', sans-serif; font-size: .92rem; font-weight: 600; margin-bottom: 6px; }
.mod-bar { height: 6px; background: var(--grey3); border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.mod-bar-fill { height: 100%; border-radius: 6px; }
.mod-pct { font-size: .75rem; color: var(--grey1); margin-top: 4px; }
.mod-status { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 12px; flex-shrink: 0; }
.status-done { background: var(--green-bg); color: var(--green); }
.status-wip  { background: var(--blue-bg); color: var(--blue); }
.status-todo { background: var(--grey3); color: var(--grey1); }

/* Lecteur PDF dashboard */
.pdf-reader-wrap { display: flex; gap: 20px; height: calc(100vh - 140px); }
.pdf-toc-panel { width: 220px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow-y: auto; flex-shrink: 0; }
.toc-header { padding: 16px; border-bottom: 1px solid var(--border); font-family: 'Google Sans', sans-serif; font-size: .9rem; font-weight: 600; }
.toc-entry { padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.toc-entry:hover { background: var(--grey3); }
.toc-entry.active { background: var(--blue-bg); }
.toc-entry-num { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey2); margin-bottom: 2px; }
.toc-entry-title { font-family: 'Google Sans', sans-serif; font-size: .84rem; font-weight: 500; }
.toc-entry-pages { font-size: .72rem; color: var(--grey2); margin-top: 2px; }
.toc-entry.active .toc-entry-title { color: var(--blue); }
.pdf-viewer { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pdf-toolbar { padding: 12px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; background: var(--white); }
.pdf-toolbar-title { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; flex: 1; }
.pdf-nav-btn { background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: .82rem; color: var(--grey1); transition: background .15s; display: flex; align-items: center; gap: 4px; }
.pdf-nav-btn:hover { background: var(--grey3); }
.pdf-nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.pdf-page-indicator { font-size: .82rem; color: var(--grey1); font-family: 'Roboto Mono', monospace; }
.pdf-zoom-btn { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 6px; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--grey1); transition: background .15s; }
.pdf-zoom-btn:hover { background: var(--grey3); }
.pdf-content-area { flex: 1; overflow-y: auto; padding: 32px; background: #E8EAED; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pdf-page-render { background: var(--white); width: 100%; max-width: 680px; min-height: 900px; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,.15); padding: 60px 64px; position: relative; }
.pdf-page-render.zoom-in { max-width: 820px; }

/* Contenu rendu PDF */
.pdf-r-cover { background: #0D1117; margin: -60px -64px 40px; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.pdf-r-cover-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.08) 1px, transparent 1px); background-size: 28px 28px; }
.pdf-r-cover h1 { position: relative; font-family: 'Google Sans Display', sans-serif; font-size: 2.4rem; font-weight: 700; color: white; line-height: 1.15; }
.pdf-r-cover h1 span { color: var(--green); }
.pdf-r-cover p { position: relative; color: #94A3B8; font-size: .92rem; margin-top: 12px; }
.pdf-r-ch-num { font-family: 'Google Sans Display', sans-serif; font-size: 3.5rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.pdf-r-ch-title { font-family: 'Google Sans Display', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pdf-r-ch-sub { font-size: .9rem; color: var(--grey1); margin-bottom: 24px; }
.pdf-r-divider { height: 4px; border-radius: 2px; width: 48px; margin-bottom: 24px; }
.pdf-r-body { font-size: .92rem; color: #374151; line-height: 1.8; margin-bottom: 16px; }
.pdf-r-h2 { font-family: 'Google Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--dark); margin: 20px 0 10px; }
.pdf-r-tip { border-left: 4px solid; padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; }
.pdf-r-tip-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.pdf-r-tip-body { font-size: .86rem; line-height: 1.65; }
.checklist-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: .88rem; color: #374151; }
.cb { width: 16px; height: 16px; border: 1.5px solid var(--border); border-radius: 3px; flex-shrink: 0; margin-top: 2px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.cb.checked { background: var(--green); border-color: var(--green); }
.cb.checked::after { content: '✓'; color: white; font-size: .65rem; font-weight: 700; }
.pdf-page-num { position: absolute; bottom: 24px; right: 32px; font-size: .75rem; color: var(--grey2); font-family: 'Roboto Mono', monospace; }

/* Outils SEO */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }
.tool-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; cursor: pointer; transition: box-shadow .2s, transform .2s; position: relative; overflow: hidden; }
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.tool-icon { font-size: 2rem; margin-bottom: 14px; }
.tool-title { font-family: 'Google Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.tool-desc { font-size: .84rem; color: var(--grey1); line-height: 1.6; margin-bottom: 16px; }
.tool-btn { display: inline-flex; align-items: center; gap: 6px; font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 500; color: var(--blue); text-decoration: none; }
.tool-tag { display: inline-block; font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 10px; margin-bottom: 12px; }
.tool-active { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 20px; }
.tool-active-header { padding: 16px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.tool-active-title { font-family: 'Google Sans', sans-serif; font-size: 1rem; font-weight: 600; flex: 1; }
.tool-close { background: none; border: none; cursor: pointer; color: var(--grey1); font-size: 1.2rem; padding: 4px; border-radius: 50%; transition: background .15s; }
.tool-close:hover { background: var(--grey3); }
.tool-active-body { padding: 24px; }

/* Keyword table */
.kw-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 16px; }
.kw-table th { background: var(--dark); color: white; font-family: 'Google Sans', sans-serif; font-size: .78rem; font-weight: 500; text-align: left; padding: 10px 14px; }
.kw-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.kw-table tr:last-child td { border-bottom: none; }
.kw-table tr:nth-child(even) td { background: var(--grey3); }

/* GBP Score ring */
.gbp-score-ring { width: 120px; height: 120px; position: relative; margin: 0 auto 20px; }
.gbp-score-ring svg { transform: rotate(-90deg); }
.gbp-score-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gbp-score-num { font-family: 'Google Sans', sans-serif; font-size: 1.8rem; font-weight: 700; }
.gbp-score-label { font-size: .7rem; color: var(--grey1); }
.gbp-criteria { display: flex; flex-direction: column; gap: 10px; }
.gbp-criterion { display: flex; align-items: center; gap: 10px; }
.gbp-crit-icon { font-size: 1rem; flex-shrink: 0; }
.gbp-crit-label { flex: 1; font-size: .86rem; }
.gbp-crit-status { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 10px; }

/* Paramètres */
.settings-layout { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.settings-nav { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 8px 0; align-self: start; }
.settings-nav-item { padding: 10px 16px; font-size: .88rem; cursor: pointer; color: var(--grey1); transition: background .15s, color .15s; display: flex; align-items: center; gap: 10px; }
.settings-nav-item:hover { background: var(--grey3); color: var(--dark); }
.settings-nav-item.active { color: var(--blue); background: var(--blue-bg); font-weight: 500; }
.settings-panel { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.settings-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.settings-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.settings-section h3 { font-family: 'Google Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.settings-section p { font-size: .84rem; color: var(--grey1); margin-bottom: 20px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.toggle-row:last-child { border-bottom: none; }
.toggle-info h4 { font-size: .9rem; font-weight: 500; margin-bottom: 2px; }
.toggle-info p { font-size: .8rem; color: var(--grey1); margin-bottom: 0; }

/* Activité */
.activity-feed { display: flex; flex-direction: column; }
.activity-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: none; }
.activity-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.activity-info { flex: 1; }
.activity-text { font-size: .88rem; color: var(--dark); line-height: 1.5; }
.activity-time { font-size: .75rem; color: var(--grey2); margin-top: 3px; }


/* ============================================================
   10. MEDIA QUERIES
   ============================================================ */

@media (max-width: 1000px) {
  .product-hero-inner,
  .content-wrap { grid-template-columns: 1fr; }
  .tabs-inner { padding: 0 20px; }
  .product-hero { padding: 40px 20px; }
  .main-content { padding: 40px 20px; }
  .content-wrap { padding: 0 20px; }
  /* Masquer sidebar produit sur mobile */
  .content-wrap > div:last-child { display: none; }
}

@media (max-width: 900px) {
  nav { padding: 0 24px; }

  /* Landing */
  .hero { grid-template-columns: 1fr; padding: 60px 24px 40px; gap: 40px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .section,
  .modules-bg,
  .offer-section,
  .faq-section { padding: 60px 24px; }
  .stats-band { padding: 40px 24px; }
  .offer-box { padding: 36px 24px; }

  /* Dashboard */
  .dash-sidebar { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .settings-layout { grid-template-columns: 1fr; }
  .search-bar-top { display: none; }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   17. PAGE : PRODUIT
   ============================================================ */
.product-hero { background: var(--dark); padding: 64px 48px 56px; position: relative; overflow: hidden; }
.product-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.05) 1px, transparent 1px); background-size: 44px 44px; }
.product-hero-inner { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.product-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(66,133,244,.15); border: 1px solid rgba(66,133,244,.25); color: #8AB4F8; font-family: 'Google Sans', sans-serif; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 5px 14px; border-radius: 14px; margin-bottom: 18px; }
.product-title { font-family: 'Google Sans Display', sans-serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: white; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.product-sub { font-size: 1rem; color: #94A3B8; line-height: 1.8; margin-bottom: 28px; }
.product-meta-row { display: flex; gap: 20px; flex-wrap: wrap; }
.product-meta { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: #64748B; }
.product-card-preview { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; }

/* Tabs produit */
.product-tabs { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: var(--nav-h); z-index: 90; }
.product-tabs-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; display: flex; overflow-x: auto; scrollbar-width: none; }
.product-tabs-inner::-webkit-scrollbar { display: none; }
.ptab { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 500; color: var(--grey1); padding: 16px 20px; border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; transition: color .15s, border-color .15s; }
.ptab:hover { color: var(--dark); }
.ptab.active { color: var(--blue); border-bottom-color: var(--blue); }


/* ============================================================
   18. PAGE : CHECKOUT
   ============================================================ */
body.page-checkout { background: var(--grey3); }
.checkout-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.checkout-nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 48px; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 4px; z-index: 100; }
.checkout-steps { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.step { display: flex; align-items: center; gap: 6px; color: var(--grey2); }
.step.active { color: var(--blue); font-weight: 500; }
.step.done   { color: var(--green); }
.step-num { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; }
.step.done .step-num { background: var(--green); border-color: var(--green); color: white; }
.step.done .step-num::after { content: '✓'; }
.step-sep { color: var(--grey2); font-size: .8rem; }
.checkout-body { flex: 1; max-width: 1080px; margin: 0 auto; padding: 36px 24px 60px; display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; width: 100%; }
.checkout-form-col { display: flex; flex-direction: column; gap: 20px; }
.form-block { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.form-block-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.form-block-num { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: .78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-block-title { font-family: 'Google Sans', sans-serif; font-size: .97rem; font-weight: 600; }
.form-block-body { padding: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field-row.full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: .8rem; font-weight: 500; color: var(--dark); }
.field input, .field select { padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: .9rem; outline: none; transition: border-color .2s, box-shadow .2s; background: var(--white); color: var(--dark); }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(66,133,244,.12); }
.field input.error { border-color: var(--red); }
.field .hint { font-size: .74rem; color: var(--grey1); margin-top: 3px; }
.field .err-msg { font-size: .74rem; color: var(--red); margin-top: 3px; display: none; }
.field input.error + .err-msg { display: block; }
.stripe-element-wrap { padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); transition: border-color .2s, box-shadow .2s; min-height: 44px; }
.stripe-element-wrap.focused { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(66,133,244,.12); }
.stripe-element-wrap.error { border-color: var(--red); }
.stripe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-icons { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.card-icon { height: 22px; padding: 3px 6px; background: var(--grey3); border: 1px solid var(--border); border-radius: 4px; font-size: .65rem; font-weight: 700; color: var(--grey1); display: flex; align-items: center; letter-spacing: .02em; }
.card-icon.visa { color: #1A1F71; }
.card-icon.mc   { color: #EB001B; }
.card-icon.amex { color: #007BC1; }
#stripe-error { display: none; background: var(--red-bg); border: 1px solid rgba(234,67,53,.2); border-radius: 8px; padding: 10px 14px; font-size: .84rem; color: var(--red); margin-top: 14px; align-items: center; gap: 8px; }
#stripe-error.visible { display: flex; }
.btn-checkout { width: 100%; background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: 1.05rem; padding: 18px; border-radius: 28px; border: none; cursor: pointer; transition: background .2s, box-shadow .2s, transform .15s; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; }
.btn-checkout:hover { background: var(--blue-dark); box-shadow: 0 4px 20px rgba(66,133,244,.4); transform: translateY(-1px); }
.btn-checkout:disabled { background: var(--grey2); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-checkout .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn-checkout.loading .btn-label { display: none; }
.btn-checkout.loading .spinner { display: block; }
.legal-note { font-size: .76rem; color: var(--grey1); text-align: center; line-height: 1.6; margin-top: 10px; }
.legal-note a { color: var(--blue); }
.security-badges { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.sec-badge { display: flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--grey1); }
.sec-badge svg { color: var(--green); }
.checkout-summary { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.summary-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.summary-header { padding: 16px 22px; border-bottom: 1px solid var(--border); font-family: 'Google Sans', sans-serif; font-size: .92rem; font-weight: 600; }
.summary-product { padding: 20px 22px; display: flex; gap: 14px; border-bottom: 1px solid var(--border); }
.summary-thumb { width: 56px; height: 72px; background: #0D1117; border-radius: 8px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px; position: relative; overflow: hidden; }
.summary-thumb-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.1) 1px, transparent 1px); background-size: 10px 10px; }
.summary-thumb-title { position: relative; font-family: 'Google Sans', sans-serif; font-size: .48rem; font-weight: 700; color: white; text-align: center; line-height: 1.2; }
.summary-thumb-accent { position: relative; color: var(--green); font-size: .48rem; font-weight: 700; }
.summary-info { flex: 1; }
.summary-product-name { font-family: 'Google Sans', sans-serif; font-size: .92rem; font-weight: 600; margin-bottom: 4px; }
.summary-product-sub { font-size: .78rem; color: var(--grey1); line-height: 1.5; }
.summary-tag { display: inline-block; background: var(--green-bg); color: var(--green); font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; margin-top: 6px; }
.summary-includes { padding: 14px 22px; border-bottom: 1px solid var(--border); }
.summary-include-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--grey1); padding: 5px 0; }
.summary-include-item svg { color: var(--green); flex-shrink: 0; }
.coupon-row { padding: 14px 22px; border-bottom: 1px solid var(--border); }
.coupon-input-wrap { display: flex; gap: 8px; }
.coupon-input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Roboto Mono', monospace; font-size: .84rem; outline: none; transition: border-color .2s; text-transform: uppercase; letter-spacing: .08em; }
.coupon-input:focus { border-color: var(--blue); }
.coupon-input.valid { border-color: var(--green); background: var(--green-bg); }
.coupon-btn { background: var(--grey3); border: 1px solid var(--border); border-radius: 8px; padding: 9px 16px; font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 500; cursor: pointer; transition: background .15s; color: var(--dark); white-space: nowrap; }
.coupon-btn:hover { background: var(--border); }
.coupon-msg { font-size: .76rem; margin-top: 6px; }
.coupon-msg.ok  { color: var(--green); }
.coupon-msg.err { color: var(--red); }
.summary-total { padding: 16px 22px; }
.total-line { display: flex; justify-content: space-between; font-size: .88rem; color: var(--grey1); margin-bottom: 8px; }
.total-line.striked span:last-child { text-decoration: line-through; color: var(--grey2); }
.total-line.discount { color: var(--green); }
.total-line.final { font-family: 'Google Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--dark); padding-top: 10px; border-top: 2px solid var(--border); margin-top: 8px; margin-bottom: 0; }
.total-line.final span:last-child { color: var(--blue); }
.guarantee-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.guarantee-icon { font-size: 1.4rem; flex-shrink: 0; }
.guarantee-title { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.guarantee-text { font-size: .78rem; color: var(--grey1); line-height: 1.6; }
.success-page { display: none; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; padding: 40px 24px; text-align: center; }
.success-page.visible { display: flex; }
.success-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--green-bg); border: 3px solid var(--green); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin-bottom: 24px; animation: popIn .4s cubic-bezier(.175,.885,.32,1.275) both; }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-title { font-family: 'Google Sans Display', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.success-sub { font-size: 1rem; color: var(--grey1); max-width: 460px; line-height: 1.7; margin-bottom: 32px; }


/* ============================================================
   19. PAGE : MERCI
   ============================================================ */
body.page-merci { background: var(--grey3); }
.thank-nav { background: var(--white); border-bottom: 1px solid var(--border); height: 60px; display: flex; align-items: center; justify-content: center; position: relative; }
.thank-nav .back { position: absolute; left: 28px; font-size: .84rem; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.thank-nav .back:hover { text-decoration: underline; }
.thank-hero { max-width: 660px; margin: 0 auto; padding: 56px 24px 0; text-align: center; }
.check-ring { width: 88px; height: 88px; margin: 0 auto 28px; position: relative; }
.check-ring svg circle { stroke-dasharray: 251; stroke-dashoffset: 251; animation: drawCircle .6s .1s ease forwards; }
.check-ring svg path  { stroke-dasharray: 50;  stroke-dashoffset: 50;  animation: drawCheck  .4s .7s ease forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }
.thank-title { font-family: 'Google Sans Display', sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; animation: fadeUp .5s .3s ease both; }
.thank-sub { font-size: 1rem; color: var(--grey1); line-height: 1.75; margin-bottom: 32px; animation: fadeUp .5s .4s ease both; }
.email-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-bg); border: 1px solid rgba(66,133,244,.2); color: var(--blue); font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 500; padding: 10px 20px; border-radius: 24px; margin-bottom: 40px; animation: fadeUp .5s .5s ease both; }
.primary-actions { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; animation: fadeUp .5s .6s ease both; gap: 12px; }
.btn-download { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: 1rem; padding: 14px 32px; border-radius: 28px; text-decoration: none; transition: background .2s, box-shadow .2s, transform .15s; }
.btn-download:hover { background: #2d9147; box-shadow: 0 4px 16px rgba(52,168,83,.4); transform: translateY(-1px); text-decoration: none; }
.divider-section { max-width: 660px; margin: 0 auto; height: 1px; background: var(--border); margin-bottom: 48px; }
.steps-section { max-width: 860px; margin: 0 auto; padding: 0 24px 56px; }
.steps-title { font-family: 'Google Sans', sans-serif; font-size: .78rem; font-weight: 600; color: var(--grey1); text-align: center; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px; text-align: center; position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s; animation: fadeUp .5s ease both; }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.step-card:nth-child(1)::before { background: var(--blue); }
.step-card:nth-child(2)::before { background: var(--green); }
.step-card:nth-child(3)::before { background: var(--yellow); }
.step-card:nth-child(1) { animation-delay: .2s; }
.step-card:nth-child(2) { animation-delay: .3s; }
.step-card:nth-child(3) { animation-delay: .4s; }
.step-card-num { font-family: 'Google Sans', sans-serif; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.step-card:nth-child(1) .step-card-num { color: var(--blue); }
.step-card:nth-child(2) .step-card-num { color: var(--green); }
.step-card:nth-child(3) .step-card-num { color: var(--yellow-dark); }
.step-card-icon { font-size: 2rem; margin-bottom: 14px; }
.step-card-title { font-family: 'Google Sans', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.step-card-text { font-size: .84rem; color: var(--grey1); line-height: 1.65; }
.included-section { max-width: 660px; margin: 0 auto; padding: 0 24px 56px; }
.included-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; animation: fadeUp .5s .4s ease both; }
.included-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.included-header h3 { font-family: 'Google Sans', sans-serif; font-size: .95rem; font-weight: 600; }
.included-tag { background: var(--green-bg); color: var(--green); font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 12px; }
.included-body { padding: 8px 0; }
.included-row { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--border); transition: background .15s; }
.included-row:last-child { border-bottom: none; }
.included-row:hover { background: var(--grey3); }
.included-row-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.included-row-info { flex: 1; }
.included-row-name { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; margin-bottom: 2px; }
.included-row-desc { font-size: .76rem; color: var(--grey1); }
.included-row-status { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 10px; flex-shrink: 0; }
.modules-section { max-width: 860px; margin: 0 auto; padding: 0 24px 56px; }
.modules-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.module-mini { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 16px; display: flex; align-items: center; gap: 12px; transition: box-shadow .15s; animation: fadeUp .5s ease both; }
.module-mini:hover { box-shadow: var(--shadow-sm); }
.module-mini-num { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: .82rem; color: white; flex-shrink: 0; }
.module-mini-title { font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--dark); }
.cta-dashboard { max-width: 660px; margin: 0 auto; padding: 0 24px 72px; text-align: center; animation: fadeUp .5s .5s ease both; }
.cta-dashboard-card { background: var(--dark); border-radius: 16px; padding: 48px 40px; position: relative; overflow: hidden; }
.cta-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.08) 1px, transparent 1px); background-size: 28px 28px; }
.cta-dashboard-card h2 { position: relative; font-family: 'Google Sans Display', sans-serif; font-size: 1.6rem; font-weight: 700; color: white; margin-bottom: 10px; letter-spacing: -.02em; }
.cta-dashboard-card p { position: relative; font-size: .95rem; color: #94A3B8; margin-bottom: 28px; line-height: 1.7; }
.btn-dashboard { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: 1rem; padding: 14px 32px; border-radius: 28px; text-decoration: none; transition: background .2s, box-shadow .2s, transform .15s; }
.btn-dashboard:hover { background: var(--blue-dark); box-shadow: 0 4px 20px rgba(66,133,244,.5); transform: translateY(-1px); text-decoration: none; }


/* ============================================================
   20. PAGE : DASHBOARD
   ============================================================ */
body.page-dashboard { background: var(--grey3); overflow: hidden; }
.dash-shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; height: 100vh; overflow: hidden; }
.dash-sidebar { background: var(--white); border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; position: relative; z-index: 50; }
.dash-sidebar-header { padding: 20px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.dash-progress-ring { position: relative; display: inline-flex; margin-bottom: 10px; }
.dash-progress-ring svg { transform: rotate(-90deg); }
.dash-progress-ring circle { stroke-linecap: round; }
.dash-progress-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dash-progress-pct { font-family: 'Google Sans', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--dark); line-height: 1; }
.dash-progress-sub { font-size: .55rem; color: var(--grey1); }
.dash-sidebar-title { font-family: 'Google Sans', sans-serif; font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
.dash-nav { padding: 12px 8px; flex: 1; }
.dash-nav-section { font-family: 'Google Sans', sans-serif; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grey2); padding: 0 8px; margin: 16px 0 6px; }
.dash-nav-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-family: 'Google Sans', sans-serif; font-size: .84rem; font-weight: 500; color: var(--grey1); cursor: pointer; transition: background .12s, color .12s; text-decoration: none; }
.dash-nav-link:hover { background: var(--grey3); color: var(--dark); text-decoration: none; }
.dash-nav-link.active { background: var(--blue-bg); color: var(--blue); }
.dash-nav-icon { width: 18px; flex-shrink: 0; }
.dash-nav-badge { margin-left: auto; background: var(--blue); color: white; font-size: .6rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.dash-nav-link.active .dash-nav-badge { background: var(--blue); }
.dash-toc { display: flex; flex-direction: column; gap: 4px; }
.dash-toc-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; font-size: .8rem; color: var(--grey1); cursor: pointer; transition: background .12s, color .12s; }
.dash-toc-item:hover { background: var(--grey3); color: var(--dark); }
.dash-toc-item.active { color: var(--blue); font-weight: 500; }
.dash-toc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); flex-shrink: 0; transition: background .2s; }
.dash-toc-item.active .dash-toc-dot { background: var(--blue); }
.dash-toc-pages { font-size: .7rem; color: var(--grey2); margin-left: auto; }
.dash-main { overflow-y: auto; display: flex; flex-direction: column; }
.dash-topnav { background: var(--white); border-bottom: 1px solid var(--border); height: 56px; display: flex; align-items: center; padding: 0 28px; gap: 16px; flex-shrink: 0; position: sticky; top: 0; z-index: 40; }
.dash-topnav-title { font-family: 'Google Sans', sans-serif; font-size: 1rem; font-weight: 600; }
.dash-topnav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.dash-tab-btn { font-family: 'Google Sans', sans-serif; font-size: .84rem; font-weight: 500; padding: 7px 14px; border-radius: 20px; border: none; background: none; color: var(--grey1); cursor: pointer; transition: background .15s, color .15s; }
.dash-tab-btn:hover { background: var(--grey3); color: var(--dark); }
.dash-tab-btn.active { background: var(--blue-bg); color: var(--blue); }
.dash-content { padding: 28px; flex: 1; }
.dash-page { display: none; }
.dash-page.active { display: block; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.kpi-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 12px; }
.kpi-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.kpi-label { font-size: .74rem; color: var(--grey1); margin-bottom: 4px; }
.kpi-value { font-family: 'Google Sans', sans-serif; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.kpi-delta { font-size: .72rem; margin-top: 3px; display: flex; align-items: center; gap: 3px; }
.kpi-delta.up { color: var(--green); }
.kpi-delta.down { color: var(--red); }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.dash-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.dash-card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.dash-card-title { font-family: 'Google Sans', sans-serif; font-size: .9rem; font-weight: 600; }
.dash-card-body { padding: 16px 20px; }
.next-action { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: var(--blue-bg); border-radius: 10px; border: 1px solid rgba(66,133,244,.15); }
.next-action-icon { font-size: 1.5rem; flex-shrink: 0; }
.next-action-title { font-family: 'Google Sans', sans-serif; font-size: .9rem; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.next-action-desc { font-size: .82rem; color: var(--grey1); line-height: 1.5; }
.mod-progress-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mod-progress-item:last-child { border-bottom: none; }
.mod-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mod-name { font-family: 'Google Sans', sans-serif; font-size: .84rem; font-weight: 500; flex: 1; }
.mod-pages { font-size: .74rem; color: var(--grey2); }
.mod-pct { font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 600; min-width: 34px; text-align: right; }
.activity-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.activity-text { flex: 1; color: var(--dark); }
.activity-time { font-size: .74rem; color: var(--grey2); white-space: nowrap; }

/* PDF Viewer */
.pdf-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.pdf-toc { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; position: sticky; top: 20px; height: fit-content; }
.pdf-toc-header { padding: 14px 16px; border-bottom: 1px solid var(--border); font-family: 'Google Sans', sans-serif; font-size: .84rem; font-weight: 600; }
.pdf-toc-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--grey1); cursor: pointer; transition: background .12s, color .12s; }
.pdf-toc-item:last-child { border-bottom: none; }
.pdf-toc-item:hover { background: var(--grey3); color: var(--dark); }
.pdf-toc-item.active { background: var(--blue-bg); color: var(--blue); font-weight: 500; }
.pdf-toc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pdf-viewer { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pdf-toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--grey3); }
.pdf-tool-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--grey1); transition: background .12s, color .12s; }
.pdf-tool-btn:hover { background: var(--dark); color: white; }
.pdf-page-info { font-family: 'Google Sans', sans-serif; font-size: .8rem; color: var(--grey1); padding: 0 8px; }

/* Outils SEO dashboard */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tool-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.tool-card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.tool-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.tool-title { font-family: 'Google Sans', sans-serif; font-size: .9rem; font-weight: 600; }
.tool-card-body { padding: 18px 20px; }
.tool-input-row { display: flex; gap: 8px; margin-bottom: 14px; }
.tool-input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: .86rem; outline: none; transition: border-color .2s; }
.tool-input:focus { border-color: var(--blue); }
.tool-result { background: var(--grey3); border: 1px solid var(--border); border-radius: 8px; padding: 12px; font-size: .84rem; line-height: 1.65; color: var(--dark); min-height: 60px; }
.tool-score-ring { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tool-score-val { font-family: 'Google Sans', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.tool-score-label { font-size: .72rem; color: var(--grey1); margin-top: 4px; }
.tool-keywords { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tool-keyword { background: var(--blue-bg); color: var(--blue); font-family: 'Google Sans', sans-serif; font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 12px; cursor: pointer; }
.tool-keyword:hover { background: var(--blue); color: white; }
.copy-btn { display: flex; align-items: center; gap: 5px; background: var(--dark); color: white; font-family: 'Google Sans', sans-serif; font-size: .78rem; font-weight: 500; padding: 7px 14px; border-radius: 8px; border: none; cursor: pointer; transition: background .15s; margin-top: 10px; }
.copy-btn:hover { background: var(--grey1); }

/* Paramètres dashboard */
.settings-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.settings-tabs::-webkit-scrollbar { display: none; }
.stab { font-family: 'Google Sans', sans-serif; font-size: .86rem; font-weight: 500; color: var(--grey1); padding: 12px 18px; border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; transition: color .15s, border-color .15s; }
.stab:hover { color: var(--dark); }
.stab.active { color: var(--blue); border-bottom-color: var(--blue); }
.settings-section { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.settings-section-header { padding: 18px 24px; border-bottom: 1px solid var(--border); }
.settings-section-title { font-family: 'Google Sans', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 3px; }
.settings-section-sub { font-size: .8rem; color: var(--grey1); }
.settings-section-body { padding: 24px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: none; }
.settings-row-label { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 500; margin-bottom: 2px; }
.settings-row-desc { font-size: .78rem; color: var(--grey1); }


/* ============================================================
   21. PAGE : FAQ
   ============================================================ */
body.page-faq { background: var(--grey3); }
.faq-hero { background: var(--dark); padding: 64px 48px 56px; position: relative; overflow: hidden; text-align: center; }
.faq-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.05) 1px, transparent 1px); background-size: 44px 44px; }
.faq-hero-orb-l { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(66,133,244,.1) 0%, transparent 70%); left: -150px; top: -200px; pointer-events: none; }
.faq-hero-orb-r { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(52,168,83,.07) 0%, transparent 70%); right: -100px; bottom: -100px; pointer-events: none; }
.faq-hero-inner { position: relative; max-width: 680px; margin: 0 auto; }
.faq-hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(66,133,244,.15); border: 1px solid rgba(66,133,244,.25); color: #8AB4F8; font-family: 'Google Sans', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 14px; margin-bottom: 20px; }
.faq-hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: #8AB4F8; }
.faq-hero h1 { font-family: 'Google Sans Display', sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: white; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.faq-hero p { font-size: .97rem; color: #94A3B8; line-height: 1.75; margin-bottom: 32px; }
.faq-search-bar { display: flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; max-width: 520px; margin: 0 auto 36px; transition: border-color .2s, background .2s; }
.faq-search-bar:focus-within { background: rgba(255,255,255,.13); border-color: rgba(66,133,244,.5); }
.faq-search-icon { padding: 0 16px; color: #475569; display: flex; align-items: center; flex-shrink: 0; }
.faq-search-bar input { flex: 1; background: none; border: none; outline: none; font-family: 'Roboto', sans-serif; font-size: .95rem; color: white; padding: 13px 0; }
.faq-search-bar input::placeholder { color: #475569; }
.faq-search-btn { background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: .88rem; padding: 13px 24px; border: none; cursor: pointer; transition: background .15s; white-space: nowrap; }
.faq-search-btn:hover { background: var(--blue-dark); }
.search-results-bar { display: none; align-items: center; justify-content: center; gap: 10px; font-size: .84rem; color: #94A3B8; margin-top: -20px; margin-bottom: 16px; }
.search-results-bar.visible { display: flex; }
.search-clear { color: #8AB4F8; cursor: pointer; text-decoration: underline; }
.faq-hero-stats { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.faq-hstat { text-align: center; }
.faq-hstat-val { font-family: 'Google Sans Display', sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1; margin-bottom: 3px; }
.faq-hstat-label { font-size: .74rem; color: #64748B; }
.faq-hstat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.07); }
.faq-cats-bar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: var(--nav-h); z-index: 100; }
.faq-cats-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.faq-cats-inner::-webkit-scrollbar { display: none; }
.faq-cat-tab { display: inline-flex; align-items: center; gap: 7px; font-family: 'Google Sans', sans-serif; font-size: .86rem; font-weight: 500; color: var(--grey1); padding: 15px 16px; border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s; flex-shrink: 0; }
.faq-cat-tab:hover { color: var(--dark); text-decoration: none; }
.faq-cat-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.faq-cat-count { background: var(--grey3); color: var(--grey1); font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.faq-cat-tab.active .faq-cat-count { background: var(--blue-bg); color: var(--blue); }
.faq-layout { max-width: 1100px; margin: 0 auto; padding: 48px 48px 80px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.faq-main { display: flex; flex-direction: column; gap: 48px; }
.faq-section { animation: fadeUp .4s ease both; }
.faq-section-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.faq-section-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.faq-section-title { font-family: 'Google Sans Display', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.faq-section-count { font-size: .78rem; color: var(--grey1); margin-top: 2px; }
.faq-section-badge { margin-left: auto; font-family: 'Google Sans', sans-serif; font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 14px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: rgba(66,133,244,.2); }
.faq-item.open { border-color: rgba(66,133,244,.25); box-shadow: 0 2px 12px rgba(66,133,244,.08); }
.faq-q { width: 100%; background: none; border: none; display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; text-align: left; }
.faq-q-icon { font-size: 1.1rem; flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.faq-item.open .faq-q-icon { background: var(--blue-bg); }
.faq-q-text { flex: 1; font-family: 'Google Sans', sans-serif; font-size: .95rem; font-weight: 500; color: var(--dark); line-height: 1.45; text-align: left; }
.faq-item.open .faq-q-text { color: var(--blue); }
.faq-q-tags { display: flex; gap: 5px; flex-shrink: 0; }
.faq-q-tag { font-size: .65rem; font-weight: 600; padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.faq-chevron { width: 28px; height: 28px; border-radius: 50%; background: var(--grey3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .2s, border-color .2s; color: var(--grey1); }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--blue-bg); border-color: rgba(66,133,244,.2); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 20px 20px 66px; }
.faq-a-text { font-size: .92rem; color: var(--grey1); line-height: 1.8; margin-bottom: 14px; }
.faq-a-text:last-child { margin-bottom: 0; }
.faq-a-text strong { color: var(--dark); font-weight: 500; }
.faq-a-text a { color: var(--blue); }
.faq-callout { border-left: 3px solid; border-radius: 0 8px 8px 0; padding: 12px 14px; margin: 12px 0; }
.faq-callout.tip    { border-color: var(--blue);  background: var(--blue-bg); }
.faq-callout.warn   { border-color: var(--yellow); background: var(--yellow-bg); }
.faq-callout.success{ border-color: var(--green);  background: var(--green-bg); }
.faq-callout p { font-size: .86rem; line-height: 1.65; margin: 0; }
.faq-callout.tip    p { color: #1967D2; }
.faq-callout.warn   p { color: var(--yellow-dark); }
.faq-callout.success p { color: #14532D; }
.faq-a-list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.faq-a-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--grey1); line-height: 1.6; }
.faq-a-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 7px; }
.faq-a-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.faq-helpful-label { font-size: .78rem; color: var(--grey1); }
.faq-helpful-btn { display: flex; align-items: center; gap: 5px; font-family: 'Google Sans', sans-serif; font-size: .78rem; font-weight: 500; padding: 5px 12px; border-radius: 16px; border: 1px solid var(--border); background: none; cursor: pointer; color: var(--grey1); transition: all .15s; }
.faq-helpful-btn:hover { background: var(--grey3); color: var(--dark); }
.faq-helpful-btn.voted { background: var(--green-bg); border-color: rgba(52,168,83,.25); color: var(--green); }
.faq-a-link { margin-left: auto; display: flex; align-items: center; gap: 4px; font-family: 'Google Sans', sans-serif; font-size: .78rem; font-weight: 500; color: var(--blue); text-decoration: none; }
.faq-a-link:hover { text-decoration: underline; }
.faq-empty { display: none; flex-direction: column; align-items: center; text-align: center; padding: 60px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; }
.faq-empty.visible { display: flex; }
.faq-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.faq-empty-title { font-family: 'Google Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.faq-empty-text { font-size: .88rem; color: var(--grey1); line-height: 1.7; max-width: 360px; }
.faq-contact-btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: .88rem; padding: 10px 22px; border-radius: 22px; text-decoration: none; transition: background .2s; }
.faq-contact-btn:hover { background: var(--blue-dark); text-decoration: none; }
.faq-sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.fsb { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.fsb-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.fsb-title { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; }
.fsb-body { padding: 16px 18px; }
.quick-nav { display: flex; flex-direction: column; gap: 2px; }
.qn-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--grey1); font-size: .84rem; transition: background .12s, color .12s; cursor: pointer; }
.qn-item:hover { background: var(--grey3); color: var(--dark); }
.qn-item.active { background: var(--blue-bg); color: var(--blue); font-weight: 500; }
.qn-icon { font-size: .95rem; flex-shrink: 0; }
.qn-count { margin-left: auto; background: var(--grey3); color: var(--grey1); font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 8px; }
.qn-item.active .qn-count { background: rgba(66,133,244,.15); color: var(--blue); }
.fsb-contact { padding: 18px; }
.fsb-contact-title { font-family: 'Google Sans', sans-serif; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.fsb-contact-text { font-size: .8rem; color: var(--grey1); line-height: 1.65; margin-bottom: 14px; }
.fsb-contact-options { display: flex; flex-direction: column; gap: 8px; }
.contact-option { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--border); text-decoration: none; color: var(--dark); transition: background .15s, border-color .15s; }
.contact-option:hover { background: var(--grey3); border-color: rgba(66,133,244,.2); text-decoration: none; color: var(--dark); }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; }
.contact-label { font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 500; }
.contact-sublabel { font-size: .72rem; color: var(--grey1); }
.contact-arrow { margin-left: auto; color: var(--grey2); font-size: .8rem; }
.fsb-stats { display: flex; flex-direction: column; gap: 10px; }
.fsb-stat-row { display: flex; align-items: center; justify-content: space-between; font-size: .84rem; }
.fsb-stat-label { color: var(--grey1); display: flex; align-items: center; gap: 6px; }
.fsb-stat-val { font-family: 'Google Sans', sans-serif; font-weight: 600; color: var(--dark); }
.fsb-track { height: 5px; background: var(--grey3); border-radius: 5px; overflow: hidden; border: 1px solid var(--border); margin-top: 3px; }
.fsb-fill { height: 100%; border-radius: 5px; background: var(--green); }
.fsb-cta { background: var(--dark); border-radius: 14px; padding: 20px 18px; position: relative; overflow: hidden; }
.fsb-cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.06) 1px, transparent 1px); background-size: 20px 20px; }
.fsb-cta-icon { position: relative; font-size: 1.5rem; margin-bottom: 10px; }
.fsb-cta-title { position: relative; font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; color: white; margin-bottom: 5px; }
.fsb-cta-text  { position: relative; font-size: .76rem; color: #94A3B8; line-height: 1.6; margin-bottom: 12px; }
.fsb-cta-btn { position: relative; display: block; width: 100%; text-align: center; background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: .82rem; padding: 9px; border-radius: 20px; text-decoration: none; transition: background .15s; }
.fsb-cta-btn:hover { background: var(--blue-dark); text-decoration: none; }
.fsb-cta-note { position: relative; font-size: .68rem; color: #475569; text-align: center; margin-top: 7px; }
.faq-cta-band { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 48px; }
.faq-cta-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.faq-cta-card { background: var(--grey3); border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px; text-align: center; text-decoration: none; color: var(--dark); transition: box-shadow .2s, transform .2s; }
.faq-cta-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--dark); }
.faq-cta-card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.faq-cta-card-title { font-family: 'Google Sans', sans-serif; font-size: .97rem; font-weight: 600; margin-bottom: 8px; }
.faq-cta-card-text { font-size: .84rem; color: var(--grey1); line-height: 1.65; margin-bottom: 14px; }
.faq-cta-card-action { display: inline-flex; align-items: center; gap: 5px; font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 500; }


/* ============================================================
   22. PAGE : LEXIQUE
   ============================================================ */
.lex-hero { background: var(--dark); padding: 64px 48px 52px; position: relative; overflow: hidden; text-align: center; }
.lex-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.05) 1px, transparent 1px); background-size: 44px 44px; }
.lex-hero-orb-l { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(66,133,244,.1) 0%, transparent 70%); left: -150px; top: -180px; pointer-events: none; }
.lex-hero-orb-r { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(52,168,83,.07) 0%, transparent 70%); right: -100px; bottom: -80px; pointer-events: none; }
.lex-hero-inner { position: relative; max-width: 680px; margin: 0 auto; }
.lex-hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(66,133,244,.15); border: 1px solid rgba(66,133,244,.25); color: #8AB4F8; font-family: 'Google Sans', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 14px; margin-bottom: 20px; }
.lex-hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: #8AB4F8; }
.lex-hero h1 { font-family: 'Google Sans Display', sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: white; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.lex-hero p { font-size: .97rem; color: #94A3B8; line-height: 1.75; margin-bottom: 32px; }
.lex-search-bar { display: flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; max-width: 520px; margin: 0 auto 36px; transition: border-color .2s, background .2s; }
.lex-search-bar:focus-within { background: rgba(255,255,255,.13); border-color: rgba(66,133,244,.5); }
.lex-search-icon { padding: 0 16px; color: #475569; display: flex; align-items: center; flex-shrink: 0; }
.lex-search-bar input { flex: 1; background: none; border: none; outline: none; font-family: 'Roboto', sans-serif; font-size: .95rem; color: white; padding: 13px 0; }
.lex-search-bar input::placeholder { color: #475569; }
.lex-search-clear { padding: 0 16px; color: #475569; cursor: pointer; font-size: .85rem; display: none; align-items: center; gap: 4px; transition: color .15s; flex-shrink: 0; }
.lex-search-clear:hover { color: #8AB4F8; }
.lex-search-clear.visible { display: flex; }
.lex-hero-stats { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.lhstat { text-align: center; }
.lhstat-val { font-family: 'Google Sans Display', sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1; margin-bottom: 3px; }
.lhstat-label { font-size: .74rem; color: #64748B; }
.lhstat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.07); }
.lex-toolbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: var(--nav-h); z-index: 100; }
.lex-toolbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.lex-toolbar-inner::-webkit-scrollbar { display: none; }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 500; color: var(--grey1); padding: 13px 16px; border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s; flex-shrink: 0; }
.cat-chip:hover { color: var(--dark); text-decoration: none; }
.cat-chip.active { color: var(--blue); border-bottom-color: var(--blue); }
.cat-chip-count { background: var(--grey3); color: var(--grey1); font-size: .65rem; font-weight: 700; padding: 2px 6px; border-radius: 8px; }
.cat-chip.active .cat-chip-count { background: var(--blue-bg); color: var(--blue); }
.alpha-bar { max-width: 1200px; margin: 0 auto; padding: 8px 48px; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.alpha-bar::-webkit-scrollbar { display: none; }
.alpha-btn { min-width: 32px; height: 32px; border-radius: 8px; border: none; background: none; font-family: 'Google Sans', sans-serif; font-size: .82rem; font-weight: 600; color: var(--grey1); cursor: pointer; transition: background .15s, color .15s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alpha-btn:hover { background: var(--grey3); color: var(--dark); }
.alpha-btn.active { background: var(--blue); color: white; }
.alpha-btn.disabled { color: var(--border); cursor: not-allowed; }
.alpha-btn.disabled:hover { background: none; color: var(--border); }
.lex-layout { max-width: 1200px; margin: 0 auto; padding: 48px 48px 80px; display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.lex-search-info { display: none; align-items: center; gap: 10px; padding: 12px 16px; background: var(--blue-bg); border: 1px solid rgba(66,133,244,.2); border-radius: 10px; font-size: .86rem; color: var(--blue); margin-bottom: 24px; }
.lex-search-info.visible { display: flex; }
.lex-search-clear-btn { margin-left: auto; font-family: 'Google Sans', sans-serif; font-size: .8rem; font-weight: 500; color: var(--blue); cursor: pointer; text-decoration: underline; }
.lex-empty { display: none; flex-direction: column; align-items: center; text-align: center; padding: 60px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; }
.lex-empty.visible { display: flex; }
.lex-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.lex-empty-title { font-family: 'Google Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.lex-empty-text { font-size: .88rem; color: var(--grey1); line-height: 1.7; max-width: 360px; }
.letter-section { margin-bottom: 48px; scroll-margin-top: 130px; }
.letter-anchor { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.letter-badge { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: 'Google Sans Display', sans-serif; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
.letter-line { flex: 1; height: 1px; background: var(--border); }
.letter-count { font-size: .78rem; color: var(--grey1); white-space: nowrap; }
.term-list { display: flex; flex-direction: column; gap: 10px; }
.term-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.term-card:hover { border-color: rgba(66,133,244,.2); }
.term-card.open { border-color: rgba(66,133,244,.3); box-shadow: 0 2px 12px rgba(66,133,244,.08); }
.term-card.highlight { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(251,188,5,.1); }
.term-header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; }
.term-icon { font-size: .9rem; flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.term-card.open .term-icon { background: var(--blue-bg); }
.term-title-wrap { flex: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.term-name { font-family: 'Google Sans', sans-serif; font-size: .97rem; font-weight: 600; color: var(--dark); }
.term-card.open .term-name { color: var(--blue); }
.term-en { font-family: 'Roboto Mono', monospace; font-size: .75rem; color: var(--grey2); }
.term-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.term-badge { font-size: .64rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.term-difficulty { font-size: .64rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.diff-debutant { background: var(--green-bg); color: var(--green); }
.diff-intermediaire { background: var(--yellow-bg); color: var(--yellow-dark); }
.diff-avance { background: var(--red-bg); color: var(--red); }
.term-chevron { width: 28px; height: 28px; border-radius: 50%; background: var(--grey3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--grey1); transition: transform .3s, background .2s, border-color .2s; flex-shrink: 0; }
.term-card.open .term-chevron { transform: rotate(180deg); background: var(--blue-bg); border-color: rgba(66,133,244,.2); color: var(--blue); }
.term-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.term-card.open .term-body { max-height: 600px; }
.term-body-inner { padding: 0 20px 20px 68px; }
.term-def { font-size: .92rem; color: var(--grey1); line-height: 1.8; margin-bottom: 14px; }
.term-def strong { color: var(--dark); font-weight: 500; }
.term-example { background: var(--grey3); border-left: 3px solid var(--border); border-radius: 0 8px 8px 0; padding: 12px 14px; margin: 12px 0; }
.term-example-label { font-family: 'Google Sans', sans-serif; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey1); margin-bottom: 5px; }
.term-example-text { font-size: .86rem; color: var(--dark); line-height: 1.65; font-style: italic; }
.term-tip { border-left: 3px solid var(--blue); background: var(--blue-bg); border-radius: 0 8px 8px 0; padding: 10px 13px; margin: 10px 0; }
.term-tip p { font-size: .84rem; color: #1967D2; line-height: 1.65; margin: 0; }
.term-related { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.term-related-label { font-size: .74rem; color: var(--grey2); white-space: nowrap; }
.term-related-tag { font-family: 'Google Sans', sans-serif; font-size: .74rem; font-weight: 500; background: var(--grey3); border: 1px solid var(--border); color: var(--grey1); padding: 4px 10px; border-radius: 12px; text-decoration: none; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.term-related-tag:hover { background: var(--blue-bg); color: var(--blue); border-color: rgba(66,133,244,.2); text-decoration: none; }
.term-highlight { background: rgba(251,188,5,.25); border-radius: 2px; }
.lex-sidebar { position: sticky; top: 160px; display: flex; flex-direction: column; gap: 16px; }
.lsb { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.lsb-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.lsb-title { font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; }
.lsb-link { font-size: .75rem; color: var(--blue); text-decoration: none; }
.lsb-link:hover { text-decoration: underline; }
.lsb-body { padding: 16px 18px; }
.alpha-index { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.alpha-idx-btn { display: flex; align-items: center; justify-content: center; height: 32px; border-radius: 7px; font-family: 'Google Sans', sans-serif; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--grey1); background: var(--grey3); border: 1px solid var(--border); transition: background .12s, color .12s; text-decoration: none; }
.alpha-idx-btn:hover { background: var(--blue-bg); color: var(--blue); text-decoration: none; }
.alpha-idx-btn.active { background: var(--blue); color: white; border-color: var(--blue); }
.alpha-idx-btn.disabled { color: var(--border); background: var(--grey3); cursor: default; }
.lsb-cats { display: flex; flex-direction: column; }
.lsb-cat { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .12s; font-size: .84rem; text-decoration: none; color: var(--dark); }
.lsb-cat:last-child { border-bottom: none; }
.lsb-cat:hover { background: var(--grey3); text-decoration: none; color: var(--dark); }
.lsb-cat.active { background: var(--blue-bg); color: var(--blue); }
.lsb-cat-icon { font-size: .95rem; flex-shrink: 0; }
.lsb-cat-name { flex: 1; font-family: 'Google Sans', sans-serif; font-weight: 500; }
.lsb-cat-count { background: var(--grey3); color: var(--grey1); font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 8px; }
.lsb-cat.active .lsb-cat-count { background: rgba(66,133,244,.15); color: var(--blue); }
.lsb-popular { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 8px; }
.lsb-pop-term { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-family: 'Google Sans', sans-serif; font-size: .83rem; font-weight: 500; color: var(--grey1); transition: background .12s, color .12s; display: flex; align-items: center; gap: 8px; }
.lsb-pop-term:hover { background: var(--grey3); color: var(--dark); }
.lsb-pop-num { font-size: .68rem; color: var(--grey2); font-family: 'Roboto Mono', monospace; width: 16px; }
.lsb-cta { background: var(--dark); border-radius: 14px; padding: 20px 18px; position: relative; overflow: hidden; }
.lsb-cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,133,244,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(66,133,244,.06) 1px, transparent 1px); background-size: 20px 20px; }
.lsb-cta-icon { position: relative; font-size: 1.5rem; margin-bottom: 10px; }
.lsb-cta-title { position: relative; font-family: 'Google Sans', sans-serif; font-size: .88rem; font-weight: 600; color: white; margin-bottom: 5px; }
.lsb-cta-text { position: relative; font-size: .76rem; color: #94A3B8; line-height: 1.6; margin-bottom: 12px; }
.lsb-cta-btn { position: relative; display: block; width: 100%; text-align: center; background: var(--blue); color: white; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: .82rem; padding: 9px; border-radius: 20px; text-decoration: none; transition: background .15s; }
.lsb-cta-btn:hover { background: var(--blue-dark); text-decoration: none; }
.lsb-cta-note { position: relative; font-size: .68rem; color: #475569; text-align: center; margin-top: 7px; }


/* ============================================================
   23. MEDIA QUERIES
   ============================================================ */

/* ── Navbar ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-sep { display: none; }
  .nav-search-wrap { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 640px) {
  .nav-btn-login { display: none; }
  .nav-inner { padding: 0 20px; }
}

/* ── Footer ── */
@media (max-width: 1024px) {
  .footer-body { grid-template-columns: 2fr 1fr 1fr; }
  .footer-body > *:last-child { display: none; }
}
@media (max-width: 768px) {
  .footer-body { grid-template-columns: 1fr 1fr; padding: 40px 24px 28px; }
  .footer-nl-band { padding: 32px 24px; }
  .footer-nl-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nl-form { width: 100%; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-social { margin-left: 0; }
}
@media (max-width: 480px) {
  .footer-body { grid-template-columns: 1fr; }
  .footer-bottom-links { flex-wrap: wrap; gap: 10px; }
}

/* ── Landing ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 48px; }
  .blog-hero-inner { grid-template-columns: 1fr; }
  .hero-featured-card { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ── Blog ── */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .lex-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .blog-layout, .cats-layout, .lex-layout { padding: 32px 20px 60px; }
  .article-layout { padding: 36px 20px 60px; }
  .article-nav-cards { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .kpi-banner { grid-template-columns: 1fr; gap: 1px; }
  .articles-grid { grid-template-columns: 1fr; }
  .cat-articles-row { grid-template-columns: 1fr; }
  .faq-layout, .cats-layout { padding: 32px 20px 60px; }
  .alpha-bar { padding: 8px 20px; }
  .lex-toolbar-inner { padding: 0 20px; }
  .cat-toolbar-inner { padding: 0 20px; }
  .faq-cats-inner { padding: 0 20px; }
  .blog-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: 1fr; }
  .cat-card-lg { grid-column: span 1; }
  .featured-article { grid-template-columns: 1fr; }
  .fa-thumb { min-height: 160px; }
  .articles-grid-view { grid-template-columns: 1fr; }
  .faq-a-inner { padding: 0 16px 18px 16px; }
  .hero-tags { display: none; }
}

/* ── Catégorie hero ── */
@media (max-width: 900px) {
  .cat-hero { padding: 48px 24px 0; }
  .cat-hero-inner { grid-template-columns: 1fr; }
  .cat-hero-stats { display: none; }
}

/* ── Checkout ── */
@media (max-width: 860px) {
  .checkout-body { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .checkout-nav { padding: 0 20px; }
  .checkout-steps { display: none; }
}
@media (max-width: 480px) {
  .checkout-body { padding: 20px 16px 40px; }
  .stripe-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── Merci ── */
@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; }
  .modules-mini-grid { grid-template-columns: 1fr 1fr; }
  .cta-dashboard-card { padding: 36px 24px; }
  .primary-actions { flex-direction: column; align-items: center; }
}

/* ── Dashboard ── */
@media (max-width: 1024px) {
  .dash-shell { grid-template-columns: 200px 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .dash-shell { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .dash-sidebar { display: none; }
  .dash-main { overflow: visible; height: auto; }
  .dash-row { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .pdf-layout { grid-template-columns: 1fr; }
  .pdf-toc { position: static; }
}

/* ── Auth ── */
@media (max-width: 500px) {
  .auth-card { padding: 36px 24px; border-radius: 12px; }
}

/* ── FAQ CTA band ── */
@media (max-width: 768px) {
  .faq-cta-band { padding: 40px 20px; }
  .faq-cta-inner { grid-template-columns: 1fr; gap: 14px; }
  .faq-q-tags { display: none; }
}

/* ── Lexique sidebar ── */
@media (max-width: 1050px) {
  .lex-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .lsb:nth-child(n+4) { display: none; }
}

/* ── Article hero ── */
@media (max-width: 768px) {
  .article-hero { padding: 48px 24px 40px; }
  .faq-hero, .lex-hero, .cats-hero { padding: 48px 20px 40px; }
  .blog-hero { padding: 48px 24px 40px; }
  .filter-bar { padding: 0 20px; }
}

