/* ==========================================================================
   GRADITECK IT — Feuille de style principale
   Site statique autonome · Cyan + Ambre · Mode sombre · Glassmorphism
   ========================================================================== */

/* ---------- 1. VARIABLES & DESIGN SYSTEM ---------- */
:root {
  /* Polices */
  --font-title: "Outfit", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;

  /* Marque */
  --primary-50: #ecfeff;
  --primary-100: #cffafe;
  --primary-200: #a5f3fc;
  --primary-300: #67e8f9;
  --primary-400: #22d3ee;
  --primary-500: #06b6d4;
  --primary-600: #0891b2;
  --primary-700: #0e7490;
  --primary-800: #155e75;
  --primary-900: #164e63;

  --accent-50: #fffbeb;
  --accent-100: #fef3c7;
  --accent-200: #fde68a;
  --accent-300: #fcd34d;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --accent-700: #b45309;

  /* Surfaces & texte (mode clair par défaut) */
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --bg-elevated: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.75);
  --border: rgba(15, 23, 42, 0.06);
  --border-strong: rgba(15, 23, 42, 0.12);
  --text: #0f172a;
  --text-muted: #334155;
  --text-soft: #64748b;
  --shadow-color: 220 40% 30%;

  /* Dégradés */
  --grad-primary: linear-gradient(
    135deg,
    #06b6d4 0%,
    #0891b2 50%,
    #0e7490 100%
  );
  --grad-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --grad-hero: linear-gradient(
    135deg,
    rgba(8, 145, 178, 0.92) 0%,
    rgba(14, 116, 144, 0.88) 45%,
    rgba(21, 94, 117, 0.85) 75%,
    rgba(180, 83, 9, 0.75) 100%
  );
  --grad-text: linear-gradient(120deg, #0891b2 0%, #06b6d4 50%, #f59e0b 100%);

  /* Effets */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 8px hsl(var(--shadow-color) / 0.04);
  --shadow:
    0 12px 28px -8px hsl(var(--shadow-color) / 0.08),
    0 8px 16px -12px hsl(var(--shadow-color) / 0.04);
  --shadow-md:
    0 24px 48px -12px hsl(var(--shadow-color) / 0.12),
    0 12px 24px -16px hsl(var(--shadow-color) / 0.06);
  --shadow-lg:
    0 40px 80px -24px hsl(var(--shadow-color) / 0.2),
    0 20px 40px -28px hsl(var(--shadow-color) / 0.1);
  --shadow-glow: 0 0 60px rgba(6, 182, 212, 0.3);
  --shadow-glow-accent: 0 0 60px rgba(245, 158, 11, 0.3);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 80px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- MODE SOMBRE ---------- */
[data-theme="dark"] {
  --bg: #050816;
  --bg-alt: #0a0e23;
  --bg-elevated: #0f1530;
  --surface-glass: rgba(10, 14, 35, 0.7);
  --border: rgba(99, 102, 241, 0.12);
  --border-strong: rgba(99, 102, 241, 0.22);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --shadow-color: 230 75% 2%;
  --grad-hero: linear-gradient(
    135deg,
    rgba(8, 145, 178, 0.8) 0%,
    rgba(10, 14, 35, 0.95) 60%,
    rgba(180, 83, 9, 0.5) 100%
  );
}

/* ---------- 2. RESET ---------- */
*,
*::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%;
}
html {
  background: var(--bg);
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
body.is-loaded {
  transition:
    background var(--transition),
    color var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--primary-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. UTILITAIRES ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
}
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-600);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  margin-bottom: 18px;
}
[data-theme="dark"] .eyebrow {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--primary-300);
}
.eyebrow.accent {
  color: var(--accent-600);
  background: var(--accent-50);
  border-color: var(--accent-100);
}
[data-theme="dark"] .eyebrow.accent {
  color: var(--accent-400);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 4. BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(30deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.btn:hover::after {
  left: 130%;
  opacity: 1;
}
.btn:active {
  transform: scale(0.97);
}
.btn i {
  transition: transform var(--transition);
}
.btn:hover i {
  transform: translateX(4px);
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(8, 145, 178, 0.35);
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -8px rgba(8, 145, 178, 0.5);
}
.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.35);
}
.btn-accent:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -8px rgba(245, 158, 11, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
  transform: translateY(-3px);
  background: rgba(6, 182, 212, 0.04);
}
[data-theme="dark"] .btn-outline:hover {
  color: var(--primary-300);
  background: rgba(6, 182, 212, 0.08);
}
.btn-ghost {
  padding: 10px 18px;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--primary-600);
  background: var(--primary-50);
}
[data-theme="dark"] .btn-ghost:hover {
  color: var(--primary-300);
  background: rgba(6, 182, 212, 0.1);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

/* ---------- 5. NAVBAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--accent-500) 100%);
  width: 0%;
  z-index: 2000;
  transition: width 0.1s ease;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    height var(--transition),
    border-color var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow);
  height: 68px;
  border-color: var(--border-strong);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.2);
  border: 1.5px solid var(--border-strong);
  transition: transform var(--transition), border-color var(--transition);
}
.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-4deg);
  border-color: var(--primary-400);
}
[data-theme="dark"] .brand-logo {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.brand-text strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-text span {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-600);
  background: var(--primary-50);
}
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  color: var(--primary-300);
  background: rgba(6, 182, 212, 0.1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  transition: all var(--transition);
  font-size: 1.15rem;
}
.theme-toggle:hover {
  color: var(--primary-600);
  border-color: var(--primary-400);
  transform: rotate(-15deg) scale(1.05);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .theme-toggle:hover {
  color: var(--primary-300);
}
.theme-toggle .icon-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  place-items: center;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  font-size: 1.35rem;
  transition: all var(--transition);
}
.menu-btn:hover {
  border-color: var(--primary-400);
  color: var(--primary-600);
  transform: scale(1.05);
}
[data-theme="dark"] .menu-btn:hover {
  color: var(--primary-300);
}

.mobile-menu {
  display: none;
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  background-blend-mode: multiply;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  z-index: -1;
  animation: blob-float 10s ease-in-out infinite alternate;
}
.hero-blob.one {
  width: 500px;
  height: 500px;
  background: var(--primary-400);
  top: -100px;
  right: -50px;
}
.hero-blob.two {
  width: 440px;
  height: 440px;
  background: var(--accent-400);
  bottom: -80px;
  left: -80px;
  opacity: 0.3;
  animation-delay: -5s;
}
@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.hero-content {
  max-width: 840px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.hero-title .accent-word {
  color: var(--accent-300);
  position: relative;
  display: inline-block;
}
.hero-title .accent-word::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(245, 158, 11, 0.2);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.98);
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 620px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  transition: transform var(--transition), background var(--transition);
}
.hero-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}
.hero-pill i {
  color: var(--accent-300);
}

/* ---------- 6B. HERO SOUS-PAGES ---------- */
.hero-subpage {
  min-height: 70svh;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero-subpage .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-subpage .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

/* Alts images décoratives (Lighthouse : image elements do not have alt attribute) */
.img-decorative {
  object-fit: cover;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.6rem;
  animation: bounce 2s infinite;
  z-index: 2;
  transition: color var(--transition);
}
.scroll-cue:hover {
  color: var(--accent-300);
}
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 12px);
  }
}

/* ---------- 7. STATISTIQUES ---------- */
.stats {
  margin-top: -90px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}
[data-theme="dark"] .stat-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
}
.stat-value {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.stat-value .text-gradient {
  display: inline;
}
.stat-card:nth-child(odd) .stat-value {
  color: var(--primary-600);
}
.stat-card:nth-child(even) .stat-value {
  color: var(--accent-600);
}
[data-theme="dark"] .stat-card:nth-child(odd) .stat-value {
  color: var(--primary-300);
}
[data-theme="dark"] .stat-card:nth-child(even) .stat-value {
  color: var(--accent-400);
}
.stat-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- 8. CARDS GÉNÉRIQUES ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.showcase-copy {
  max-width: 560px;
}
.showcase-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.showcase-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.showcase-point i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.22);
}
.showcase-point strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}
.showcase-point span {
  display: block;
  color: var(--text-muted);
  font-size: 0.93rem;
}
.showcase-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 210px;
  box-shadow: var(--shadow-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.mosaic-card.large {
  grid-column: span 2;
  min-height: 300px;
}
.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.42));
}
.mosaic-card:hover img {
  transform: scale(1.04);
}
.service-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 28px 36px;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(6, 182, 212, 0.1), 0 20px 50px -20px rgba(6, 182, 212, 0.25);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}
[data-theme="dark"] .service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(6, 182, 212, 0.15), 0 20px 50px -20px rgba(6, 182, 212, 0.35);
}
/* Halo subtil au survol (premium effect) */
.service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.5), transparent 40%, transparent 60%, rgba(245, 158, 11, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.service-card:hover::after {
  opacity: 1;
}
.service-img {
  position: relative;
  margin: 0 -28px 24px;
  height: 220px;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img {
  transform: scale(1.06);
}
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.3));
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.25);
  transition: transform var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-6deg);
}
.service-card:nth-child(3n + 2) .service-icon {
  background: var(--grad-accent);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}
/* Alts images décoratives (Lighthouse : image elements do not have alt attribute) */
.img-decorative {
  object-fit: cover;
}
.section-head h2 { /* Améliore l'accessibilité : si .section-title est utilisé dans un H2, le style reste cohérent */
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}
.service-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.service-tagline {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 12px;
}
[data-theme="dark"] .service-tagline {
  color: var(--primary-300);
}
.service-card:nth-child(3n + 2) .service-tagline {
  color: var(--accent-600);
}
[data-theme="dark"] .service-card:nth-child(3n + 2) .service-tagline {
  color: var(--accent-400);
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.service-features li i {
  color: var(--primary-500);
  font-size: 1.15rem;
  margin-top: 2px;
}
.service-card:nth-child(3n + 2) .service-features li i {
  color: var(--accent-500);
}

/* ---------- 9. PROCESS / TIMELINE ---------- */
.process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.process-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.process-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.04;
}
[data-theme="dark"] .process-bg img {
  opacity: 0.08;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 40px 24px 32px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-300);
}
[data-theme="dark"] .process-step:hover {
  border-color: rgba(6, 182, 212, 0.3);
}
.process-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.3);
  border: 4px solid var(--bg);
}
.process-step:nth-child(even) .process-num {
  background: var(--grad-accent);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}
.section-alt .process-step .process-num {
  border-color: var(--bg-alt);
}
.process-icon {
  font-size: 2.2rem;
  color: var(--primary-600);
  margin-bottom: 16px;
  margin-top: 6px;
}
.process-step:nth-child(even) .process-icon {
  color: var(--accent-600);
}
[data-theme="dark"] .process-icon {
  color: var(--primary-300);
}
[data-theme="dark"] .process-step:nth-child(even) .process-icon {
  color: var(--accent-400);
}
.process-title {
  font-family: var(--font-title);
  font-weight: 800;
  margin-bottom: 8px;
}
.process-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 10. EURO STUDIES ---------- */
.euro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.euro-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.euro-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
}
[data-theme="dark"] .euro-bg img {
  opacity: 0.1;
}
.euro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.euro-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.euro-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.euro-step:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-300);
}
[data-theme="dark"] .euro-step:hover {
  border-color: rgba(6, 182, 212, 0.3);
}
.euro-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.2);
}
.euro-step:nth-child(even) .euro-icon {
  background: var(--grad-accent);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2);
}
.euro-step h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.euro-step p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.euro-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  border: 1.5px solid var(--border-strong);
}
.euro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.euro-visual:hover img {
  transform: scale(1.03);
}
.euro-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 145, 178, 0.35));
}
.euro-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: #fff;
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .euro-badge {
  border-color: rgba(255, 255, 255, 0.12);
}
.euro-badge strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 850;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.euro-badge span {
  font-size: 0.88rem;
  opacity: 0.92;
  font-weight: 500;
}

/* ---------- 11. CTA BAND ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-box {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 76px);
  background: var(--grad-primary);
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-box::before {
  width: 320px;
  height: 320px;
  background: rgba(251, 191, 36, 0.35);
  top: -100px;
  right: -50px;
}
.cta-box::after {
  width: 280px;
  height: 280px;
  background: rgba(34, 211, 238, 0.35);
  bottom: -80px;
  left: -60px;
}
.cta-box > * {
  position: relative;
  z-index: 2;
}
.cta-box h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.cta-box p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 36px;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cta-box .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

/* ---------- 12. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-300);
}
[data-theme="dark"] .contact-item:hover {
  border-color: rgba(6, 182, 212, 0.3);
}
.contact-item .ci-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.2);
}
.contact-item.whatsapp .ci-icon {
  background: #25d366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.2);
}
.contact-item.mail .ci-icon {
  background: var(--grad-accent);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2);
}
.ci-label {
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.ci-value {
  font-weight: 700;
  font-size: 0.98rem;
}

.contact-form {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 44px);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}
.form-control.form-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23475569' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-submit {
  width: 100%;
  margin-top: 6px;
}
.form-hint {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 12px;
  text-align: center;
}
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- 13. FOOTER ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 1.05rem;
}
.footer-social a:hover {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 11px;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--primary-600);
}
[data-theme="dark"] .footer-col ul li a:hover {
  color: var(--primary-300);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.footer-contact li i {
  color: var(--primary-500);
  margin-top: 3px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-soft);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a:hover {
  color: var(--primary-600);
}

/* ---------- 14. ANIMATIONS SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 {
  transition-delay: 0.1s;
}
.reveal.delay-2 {
  transition-delay: 0.2s;
}
.reveal.delay-3 {
  transition-delay: 0.3s;
}
.reveal.delay-4 {
  transition-delay: 0.4s;
}
.reveal.from-left {
  transform: translateX(-50px);
}
.reveal.from-right {
  transform: translateX(50px);
}
.reveal.from-left.visible,
.reveal.from-right.visible {
  transform: translateX(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ---------- 15. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-copy {
    max-width: none;
  }
  .showcase-mosaic {
    max-width: 760px;
    margin-inline: auto;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .euro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .euro-visual {
    max-width: 460px;
    margin-inline: auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* Menu mobile */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--surface-glass);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--transition),
      visibility var(--transition);
  }
  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu a {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 12px 24px;
    color: var(--text);
  }
  .mobile-menu .btn {
    margin-top: 16px;
  }
  .mobile-close {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 1.8rem;
    color: var(--text);
  }
}
@media (max-width: 600px) {
  .container {
    padding-inline: 18px;
  }
  .grid-services {
    grid-template-columns: 1fr;
  }
  .showcase-mosaic {
    grid-template-columns: 1fr;
  }
  .mosaic-card.large {
    grid-column: auto;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .stat-card {
    padding: 22px 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- 16. ACCESSIBILITÉ ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- 17. ARRIÈRE-PLANS DÉCORATIFS (CTA & Contact) ---------- */
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.contact-section {
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
}
[data-theme="dark"] .contact-bg img {
  opacity: 0.08;
}
.contact-section .container {
  position: relative;
  z-index: 1;
}

/* ---------- 18. BOUTON FLOTTANT WHATSAPP ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition);
  animation: pulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
}
