/* =====================================================================
   X-MOTION — Feuille de styles principale
   ---------------------------------------------------------------------
   Palette extraite directement du logo de l'entreprise.
   Structure du fichier :
     1. Variables (couleurs, typo, espacements)
     2. Réinitialisation / bases
     3. Utilitaires de mise en page (conteneur, grilles, boutons)
     4. En-tête / navigation
     5. Pied de page
     6. Composants partagés (hero, cartes, sections, placeholders image)
     7. Pages spécifiques (services, à propos, contact)
     8. Animations
     9. Responsive (tablette, mobile)
   Pour personnaliser le site, commencez par la section « 1. Variables ».
   ===================================================================== */

/* =====================================================================
   1. VARIABLES — Palette issue du logo X-Motion
   ===================================================================== */
:root {
  /* --- Bleus dérivés du logo --- */
  --navy-900: #071A33;   /* Bleu marine le plus profond (fonds sombres)   */
  --navy-800: #0C2340;   /* Bleu marine dominant du logo (titres, header) */
  --navy-700: #103860;   /* Bleu marine intermédiaire                     */
  --steel-600: #1E5A8C;  /* Transition vers le bleu acier                 */
  --steel-500: #2878B0;  /* Bleu vif de la flèche (accent principal)      */
  --steel-400: #3B92CC;  /* Bleu clair (survols, reflets)                 */

  /* --- Neutres --- */
  --paper: #F6F8FB;      /* Fond clair général, légèrement bleuté         */
  --mist: #E9F0F7;       /* Fonds de sections alternées                   */
  --line: #D8E2EC;       /* Filets, bordures discrètes                    */
  --ink: #0C2340;        /* Texte principal                               */
  --ink-soft: #46566B;   /* Texte secondaire                              */
  --white: #FFFFFF;

  /* --- Dégradés signatures (flèche du logo) --- */
  --grad-arrow: linear-gradient(135deg, var(--steel-400) 0%, var(--navy-800) 90%);
  --grad-deep:  linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);

  /* --- Typographie --- */
  --font-display: 'Archivo', 'Segoe UI', sans-serif; /* Titres : large, affirmé */
  --font-body: 'Inter', 'Segoe UI', sans-serif;       /* Corps de texte          */

  /* --- Rythme & rayons --- */
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(12, 35, 64, 0.06);
  --shadow-md: 0 16px 40px rgba(12, 35, 64, 0.12);
  --maxw: 1200px;
  --header-h: 84px;

  /* --- Transitions --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =====================================================================
   2. RÉINITIALISATION / BASES
   ===================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--steel-600); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--steel-400); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

p { margin: 0 0 1rem; }

/* Accessibilité : focus visible au clavier */
:focus-visible {
  outline: 3px solid var(--steel-400);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =====================================================================
   3. UTILITAIRES DE MISE EN PAGE
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--mist { background: var(--mist); }
.section--deep { background: var(--grad-deep); color: var(--white); }
.section--deep h1,
.section--deep h2,
.section--deep h3 { color: var(--white); }

/* Étiquette « eyebrow » au-dessus des titres de section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  /* Petit trait diagonal : rappel de la trajectoire du logo */
  content: "";
  width: 30px;
  height: 2px;
  background: var(--steel-500);
  transform: skewX(-30deg);
}
.section--deep .eyebrow { color: var(--steel-400); }

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 60ch;
}
.section--deep .lead { color: rgba(255, 255, 255, 0.82); }

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--steel-500);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(40, 120, 176, 0.32);
}
.btn--primary:hover {
  background: var(--steel-400);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--steel-500); color: var(--steel-600); transform: translateY(-2px); }

/* Variante claire des boutons sur fond sombre */
.section--deep .btn--ghost,
.hero .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.section--deep .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: var(--white); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* =====================================================================
   4. EN-TÊTE / NAVIGATION  (présent sur toutes les pages)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  font-weight: 500;
  color: var(--navy-800);
  border-radius: var(--radius);
}
.nav-links a::after {
  /* Soulignement diagonal animé : motif « motion » */
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--steel-500);
  transform: scaleX(0) skewX(-20deg);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1) skewX(-20deg); }
.nav-links a.is-active { color: var(--steel-600); }

.nav-cta { margin-left: 8px; }

/* Bouton menu mobile (burger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy-800);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   5. PIED DE PAGE  (présent sur toutes les pages)
   ===================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 64px 28px;
  position: relative;
  overflow: hidden;
}
/* Trait diagonal décoratif en fond de footer */
.site-footer::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: linear-gradient(135deg, transparent 45%, rgba(40, 120, 176, 0.12) 50%, transparent 55%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 90px;
  width: auto;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.footer-brand p { max-width: 40ch; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--steel-400); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.4; }
.footer-contact-item svg { flex: none; margin-top: 3px; color: var(--steel-400); }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.25s var(--ease);
}
.footer-socials a:hover { background: var(--steel-500); border-color: var(--steel-500); color: var(--white); transform: translateY(-2px); }

/* =====================================================================
   6. COMPOSANTS PARTAGÉS
   ===================================================================== */

/* --- Placeholder image : emplacement clair à remplacer par vos visuels ---
   Pour insérer une vraie image, remplacez le contenu du bloc .media par :
   <img src="assets/mon-image.jpg" alt="Description">                       */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-deep);
  min-height: 280px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  padding: 24px;
}
.media__label .tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-400);
  font-weight: 600;
}
.media__label .desc { font-size: 0.95rem; max-width: 28ch; color: rgba(255, 255, 255, 0.7); }
.media__label svg { opacity: 0.85; }
/* Motif de routes/trajectoires en filigrane sur les placeholders */
.media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(40, 120, 176, 0.18) 50%, transparent 52%),
    radial-gradient(circle at 80% 15%, rgba(59, 146, 204, 0.22), transparent 45%);
  z-index: -1;
}

/* --- Hero (page d'accueil) --- */
.hero {
  position: relative;
  background: var(--grad-deep);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(80px, 12vw, 150px);
}
/* Image de fond du hero — REMPLACEZ l'URL ci-dessous par votre visuel
   (porte-conteneurs, port, cargo...) dans le HTML via .hero__bg img      */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg .media__label { opacity: 0.5; }
.hero::before {
  /* Voile dégradé pour garantir la lisibilité du texte sur l'image */
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, var(--navy-900) 30%, rgba(7, 26, 51, 0.65) 100%);
}
/* Grande trajectoire ascendante : élément signature inspiré de la flèche */
.hero__trajectory {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--steel-400), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: rgba(255, 255, 255, 0.85); font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 34px; }

/* Bandeau de statistiques sous le hero */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  position: relative;
  z-index: 2;
}
.stat { border-left: 2px solid rgba(40, 120, 176, 0.6); padding-left: 18px; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--white); line-height: 1; }
.stat .lbl { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-top: 8px; }

/* --- Disposition en deux colonnes (texte + image) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media .media { min-height: 380px; }

/* --- Grille de points forts (cartes) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  /* Coin diagonal qui se révèle au survol */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 56px 56px 0;
  border-color: transparent var(--mist) transparent transparent;
  transition: border-color 0.35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { border-color: transparent var(--steel-500) transparent transparent; }
.feature-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--steel-600);
  margin-bottom: 22px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--grad-arrow); color: var(--white); }
.feature-card h3 { font-size: 1.3rem; }
.feature-card p { color: var(--ink-soft); margin-bottom: 0; }

/* --- Bandeau d'appel à l'action (CTA) --- */
.cta-band {
  position: relative;
  background: var(--grad-arrow);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band::after {
  content: "";
  position: absolute; top: -60%; right: -5%;
  width: 50%; height: 220%;
  background: linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, 0.12) 50%, transparent 54%);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; max-width: 46ch; }
.cta-band .btn--light { background: var(--white); color: var(--navy-800); }
.cta-band .btn--light:hover { background: var(--mist); transform: translateY(-2px); }
.cta-band__text { position: relative; z-index: 1; }
.cta-band__action { position: relative; z-index: 1; }

/* =====================================================================
   7. PAGES SPÉCIFIQUES
   ===================================================================== */

/* --- En-tête de page intérieure --- */
.page-hero {
  background: var(--grad-deep);
  color: var(--white);
  padding-block: clamp(70px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; top: -50%; right: -8%;
  width: 55%; height: 200%;
  background: linear-gradient(135deg, transparent 47%, rgba(40, 120, 176, 0.16) 50%, transparent 53%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1, .page-hero h2 { color: var(--white); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; letter-spacing: 0.04em; }
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }

/* --- Page Services : grille de services détaillés --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card__icon {
  flex: none;
  width: 66px; height: 66px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--grad-arrow);
  color: var(--white);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--steel-500);
  letter-spacing: 0.1em;
}
.service-card h3 { font-size: 1.4rem; margin: 6px 0 10px; }
.service-card p { color: var(--ink-soft); margin-bottom: 0; }

/* Liste de bénéfices avec puces « flèche » */
.benefit-list { list-style: none; margin: 28px 0 0; padding: 0; }
.benefit-list li { position: relative; padding-left: 32px; margin-bottom: 16px; color: var(--ink-soft); }
.benefit-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 16px; height: 2px;
  background: var(--steel-500);
  transform: skewX(-30deg);
}
.benefit-list li::after {
  content: "";
  position: absolute; left: 12px; top: 5px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--steel-500);
  border-right: 2px solid var(--steel-500);
  transform: rotate(45deg);
}

/* --- Page À propos : chronologie / valeurs --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.value-card { padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.value-card .value-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--steel-500);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 1.2rem; }
.value-card p { color: var(--ink-soft); margin-bottom: 0; }

/* Carte fondateur */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.founder__media .media { min-height: 440px; }
.founder__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 2px; }
.founder__role { color: var(--steel-500); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 22px; }
.founder blockquote {
  margin: 26px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--steel-500);
  font-style: italic;
  color: var(--ink);
  font-size: 1.1rem;
}

/* --- Page Contact --- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--navy-800); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--steel-500);
  box-shadow: 0 0 0 4px rgba(40, 120, 176, 0.12);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(40, 120, 176, 0.1);
  border: 1px solid rgba(40, 120, 176, 0.3);
  color: var(--steel-600);
  font-weight: 500;
}
.form-success.is-visible { display: flex; }

/* Bloc coordonnées */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-card__icon {
  flex: none;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--steel-600);
}
.info-card h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--ink); font-weight: 500; }
.info-card a { color: var(--ink); font-weight: 500; }
.info-card a:hover { color: var(--steel-600); }

.map-embed {
  margin-top: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }

/* =====================================================================
   8. ANIMATIONS (révélation au défilement + respect des préférences)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Léger décalage en cascade pour les grilles */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@keyframes dash {
  to { stroke-dashoffset: 0; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Respect des utilisateurs qui réduisent les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   9. RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .feature-grid,
  .values-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__media .media { min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Navigation mobile : menu déroulant plein largeur */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 18px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 12px; border-radius: var(--radius); }
  .nav-links a::after { display: none; }
  .nav-links a.is-active { background: var(--mist); }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .feature-grid,
  .values-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .container { padding-inline: 20px; }
}

/* =====================================================================
   10. AMÉLIORATIONS — images, animations boutons & défilement, mobile
   (Ajouté lors de la mise à jour : visuels intégrés, micro-interactions)
   ===================================================================== */

/* --- Barre de progression de défilement (en haut de page) --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--steel-500), var(--steel-400));
  box-shadow: 0 0 12px rgba(59, 146, 204, 0.6);
  transition: width 0.05s linear;
}

/* --- Bouton « retour en haut » --- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s var(--ease);
  z-index: 120;
  box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--steel-500); transform: translateY(-3px); }

/* --- Boutons : effet de balayage lumineux + pression --- */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn::before {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn:active { transform: translateY(0) scale(0.97); }
.btn--primary:hover { box-shadow: 0 14px 32px rgba(40, 120, 176, 0.42); }

/* --- Images intégrées dans les blocs .media --- */
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
  position: relative;
  z-index: 1;
}
/* Léger zoom de l'image au survol de son cadre */
.split__media .media:hover img,
.founder__media .media:hover img { transform: scale(1.05); }
/* Voile dégradé sur les images pour l'harmonie chromatique */
.media:has(img)::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, rgba(7,26,51,0.05) 0%, rgba(7,26,51,0.35) 100%);
  pointer-events: none;
}
/* Le hero garde son image de fond pleinement visible */
.hero__bg.media::after { display: none; }
.hero__bg img { transition: transform 8s ease-out; }
.hero:hover .hero__bg img { transform: scale(1.06); }

/* Cadre image : liseré + ombre douce + coin diagonal d'accent */
.split__media .media,
.founder__media .media {
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(40,120,176,0.18);
}
.split__media .media::before,
.founder__media .media::before {
  content: "";
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; z-index: 3;
  border-top: 2px solid var(--steel-400);
  border-right: 2px solid var(--steel-400);
  opacity: 0.7;
}

/* --- Cartes : variantes d'animation au défilement --- */
.reveal[data-anim="left"]  { transform: translateX(-40px); }
.reveal[data-anim="right"] { transform: translateX(40px); }
.reveal[data-anim="zoom"]  { transform: scale(0.94); }
.reveal[data-anim="left"].is-visible,
.reveal[data-anim="right"].is-visible,
.reveal[data-anim="zoom"].is-visible { transform: none; }

/* Délais de cascade supplémentaires */
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* --- Icônes de fonctionnalités : petit rebond au survol de la carte --- */
.feature-card:hover .feature-icon,
.service-card:hover .service-card__icon { transform: translateY(-4px) rotate(-4deg); }
.feature-icon, .service-card__icon { transition: transform 0.4s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease); }

/* --- Liens de navigation : transition douce déjà présente, on ajoute le focus --- */
.nav-links a:focus-visible { background: var(--mist); }

/* --- Chiffres animés (compteur) : évite le saut de mise en page --- */
.stat .num { font-variant-numeric: tabular-nums; }

/* =====================================================================
   11. RAFFINEMENTS RESPONSIVE SUPPLÉMENTAIRES
   ===================================================================== */
@media (max-width: 760px) {
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .split__media .media { min-height: 260px; }
  .founder__media .media { min-height: 320px; }
  .hero { padding-block: clamp(60px, 14vw, 110px); }
  .section { padding-block: clamp(52px, 11vw, 90px); }
  /* Image de fond du hero un peu plus présente sur mobile */
  .hero__bg { opacity: 0.32; }
  .cta-band__action .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .btn { width: 100%; justify-content: center; }
  .btn-row { width: 100%; }
  .stat { text-align: left; }
}

/* Pas d'animations lourdes si l'utilisateur préfère le mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .btn::before { display: none; }
  .hero__bg img, .media img { transition: none !important; }
  .scroll-progress { transition: none; }
}
