/* ========================================================================
   ÉPAVISTE VHU PRÉFECTURE — Feuille de style principale
   Charte : bleu #1060f8 (primaire) + vert écolo (#16a34a / #22c55e)
   ======================================================================== */

:root {
  --blue: #1060f8;
  --blue-dark: #0842b8;
  --blue-light: #e8f0ff;
  --green: #16a34a;
  --green-light: #22c55e;
  --green-pale: #ecfdf5;
  --dark: #0b1220;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(16, 96, 248, 0.08);
  --shadow-md: 0 6px 24px rgba(16, 96, 248, 0.12);
  --shadow-lg: 0 12px 40px rgba(16, 96, 248, 0.16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* ==================== TICKER ==================== */
.ticker {
  background: linear-gradient(90deg, var(--green), var(--green-light));
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== NAV ==================== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-logo em { color: var(--green); font-style: normal; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 15px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
}
.nav-cta:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--dark); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  background: var(--gray-50);
  padding: 12px 0;
  font-size: 14px;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--gray-700); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 8px; color: var(--gray-300); }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: attr(data-dept);
  position: absolute;
  right: -50px;
  top: 20px;
  font-size: 340px;
  font-weight: 900;
  color: rgba(16, 96, 248, 0.05);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin-left: 0; margin-right: auto; text-align: left; }
.badge-agree {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-pale);
  color: var(--green);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(22, 163, 74, 0.2);
  margin-bottom: 24px;
}
.badge-agree::before {
  content: "✓";
  background: var(--green);
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero h1 strong { color: var(--green); font-weight: 800; }
.hero-desc {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 28px;
  max-width: 620px;
}
.alert-warning {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  color: #78350f;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 620px;
  line-height: 1.5;
}
.alert-warning strong { color: #78350f; font-weight: 700; }

.section-cta {
  text-align: center;
  margin-top: 48px;
}
.section-cta .btn-primary { font-size: 17px; padding: 18px 34px; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-tag {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: all .2s;
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: var(--green);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .2s;
}
.btn-secondary:hover { background: #15803d; color: var(--white); transform: translateY(-2px); }

/* ==================== LOGOS BAR ==================== */
.logos-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}
.logos-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logos-inner img { height: 60px; width: auto; opacity: 0.85; }
.logos-label {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==================== SECTIONS ==================== */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-eco {
  background: linear-gradient(135deg, var(--green-pale) 0%, #f0fdf4 100%);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  text-align: center;
}
.section-title em { color: var(--blue); font-style: normal; }
.section-title strong { color: var(--green); font-weight: 800; }
.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* ==================== SEO TEXT ==================== */
.seo-text { max-width: 900px; margin: 0 auto; }
.seo-text h2 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.seo-text p {
  color: var(--gray-700);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
}
.seo-text strong { color: var(--dark); }

/* ==================== STEPS ==================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  position: relative;
  transition: all .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 12px;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--gray-700); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ==================== FEATURES / BENEFITS ==================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all .2s;
}
.feature:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature.eco .feature-icon { background: var(--green-pale); color: var(--green); }
.feature h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--gray-700); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* ==================== TESTIMONIALS ==================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}
.testimonial-stars { color: #fbbf24; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { color: var(--gray-700); font-size: 15px; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.testimonial-name { font-weight: 700; color: var(--dark); font-size: 15px; }
.testimonial-location { color: var(--gray-500); font-size: 13px; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ==================== FAQ ==================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s;
}
.faq-item:hover { border-color: var(--blue); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--dark);
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--blue);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--gray-700);
  font-size: 15px;
}

/* ==================== CTA FINAL ==================== */
.cta-final {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-final h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}
.cta-final p { font-size: 18px; margin-bottom: 32px; opacity: 0.92; position: relative; }
.cta-final .btn-primary {
  background: var(--white);
  color: var(--blue);
  position: relative;
}
.cta-final .btn-primary:hover { background: var(--green); color: var(--white); }

/* ==================== ECO SECTION ==================== */
.eco-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eco-highlight img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; display: block; }
.eco-highlight h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 20px;
}
.eco-highlight h2 strong { color: var(--green); font-weight: 800; }
.eco-highlight p { color: var(--gray-700); margin-bottom: 16px; font-size: 16px; }
.eco-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.eco-stat { background: var(--white); padding: 20px; border-radius: var(--radius); border: 1px solid var(--gray-100); }
.eco-stat-num { font-size: 28px; font-weight: 800; color: var(--green); letter-spacing: -0.02em; }
.eco-stat-label { color: var(--gray-500); font-size: 13px; font-weight: 500; margin-top: 4px; }
@media (max-width: 900px) { .eco-highlight { grid-template-columns: 1fr; gap: 32px; } }

/* Dépôt : image à gauche, titre + texte à droite sur desktop.
   Sur mobile on empile dans l'ordre titre → image → paragraphes. */
.eco-highlight-depot {
  grid-template-areas:
    "media head"
    "media body";
  gap: 0 60px;
}
.eco-highlight-depot .eco-depot-media { grid-area: media; }
.eco-highlight-depot .eco-depot-head { grid-area: head; align-self: end; }
.eco-highlight-depot .eco-depot-body { grid-area: body; align-self: start; }
.eco-highlight-depot .eco-depot-head h2 { margin-bottom: 0; }
.eco-highlight-depot .eco-depot-body p:first-child { margin-top: 20px; }
@media (max-width: 900px) {
  .eco-highlight-depot {
    grid-template-areas: "head" "media" "body";
    gap: 24px;
  }
  .eco-highlight-depot .eco-depot-body p:first-child { margin-top: 0; }
}

/* ==================== ZONES / VILLES GRID ==================== */
.zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zone-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  transition: all .2s;
  color: var(--gray-900);
}
.zone-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--gray-900);
}
.zone-card-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
}
.zone-card h3 { font-size: 16px; color: var(--dark); margin-top: 6px; letter-spacing: -0.01em; }
.zone-card-count { color: var(--gray-500); font-size: 13px; margin-top: 4px; }
@media (max-width: 900px) { .zones-grid { grid-template-columns: repeat(2, 1fr); } }

/* Communes list (department page) */
.communes-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.communes-list a {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray-700);
  transition: all .15s;
}
.communes-list a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
@media (max-width: 900px) { .communes-list { grid-template-columns: repeat(2, 1fr); } }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.footer-logo span { color: #60a5fa; }
.footer-logo em { color: #4ade80; font-style: normal; }
.footer p { color: #9ca3af; font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: #9ca3af; font-size: 14px; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==================== FLOATING PHONE ==================== */
.floating-phone {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .2s;
}
.floating-phone:hover { background: #15803d; color: var(--white); transform: scale(1.05); }
.floating-phone::before {
  content: "📞";
  font-size: 18px;
}
@media (max-width: 600px) {
  .floating-phone { padding: 12px 18px; font-size: 14px; bottom: 16px; right: 16px; }
}


/* Non-clickable communes list */
.communes-list-plain span {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray-700);
  cursor: default;
}


/* communes-list-links (generated by build script) */
.communes-list-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem 1.5rem;
  padding: 0.5rem 0;
}
@media (max-width: 900px) {
  .communes-list-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .communes-list-links { grid-template-columns: 1fr; }
}
.communes-list-links a {
  color: #1e293b;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  font-size: 0.95rem;
}
.communes-list-links a:hover {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* ==================== BLOG / CONSEILS ==================== */

/* Grille des cartes catégories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-card-emoji { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.cat-card h3 { font-size: 19px; color: var(--dark); margin-bottom: 8px; letter-spacing: -.01em; }
.cat-card p { color: var(--gray-700); font-size: 15px; flex: 1; }
.cat-card-count {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } }

/* Pills de filtre */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; justify-content: center; }
.cat-pill {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cat-pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.cat-pill.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cat-pill.is-active:hover { background: var(--blue-dark); color: var(--white); }
.cat-count {
  font-size: 12px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 999px;
  padding: 1px 7px;
}
.cat-pill.is-active .cat-count { background: rgba(255,255,255,.25); color: var(--white); }

/* Grille des articles */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.article-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card h3 { font-size: 18px; color: var(--dark); letter-spacing: -.01em; line-height: 1.35; }
.article-card p { color: var(--gray-700); font-size: 15px; flex: 1; }
.article-card[hidden] { display: none; }
@media (max-width: 1100px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .articles-grid { grid-template-columns: 1fr; } }

/* Badge de catégorie */
.article-cat {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 13px;
  background: var(--gray-100);
  color: var(--gray-700);
  letter-spacing: .01em;
}
.article-cat--reglementation { background: #fef3c7; color: #92400e; }
.article-cat--demarches      { background: var(--blue-light); color: var(--blue-dark); }
.article-cat--recyclage      { background: var(--green-pale); color: #166534; }
.article-cat--conseils       { background: #f3e8ff; color: #6b21a8; }
.article-cat--guides-locaux  { background: #ffe4e6; color: #9f1239; }

.article-meta { color: var(--gray-500); font-size: 13px; font-weight: 500; }

/* Page article */
.article-body { max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 28px; }
.article-header h1 {
  font-size: clamp(29px, 4.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--dark);
  margin: 18px 0 12px;
}
.article-content { margin-top: 30px; }
.article-content h2 {
  font-size: clamp(23px, 3vw, 30px);
  color: var(--dark);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 44px 0 16px;
}
.article-content h3 {
  font-size: 20px;
  color: var(--dark);
  letter-spacing: -.01em;
  margin: 32px 0 12px;
}
.article-content p { color: var(--gray-700); font-size: 17px; line-height: 1.75; margin-bottom: 20px; }
.article-content strong { color: var(--dark); font-weight: 700; }
.article-content ul, .article-content ol { margin: 0 0 22px 22px; color: var(--gray-700); font-size: 17px; line-height: 1.75; }
.article-content li { margin-bottom: 9px; }
.article-content li::marker { color: var(--blue); font-weight: 700; }
.article-content code {
  background: var(--gray-100);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: .9em;
  color: var(--blue-dark);
}
.article-content a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-note {
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 0 0 24px;
  color: var(--gray-900);
  font-size: 16.5px;
}
.article-table-wrap { overflow-x: auto; margin: 0 0 26px; }
.article-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 420px; }
.article-table th, .article-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-100); }
.article-table th { background: var(--gray-50); color: var(--dark); font-weight: 700; }
.article-table td { color: var(--gray-700); }

.article-cta {
  margin-top: 46px;
  padding: 30px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta p { color: var(--gray-700); font-size: 16px; margin-bottom: 20px; }

.articles-empty { text-align: center; color: var(--gray-500); font-size: 16px; padding: 30px 0; }

/* ==================== BANDEAU DE CONSENTEMENT ==================== */
.bandeau-consentement {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  box-shadow: 0 -6px 24px rgba(11, 18, 32, .10);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.bandeau-consentement-texte { max-width: 640px; }
.bandeau-consentement-texte strong {
  display: block;
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.bandeau-consentement-texte p {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.55;
}
.bandeau-consentement-actions { display: flex; gap: 10px; flex-shrink: 0; }
.bandeau-btn {
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.bandeau-btn--principal { background: var(--blue); color: var(--white); }
.bandeau-btn--principal:hover { background: var(--blue-dark); }
.bandeau-btn--secondaire {
  background: var(--white);
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.bandeau-btn--secondaire:hover { border-color: var(--gray-500); color: var(--dark); }

/* Le bouton d'appel flottant remonte pour ne pas être masqué par le bandeau */
.bandeau-consentement-visible .floating-phone { bottom: 130px; }

@media (max-width: 760px) {
  .bandeau-consentement { padding: 16px; gap: 14px; }
  .bandeau-consentement-actions { width: 100%; }
  .bandeau-btn { flex: 1; }
  .bandeau-consentement-visible .floating-phone { bottom: 175px; }
}
