/* ══════════════════════════════════════════════
   STELNEO — Feuille de styles principale
   Charte : Bleu #002f4b · Jaune #F6C13C · Beige #F4EEDF
   Polices : Bebas Neue (display) + DM Sans (body)
══════════════════════════════════════════════ */


/* ── 1. DESIGN TOKENS ─────────────────────── */
:root {
  /* Couleurs */
  --bleu:       #002f4b;
  --bleu-clair: #0a4a72;
  --bleu-dark:  #001e30;
  --jaune:      #F6C13C;
  --beige:      #F4EEDF;
  --blanc:      #ffffff;
  --gris:       #4a5568;

  /* Typographie */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --text-eyebrow:    12px;
  --text-sm:         15px;
  --text-body:       16px;
  --text-lead:       19px;
  --text-card-title: 18px;

  /* Espacements */
  --section-pad: 112px;
  --section-gap:  64px;
  --card-pad:    36px 32px;
  --card-gap:     24px;
  --page-pad:    clamp(24px, 4vw, 72px);

  /* Formes */
  --radius:    12px;
  --radius-lg: 24px;

  /* Animations — système hover unifié : discret, sans translateY, sans trait */
  --transition-card:    0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --hover-shadow-light: 0 8px 28px rgba(0, 47, 75, 0.11);
  --hover-shadow-dark:  0 8px 28px rgba(0, 0, 0, 0.22);
}


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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  background: var(--beige);
  color: var(--bleu);
  overflow-x: hidden;
}


/* ── 3. NAVIGATION ────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--page-pad);
  background: rgba(0, 47, 75, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(246, 193, 60, 0.12);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--jaune);
  text-decoration: none;
}
.nav-logo span { color: rgba(244, 238, 223, 0.4); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: rgba(244, 238, 223, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--beige); }

.btn-nav {
  background: var(--jaune) !important;
  color: var(--bleu) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background var(--transition-card) !important;
}
.btn-nav:hover {
  background: #e8b230 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--beige);
  border-radius: 2px;
}


/* ── 4. UTILITAIRES GLOBAUX ───────────────── */

/* Étiquette supérieure */
.eyebrow {
  display: inline-block;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bleu);
  background: rgba(0, 47, 75, 0.08);
  padding: 5px 14px;
  border-radius: 50px;
}
.eyebrow.light {
  color: var(--jaune);
  background: rgba(246, 193, 60, 0.12);
}

/* Titre de section */
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 0.98;
  letter-spacing: 0.4px;
  color: var(--bleu);
  margin-top: 16px;
  margin-bottom: 0;
}

/* En-tête de section — version simple */
.section-header {
  margin-bottom: var(--section-gap);
  max-width: 620px;
}

/* En-tête de section — version deux colonnes */
.section-header-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: var(--section-gap);
}
.section-header-main { min-width: 0; }
.section-header-side {
  min-width: 0;
  padding-top: 18px;
}

/* Texte d'intro (fond clair) */
.section-intro {
  margin-top: 0;
  font-size: var(--text-lead);
  font-weight: 300;
  color: var(--gris);
  line-height: 1.7;
}

/* Texte d'intro (fond sombre) */
.section-intro-light {
  margin-top: 0;
  font-size: var(--text-lead);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.75);
  line-height: 1.7;
}

/* Animation d'apparition au scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ── 5. BOUTONS ───────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--jaune);
  color: var(--bleu);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(246, 193, 60, 0.28);
  transition: background var(--transition-card), box-shadow var(--transition-card);
}
.btn-primary:hover {
  background: #e8b230;
  box-shadow: 0 6px 28px rgba(246, 193, 60, 0.38);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(244, 238, 223, 0.7);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(244, 238, 223, 0.2);
  transition: border-color var(--transition-card), color var(--transition-card);
}
.btn-ghost:hover {
  border-color: rgba(244, 238, 223, 0.5);
  color: var(--beige);
}

.btn-dark {
  display: inline-block;
  background: var(--bleu);
  color: var(--beige);
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-card);
}
.btn-dark:hover {
  background: var(--bleu-clair);
}

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--bleu);
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: 1.5px solid rgba(0, 47, 75, 0.3);
  transition: border-color var(--transition-card), background var(--transition-card);
}
.btn-outline-dark:hover {
  border-color: var(--bleu);
  background: rgba(0, 47, 75, 0.05);
}


/* ── 6b. NOUVEAUX COMPOSANTS VISUELS ──────── */

/* Hero — zone visuelle placeholder */
.hero-visual {
  width: min(580px, 90vw);
  margin: 40px auto 56px;
}
.hero-visual-inner {
  background: rgba(244, 238, 223, 0.04);
  border: 1px solid rgba(244, 238, 223, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero-visual-inner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 580 / 340;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.hero-visual-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Comment ça marche — zone visuelle */
.steps-visual {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(0, 47, 75, 0.04);
  border: 1px solid rgba(0, 47, 75, 0.08);
}
.steps-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}
.steps-visual-placeholder {
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.steps-visual-placeholder svg {
  width: 100%;
  max-width: 640px;
  height: auto;
}

/* Gammes — zone visuelle dans chaque carte */
.gamme-visual {
  width: 100%;
  background: var(--beige);
  border-bottom: 1px solid rgba(0, 47, 75, 0.06);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.gamme-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gamme-visual svg {
  display: block;
  width: 100%;
  height: auto;
}
.gamme-card-body {
  padding: 28px 32px 32px;
}

/* Colis reçu — colonne droite restructurée */
.recu-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.recu-visual {
  background: rgba(0, 47, 75, 0.04);
  border: 1px solid rgba(0, 47, 75, 0.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.recu-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 320;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.recu-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--jaune);
  color: var(--bleu);
  border: 2px dashed rgba(0, 47, 75, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.photo-placeholder span {
  display: block;
  max-width: 560px;
}

.hero-photo-sim {
  width: min(560px, 88vw);
  min-height: 320px;
  margin: 48px auto 0;
}

.section-photo-sim {
  width: 100%;
  min-height: 220px;
  margin-top: 48px;
}
.section-photo-sim.products-photo {
  min-height: 240px;
}


/* ── 7. SECTION — HERO ────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--bleu);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 124px var(--page-pad) 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 240px);
  color: rgba(244, 238, 223, 0.025);
  letter-spacing: 12px;
  pointer-events: none;
  user-select: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8.2vw, 98px);
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--beige);
  margin-bottom: 32px;
  max-width: 900px;
}
h1.hero-title .accent { color: var(--jaune); }

.hero-desc {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.8);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  gap: var(--card-gap);
  width: 100%;
  max-width: 900px;
  margin-top: 64px;
}
.hero-stat {
  flex: 1;
  background: rgba(244, 238, 223, 0.06);
  border: 1px solid rgba(244, 238, 223, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color var(--transition-card),
    box-shadow var(--transition-card);
}
.hero-stat:hover {
  border-color: rgba(244, 238, 223, 0.28);
  box-shadow: var(--hover-shadow-dark);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--jaune);
  line-height: 1;
  letter-spacing: 1px;
}
.stat-lbl {
  font-size: var(--text-body);
  font-weight: 400;
  color: rgba(244, 238, 223, 0.8);
  line-height: 1.5;
}


/* ── 8. SECTION — POURQUOI (#produits) ────── */
#produits {
  background: var(--bleu);
  padding: var(--section-pad) var(--page-pad);
}

.pourquoi-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: var(--section-gap);
}
.pourquoi-header h2 { color: var(--beige); }
.pourquoi-header-right { padding-top: 18px; }
.pourquoi-header-right p {
  font-size: var(--text-lead);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.75);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.feature-card {
  background: rgba(244, 238, 223, 0.04);
  border: 1px solid rgba(244, 238, 223, 0.08);
  padding: var(--card-pad);
  position: relative;
  overflow: hidden;
  transition:
    background var(--transition-card),
    border-color var(--transition-card),
    box-shadow var(--transition-card);
}
.feature-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.feature-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.feature-card:hover {
  background: rgba(244, 238, 223, 0.07);
  border-color: rgba(244, 238, 223, 0.2);
  box-shadow: var(--hover-shadow-dark);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--jaune);
  line-height: 1;
  margin-bottom: 20px;
}
.feature-title {
  font-size: var(--text-card-title);
  font-weight: 500;
  color: var(--beige);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.75);
  line-height: 1.7;
}

.pourquoi-cta {
  margin-top: 56px;
  text-align: center;
}


/* ── 9. SECTION — COMMENT ÇA MARCHE ──────── */
#comment {
  background: var(--beige);
  padding: var(--section-pad) var(--page-pad);
}
#comment .section-header-split { margin-bottom: var(--section-gap); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
}
.step-card {
  background: var(--blanc);
  border: 1px solid rgba(0, 47, 75, 0.07);
  padding: var(--card-pad);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--transition-card),
    border-color var(--transition-card);
}
.step-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.step-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.step-card:hover {
  box-shadow: var(--hover-shadow-light);
  border-color: rgba(0, 47, 75, 0.16);
}

.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--jaune);
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-size: var(--text-card-title);
  font-weight: 500;
  color: var(--bleu);
  margin-bottom: 12px;
}
.step-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--gris);
  line-height: 1.7;
}


/* ── 10. SECTION — GAMMES PRODUITS ────────── */
#gammes {
  background: var(--beige);
  padding: var(--section-pad) var(--page-pad);
  border-top: 1px solid rgba(0, 47, 75, 0.07);
}
#gammes .section-header-split { margin-bottom: var(--section-gap); }

.gammes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}
.gamme-card {
  background: var(--blanc);
  border: 1px solid rgba(0, 47, 75, 0.08);
  border-radius: var(--radius-lg);
  padding: 0 0 var(--card-pad);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--transition-card),
    border-color var(--transition-card);
}
.gamme-card:hover {
  box-shadow: var(--hover-shadow-light);
  border-color: rgba(0, 47, 75, 0.16);
}
.gamme-card-body {
  padding: 28px 32px 0;
}

.gamme-badge {
  display: inline-block;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bleu);
  background: rgba(0, 47, 75, 0.06);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.gamme-nom {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--bleu);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.gamme-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--gris);
  line-height: 1.7;
}

.gammes-cta {
  margin-top: 48px;
  text-align: center;
}


/* ── 11. SECTION — SECTEURS ───────────────── */
#secteurs {
  background: var(--bleu);
  padding: var(--section-pad) var(--page-pad);
}

.secteurs-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: var(--section-gap);
}
.secteurs-header h2 { color: var(--beige); }
.secteurs-header-right { padding-top: 18px; }
.secteurs-header-right p {
  font-size: var(--text-lead);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.75);
  line-height: 1.8;
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.secteur-item {
  background: rgba(244, 238, 223, 0.04);
  border: 1px solid rgba(244, 238, 223, 0.08);
  padding: var(--card-pad);
  transition:
    background var(--transition-card),
    border-color var(--transition-card),
    box-shadow var(--transition-card);
}
.secteur-item:nth-child(1) { border-radius: var(--radius-lg) 0 0 0; }
.secteur-item:nth-child(3) { border-radius: 0 var(--radius-lg) 0 0; }
.secteur-item:nth-child(4) { border-radius: 0 0 0 var(--radius-lg); }
.secteur-item:nth-child(6) { border-radius: 0 0 var(--radius-lg) 0; }
.secteur-item:hover {
  background: rgba(244, 238, 223, 0.07);
  border-color: rgba(244, 238, 223, 0.2);
  box-shadow: var(--hover-shadow-dark);
}

.secteur-icon {
  display: block;
  font-size: 20px;
  color: var(--jaune);
  margin-bottom: 20px;
}
.secteur-nom {
  font-size: var(--text-card-title);
  font-weight: 500;
  color: var(--beige);
  margin-bottom: 12px;
}
.secteur-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.7);
  line-height: 1.7;
}


/* ── 12. SECTION — FAQ ────────────────────── */
#faq {
  background: var(--bleu);
  padding: var(--section-pad) var(--page-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.faq-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-head { margin-bottom: 0; }
.faq-head .section-title { color: var(--beige); }
.faq-head .section-header-side { padding-top: 18px; }

.faq-cta-row { display: flex; justify-content: flex-start; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(244, 238, 223, 0.1); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-size: var(--text-body);
  font-weight: 400;
  color: rgba(244, 238, 223, 0.95);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--jaune); }

.faq-icon {
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(244, 238, 223, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-style: normal;
  color: rgba(244, 238, 223, 0.8);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--jaune);
  border-color: var(--jaune);
  color: var(--bleu);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 0 24px;
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.75);
  line-height: 1.8;
}


/* ── 13. SECTION — COLIS REÇU ────────────── */
#recu {
  background: var(--beige);
  padding: var(--section-pad) var(--page-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.recu-text h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  color: var(--bleu);
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 20px;
}
.recu-text p {
  font-size: var(--text-lead);
  font-weight: 300;
  color: var(--gris);
  line-height: 1.75;
}

.recu-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}


/* ── 14. SECTION — SOUTIEN / LOGOS ────────── */
#soutien {
  background: var(--beige);
  padding: 0 var(--page-pad);
}

.logos-section {
  border-top: 1px solid rgba(0, 47, 75, 0.1);
  padding: 56px 0;
  overflow: hidden;
}
.logos-label {
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 47, 75, 0.35);
  text-align: center;
  margin-bottom: 36px;
}
.logos-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  color: var(--bleu);
  margin-bottom: 48px;
}

.logos-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: logos-scroll 28s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-placeholder {
  width: 120px;
  height: 44px;
  background: rgba(0, 47, 75, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0, 47, 75, 0.3);
}

@keyframes logos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ── 15. FOOTER ───────────────────────────── */
footer {
  background: var(--bleu);
  padding: 0 var(--page-pad);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(244, 238, 223);
}

.footer-brand .logo {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--jaune);
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.85);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(244, 238, 223, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background var(--transition-card);
}
.footer-social a:hover {
  background: var(--jaune);
}

.footer-col h4 {
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F6C13C;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(244, 238, 223);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--jaune); }
.footer-col .highlight { color: var(--jaune); font-weight: 500; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(244, 238, 223, 0.2);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px;
  color: rgba(244, 238, 223, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(244, 238, 223, 0.6); }


/* ══════════════════════════════════════════════
   16. RESPONSIVE
══════════════════════════════════════════════ */

/* ── Tablette large ≤ 1100px ── */
@media (max-width: 1100px) {
  #produits, #comment, #gammes, #secteurs, #faq, #recu { padding-top: 88px; padding-bottom: 88px; }
  #faq   { padding-top: 72px; }
  #gammes { padding-top: 72px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card:first-child    { border-radius: var(--radius-lg) 0 0 0; }
  .feature-card:nth-child(2)   { border-radius: 0 var(--radius-lg) 0 0; }
  .feature-card:nth-child(3)   { border-radius: 0 0 0 var(--radius-lg); }
  .feature-card:last-child     { border-radius: 0 0 var(--radius-lg) 0; }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 44px;
  }
  .step-card:first-child   { border-radius: var(--radius-lg) 0 0 0; }
  .step-card:nth-child(2)  { border-radius: 0 var(--radius-lg) 0 0; }
  .step-card:nth-child(3)  { border-radius: 0 0 0 var(--radius-lg); }
  .step-card:last-child    { border-radius: 0 0 var(--radius-lg) 0; }

  .secteurs-grid { grid-template-columns: repeat(2, 1fr); }
  .secteur-item:nth-child(1) { border-radius: var(--radius-lg) 0 0 0; }
  .secteur-item:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .secteur-item:nth-child(3),
  .secteur-item:nth-child(4) { border-radius: 0; }
  .secteur-item:nth-child(5) { border-radius: 0 0 0 var(--radius-lg); }
  .secteur-item:nth-child(6) { border-radius: 0 0 var(--radius-lg) 0; }

  .pourquoi-header,
  .secteurs-header { gap: 48px; }
  .faq-head { gap: 40px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── Tablette portrait ≤ 900px ── */
@media (max-width: 900px) {
  :root {
    --text-lead:       18px;
    --text-card-title: 17px;
  }

  /* Navigation mobile */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(0, 47, 75, 0.98);
    padding: 12px 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open a {
    padding: 14px var(--page-pad);
    border-bottom: 1px solid rgba(244, 238, 223, 0.06);
    font-size: 15px;
  }
  .nav-links.open .btn-nav {
    margin: 12px var(--page-pad);
    border-radius: 50px;
    text-align: center;
  }

  #hero { padding: 108px var(--page-pad) 56px; }
  .hero-stats { flex-wrap: wrap; gap: 10px; }
  .hero-stat { flex: 1 1 calc(50% - 5px); min-width: 0; }

  .pourquoi-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .pourquoi-header-right { padding-top: 0; }

  .secteurs-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .secteurs-header-right { padding-top: 0; }

  .section-header-split { grid-template-columns: 1fr; gap: 20px; }
  .section-header-side { padding-top: 0; }

  .faq-wrap { gap: 36px; }
  .faq-top  { gap: 24px; }

  #recu { grid-template-columns: 1fr; gap: 40px; }

  /* Nouveaux composants visuels — tablette portrait */
  .hero-visual { width: 100%; max-width: 520px; margin: 32px auto 48px; }
  .steps-visual { margin-top: 44px; }
  .steps-visual-placeholder { padding: 36px 24px; min-height: 170px; }
  .gamme-card-body { padding: 22px 24px 26px; }
  .recu-right { gap: 20px; }

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

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding: 56px 0 44px; }

  .hero-photo-sim {
    width: 100%;
    max-width: 560px;
    min-height: 260px;
    margin-top: 36px;
  }
  .section-photo-sim,
  .section-photo-sim.products-photo {
    min-height: 200px;
    margin-top: 36px;
  }
}

/* ── Mobile large ≤ 640px ── */
@media (max-width: 640px) {
  :root {
    --section-pad: 72px;
    --page-pad:    20px;
    --text-eyebrow:    11px;
    --text-sm:         14px;
    --text-body:       15px;
    --text-lead:       17px;
    --text-card-title: 15px;
  }

  #hero { padding: 96px var(--page-pad) 52px; text-align: center; }
  h1.hero-title { font-size: clamp(42px, 11vw, 60px); }
  .hero-desc { font-size: 16px; max-width: 100%; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { text-align: center; }
  .hero-stats {
    flex-direction: column;
    max-width: 400px;
    margin: 36px auto 0;
  }
  .hero-stat { width: 100%; text-align: left; }

  #produits, #comment, #gammes, #secteurs, #faq, #recu { padding: 72px var(--page-pad); }
  #faq   { padding-top: 56px; }
  #gammes { padding-top: 56px; }

  .section-header,
  #comment .section-header-split,
  #gammes .section-header-split { margin-bottom: 40px; }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .feature-card:first-child, .feature-card:nth-child(2),
  .feature-card:nth-child(3), .feature-card:last-child,
  .step-card:first-child, .step-card:nth-child(2),
  .step-card:nth-child(3), .step-card:last-child { border-radius: 0; }

  .secteurs-grid { grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden; }
  .secteur-item:nth-child(n) { border-radius: 0; }

  /* Hover déjà discret sur touch — pas de surcharge nécessaire */

  .gammes-grid { grid-template-columns: 1fr; }

  .recu-actions { width: 100%; }
  .recu-actions .btn-dark,
  .recu-actions .btn-outline-dark { display: block; text-align: center; width: 100%; }

  /* Nouveaux composants visuels — mobile */
  .hero-visual { margin: 24px auto 40px; }
  .hero-visual-inner { border-radius: 16px; }
  .steps-visual { margin-top: 32px; border-radius: 14px; }
  .steps-visual-placeholder { padding: 28px 16px; min-height: 140px; }
  .gamme-visual { border-radius: 14px 14px 0 0; }
  .gamme-card { border-radius: 16px; }
  .gamme-card-body { padding: 18px 20px 22px; }
  .recu-visual { border-radius: 14px; }
  .recu-right { gap: 16px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }

  .logos-section { padding: 36px 0; }
  .logo-placeholder { width: 96px; height: 38px; font-size: 10px; }
  .logos-track { gap: 32px; }
}

/* ── Petit mobile ≤ 400px ── */
@media (max-width: 400px) {
  :root {
    --text-sm:         13px;
    --text-body:       14px;
    --text-lead:       16px;
    --text-card-title: 14px;
  }

  #hero { padding: 88px var(--page-pad) 48px; }
  h1.hero-title { font-size: 38px; letter-spacing: 1px; }
  .stat-num { font-size: 38px; }
  .stat-lbl { font-size: 13px; }
  h2.section-title { font-size: 36px; }
  .btn-primary, .btn-ghost,
  .btn-dark, .btn-outline-dark { padding: 12px 22px; font-size: 13px; }
  .nav-logo { font-size: 22px; letter-spacing: 2px; }
  .feature-num, .step-num { font-size: 44px; }
  .gamme-nom { font-size: 24px; }
  .steps-visual-placeholder { padding: 20px 12px; min-height: 120px; }
}

/* =========================
   SECTION LOGOS / SOUTIENS
   ========================= */

.logos-track-wrap {
  overflow: hidden;
  width: 100%;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
}

.logo-item {
  width: 180px;
  height: 90px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
}

.logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}