/* ============================================================
   SONEYA SERVICES — style.css
   Thème sombre élégant · Accents orange + vert électrique
   Mobile-first · Animations scroll via IntersectionObserver
   ============================================================ */


/* ===================== VARIABLES CSS ===================== */
:root {
  /* ── Fonds ── */
  --bg-primary:     #080810;
  --bg-secondary:   #0d0d1a;
  --bg-card:        #12121f;
  --bg-card-hover:  #16162a;

  /* ── Accents ── */
  --accent:            #FF6B2B;        /* Orange principal */
  --accent-light:      #FF8C5A;
  --accent-green:      #00D97E;        /* Vert électrique secondaire */
  --accent-orange-dim: rgba(255, 107, 43, 0.13);
  --accent-green-dim:  rgba(0, 217, 126, 0.13);

  /* ── Texte ── */
  --text-primary:   #F0F0F8;
  --text-secondary: #8A8AA0;
  --text-muted:     #45455A;

  /* ── Bordures ── */
  --border:         #1C1C2E;
  --border-hover:   #2A2A3E;

  /* ── Ombres ── */
  --shadow-sm: 0 2px 8px  rgba(0, 0, 0, 0.30);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);

  /* ── Typographie ── */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* ── Espacement ── */
  --section-py:    100px;
  --container-max: 1200px;
  --container-px:  20px;

  /* ── Transitions ── */
  --transition:      0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Navigation ── */
  --nav-height: 68px;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { max-width: 100%; display: block; }


/* ===================== UTILITAIRES ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Classe utilitaire pour la couleur accent */
.accent { color: var(--accent); }

/* Sections */
.section { padding: var(--section-py) 0; }

/* En-têtes de section communs */
.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-orange-dim);
  border: 1px solid rgba(255, 107, 43, 0.28);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Séparateur décoratif horizontal */
.section--sep::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: var(--section-py);
}

/* Saut de ligne visible uniquement sur desktop */
.br-desktop { display: none; }


/* ===================== BOUTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Bouton principal orange */
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e05820 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 107, 43, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 43, 0.5);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

/* Bouton outline neutre */
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.btn--outline:hover {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Bouton outline accent */
.btn--outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline-accent:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 43, 0.4);
}

/* Bouton WhatsApp (nav, footer) */
.btn--whatsapp {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
  font-size: 14px;
  padding: 10px 18px;
}
.btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25D366;
  color: #25D366;
}

/* Variante grande taille */
.btn--large {
  padding: 17px 34px;
  font-size: 16px;
}

/* Variante WhatsApp primary (hero, contact) */
.btn--whatsapp-primary {
  background: linear-gradient(135deg, #25D366 0%, #1aab52 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.32);
}
.btn--whatsapp-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}


/* ===================== ANIMATIONS SCROLL ===================== */

/* États AVANT l'animation (visibles si JS est désactivé via .no-js) */
.fade-in,
.slide-up,
.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity 0.70s ease, transform 0.70s ease;
}

.fade-in    { transform: translateY(10px); }
.slide-up   { transform: translateY(44px); }
.slide-left { transform: translateX(-52px); }
.slide-right{ transform: translateX(52px); }

/* Classe .is-visible ajoutée par l'IntersectionObserver dans main.js */
.fade-in.is-visible,
.slide-up.is-visible,
.slide-left.is-visible,
.slide-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Délais en cascade pour les grilles (stagger) */
.service-card:nth-child(1),
.pourquoi__card:nth-child(1),
.processus__step:nth-child(1) { transition-delay:   0ms; }

.service-card:nth-child(2),
.pourquoi__card:nth-child(2),
.processus__step:nth-child(2) { transition-delay: 100ms; }

.service-card:nth-child(3),
.pourquoi__card:nth-child(3),
.processus__step:nth-child(3) { transition-delay: 200ms; }

.service-card:nth-child(4),
.pourquoi__card:nth-child(4),
.processus__step:nth-child(4) { transition-delay: 300ms; }


/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

/* Fond appliqué au scroll (géré par JS) */
.nav.scrolled {
  background: rgba(8, 8, 16, 0.93);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: var(--transition);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo strong { color: var(--accent); }
.nav__logo-icon { font-size: 18px; }

/* Liens de navigation */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 11px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav__link.active {
  color: var(--accent);
}

/* Burger mobile */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav__toggle:hover { background: var(--bg-card); }

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Fond décoratif */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(255, 107, 43, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 60% 45% at 90% 110%,  rgba(0, 217, 126, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Grille en pointillés subtile */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
}

.hero__container {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 80px;
  text-align: center;
}

/* Badge géographique */
.hero__badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 22px;
  border-radius: 100px;
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}

/* Titre principal */
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 7.5vw, 84px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

/* Mot mis en avant avec soulignement décoratif */
.hero__title-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

/* Sous-titre */
.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* Groupe de boutons */
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* Indicateur de scroll */
.hero__scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.25; transform: scaleY(0.7); }
  50%     { opacity: 1;    transform: scaleY(1);   }
}


/* ===================== SERVICES ===================== */
.services {
  background: var(--bg-secondary);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Grille des cartes : 1 col mobile → 2 → 4 desktop */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Carte service */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Trait accent en haut à l'hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

/* Icône */
.service-card__icon {
  width: 54px;
  height: 54px;
  background: var(--accent-orange-dim);
  border: 1px solid rgba(255, 107, 43, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  transition: var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--accent);
  border-color: var(--accent);
}
.service-card:hover .service-card__icon svg { stroke: #fff; }

/* Icône variante verte */
.service-card__icon--green {
  background: var(--accent-green-dim);
  border-color: rgba(0, 217, 126, 0.2);
}
.service-card__icon--green svg { stroke: var(--accent-green); }
.service-card:hover .service-card__icon--green {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

/* Contenu */
.service-card__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Tags */
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.service-card__tags span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--transition);
}
.service-card:hover .service-card__tags span {
  border-color: var(--border-hover);
  color: var(--text-secondary);
}


/* ===================== POURQUOI NOUS ===================== */
.pourquoi { background: var(--bg-primary); }

.pourquoi__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.pourquoi__card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}
.pourquoi__card:hover {
  border-color: rgba(255, 107, 43, 0.4);
  box-shadow: 0 0 50px rgba(255, 107, 43, 0.08);
  transform: translateY(-5px);
}

.pourquoi__icon {
  width: 64px;
  height: 64px;
  background: var(--accent-orange-dim);
  border: 1px solid rgba(255, 107, 43, 0.25);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}
.pourquoi__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
}
.pourquoi__card:hover .pourquoi__icon {
  background: var(--accent);
  border-color: var(--accent);
}
.pourquoi__card:hover .pourquoi__icon svg { stroke: #fff; }

.pourquoi__icon--accent {
  background: var(--accent-green-dim);
  border-color: rgba(0, 217, 126, 0.25);
}
.pourquoi__icon--accent svg { stroke: var(--accent-green); }
.pourquoi__card:hover .pourquoi__icon--accent {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.pourquoi__card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pourquoi__card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}


/* ===================== PROCESSUS ===================== */
.processus {
  background: var(--bg-secondary);
  position: relative;
}
.processus::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.processus__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Étape individuelle */
.processus__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 28px 0;
}

/* Numéro décoratif en filigrane */
.processus__step-number {
  font-family: var(--font-head);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 107, 43, 0.08);
  line-height: 1;
  letter-spacing: -0.04em;
  position: absolute;
  top: 20px;
  left: 0;
  pointer-events: none;
  user-select: none;
}

/* Carte contenu */
.processus__step-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  width: 100%;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.processus__step-content:hover {
  border-color: rgba(255, 107, 43, 0.35);
  box-shadow: 0 0 35px rgba(255, 107, 43, 0.07);
}

/* Icône de l'étape */
.processus__step-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-orange-dim);
  border: 1px solid rgba(255, 107, 43, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.processus__step-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.processus__step-icon--accent {
  background: var(--accent-green-dim);
  border-color: rgba(0, 217, 126, 0.2);
}
.processus__step-icon--accent svg { stroke: var(--accent-green); }

.processus__step-content h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 9px;
}
.processus__step-content p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.75;
}

/* Connecteur vertical entre les étapes (mobile) */
.processus__connector {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, var(--accent), var(--border));
  border-radius: 2px;
  opacity: 0.45;
  margin: 6px 0;
}


/* ===================== À PROPOS ===================== */
.apropos {
  background: var(--bg-primary);
  overflow: hidden;
}

.apropos__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

/* Texte */
.apropos__content .section__tag    { margin-bottom: 14px; }
.apropos__content .section__title  { text-align: left; margin-bottom: 22px; }

.apropos__content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 15px;
}
.apropos__content strong { color: var(--text-primary); font-weight: 600; }
.apropos__content em     { color: var(--accent); font-style: normal; font-weight: 600; }
.apropos__content .btn   { margin-top: 10px; }

/* Colonne visuelle */
.apropos__visual { position: relative; }

.apropos__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
  position: relative;
  z-index: 1;
}

.apropos__stat { display: flex; flex-direction: column; gap: 5px; }

.apropos__stat-number {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.apropos__stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
}

/* Halo décoratif derrière la carte */
.apropos__decoration {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(ellipse, rgba(255, 107, 43, 0.11), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}


/* ===================== CONTACT ===================== */
.contact {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Halo de fond */
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 45% at 50% 110%, rgba(255, 107, 43, 0.07), transparent 70%);
  pointer-events: none;
}

.contact__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.contact__inner .section__tag  { margin-bottom: 20px; }
.contact__inner .section__title { margin-bottom: 14px; }

.contact__desc {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 48px;
  line-height: 1.75;
}

/* Zone bouton + numéro */
.contact__whatsapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 44px;
}

.contact__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.contact__number-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.contact__number-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}
.contact__number-value:hover { color: var(--accent); }

/* Bandeau zones géographiques */
.contact__zones {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 22px;
  line-height: 1.5;
}
.contact__zones svg  { flex-shrink: 0; stroke: var(--accent-green); }
.contact__zones strong { color: var(--text-primary); }


/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer__brand .nav__logo { margin-bottom: 10px; }
.footer__tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__nav h4,
.footer__contact h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer__nav a:hover { color: var(--accent); }

.footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: var(--transition);
  margin-bottom: 14px;
}
.footer__wa:hover { color: #25D366; }

.footer__zones {
  font-size: 18px;
  letter-spacing: 5px;
  line-height: 1;
}

/* Barre du bas */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer__bottom p,
.footer__made {
  font-size: 12px;
  color: var(--text-muted);
}


/* ===================== RESPONSIVE — TABLETTE (≥ 640px) ===================== */
@media (min-width: 640px) {

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

  /* Processus en 2 colonnes */
  .processus__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .processus__step       { padding: 0; }
  .processus__step-number{ font-size: 88px; top: -12px; }
  .processus__connector  { display: none; }

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


/* ===================== RESPONSIVE — DESKTOP (≥ 1024px) ===================== */
@media (min-width: 1024px) {

  :root {
    --section-py:    120px;
    --container-px:  32px;
  }

  /* Burger caché sur desktop */
  .nav__toggle { display: none; }
  .nav__links  { display: flex; }

  /* Saut de ligne visible */
  .br-desktop { display: block; }

  /* Grilles en 4 / 3 / 4 colonnes */
  .services__grid  { grid-template-columns: repeat(4, 1fr); }
  .pourquoi__grid  { grid-template-columns: repeat(3, 1fr); }
  .processus__steps{ grid-template-columns: repeat(4, 1fr); }

  /* À propos en 2 colonnes 50/50 */
  .apropos__inner { grid-template-columns: 1fr 1fr; gap: 88px; }

  /* Footer en 3 colonnes */
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* ===================== MOBILE NAV — MENU DÉROULANT (< 1024px) ===================== */
@media (max-width: 1023px) {

  .nav__toggle { display: flex; }

  /* Menu mobile en panneau fixe sous la nav */
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(8, 8, 16, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    flex-direction: column;
    padding: 20px 16px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    /* Caché par défaut */
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                opacity   0.28s ease;
  }

  /* Classe .open ajoutée par JS */
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  /* CTA nav caché sur mobile (présent dans hero) */
  .nav__cta { display: none; }
}
