/**
 * Le Club IPTV - Stylesheet principale
 * Thème WordPress ultra-rapide, responsive, optimisé Core Web Vitals & SEO
 * Couleurs : Dark Tech avec accent Vert Néon #9EF01A
 */

/* ==========================================================================
   1. VARIABLES CSS & THÈMES (DARK & LIGHT)
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-primary: #080c14;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #15213b;
  --bg-card: rgba(17, 24, 39, 0.78);
  --bg-card-hover: rgba(23, 34, 56, 0.95);
  --bg-glass: rgba(15, 23, 42, 0.85);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(158, 240, 26, 0.4);
  --border-accent: #9EF01A;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-contrast: #070c02;

  --accent-neon: #9EF01A;
  --accent-neon-hover: #8ae010;
  --accent-glow: rgba(158, 240, 26, 0.35);
  --accent-soft: rgba(158, 240, 26, 0.12);
  --accent-badge-bg: rgba(158, 240, 26, 0.15);
  --accent-badge-text: #9EF01A;

  --whatsapp-color: #25D366;
  --whatsapp-hover: #1fb855;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  --badge-easy-bg: rgba(158, 240, 26, 0.15);
  --badge-easy-text: #9EF01A;
  --badge-med-bg: rgba(251, 191, 36, 0.15);
  --badge-med-text: #fbbf24;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
  --shadow-neon: 0 0 25px rgba(158, 240, 26, 0.35);

  --header-bg: rgba(8, 12, 20, 0.88);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-hover: rgba(107, 179, 0, 0.5);
  --border-accent: #6bb300;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-contrast: #ffffff;

  --accent-neon: #6bb300;
  --accent-neon-hover: #589400;
  --accent-glow: rgba(107, 179, 0, 0.25);
  --accent-soft: rgba(107, 179, 0, 0.1);
  --accent-badge-bg: rgba(107, 179, 0, 0.12);
  --accent-badge-text: #487800;

  --whatsapp-color: #1f9d4e;
  --whatsapp-hover: #17803e;
  --whatsapp-glow: rgba(31, 157, 78, 0.35);

  --badge-easy-bg: rgba(107, 179, 0, 0.15);
  --badge-easy-text: #487800;
  --badge-med-bg: rgba(217, 119, 6, 0.15);
  --badge-med-text: #b45309;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-neon: 0 0 25px rgba(107, 179, 0, 0.25);

  --header-bg: rgba(248, 250, 252, 0.92);
}

/* ==========================================================================
   2. RESET & BASE (PERFORMANCE & CLS ZERO)
   ========================================================================== */

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  transition: background-color 0.25s ease, color 0.25s ease;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(14px, 4vw, 20px);
  padding-right: clamp(14px, 4vw, 20px);
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.container-narrow {
  max-width: 860px;
  width: 100%;
  box-sizing: border-box;
}

.container-pricing {
  max-width: 1360px;
  width: 100%;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }

p {
  color: var(--text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0f172a 40%, var(--accent-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon {
  color: var(--accent-neon);
}

/* ==========================================================================
   3. BOUTONS & ÉLÉMENTS D'ACTION
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.98);
}

.btn-neon {
  background-color: var(--accent-neon);
  color: var(--text-contrast);
  box-shadow: 0 4px 18px var(--accent-glow);
  font-weight: 700;
}
.btn-neon:hover {
  background-color: var(--accent-neon-hover);
  box-shadow: 0 6px 25px var(--accent-glow);
  transform: translateY(-2px);
}

/* Effet Shimmer animé sur bouton principal */
.btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: btn-shine 4s infinite linear;
}
@keyframes btn-shine {
  0% { left: -100%; }
  25%, 100% { left: 150%; }
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--whatsapp-glow);
  font-weight: 600;
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: 0 6px 25px var(--whatsapp-glow);
  transform: translateY(-2px);
}

.btn-glass {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  border-color: var(--border-color-hover);
  background-color: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}
.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}
.badge-neon {
  background-color: var(--accent-badge-bg);
  color: var(--accent-badge-text);
  border: 1px solid rgba(158, 240, 26, 0.3);
}

/* ==========================================================================
   4. BANDEAU D'ANNONCE SUPÉRIEUR DYNAMIQUE (COMPACT & PROPORTIONNÉ)
   ========================================================================== */

.top-announcement-bar {
  background: linear-gradient(90deg, #070b13 0%, #111a2f 50%, #070b13 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 6px 16px;
  font-size: 0.82rem;
  line-height: 1.35;
  position: relative;
  z-index: 1001;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

[data-theme="light"] .top-announcement-bar {
  background: linear-gradient(90deg, #edf2f7 0%, #ffffff 50%, #edf2f7 100%);
  border-bottom-color: var(--border-color);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.announcement-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
  animation: pulse-ring-neon 1.6s infinite ease-out;
  flex-shrink: 0;
}
@keyframes pulse-ring-neon {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.announcement-badge {
  background: var(--accent-badge-bg);
  color: var(--accent-badge-text);
  border: 1px solid rgba(158, 240, 26, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

[data-theme="light"] .announcement-badge {
  border-color: rgba(107, 179, 0, 0.35);
}

.announcement-text {
  color: var(--text-primary);
  font-weight: 500;
}

.announcement-cta {
  color: var(--accent-neon);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, text-decoration 0.2s ease;
}
.announcement-cta:hover {
  text-decoration: underline;
  transform: translateX(2px);
}
.announcement-cta .cta-desktop {
  display: inline;
}
.announcement-cta .cta-mobile {
  display: none;
}

@media (max-width: 768px) {
  .top-announcement-bar {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .announcement-inner {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
  }
  .announcement-badge {
    font-size: 0.65rem;
    padding: 1px 6px;
  }
  .announcement-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    font-size: 0.72rem;
  }
  .announcement-cta {
    font-size: 0.72rem;
  }
  .announcement-cta .cta-desktop {
    display: none;
  }
  .announcement-cta .cta-mobile {
    display: inline;
  }
}

@media (max-width: 480px) {
  .top-announcement-bar {
    padding: 4px 8px;
  }
  .announcement-badge {
    display: none;
  }
  .announcement-text {
    max-width: calc(100vw - 110px);
    font-size: 0.70rem;
  }
}

/* ==========================================================================
   5. HEADER & NAVIGATION INTÉGRÉE
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.site-brand:hover {
  opacity: 0.92;
}
.site-brand img,
.custom-logo,
.site-logo-img {
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.footer-brand .site-brand img,
.footer-brand .site-logo-img {
  max-height: 42px;
  max-width: 200px;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-color-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-neon);
}
.brand-dot {
  color: var(--accent-neon);
}

/* Menu de navigation bureau compatible wp_nav_menu */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-item {
  list-style: none;
  position: relative;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover,
.nav-link.active,
.site-nav-list a:hover,
.site-nav-list a.active,
body:not(.home):not(.front-page) .site-nav-list li.current-menu-item > a {
  color: #ffffff;
  background-color: rgba(158, 240, 26, 0.08);
}
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active,
[data-theme="light"] .site-nav-list a:hover,
[data-theme="light"] .site-nav-list a.active,
body:not(.home):not(.front-page) [data-theme="light"] .site-nav-list li.current-menu-item > a {
  color: var(--text-primary);
  background-color: rgba(107, 179, 0, 0.08);
}
.nav-link::after,
.site-nav-list a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link.active::after,
.site-nav-list a:hover::after,
.site-nav-list a.active::after,
body:not(.home):not(.front-page) .site-nav-list li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Support de sous-menus déroulants */
.site-nav-item .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  display: none;
  list-style: none;
  z-index: 100;
}
.site-nav-item:hover .sub-menu {
  display: block;
}
.site-nav-item .sub-menu li a {
  display: block;
  padding: 8px 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.site-nav-item .sub-menu li a:hover {
  background-color: var(--accent-soft);
  color: var(--accent-neon);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-switch-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.theme-switch-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-color-hover);
  transform: rotate(15deg);
}
.icon-sun, .icon-moon {
  width: 20px;
  height: 20px;
}
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}
.burger-icon {
  width: 24px;
  height: 24px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.mobile-drawer.is-open {
  display: block;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.mobile-nav-item {
  list-style: none;
}
.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-neon);
  padding-left: 6px;
}

/* ==========================================================================
   6. HERO SECTION CATCHY & DYNAMIQUE
   ========================================================================== */

.hero-section {
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

/* Orbes d'ambiance néon flottants */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.16;
}
.ambient-orb.orb-1 {
  width: 450px;
  height: 450px;
  background: var(--accent-neon);
  top: -100px;
  left: 10%;
  animation: float-orb-1 14s infinite alternate ease-in-out;
}
.ambient-orb.orb-2 {
  width: 400px;
  height: 400px;
  background: #3b82f6;
  bottom: -100px;
  right: 5%;
  animation: float-orb-2 16s infinite alternate ease-in-out;
}
@keyframes float-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 80px) scale(1.15); }
}
@keyframes float-orb-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -60px) scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Pastille statut en direct */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color-hover);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-weight: 800;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

/* Carte visuelle du Hero (Mockup TV avec Soundwaves) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-preview {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(158, 240, 26, 0.06);
  position: relative;
  width: 100%;
  max-width: 490px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.hero-card-preview:hover {
  transform: translateY(-4px);
  border-color: rgba(158, 240, 26, 0.4);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), 0 0 35px rgba(158, 240, 26, 0.12);
}
.hero-card-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.preview-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.preview-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Égaliseur Soundwave animé */
.soundwave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  padding: 0 4px;
}
.soundwave .bar {
  width: 3px;
  background-color: var(--accent-neon);
  border-radius: 2px;
  animation: soundwave-bounce 1.2s infinite ease-in-out;
}
.soundwave .bar-1 { height: 30%; animation-delay: 0.1s; }
.soundwave .bar-2 { height: 90%; animation-delay: 0.3s; }
.soundwave .bar-3 { height: 60%; animation-delay: 0.2s; }
.soundwave .bar-4 { height: 100%; animation-delay: 0.4s; }

@keyframes soundwave-bounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.preview-screen {
  background: linear-gradient(145deg, #090e18 0%, #111a2e 100%);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

[data-theme="light"] .hero-card-preview {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .preview-screen {
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.preview-channel-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.channel-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.3;
  transition: color 0.25s ease;
}

[data-theme="light"] .channel-title {
  color: var(--text-primary);
}

.channel-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.channel-badges {
  flex-shrink: 0;
}
.tag-4k {
  background: #e11d48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.tag-uhd {
  background: var(--accent-neon);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.channel-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.channel-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-live-dot 1.4s infinite ease-out;
}
@keyframes pulse-live-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}
.channel-live-tag {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
}
.channel-live-viewers {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.72rem;
  transition: opacity 0.3s ease;
}

.preview-timeline-wrap {
  margin: 6px 0 2px;
}
.preview-timeline-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
[data-theme="light"] .preview-timeline-bar {
  background: rgba(15, 23, 42, 0.1);
}
.preview-timeline-progress {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, var(--accent-neon) 100%);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(158, 240, 26, 0.4);
}
.preview-timeline-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 5px;
  gap: 8px;
}

.preview-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .preview-features-list {
  border-top-color: rgba(15, 23, 42, 0.08);
}
.preview-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.preview-feature-item svg {
  color: var(--accent-neon);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Badge de statut intégré sans coupure */
.hero-preview-badge-row {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.uptime-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(158, 240, 26, 0.35);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: badge-glow-pulse 3s infinite ease-in-out;
}
@keyframes badge-glow-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 4px 20px rgba(158, 240, 26, 0.2); }
}
.uptime-icon {
  color: var(--accent-neon);
  font-size: 0.95rem;
}

/* ==========================================================================
   7. SECTIONS POURQUOI NOUS CHOISIR & OFFRES & COMPATIBILITÉ & ÉTAPES & FAQ
   ========================================================================== */

.section-padding {
  padding: 85px 0;
  transition: background-color 0.25s ease;
}

.section-elevated {
  background-color: var(--bg-surface-elevated);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-subtitle {
  color: var(--accent-neon);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: inline-block;
}
.section-title {
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 22px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  background-color: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--accent-soft);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: stretch;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 38px 24px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  backdrop-filter: blur(10px);
  min-width: 0;
}
.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.pricing-card.is-popular {
  border: 2px solid var(--accent-neon);
  background: linear-gradient(180deg, rgba(158, 240, 26, 0.06) 0%, var(--bg-card) 65%);
  box-shadow: 0 10px 35px -10px rgba(158, 240, 26, 0.3);
  z-index: 2;
  padding-top: 44px;
}
[data-theme="light"] .pricing-card.is-popular {
  background: linear-gradient(180deg, rgba(107, 179, 0, 0.08) 0%, #ffffff 65%);
  box-shadow: 0 10px 30px -10px rgba(107, 179, 0, 0.25);
}
.pricing-card.is-popular:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px -8px rgba(158, 240, 26, 0.45);
  border-color: var(--accent-neon-hover);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-neon);
  color: #080c14;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border-radius: 9999px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(158, 240, 26, 0.45);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
}
[data-theme="light"] .popular-badge {
  color: #ffffff;
}
.pricing-header {
  margin-bottom: 20px;
  text-align: center;
}
.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.pricing-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: block;
}
.pricing-price-box {
  text-align: center;
  padding: 16px 0;
  margin-bottom: 22px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-currency {
  font-size: 1.4rem;
  vertical-align: super;
}
.pricing-period {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 6px;
}
.pricing-monthly-calc {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-neon);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(158, 240, 26, 0.15);
}
.pricing-features-list,
.pricing-card ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 28px 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.pricing-features-list li,
.pricing-feature-item,
.pricing-card li {
  list-style: none !important;
  list-style-type: none !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.pricing-features-list li::marker,
.pricing-feature-item::marker,
.pricing-card li::marker {
  display: none !important;
  content: "" !important;
}
.pricing-feature-item svg {
  color: var(--accent-neon);
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.pricing-action,
.pricing-cta {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.action-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  display: block;
  line-height: 1.35;
}
.pricing-guarantee {
  text-align: center;
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.guarantee-item svg {
  color: var(--accent-neon);
}

/* ==========================================================================
   PAGE LISTE DES CHAÎNES IPTV (BARRE DE RECHERCHE, ACCORDÉONS, BOUQUETS)
   ========================================================================== */
.channels-hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
}
.channels-hero-badges .badge {
  white-space: normal;
  text-align: center;
  max-width: 100%;
  word-break: break-word;
}

/* Bandeau dynamique Top Tendance en Direct (page chaînes) */
.channels-live-ticker {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 60%, rgba(158, 240, 26, 0.06) 100%);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
[data-theme="light"] .channels-live-ticker {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, #ffffff 60%, rgba(107, 179, 0, 0.06) 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.live-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.14);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.live-ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
  animation: pulse-live-dot 1.4s infinite ease-out;
}

.live-ticker-content {
  flex-grow: 1;
  min-width: 0;
}
.live-ticker-event {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}
.live-ticker-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}

.live-ticker-btn {
  background: var(--accent-neon);
  color: #080c14;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 2px 10px var(--accent-glow);
  touch-action: manipulation;
}
.live-ticker-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--accent-glow);
}
.live-ticker-btn:active {
  transform: scale(0.97);
}

.channels-control-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.channels-search-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.channels-search-box svg {
  position: absolute;
  left: 16px;
  color: var(--accent-neon);
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.channels-search-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 13px 44px 13px 48px;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.channels-search-input:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(158, 240, 26, 0.18);
  background: var(--bg-surface-elevated);
}

.channels-search-clear {
  position: absolute;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.channels-search-clear:hover {
  background: var(--accent-neon);
  color: #080c14;
}

.channels-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.channels-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.channel-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.channel-filter-btn:hover {
  border-color: var(--border-color-hover);
  color: var(--text-primary);
}

.channel-filter-btn.is-active {
  background: var(--accent-neon);
  color: #080c14;
  border-color: var(--accent-neon);
  box-shadow: 0 2px 10px rgba(158, 240, 26, 0.35);
}

.channels-toggle-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.channels-status-bar {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Grille des bouquets & chaînes */
.lc-channels-fr {
  width: 100%;
}

.lc-channels-fr .lc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.lc-channels-fr .lc-col-title {
  margin: 0 0 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lc-channels-fr .lc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  content-visibility: auto;
  contain-intrinsic-size: 0 52px;
}

.lc-channels-fr .lc-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-md);
}

.lc-channels-fr details {
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  margin: 0;
  padding: 0;
  transition: background 0.2s ease;
}

.lc-channels-fr details:last-of-type {
  border-bottom: none;
}

.lc-channels-fr summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
  user-select: none;
}

.lc-channels-fr summary::-webkit-details-marker {
  display: none;
}

.lc-channels-fr summary:hover {
  background: var(--bg-card-hover);
  color: var(--accent-neon);
}

.lc-channels-fr summary::before {
  display: none !important;
}

.lc-channels-fr summary::after {
  content: "+";
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--accent-neon);
  background: var(--accent-soft);
  border: 1px solid rgba(158, 240, 26, 0.25);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lc-channels-fr details[open] summary::after {
  content: "−";
  background: var(--accent-neon);
  color: #080c14;
  border-color: var(--accent-neon);
}

.lc-channels-fr details[open] summary {
  background: var(--bg-surface-elevated);
  color: var(--accent-neon);
  border-bottom: 1px solid var(--border-color);
}

.lc-channels-fr .lc-content {
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding: 14px 16px;
  font-size: 0.84rem;
  line-height: 1.8;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-line;
  border-top: none;
  font-family: inherit;
}

.lc-channels-fr .lc-content::-webkit-scrollbar {
  width: 5px;
}
.lc-channels-fr .lc-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
}
.lc-channels-fr .lc-content::-webkit-scrollbar-thumb {
  background: rgba(158, 240, 26, 0.25);
  border-radius: 999px;
}
.lc-channels-fr .lc-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent-neon);
}

.lc-channels-fr .lc-content p {
  margin: 0 0 4px;
}
.lc-channels-fr .lc-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lc-channels-fr .lc-content li {
  margin: 0 0 2px;
  padding: 3px 6px;
  border-radius: 4px;
  transition: background 0.12s;
}
.lc-channels-fr .lc-content li:hover {
  background: var(--accent-soft);
  color: var(--text-primary);
}

/* Bannière de conversion & fonctionnalités de la page chaînes */
.channels-cta-banner {
  margin-top: 55px;
  background: linear-gradient(135deg, rgba(158, 240, 26, 0.08) 0%, var(--bg-card) 100%);
  border: 2px solid var(--border-color-hover);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.channels-cta-banner h2 {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  margin-bottom: 12px;
  line-height: 1.3;
}
.channels-cta-banner p {
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 26px;
  font-size: 0.95rem;
  line-height: 1.65;
}
.channels-cta-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.channels-features-wrap {
  margin-top: 60px;
}
.channels-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1080px) {
  .lc-channels-fr .lc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .lc-channels-fr .lc-col:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-hero-banner {
    padding: 30px 0 20px;
  }
  .page-hero-banner .section-title {
    font-size: clamp(1.45rem, 5.5vw, 2.1rem);
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .page-hero-banner .section-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .channels-hero-badges {
    gap: 8px;
  }
  .channels-hero-badges .badge {
    font-size: 0.74rem;
    padding: 4px 10px;
  }
  .channels-live-ticker {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
    margin-bottom: 16px;
  }
  .channels-live-ticker .live-ticker-badge {
    align-self: flex-start;
  }
  .live-ticker-event,
  .live-ticker-meta {
    white-space: normal;
    word-break: break-word;
  }
  .live-ticker-btn {
    width: 100%;
    text-align: center;
    padding: 9px 12px;
  }
  .channels-control-bar {
    padding: 14px 12px;
    border-radius: 14px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .channels-search-box {
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .channels-search-input {
    font-size: 16px; /* Empêche le zoom auto sur iOS Safari */
    padding: 11px 36px 11px 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .channels-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .channels-filter-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .channels-filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .channel-filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.8rem;
    touch-action: manipulation;
  }
  .channels-toggle-btns {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .channels-toggle-btns .btn {
    width: 100%;
    padding: 9px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
    justify-content: center;
    touch-action: manipulation;
  }
  .lc-channels-fr {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .lc-channels-fr .lc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .lc-channels-fr .lc-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .lc-channels-fr .lc-col:last-child {
    grid-column: auto;
    max-width: none;
    width: 100%;
  }
  .lc-channels-fr .lc-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .lc-channels-fr summary {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.85rem;
    word-break: break-word;
    box-sizing: border-box;
    touch-action: manipulation;
  }
  .lc-channels-fr .lc-content {
    max-height: 320px;
    padding: 12px 14px;
    font-size: 0.82rem;
    word-break: break-word;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .channels-cta-banner {
    padding: 24px 16px;
    margin-top: 35px;
    border-radius: 16px;
  }
  .channels-cta-btns {
    flex-direction: column;
    gap: 10px;
  }
  .channels-cta-btns .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.9rem;
  }
  .channels-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Compatibilité */
.compatibility-search {
  max-width: 480px;
  margin: 0 auto 30px;
  position: relative;
}
.compatibility-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px 14px 46px;
  color: var(--text-primary);
  outline: none;
}
.compatibility-input:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-icon-pos {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.compat-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compat-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.compat-table th,
.compat-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}
.compat-table th {
  background-color: var(--bg-surface-elevated);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.compat-table tbody tr:hover {
  background-color: var(--bg-surface-elevated);
}
.device-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.device-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.app-badge {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-primary);
}
.difficulty-badge {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.difficulty-badge.facile {
  background: var(--badge-easy-bg);
  color: var(--badge-easy-text);
}
.difficulty-badge.moyen {
  background: var(--badge-med-bg);
  color: var(--badge-med-text);
}

/* Étapes */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(158, 240, 26, 0.45);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(158, 240, 26, 0.12);
}
.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--accent-neon);
  color: var(--accent-neon);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 15px rgba(158, 240, 26, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.step-card:hover .step-number {
  background: var(--accent-neon);
  color: var(--text-contrast);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: scale(1.08);
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.3;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-item.is-open {
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent-neon);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.is-open .faq-icon-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   8. SECTION BLOG & ARTICLES
   ========================================================================== */

.blog-header-section,
.page-hero-banner {
  padding: 50px 0 25px;
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-nav {
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb-item a {
  color: var(--text-secondary);
}
.breadcrumb-item a:hover {
  color: var(--accent-neon);
}
.breadcrumb-item.active {
  color: var(--accent-neon);
  font-weight: 600;
}
.breadcrumb-separator {
  color: var(--text-muted);
}

.blog-categories-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.category-pill {
  padding: 7px 16px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.category-pill:hover,
.category-pill.active {
  background: var(--accent-soft);
  color: var(--accent-neon);
  border-color: var(--border-color-hover);
}

/* Grille des articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-md);
}

.article-thumb-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface-elevated);
}
.article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-thumb-img {
  transform: scale(1.06);
}
.article-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-neon);
  font-weight: 700;
}

.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--accent-badge-bg);
  color: var(--accent-badge-text);
  border: 1px solid var(--border-color-hover);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.article-thumb-wrapper .article-cat-badge,
.article-card-thumb .article-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-neon);
}

[data-theme="light"] .article-thumb-wrapper .article-cat-badge,
[data-theme="light"] .article-card-thumb .article-cat-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-badge-text);
  border-color: rgba(107, 179, 0, 0.35);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-item svg {
  color: var(--accent-neon);
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.article-title a:hover {
  color: var(--accent-neon);
}

.article-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-neon);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.2s ease;
}
.btn-read-more:hover {
  transform: translateX(4px);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 60px;
}
.blog-pagination .page-numbers {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--accent-neon);
  color: var(--text-contrast);
  border-color: var(--accent-neon);
}

/* Bannière de conversion sur le blog */
.blog-cta-banner {
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-color-hover);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}
.blog-cta-content {
  max-width: 600px;
}
.blog-cta-content h3 {
  font-size: 1.6rem;
  margin: 10px 0 8px;
}
.blog-cta-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   9. ARTICLE UNIQUE (SINGLE.PHP) & COMMENTAIRES
   ========================================================================== */

.article-single-header {
  padding: 45px 0 30px;
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, transparent 100%);
}
.article-header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-breadcrumb-wrap {
  margin-bottom: 24px;
  display: block;
  clear: both;
}

.article-header-meta .article-single-badge,
.article-single-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background-color: var(--accent-badge-bg) !important;
  color: var(--accent-badge-text) !important;
  border: 1px solid var(--border-color-hover) !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  position: static !important;
  margin: 0 !important;
}

[data-theme="light"] .article-single-badge {
  background: rgba(107, 179, 0, 0.12) !important;
  color: #3b6600 !important;
  border-color: rgba(107, 179, 0, 0.35) !important;
}

.article-header-meta .article-cat-badge {
  position: static;
  margin: 0;
}
.article-single-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 22px;
}
.article-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-name {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
}
.post-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-featured-image {
  margin: 30px 0 40px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}
.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Formatage du contenu de l'article */
.entry-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.entry-content p {
  margin-bottom: 24px;
}
.entry-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-neon);
}
.entry-content h3 {
  font-size: 1.4rem;
  margin: 32px 0 14px;
}
.entry-content ul, .entry-content ol {
  margin: 0 0 24px 24px;
}
.entry-content li {
  margin-bottom: 8px;
}
.entry-content blockquote {
  border-left: 4px solid var(--accent-neon);
  background: var(--bg-surface-elevated);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  margin: 28px 0;
}

/* Appel à l'action WhatsApp dans l'article */
.in-article-cta-box {
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-color-hover);
  border-radius: 16px;
  padding: 28px;
  margin: 45px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.in-article-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.in-article-cta-text h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.in-article-cta-text p {
  font-size: 0.92rem;
  margin: 0;
}

.article-tags-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 35px 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.tags-title {
  font-weight: 700;
  font-size: 0.88rem;
}
.tag-pill {
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.tag-pill:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

/* Barre de partage social */
.article-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
}
.share-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.share-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-color-hover);
}
.share-whatsapp {
  background-color: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
  color: #25D366;
}
.share-whatsapp:hover {
  background-color: #25D366;
  color: #ffffff;
}
.share-x {
  background-color: rgba(255, 255, 255, 0.05);
}
.share-copy:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

/* Navigation Article Précédent / Suivant */
.post-navigation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 35px 0;
}
.nav-post-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: all 0.25s ease;
}
.nav-post-link:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}
.nav-post-link.next {
  text-align: right;
  align-items: flex-end;
}
.nav-dir {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-neon);
  letter-spacing: 0.05em;
}
.nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.author-bio-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin: 40px 0 60px;
}
.bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bio-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.bio-details p {
  font-size: 0.9rem;
  margin: 0;
}

/* Articles similaires */
.related-articles-section {
  margin: 60px 0;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.related-title {
  font-size: 1.5rem;
}
.see-all-link {
  color: var(--accent-neon);
  font-weight: 600;
  font-size: 0.9rem;
}
.related-grid {
  margin-bottom: 0;
}

/* Commentaires */
.comments-wrapper-box {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.comments-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 12px;
}
.comments-count-title {
  font-size: 1.4rem;
  margin-bottom: 0;
}
.comment-list {
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.comment {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.comment-author .avatar {
  border-radius: 50%;
}
.comment-metadata {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.comment-body p {
  font-size: 0.95rem;
  line-height: 1.6;
}
.reply {
  margin-top: 10px;
  text-align: right;
}
.comment-reply-link {
  color: var(--accent-neon);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Formulaire de commentaire */
.comment-respond {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
}
.comment-reply-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.comment-notes {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   10. PAGE CONTACT & FORMULAIRE DE CONTACT NATIF
   ========================================================================== */

.contact-header-section {
  padding: 50px 0 20px;
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 50px;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-link {
  color: var(--accent-neon);
  font-weight: 700;
  font-size: 1rem;
  margin-top: auto;
}
.contact-link:hover {
  text-decoration: underline;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow-md);
}
.contact-form-header {
  margin-bottom: 28px;
}
.contact-form-header h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}
.required {
  color: #ef4444;
}
.form-help {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.alert-box {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}
.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.contact-fast-cta {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   11. FOOTER & BOUTON FLOTTANT WHATSAPP
   ========================================================================== */

.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--accent-neon);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-nav-item a,
.footer-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-links a:hover,
.footer-nav-item a:hover,
.footer-link:hover {
  color: var(--accent-neon);
  transform: translateX(4px);
}

.footer-contact-info {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-contact-item svg {
  color: var(--accent-neon);
  flex-shrink: 0;
}

.footer-disclaimer-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 35px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Bouton Flottant WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--whatsapp-glow);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  background-color: var(--whatsapp-hover);
}
.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
}
.whatsapp-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-color);
  animation: pulse-wave 2s infinite ease-out;
  pointer-events: none;
}
@keyframes pulse-wave {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-tooltip {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  animation: float-tooltip 3s infinite ease-in-out;
}
@keyframes float-tooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS (MOBILE FIRST ADAPTATIONS)
   ========================================================================== */

@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin: 0 auto;
    gap: 28px;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.is-popular {
    transform: none;
  }
  .steps-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 868px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card-preview {
    max-width: 520px;
    margin: 0 auto;
  }
  .site-nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .in-article-cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .in-article-cta-icon {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 24px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .steps-timeline {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .whatsapp-tooltip {
    display: none;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .post-navigation-row {
    grid-template-columns: 1fr;
  }
  .article-share-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Optimisation Hero sur smartphone */
  .hero-section {
    padding: 40px 0 45px;
  }
  .hero-content {
    gap: 16px;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.3rem);
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .hero-card-preview {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .preview-screen {
    padding: 14px 12px;
    gap: 12px;
  }
  .preview-channel-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .preview-features-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .uptime-badge {
    font-size: 0.74rem;
    padding: 6px 14px;
    text-align: center;
  }
  .hero-cta-group {
    width: 100%;
    flex-direction: column;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Table de compatibilité mobile */
  .compat-table, .compat-table thead, .compat-table tbody, .compat-table th, .compat-table td, .compat-table tr {
    display: block;
  }
  .compat-table thead {
    display: none;
  }
  .compat-table tbody tr {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .compat-table td {
    padding: 8px 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .compat-table td::before {
    content: attr(data-label);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}

/* ==========================================================================
   PERFORMANCE & CORE WEB VITALS (LIGHTHOUSE MOBILE 80+)
   Accélération drastique du rendu initial en différant le travail GPU/CPU des
   sections sous la ligne de flottaison.
   ========================================================================== */
#offres,
#compatibilite,
#installation,
#faq,
#temoignages,
#blog {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}


