/* ==========================================================================
   IMPACT — Site Institutionnel
   Charte graphique & Design System
   Palette : Rouge IMPACT / Orange / Jaune / Cyan / Bleu nuit
   ========================================================================== */

/* ----------  1. VARIABLES & RESET  ---------- */
:root {
  /* Couleurs de marque (issues du logo IMPACT) */
  --c-impact: #E63329;      /* Rouge principal */
  --c-impact-dark: #B81E16;
  --c-orange: #F47B20;      /* Orange */
  --c-yellow: #FFC107;      /* Jaune solaire */
  --c-cyan: #00B7C7;        /* Cyan / turquoise */
  --c-cyan-dark: #008B96;
  --c-blue: #1A8FE3;        /* Bleu */

  /* Fonds & neutres */
  --c-ink: #0A0E1A;         /* Bleu nuit profond */
  --c-ink-2: #11172A;
  --c-ink-3: #1A2238;
  --c-dark: #0D1320;
  --c-charcoal: #1C2333;
  --c-grey-900: #2A3346;
  --c-grey-700: #4A5468;
  --c-grey-500: #7A8499;
  --c-grey-300: #C3C9D6;
  --c-grey-100: #EEF1F6;
  --c-white: #FFFFFF;
  --c-light: #F7F9FC;

  /* Dégradés signature */
  --grad-impact: linear-gradient(135deg, #E63329 0%, #F47B20 50%, #FFC107 100%);
  --grad-impact-rtl: linear-gradient(135deg, #FFC107 0%, #F47B20 50%, #E63329 100%);
  --grad-cyan: linear-gradient(135deg, #00B7C7 0%, #1A8FE3 100%);
  --grad-night: linear-gradient(160deg, #0A0E1A 0%, #11172A 60%, #1A2238 100%);
  --grad-text: linear-gradient(90deg, #E63329, #F47B20, #FFC107);

  /* Typo */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(10, 14, 26, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 14, 26, 0.12);
  --shadow-lg: 0 25px 60px rgba(10, 14, 26, 0.18);
  --shadow-glow: 0 10px 40px rgba(230, 51, 41, 0.35);

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --container: 1240px;
  --nav-h: 84px;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-grey-900);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

::selection { background: var(--c-impact); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--c-ink); }
::-webkit-scrollbar-thumb { background: var(--grad-impact); border-radius: 10px; }

/* ----------  2. UTILITAIRES  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-narrow { max-width: 880px; }

.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-lg { padding: 140px 0; }

.bg-dark { background: var(--c-ink); color: var(--c-grey-100); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-light { background: var(--c-light); }
.bg-night { background: var(--grad-night); color: var(--c-grey-100); }
.bg-night h1, .bg-night h2, .bg-night h3, .bg-night h4 { color: #fff; }

.text-center { text-align: center; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { font-size: 1.18rem; color: var(--c-grey-700); line-height: 1.8; }
.bg-dark .lead, .bg-night .lead { color: var(--c-grey-300); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-impact);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-impact);
}
.bg-dark .eyebrow, .bg-night .eyebrow { color: var(--c-yellow); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 20px;
}
.section-intro { max-width: 680px; }

/* ----------  3. BOUTONS  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}
.btn svg, .btn i { width: 18px; height: 18px; }

.btn-primary {
  background: var(--grad-impact);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(230, 51, 41, 0.5);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-impact-rtl);
  opacity: 0;
  transition: opacity var(--t);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-grey-300);
}
.btn-ghost:hover {
  border-color: var(--c-impact);
  color: var(--c-impact);
  transform: translateY(-3px);
}
.btn-light {
  background: #fff;
  color: var(--c-ink);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}
.btn-block { display: flex; width: 100%; }

/* ----------  4. NAVIGATION  ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--t);
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.25);
  height: 70px;
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav__logo img { height: 44px; width: auto; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-top: 4px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  position: relative;
  transition: all var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--grad-impact);
  transition: all var(--t);
  transform: translateX(-50%);
}
.nav__link:hover, .nav__link.active { color: #fff; }
.nav__link:hover::after, .nav__link.active::after { width: 22px; }

.nav__cta { margin-left: 10px; padding: 12px 24px; font-size: 0.92rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
}
.nav__toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all var(--t);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Overlay mobile */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--grad-night);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all var(--t-slow);
}
.nav__overlay.open { opacity: 1; visibility: visible; transform: translateX(0); }
.nav__overlay .nav__link {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff !important;
}
.nav__overlay .nav__link::after { display: none; }

/* ----------  5. HERO  ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-night);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(230, 51, 41, 0.35), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(0, 183, 199, 0.28), transparent 45%);
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(1.1);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-yellow);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(255, 193, 7, 0); }
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 26px;
  color: #fff;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes rise { to { transform: translateY(0); } }
.hero__subtitle {
  font-size: 1.2rem;
  color: var(--c-grey-300);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 50px; }
.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.hero__stat span {
  font-size: 0.88rem;
  color: var(--c-grey-500);
  margin-top: 6px;
  display: block;
}

/* Visuel hero droit */
.hero__visual {
  position: relative;
  z-index: 2;
}
.hero__card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform var(--t-slow);
}
.hero__card:hover { transform: rotate(0deg) scale(1.02); }
.hero__card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,14,26,0.85));
}
.hero__card-cap {
  position: absolute;
  left: 24px; bottom: 24px; right: 24px;
  z-index: 2;
  color: #fff;
}
.hero__card-cap h3 { color: #fff; font-size: 1.3rem; }
.hero__card-cap p { font-size: 0.9rem; color: var(--c-grey-300); }

.hero__float {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero__float .ico {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: #fff;
}
.hero__float strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--c-ink); }
.hero__float span { font-size: 0.78rem; color: var(--c-grey-500); }
.hero__float--1 { top: 8%; left: -8%; animation: floaty 5s ease-in-out infinite; }
.hero__float--2 { bottom: 12%; right: -6%; animation: floaty 6s ease-in-out infinite 0.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  position: relative;
}
.hero__scroll .mouse::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 7px;
  background: #fff;
  border-radius: 3px;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { opacity: 0; transform: translate(-50%, -4px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ----------  6. BANNIÈRE DÉFILANTE  ---------- */
.marquee {
  background: var(--grad-impact);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.marquee__item .star { font-size: 1.2rem; opacity: 0.8; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------  7. ANIMATIONS AU SCROLL  ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-l.in { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-r.in { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.6s; }

/* ----------  8. PARALLAXE  ---------- */
.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.78), rgba(10,14,26,0.88));
}
.parallax__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 140px 0;
}
.parallax__content h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); }
.parallax__content p { color: var(--c-grey-300); font-size: 1.2rem; max-width: 640px; margin: 20px auto 0; }

/* ----------  9. CARTES / GRILLES GÉNÉRIQUES  ---------- */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,14,26,0.05);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-impact);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 70px;
  height: 70px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  font-size: 1.7rem;
}
.card__icon svg, .card__icon i { width: 32px; height: 32px; }
.bg-dark .card, .bg-night .card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--c-grey-100);
}
.bg-dark .card h3, .bg-night .card h3 { color: #fff; }

/* Variante carte service avec image */
.card-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: all var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-media:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media__img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-media__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card-media:hover .card-media__img img { transform: scale(1.08); }
.card-media__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-media__body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-media__body p { color: var(--c-grey-700); margin-bottom: 18px; flex: 1; }
.card-media__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--c-impact);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ----------  10. SECTION SERVICES (PÔLES)  ---------- */
.poles .card__icon { font-size: 1.8rem; }
.pole-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.96rem;
  color: var(--c-grey-700);
}
.bg-dark .pole-list li, .bg-night .pole-list li { color: var(--c-grey-300); }
.pole-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-impact);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 3px;
}

/* Onglets services */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 50px; }
.tab {
  padding: 12px 26px;
  border-radius: var(--r-pill);
  background: var(--c-grey-100);
  color: var(--c-grey-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--t-fast);
  border: 2px solid transparent;
}
.tab:hover { color: var(--c-impact); }
.tab.active {
  background: var(--grad-impact);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* ----------  11. À PROPOS / VALEURS  ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.split__media .badge-exp {
  position: absolute;
  bottom: -30px; right: -20px;
  background: var(--grad-impact);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 26px 30px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.split__media .badge-exp strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}
.split__media .badge-exp span { font-size: 0.85rem; }

.values .card { text-align: center; }
.values .card__icon { margin-inline: auto; }

/* Compteurs */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.counter { text-align: center; }
.counter__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
}
.counter__label { margin-top: 10px; color: var(--c-grey-500); font-size: 0.95rem; }
.bg-dark .counter__label, .bg-night .counter__label { color: var(--c-grey-300); }

/* ----------  12. PROCESS / ÉTAPES  ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  counter-increment: step;
  transition: all var(--t);
}
.bg-dark .step, .bg-night .step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.step:hover { transform: translateY(-6px); }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: var(--grad-impact);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.step__num::before { content: "0" counter(step); }
.step h4 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--c-grey-700); font-size: 0.94rem; }
.bg-dark .step p, .bg-night .step p { color: var(--c-grey-300); }

/* ----------  13. PORTFOLIO / RÉALISATIONS  ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,14,26,0.92));
  opacity: 0.85;
  transition: opacity var(--t);
}
.work:hover img { transform: scale(1.1); }
.work__cap {
  position: absolute;
  left: 24px; bottom: 24px; right: 24px;
  z-index: 2;
  color: #fff;
  transform: translateY(12px);
  transition: transform var(--t);
}
.work:hover .work__cap { transform: translateY(0); }
.work__cap span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-yellow);
}
.work__cap h4 { color: #fff; font-size: 1.3rem; margin-top: 6px; }
.work__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  opacity: 0;
  transition: opacity var(--t);
}
.work:hover .work__overlay { opacity: 1; }
.work__overlay .zoom {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--c-impact);
  display: grid;
  place-items: center;
  transform: scale(0.6);
  transition: transform var(--t);
}
.work:hover .work__overlay .zoom { transform: scale(1); }

/* ----------  14. TEMOIGNAGES  ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.bg-dark .testi, .bg-night .testi { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.testi::before {
  content: "“";
  position: absolute;
  top: 6px; right: 26px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--c-impact);
  opacity: 0.18;
}
.testi__stars { color: var(--c-yellow); margin-bottom: 14px; letter-spacing: 2px; }
.testi__text { color: var(--c-grey-700); font-style: italic; margin-bottom: 22px; }
.bg-dark .testi__text, .bg-night .testi__text { color: var(--c-grey-300); }
.testi__author { display: flex; align-items: center; gap: 14px; }
.testi__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-impact);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.testi__author strong { display: block; font-family: var(--font-display); }
.testi__author span { font-size: 0.85rem; color: var(--c-grey-500); }

/* ----------  15. CTA BAND  ---------- */
.cta-band {
  background: var(--grad-impact);
  border-radius: var(--r-xl);
  padding: 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); position: relative; }
.cta-band p { color: rgba(255,255,255,0.92); margin-top: 14px; font-size: 1.1rem; position: relative; }
.cta-band .btn { position: relative; justify-self: end; }

/* ----------  16. TARIFS / PACKS  ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan.featured {
  border-color: var(--c-impact);
  box-shadow: var(--shadow-glow);
}
.plan__tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-impact);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; }
.plan__desc { color: var(--c-grey-500); font-size: 0.92rem; margin-bottom: 24px; }
.plan__price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1;
}
.plan__price small { font-size: 0.9rem; font-weight: 500; color: var(--c-grey-500); }
.plan__list { margin: 26px 0; flex: 1; }
.plan__list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.94rem;
  color: var(--c-grey-700);
  border-bottom: 1px dashed var(--c-grey-100);
}
.plan__list li:last-child { border-bottom: none; }
.plan__list li::before {
  content: "✓";
  color: var(--c-impact);
  font-weight: 700;
}

/* ----------  17. CONTACT  ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info__item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(10,14,26,0.08);
}
.bg-dark .contact-info__item, .bg-night .contact-info__item { border-color: rgba(255,255,255,0.08); }
.contact-info__item .ico {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.contact-info__item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-info__item p, .contact-info__item a { color: var(--c-grey-700); }
.bg-dark .contact-info__item p, .bg-night .contact-info__item p { color: var(--c-grey-300); }

.form {
  background: #fff;
  padding: 40px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.bg-dark .form, .bg-night .form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--c-ink);
}
.bg-dark .field label, .bg-night .field label { color: #fff; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 2px solid var(--c-grey-100);
  background: var(--c-light);
  transition: all var(--t-fast);
  color: var(--c-ink);
}
.bg-dark .field input, .bg-night .field input,
.bg-dark .field textarea, .bg-night .field textarea {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-impact);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(230, 51, 41, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }

.map-embed {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 50px;
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* ----------  18. FAQ  ---------- */
.faq-item {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--t-fast);
}
.bg-dark .faq-item, .bg-night .faq-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-ink);
}
.bg-dark .faq-q, .bg-night .faq-q { color: #fff; }
.faq-q .ico {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-impact);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform var(--t);
  font-size: 1.1rem;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.faq-a p { padding: 0 26px 24px; color: var(--c-grey-700); }
.bg-dark .faq-a p, .bg-night .faq-a p { color: var(--c-grey-300); }

/* ----------  19. FOOTER  ---------- */
.footer {
  background: var(--c-dark);
  color: var(--c-grey-300);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-impact);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { height: 56px; margin-bottom: 22px; }
.footer__brand p { color: var(--c-grey-500); margin-bottom: 24px; max-width: 320px; }
.footer__col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer__col h4::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--grad-impact);
  border-radius: 3px;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col ul li a {
  color: var(--c-grey-500);
  font-size: 0.95rem;
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__col ul li a:hover { color: var(--c-yellow); transform: translateX(4px); }
.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--c-grey-500);
  font-size: 0.94rem;
}
.footer__contact li .ico { color: var(--c-impact); flex-shrink: 0; margin-top: 3px; }

.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--c-grey-300);
  transition: all var(--t-fast);
}
.social a:hover {
  background: var(--grad-impact);
  color: #fff;
  transform: translateY(-3px);
}

.footer__newsletter {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer__newsletter input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.footer__newsletter input:focus { outline: none; border-color: var(--c-impact); }
.footer__newsletter button {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-impact);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.footer__newsletter button:hover { transform: scale(1.08); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px 0;
  font-size: 0.88rem;
  color: var(--c-grey-500);
}
.footer__bottom a:hover { color: var(--c-yellow); }
.footer__bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* Bouton retour en haut */
.to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--grad-impact);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t);
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ----------  20. PAGE HEADER (pages internes)  ---------- */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 90px;
  background: var(--grad-night);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(230, 51, 41, 0.3), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(0, 183, 199, 0.25), transparent 45%);
}
.page-header__inner { position: relative; z-index: 2; }
.page-header h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}
.page-header p { color: var(--c-grey-300); font-size: 1.15rem; max-width: 620px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--c-grey-500);
}
.breadcrumb a:hover { color: var(--c-yellow); }
.breadcrumb span { color: var(--c-yellow); }

/* ----------  21. LIEN FEATURE / FEATURE LIST  ---------- */
.feature-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(10,14,26,0.06);
}
.bg-dark .feature-list li, .bg-night .feature-list li { border-color: rgba(255,255,255,0.06); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .ico {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.feature-list h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-list p { font-size: 0.92rem; color: var(--c-grey-700); margin: 0; }
.bg-dark .feature-list p, .bg-night .feature-list p { color: var(--c-grey-300); }

/* ----------  22. LOGOS CLIENTS  ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.client-logo {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 2/1;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all var(--t);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-ink);
}
.client-logo:hover { filter: grayscale(0); opacity: 1; transform: translateY(-4px); }

/* ----------  23. ICÔNES (wrappers colorés)  ---------- */
.bg-impact { background: var(--grad-impact); }
.bg-cyan { background: var(--grad-cyan); }
.bg-orange { background: linear-gradient(135deg, #F47B20, #FFC107); }
.bg-yellow { background: linear-gradient(135deg, #FFC107, #F47B20); }
.bg-blue { background: linear-gradient(135deg, #1A8FE3, #00B7C7); }
.bg-purple { background: linear-gradient(135deg, #7B2FF7, #F107A3); }

/* Animation particules accent */
.spark {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

/* ==========================================================================
   24. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 480px; margin-inline: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .clients { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 880px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .section { padding: 80px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .work-grid, .testi-grid, .pricing, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split__media .badge-exp { right: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; padding: 44px; }
  .cta-band .btn { justify-self: center; }
  .footer__top { grid-template-columns: 1fr; }
  .parallax { background-attachment: scroll; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4, .work-grid, .testi-grid, .pricing, .steps, .counters, .clients { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
  .hero__float { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-band { padding: 34px 24px; }
  .form { padding: 28px 22px; }
}

/* Réduction des animations pour acces. */
@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;
  }
  .parallax { background-attachment: scroll; }
}
