/*  ═══════════════════════════════════════════════════════════════
    Meilleur IPTV 4K France — Design System & Styles
    Mobile-First · Semantic · Performance-Optimisé
    ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   0. DESIGN TOKENS (Custom Properties)
   ────────────────────────────────────────────────────────────── */
:root {
  /* Couleurs primaires */
  --clr-hero:          #002899;
  --clr-primary:       #1E66FF;
  --clr-primary-hover: #1552D6;
  --clr-primary-light: #EBF2FF;

  /* Surfaces */
  --clr-bg-white:      #FFFFFF;
  --clr-bg-light:      #F4F8FB;
  --clr-bg-dark:       #002899;

  /* Texte */
  --clr-text-dark:     #1E293B;
  --clr-text-muted:    #475569;
  --clr-text-light:    #F8FAFC;
  --clr-text-on-dark:  #F8FAFC;

  /* Accents */
  --clr-star:          #FACC15;
  --clr-badge-pop:     #1E66FF;
  --clr-old-price:     #94A3B8;
  --clr-success:       #22C55E;
  --clr-promo-bg:      #FFF7ED;
  --clr-promo-border:  #FB923C;

  /* Bordures & ombres */
  --border-light:      #E2E8F0;
  --shadow-sm:         0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:         0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:         0 10px 30px rgba(0,0,0,.1);
  --shadow-header:     0 2px 12px rgba(0,0,0,.08);

  /* Typographie */
  --ff-body:           'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs:             0.75rem;   /* 12px */
  --fs-sm:             0.875rem;  /* 14px */
  --fs-base:           1rem;      /* 16px */
  --fs-md:             1.125rem;  /* 18px */
  --fs-lg:             1.25rem;   /* 20px */
  --fs-xl:             1.5rem;    /* 24px */
  --fs-2xl:            2rem;      /* 32px */
  --fs-3xl:            2.5rem;    /* 40px */
  --fs-4xl:            3rem;      /* 48px */
  --fw-regular:        400;
  --fw-medium:         500;
  --fw-semibold:       600;
  --fw-bold:           700;
  --fw-extrabold:      800;

  /* Espacement */
  --space-xs:          0.5rem;
  --space-sm:          0.75rem;
  --space-md:          1rem;
  --space-lg:          1.5rem;
  --space-xl:          2rem;
  --space-2xl:         3rem;
  --space-3xl:         4rem;
  --space-4xl:         6rem;

  /* Layout */
  --container-max:     1200px;
  --container-pad:     1rem;
  --header-height:     72px;

  /* Border radius */
  --radius-sm:         6px;
  --radius-md:         10px;
  --radius-lg:         16px;
  --radius-xl:         20px;
  --radius-full:       9999px;

  /* Transitions */
  --ease-out:          cubic-bezier(.22, .61, .36, 1);
  --transition-fast:   150ms var(--ease-out);
  --transition-base:   250ms var(--ease-out);
  --transition-slow:   400ms var(--ease-out);
}


/* Utility classes for responsive images */
.w-full {
  width: 100%;
}
.h-auto {
  height: auto;
}
.rounded-xl {
  border-radius: var(--radius-lg);
}
.object-cover {
  object-fit: cover;
}
.article-featured-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: block;
}

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

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

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--clr-text-dark);
  background: var(--clr-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Bloquer le scroll quand le menu mobile est ouvert */
body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Focus visible pour accessibilité */
:focus-visible {
  outline: 3px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: 3px;
}


/* ──────────────────────────────────────────────────────────────
   2. LAYOUT — Container
   ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}


/* ──────────────────────────────────────────────────────────────
   3. TYPOGRAPHY — Section Titles
   ────────────────────────────────────────────────────────────── */
.section-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--clr-text-dark);
  text-align: center;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.section-title--light {
  color: var(--clr-text-light);
}

.section-subtitle {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.section-subtitle--light {
  color: rgba(248, 250, 252, 0.8);
}


/* ──────────────────────────────────────────────────────────────
   4. BUTTONS
   ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--ff-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
}

.btn--primary {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--clr-primary-hover);
  border-color: var(--clr-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 102, 255, 0.35);
}

.btn--cta-light {
  background: #fff;
  color: var(--clr-hero);
  font-weight: var(--fw-bold);
  border-color: #fff;
  padding: 0.875rem 2rem;
}
.btn--cta-light:hover,
.btn--cta-light:focus-visible {
  background: var(--clr-bg-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

.btn--cta-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  padding: 0.875rem 2rem;
}
.btn--cta-outline:hover,
.btn--cta-outline:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}


/* ──────────────────────────────────────────────────────────────
   5. CARD GRIDS
   ────────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: var(--space-lg);
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

.card-grid--4 {
  grid-template-columns: 1fr;
}


/* ──────────────────────────────────────────────────────────────
   6. HEADER — Sticky Navigation
   ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-bg-white);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.site-header.header--scrolled {
  box-shadow: var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: clamp(0.5rem, 1vw, 1rem);
}

/* Logo / Brand */
.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-text {
  font-size: clamp(0.8rem, 1.05vw, 1rem);
  font-weight: var(--fw-bold);
  color: var(--clr-hero);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.header__logo-text strong {
  color: var(--clr-primary);
}

/* Nav — caché sur mobile */
.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 0.9vw, 1.15rem);
}

.header__nav-link {
  font-size: clamp(0.75rem, 0.9vw, 0.92rem);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.header__nav-link:hover,
.header__nav-link:focus-visible {
  color: var(--clr-primary);
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  transition: width var(--transition-base);
}
.header__nav-link:hover::after {
  width: 100%;
}

/* CTA Header — caché sur mobile */
.header__cta {
  display: none;
}

/* Hamburger */
.header__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--clr-text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

/* Hamburger → X animation */
.header__menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.header__menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.header__menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.header__nav--open {
  display: flex;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--clr-bg-white);
  flex-direction: column;
  padding: var(--space-2xl) var(--container-pad);
  z-index: 999;
  animation: slideDown 300ms var(--ease-out) forwards;
}

.header__nav--open .header__nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.header__nav--open .header__nav-link {
  font-size: var(--fs-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ──────────────────────────────────────────────────────────────
   7. HERO SECTION
   ────────────────────────────────────────────────────────────── */
.hero {
  background: var(--clr-bg-dark);
  color: var(--clr-text-on-dark);
  padding: var(--space-3xl) 0 var(--space-3xl);
  overflow: hidden;
  position: relative;
}

/* Subtle gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30, 102, 255, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 102, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--fs-base);
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* Device Mockups */
.hero__devices {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.device {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.device__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D1B4A 0%, #1A3A7A 100%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.device__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.device--tv {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.device--phone {
  aspect-ratio: 9 / 16;
  max-height: 140px;
  justify-self: end;
}

.device--tablet {
  aspect-ratio: 4 / 3;
  max-height: 140px;
}

.device--laptop {
  aspect-ratio: 16 / 10;
  max-height: 140px;
}


/* ──────────────────────────────────────────────────────────────
   8. HOW IT WORKS — 3 Feature Cards
   ────────────────────────────────────────────────────────────── */
.how-it-works {
  background: var(--clr-bg-light);
  padding: var(--space-3xl) 0;
}

.feature-card {
  background: var(--clr-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
}
.feature-card__icon svg {
  display: inline-block;
}

.feature-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  color: var(--clr-text-dark);
}

.feature-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}


/* ──────────────────────────────────────────────────────────────
   9. WHY CHOOSE US — 2 Columns
   ────────────────────────────────────────────────────────────── */
.why-us {
  background: var(--clr-bg-white);
  padding: var(--space-3xl) 0;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.why-us__col {
  background: var(--clr-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
}

.why-us__col-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
  color: var(--clr-text-dark);
}

.why-us__col-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.why-us__list li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}
.why-us__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: var(--fw-bold);
  color: var(--clr-success);
  font-size: var(--fs-base);
}


/* ──────────────────────────────────────────────────────────────
   10. TRUST STRIP
   ────────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--clr-bg-light);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
}

.trust-badge__icon {
  flex-shrink: 0;
}

.trust-badge__text {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-dark);
}


/* ──────────────────────────────────────────────────────────────
   11. PRICING SECTION
   ────────────────────────────────────────────────────────────── */
.pricing {
  background: var(--clr-bg-white);
  padding: var(--space-3xl) 0;
}

/* Promo Banner */
.pricing__promo-banner {
  background: var(--clr-promo-bg);
  border: 2px solid var(--clr-promo-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-size: var(--fs-sm);
  color: var(--clr-text-dark);
}

.countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-bold);
}

.countdown__unit {
  background: var(--clr-hero);
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: var(--fs-sm);
  min-width: 2.2em;
  text-align: center;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.countdown__unit small {
  font-size: 0.7em;
  font-weight: var(--fw-medium);
  opacity: 0.8;
}

.countdown__sep {
  font-weight: var(--fw-bold);
  color: var(--clr-hero);
  padding: 0 1px;
}

/* Pricing Cards */
.pricing-card {
  background: var(--clr-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════════════════════════════
   FEATURED / POPULAR PREMIUM CARD REDESIGN
   ══════════════════════════════════════════════════════════════ */
.pricing-card--featured {
  background: linear-gradient(145deg, #001B66 0%, #002899 55%, #0F3CC9 100%);
  border: 2px solid #38BDF8;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.22), 0 20px 40px -10px rgba(0, 24, 100, 0.5);
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.pricing-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.38), 0 25px 50px -10px rgba(0, 24, 100, 0.65);
}

/* "Populaire" / "Recommandé" Gold/Amber Gradient Badge */
.pricing-card--featured .pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 50%, #D97706 100%);
  color: #0F172A;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Typography inside Premium Featured Card */
.pricing-card--featured .pricing-card__name {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pricing-card--featured .pricing-card__duration {
  color: #CBD5E1;
  font-weight: var(--fw-medium);
}

.pricing-card--featured .pricing-card__old-price {
  color: #94A3B8;
  opacity: 0.85;
}

.pricing-card--featured .pricing-card__price {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.pricing-card--featured .pricing-card__price sup {
  color: #E2E8F0;
}

.pricing-card--featured .pricing-card__features li {
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.pricing-card--featured .pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card--featured .pricing-card__features li::before {
  color: #38BDF8;
  font-size: 1.15em;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.65);
}

/* High-Contrast Bright White CTA Button */
.pricing-card--featured .pricing-card__cta {
  background: #FFFFFF;
  color: #002899;
  font-weight: 800;
  font-size: var(--fs-md);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-base);
}

.pricing-card--featured .pricing-card__cta:hover {
  background: #F0F9FF;
  color: #001B66;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

.pricing-card__header {
  margin-bottom: var(--space-md);
}

.pricing-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-extrabold);
  color: var(--clr-text-dark);
  margin-bottom: 4px;
}

.pricing-card__duration {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-weight: var(--fw-medium);
}

.pricing-card__price-block {
  margin-bottom: var(--space-lg);
}

.pricing-card__old-price {
  font-size: var(--fs-sm);
  color: var(--clr-old-price);
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}

.pricing-card__price {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--clr-text-dark);
  line-height: 1;
}
.pricing-card__price sup {
  font-size: 0.4em;
  top: -0.6em;
  font-weight: var(--fw-bold);
}

.pricing-card__features {
  text-align: left;
  margin-bottom: var(--space-xl);
  flex: 1;
}
.pricing-card__features li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-success);
  font-weight: var(--fw-bold);
}

.pricing-card__cta {
  width: 100%;
}


/* ──────────────────────────────────────────────────────────────
   12. INSTALLATION STEPS (3 Steps) — Dark bg
   ────────────────────────────────────────────────────────────── */
.install-steps {
  background: var(--clr-bg-dark);
  padding: var(--space-3xl) 0;
}

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition-base), background var(--transition-base);
}
.step-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-md);
}

.step-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-text-light);
  margin-bottom: var(--space-xs);
}

.step-card__desc {
  font-size: var(--fs-sm);
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.6;
}


/* ──────────────────────────────────────────────────────────────
   13. CONTENT OVERVIEW
   ────────────────────────────────────────────────────────────── */
.content-overview {
  background: var(--clr-bg-white);
  padding: var(--space-3xl) 0;
}

.content-overview__text {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.content-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  max-width: 840px;
  margin-inline: auto;
}

.content-badge {
  display: inline-flex;
  align-items: center;
  background: var(--clr-bg-light);
  border: 1px solid var(--border-light);
  color: var(--clr-text-dark);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
.content-badge:hover {
  background: var(--clr-primary-light);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: translateY(-2px);
}

.stability {
  background: var(--clr-bg-white);
  padding: var(--space-3xl) 0;
}

.content-card {
  background: var(--clr-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.content-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.content-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  color: var(--clr-text-dark);
}

.content-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}


/* ──────────────────────────────────────────────────────────────
   14. FRENCH PROVIDER ADVANTAGES — Compatibility Grid
   ────────────────────────────────────────────────────────────── */
.fr-advantages {
  background: var(--clr-bg-white);
  padding: var(--space-3xl) 0;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.compat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--clr-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.compat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.compat-item__icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.compat-item__icon svg {
  display: inline-block;
}

.compat-item__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  color: var(--clr-text-dark);
}

.compat-item__desc {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  line-height: 1.5;
}


/* ──────────────────────────────────────────────────────────────
   15. PREMIUM FEATURES — 4 Cards
   ────────────────────────────────────────────────────────────── */
.premium-features {
  background: var(--clr-bg-light);
  padding: var(--space-3xl) 0;
}

.prem-card {
  background: var(--clr-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.prem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.prem-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.prem-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  color: var(--clr-text-dark);
}

.prem-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}


/* ──────────────────────────────────────────────────────────────
   16. CUSTOMER REVIEWS
   ────────────────────────────────────────────────────────────── */
.reviews {
  background: var(--clr-bg-white);
  padding: var(--space-3xl) 0;
}

.review-card {
  background: var(--clr-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card__stars {
  color: var(--clr-star);
  font-size: var(--fs-lg);
  letter-spacing: 2px;
}

.review-card__text {
  flex: 1;
}
.review-card__text p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.review-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.review-card__name {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-dark);
}

.review-card__location {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}


/* ──────────────────────────────────────────────────────────────
   17. CTA BANNER — Mid-page
   ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--clr-bg-dark);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(30, 102, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--clr-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.cta-banner__text {
  font-size: var(--fs-base);
  color: rgba(248, 250, 252, 0.8);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-inline: auto;
}


/* ──────────────────────────────────────────────────────────────
   18. FAQ ACCORDION
   ────────────────────────────────────────────────────────────── */
.faq {
  background: var(--clr-bg-light);
  padding: var(--space-3xl) 0;
}

.faq__list {
  max-width: 768px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq__item {
  background: var(--clr-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}
.faq__item[open] {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
  transition: color var(--transition-fast);
}
.faq__question:hover {
  color: var(--clr-primary);
}

/* Remplacer le triangle par défaut par un chevron */
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question::marker {
  content: '';
}
.faq__question::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
}

.faq__answer {
  padding: 0 var(--space-lg) var(--space-lg);
}
.faq__answer p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}


/* ──────────────────────────────────────────────────────────────
   19. FOOTER
   ────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0B1426;
  color: rgba(248, 250, 252, 0.7);
  padding: var(--space-3xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer__brand {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer__logo-text {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: #fff;
}
.footer__logo-text strong {
  color: var(--clr-primary);
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer__eeat {
  font-size: var(--fs-xs);
  opacity: 0.6;
  line-height: 1.5;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
  margin-top: var(--space-lg);
}
.footer__col .footer__heading:first-child,
.footer__col > nav > .footer__heading:first-child {
  margin-top: 0;
}

.footer__links li {
  margin-bottom: var(--space-xs);
}
.footer__links a {
  font-size: var(--fs-sm);
  color: rgba(248, 250, 252, 0.6);
  transition: color var(--transition-fast);
}
.footer__links a:hover,
.footer__links a:focus-visible {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(248, 250, 252, 0.4);
}


/* ──────────────────────────────────────────────────────────────
   20. SCROLL ANIMATIONS (IntersectionObserver)
   ────────────────────────────────────────────────────────────── */
.anim-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.anim-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations within grids */
.card-grid .anim-target:nth-child(2) { transition-delay: 80ms; }
.card-grid .anim-target:nth-child(3) { transition-delay: 160ms; }
.card-grid .anim-target:nth-child(4) { transition-delay: 240ms; }
.card-grid .anim-target:nth-child(5) { transition-delay: 320ms; }
.card-grid .anim-target:nth-child(6) { transition-delay: 400ms; }
.trust-strip__grid .anim-target:nth-child(2) { transition-delay: 80ms; }
.trust-strip__grid .anim-target:nth-child(3) { transition-delay: 160ms; }
.trust-strip__grid .anim-target:nth-child(4) { transition-delay: 240ms; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anim-target {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   21. RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet (≥640px) ───────────────────────────────────── */
@media (min-width: 640px) {
  :root {
    --container-pad: 1.5rem;
  }

  .section-title {
    font-size: var(--fs-2xl);
  }

  .hero__title {
    font-size: var(--fs-3xl);
  }

  .hero__subtitle {
    font-size: var(--fs-md);
  }

  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-badge {
    flex-direction: column;
    text-align: center;
  }

  .compat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__title {
    font-size: var(--fs-2xl);
  }
}


/* ── Desktop (≥1024px) ─────────────────────────────────── */
@media (min-width: 1024px) {
  :root {
    --container-pad: 2rem;
    --header-height: 80px;
  }

  .section-title {
    font-size: var(--fs-3xl);
  }

  .section-subtitle {
    font-size: var(--fs-md);
  }

  /* Header — afficher nav et CTA, cacher hamburger */
  .header__nav {
    display: flex;
    align-items: center;
  }

  .header__cta {
    display: inline-flex;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.55rem 0.95rem;
    font-size: clamp(0.78rem, 0.9vw, 0.875rem);
  }

  .header__menu-toggle {
    display: none;
  }

  /* Hero — 2 colonnes */
  .hero {
    padding: var(--space-4xl) 0;
  }

  .hero__inner {
    flex-direction: row;
    text-align: left;
    gap: var(--space-3xl);
  }

  .hero__content {
    flex: 1;
  }

  .hero__title {
    font-size: var(--fs-4xl);
  }

  .hero__cta-group {
    justify-content: flex-start;
  }

  .hero__devices {
    flex: 1;
    max-width: 580px;
  }

  /* 3-col grids */
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 4-col grids */
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Featured pricing card scale on desktop */
  .pricing-card--featured {
    transform: scale(1.05);
    z-index: 10;
  }
  .pricing-card--featured:hover {
    transform: translateY(-6px) scale(1.05);
  }

  /* Why Us — 2 cols */
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer — 3 cols */
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .cta-banner__title {
    font-size: var(--fs-3xl);
  }
}


/* ── Large Desktop (≥1280px) ───────────────────────────── */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 3.25rem;
  }
}


/* ══════════════════════════════════════════════════════════════
   22. OVERFLOW PROTECTION — Anti-horizontal-scroll
   ══════════════════════════════════════════════════════════════ */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

section, .container {
  overflow-wrap: break-word;
  word-break: break-word;
}

img, video, iframe, svg {
  max-width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   23. UTILITIES — Layout, Shadows & Mockup Integration
   ══════════════════════════════════════════════════════════════ */
.w-full {
  width: 100%;
}

.max-w-\[600px\] {
  max-width: 600px;
}

.h-auto {
  height: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.object-contain {
  object-fit: contain;
}

.drop-shadow-2xl {
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.45));
}

/* ══════════════════════════════════════════════════════════════
   24. BLOG & ARTICLE ENHANCEMENTS — E-E-A-T & Navigation
   ══════════════════════════════════════════════════════════════ */
.blog-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin-bottom: 2.5rem !important;
}
.blog-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  outline: none !important;
  background-color: #F1F5F9 !important;
  color: #334155 !important;
  font-family: var(--ff-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  line-height: 1.25rem !important;
}
.blog-filter-btn:hover {
  background-color: #E2E8F0 !important;
  color: #1E293B !important;
}
.blog-filter-btn.active {
  background-color: #1E66FF !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(30, 102, 255, 0.35) !important;
}

.article-meta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  background: var(--clr-primary-light);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: var(--space-xl);
  font-size: var(--fs-sm);
  color: #1E3A8A;
}
.article-meta-box svg {
  flex-shrink: 0;
  color: var(--clr-primary);
}
.article-meta-box span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-toc {
  background: var(--clr-bg-light);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--clr-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: var(--space-xl) 0 var(--space-2xl);
}
.article-toc__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--clr-text-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.article-toc__list li {
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.article-toc__list a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.article-toc__list a:hover {
  text-decoration: underline;
  color: var(--clr-primary-hover);
}



