/* ============================================================
   custom.css — Variables CSS (Design Tokens)
   Source : tokens/tokens.json + export.json (Figma)
   ============================================================ */

/* ============================================================
   POLICES CUSTOM — Inter (self-hosted) + Nohemi
   Perf : auto-hébergement en WOFF2 pour éliminer la dépendance
   Google Fonts (gain de ~200-400 ms sur LCP, 0 round-trip tiers).
   ============================================================ */

/* Inter — self-hosted WOFF2 */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Nohemi — self-hosted WOFF */
@font-face {
  font-family: 'Nohemi';
  src:
    url('../assets/fonts/Nohemi-Regular-BF6438cc579d934.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nohemi';
  src:
    url('../assets/fonts/Nohemi-Black-BF6438cc565e67b.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {

  /* ==========================================================
     PRIMITIVES — COULEURS
     Source : export.json > "Primitives" > "Light"
     ========================================================== */

  /* Échelle ship-gray (du plus clair au plus sombre) */
  --color-ship-gray-50:  #4a5267;
  --color-ship-gray-100: #464d5f;
  --color-ship-gray-200: #434857;
  --color-ship-gray-300: #3f434f;
  --color-ship-gray-400: #3b3e48;
  --color-ship-gray-500: #363940;
  --color-ship-gray-600: #323439;
  --color-ship-gray-700: #2e2f33;
  --color-ship-gray-800: #2a2b2d;
  --color-ship-gray-900: #252627;
  --color-ship-gray-950: #212122;

  /* Couleurs primaires */
  --color-primary-1:      #6effee;                    /* Cyan accent */
  --color-primary-1-op60: rgba(110, 255, 238, 0.60);  /* Cyan 60% */
  --color-primary-1-op30: rgba(110, 255, 238, 0.30);  /* Cyan 30% */
  --color-primary-2: #145efe;   /* Bleu */
  --color-primary-3: #0b358f;   /* Bleu foncé */

  /* Blanc (full et variantes opaques) */
  --color-white-full:    #ffffff;
  --color-white-broken:  #f2f4f5;
  --color-white-op65:    rgba(255, 255, 255, 0.65);
  --color-white-op35:    rgba(255, 255, 255, 0.35);
  --color-white-op30:    rgba(255, 255, 255, 0.30);
  --color-white-op25:    rgba(255, 255, 255, 0.25);
  --color-white-op20:    rgba(255, 255, 255, 0.20);
  --color-white-op15:    rgba(255, 255, 255, 0.15);
  --color-white-op12:    rgba(255, 255, 255, 0.12);
  --color-white-op10:    rgba(255, 255, 255, 0.10);
  --color-white-op5:     rgba(255, 255, 255, 0.05);
  --color-white-op3:     rgba(255, 255, 255, 0.03);

  /* Opacités gradient des boutons */
  --color-primary-1-op30: rgba(110, 255, 238, 0.30);
  --color-primary-2-op30: rgba(20, 94, 254, 0.30);
  --color-primary-2-op20: rgba(20, 94, 254, 0.20);


  /* ==========================================================
     SÉMANTIQUES — Couleurs fonctionnelles
     ========================================================== */

  /* Fonds */
  --color-bg:           var(--color-ship-gray-950);
  --color-bg-elevated:  var(--color-ship-gray-900);
  --color-surface:      var(--color-ship-gray-800);
  --color-surface-hover:var(--color-ship-gray-600);

  /* Bordures */
  --color-border:        var(--color-ship-gray-500);
  --color-border-subtle: var(--color-ship-gray-700);

  /* Textes */
  --color-text-primary:  var(--color-white-full);
  --color-text-secondary:var(--color-white-op35);
  --color-text-muted:    var(--color-white-op15);

  /* Accent / brand */
  --color-accent:        var(--color-primary-1);
  --color-accent-hover:  var(--color-primary-1-op60);
  --color-accent-subtle: var(--color-primary-1-op30);

  /* Sidebar */
  --color-sidebar-bg:       var(--color-ship-gray-700);
  --color-nav-icon:         var(--color-white-broken);
  --color-nav-icon-active:  var(--color-white-full);


  /* ==========================================================
     ESPACEMENTS — depuis export.json > "Global Tokens-light"
     ========================================================== */

  --space-0:   0px;
  --space-2:   2px;
  --space-4:   4px;
  --space-6:   6px;
  --space-8:   8px;
  --space-10:  10px;
  --space-12:  12px;
  --space-14:  14px;
  --space-16:  16px;
  --space-20:  20px;
  --space-24:  24px;
  --space-28:  28px;
  --space-32:  32px;
  --space-36:  36px;
  --space-40:  40px;
  --space-48:  48px;
  --space-64:  64px;
  --space-80:  80px;
  --space-96:  96px;


  /* ==========================================================
     BORDER RADIUS — même échelle que l'espacement
     ========================================================== */

  --radius-sm:   var(--space-4);
  --radius-md:   var(--space-8);
  --radius-lg:   var(--space-12);
  --radius-xl:   var(--space-16);
  --radius-2xl:  var(--space-24);
  --radius-full: 9999px;


  /* ==========================================================
     TYPOGRAPHIE — depuis tokens/tokens.json
     ========================================================== */

  --font-family-inter:   'Inter', system-ui, sans-serif;
  --font-family-nohemi:  'Nohemi', 'Inter', sans-serif;

  --font-size-h1:        48px;
  --font-size-h2:        40px;
  --font-size-h3:        34px;
  --font-size-h4:        28px;
  --font-size-h5:        24px;
  --font-size-h6:        20px;

  --font-size-brand-1:   128px;
  --font-size-brand-2:   48px;
  --font-size-brand-3:   24px;

  --font-size-b1:        16px;
  --font-size-b2:        14px;
  --font-size-b25:       14px;
  --font-size-b3:        12px;
  --font-size-b4:        10px;

  --line-height-h1:      72px;
  --line-height-h2:      60px;
  --line-height-h3:      51px;
  --line-height-h4:      42px;
  --line-height-h5:      36px;
  --line-height-h6:      30px;
  --line-height-brand-1: 140.8px;
  --line-height-brand-2: 52.8px;
  --line-height-brand-3: 26.4px;
  --line-height-b1:      24px;
  --line-height-b2:      21px;
  --line-height-b25:     16px;
  --line-height-b3:      18px;
  --line-height-b4:      11px;

  --font-weight-black:   900;
  --font-weight-regular: 400;
  --font-weight-light:   300;

  --letter-spacing-link: -0.56px;
  --letter-spacing-b25:  -0.56px;
  --letter-spacing-b4:   -0.5px;

  /* Sidebar */
  --sidebar-width: 72px;
}


/* ============================================================
   BASE
   ============================================================ */

html,
body {
  overflow-x: hidden;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-family-inter);
  font-size: var(--font-size-b1);
  line-height: var(--line-height-b1);
}

main {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ============================================================
   FOCUS VISIBLE — Accessibilité clavier
   ============================================================ */

*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
  width: var(--sidebar-width);
  background-color: var(--color-sidebar-bg);
  border-right: 1px solid var(--color-white-op10);
}

/* Conteneur scrollable des items — cache la scrollbar */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-0) var(--space-4);
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}

.sidebar-nav::-webkit-scrollbar {
  display: none;
}

/* Lien wrapper — pleine largeur, pas de style visuel propre */
.sidebar-link {
  display: block;
  text-decoration: none;
}

/* Zone visuelle de l'item (fond + radius au hover) */
.sidebar-link-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-lg);
  transition: background-color 0.15s ease;
}

.sidebar-link:hover .sidebar-link-inner,
.sidebar-link.active .sidebar-link-inner {
  background-color: var(--color-white-op5);
}

/* Icône 24px, couleur white/broken */
.sidebar-icon {
  width: 24px;
  height: 24px;
  color: var(--color-nav-icon);
  flex-shrink: 0;
}

/* Label b-4 : 10px light, max 52px tronqué */
.sidebar-label {
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-b4);
  letter-spacing: var(--letter-spacing-b4);
  color: var(--color-white-full);
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  text-align: center;
  padding: var(--space-40) var(--space-16);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding: var(--space-64) var(--space-40);
  }
}

/* Halo lumineux derrière le titre */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 100%;
  background: radial-gradient(
    ellipse 50% 45% at 50% 30%,
    rgba(20, 94, 254, 0.15) 0%,
    rgba(20, 94, 254, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-family-nohemi);
  font-weight: var(--font-weight-black);
  color: var(--color-text-primary);
  font-size: var(--font-size-brand-2);
  line-height: var(--line-height-brand-2);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 80px;
    line-height: 88px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--font-size-brand-1);
    line-height: var(--line-height-brand-1);
  }
}

.hero-description {
  font-size: var(--font-size-b2);
  line-height: var(--line-height-b2);
  color: var(--color-text-primary);
  max-width: 480px;
  margin: var(--space-24) auto 0;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: var(--font-size-b1);
    line-height: var(--line-height-b1);
    max-width: 560px;
  }
}

.hero .btn-primary-light {
  margin-top: var(--space-24);
}

/* ============================================================
   BOUTONS
   ============================================================ */

/* Bouton Primary Light — Variante claire (Hero) */
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-24);
  border: none;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(110, 255, 238, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 90% 90% at 50% 100%, rgba(20, 94, 254, 0.10) 0%, transparent 60%),
    var(--color-white-broken);
  color: var(--color-ship-gray-950);
  font-family: var(--font-family-inter);
  font-size: var(--font-size-b1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-b1);
  cursor: pointer;
  transition: background-color 0.15s ease, background-image 0.15s ease;
  text-decoration: none;
}

.btn-primary-light:hover {
  background-image: none;
  background-color: var(--color-white-op65);
}

/* Bouton Primary Dark — Variante sombre (CTA Banner) */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-24);
  border: 1px solid var(--color-white-op10);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(110, 255, 238, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(20, 94, 254, 0.15) 0%, transparent 70%),
    var(--color-ship-gray-950);
  color: var(--color-white-full);
  font-family: var(--font-family-inter);
  font-size: var(--font-size-b1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-b1);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, background-image 0.15s ease;
  text-decoration: none;
}

.btn-primary-dark:hover {
  background-image: none;
  background-color: var(--color-ship-gray-600);
  border-color: var(--color-white-op35);
}

/* Bouton Outline — Navigation et secondary actions */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  border: 1px solid var(--color-white-op30);
  background: transparent;
  color: var(--color-text-primary);
  border-radius: var(--radius-full);
  padding: var(--space-10) var(--space-24);
  font-family: var(--font-family-inter);
  font-size: var(--font-size-b2);
  font-weight: var(--font-weight-regular);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--color-white-full);
  background-color: var(--color-white-op5);
}

/* ============================================================
   CARDS — Grille flexible
   ============================================================ */

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  flex-grow: 0;
  padding: 2px 2px var(--space-6) 2px;
  border: 1px solid var(--color-white-op10);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(20, 94, 254, 0.05) 0%, transparent 70%),
    var(--color-ship-gray-800);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--color-white-op20);
}

.card-image-wrapper {
  width: 160px;
  max-width: 160px;
  height: 130px;
  background-color: var(--color-surface);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-muted);
  gap: var(--space-8);
  font-size: var(--font-size-b3);
}

.card-placeholder svg {
  width: var(--space-24);
  height: var(--space-24);
  opacity: 0.3;
}

.card-title {
  font-size: var(--font-size-b2);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-b2);
  color: var(--color-white-full);
  margin: 0;
  padding: var(--space-6) var(--space-6) 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   TOOLTIP — Description au hover
   ============================================================ */

.card-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 50;
  width: max-content;
  max-width: 220px;
  padding: var(--space-10) var(--space-12);
  background-color: var(--color-ship-gray-700);
  border: 1px solid var(--color-white-op10);
  border-radius: var(--radius-lg);
  color: var(--color-white-full);
  font-size: var(--font-size-b3);
  line-height: var(--line-height-b3);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* Flèche du tooltip — pointe vers le haut (tooltip en dessous) */
.card-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--color-ship-gray-700);
}

/* Flèche cachée quand tooltip au-dessus — gérée par JS via classe */
.card-tooltip.tooltip-above::before {
  display: none;
}

/* Flèche vers le bas quand tooltip au-dessus */
.card-tooltip.tooltip-above::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-ship-gray-700);
}

/* Affichage au hover */
.card:hover .card-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   SECTIONS CATÉGORIES
   ============================================================ */

.section-title {
  font-family: var(--font-family-inter);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--color-white-full);
  margin: 0;
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */

.mobile-header {
  background-color: var(--color-bg);
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */

.mobile-nav-overlay {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border-subtle);
}

.mobile-nav-link {
  color: var(--color-text-secondary);
  font-size: var(--font-size-h6);
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-16) var(--space-24);
  display: flex;
  align-items: center;
  gap: var(--space-12);
  transition: color 0.15s ease;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav-link:hover {
  color: var(--color-text-primary);
}

/* ============================================================
   CTA BANNER — Image de fond
   ============================================================ */

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-white-op10);
  padding: var(--space-80) var(--space-24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  text-align: center;
  background: url('../images/pre-footer-image.jpg') center / cover no-repeat;
}

@media (min-width: 1024px) {
  .cta-banner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-96) var(--space-64);
    gap: var(--space-16);
  }
}

.cta-title {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-b1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-b1);
  color: var(--color-ship-gray-950);
  margin: 0;
}

.share-feedback {
  font-size: var(--font-size-b3);
  color: var(--color-white-op35);
  margin-top: var(--space-8);
  transition: opacity 0.3s ease;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  position: relative;
  overflow: hidden;
}

/* Halo radial en bas du footer, comme la hero */
.site-footer::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 100%;
  background: radial-gradient(
    ellipse 50% 45% at 50% 70%,
    rgba(20, 94, 254, 0.15) 0%,
    rgba(20, 94, 254, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  padding: var(--space-24) 0 var(--space-96);
  text-align: center;
  font-size: var(--font-size-b1);
  line-height: var(--line-height-b1);
  color: var(--color-white-broken);
}

.footer-bottom a {
  color: var(--color-white-broken);
  text-decoration: underline;
  font-size: var(--font-size-b1);
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: var(--color-white-full);
}

/* ============================================================
   ÉTAT DE CHARGEMENT / ERREUR
   ============================================================ */

.loading-state,
.error-state {
  color: var(--color-text-muted);
  font-size: var(--font-size-b2);
  padding: var(--space-32) 0;
  text-align: center;
}

/* ============================================================
   REDUCED MOTION — Accessibilité
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   LAYOUT — Remplace Tailwind CDN (supprimé en Phase 2)
   ============================================================ */

/* Utility */
.hidden { display: none !important; }

/* ---- Sidebar — layout complet ---- */
.sidebar {
  display: none;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 30;
}
@media (min-width: 1024px) {
  .sidebar { display: flex; }
}

/* Logo dans la sidebar */
.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: var(--space-16) 0;
}
.sidebar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Padding vertical du nav sidebar */
.sidebar-nav {
  padding-top: var(--space-8);
  padding-bottom: var(--space-16);
}

/* ---- Header mobile — layout complet ---- */
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-16);
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 40;
}
@media (min-width: 1024px) {
  .mobile-header { display: none; }
}

/* Bouton hamburger */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: var(--space-6);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Lignes du hamburger */
.burger-line {
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--color-text-primary);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger-btn.is-open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0, 8px);
}
.burger-btn.is-open .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-btn.is-open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0, -8px);
}

/* Logo mobile (lettre D.) */
.mobile-header__logo {
  font-family: var(--font-family-nohemi);
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--color-text-primary);
  user-select: none;
}

/* ---- Nav mobile overlay — visibility + animation ---- */
.mobile-nav-overlay {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  overflow-y: auto;
}
@media (min-width: 1024px) {
  .mobile-nav-overlay { display: none; }
}
.mobile-nav-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

/* ---- Main — offset sidebar sur desktop ---- */
@media (min-width: 1024px) {
  #main-content { margin-left: 72px; }
}

/* ---- Wrapper des sections de contenu — padding responsive + espacement ---- */
.content-sections {
  padding: 0 var(--space-16) var(--space-48);
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}
@media (min-width: 640px) {
  .content-sections {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }
}
@media (min-width: 1024px) {
  .content-sections {
    padding-left: var(--space-32);
    padding-right: var(--space-32);
    gap: var(--space-64);
  }
}

/* ---- Wrapper CTA ---- */
.cta-wrapper {
  padding: 0 var(--space-16) var(--space-48);
}
@media (min-width: 640px) {
  .cta-wrapper {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }
}
@media (min-width: 1024px) {
  .cta-wrapper {
    padding-left: var(--space-32);
    padding-right: var(--space-32);
  }
}

/* ---- Footer padding responsive ---- */
.site-footer {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}
@media (min-width: 640px) {
  .site-footer {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }
}
@media (min-width: 1024px) {
  .site-footer {
    padding-left: var(--space-32);
    padding-right: var(--space-32);
  }
}
