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

/* ---------- 1. VARIABLES & DESIGN SYSTEM ---------- */
:root {
  /* 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.65);
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --text-muted: #475569;
  --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) 50%,
    rgba(180, 83, 9, 0.85) 100%
  );
  --grad-text: linear-gradient(120deg, #0891b2 0%, #06b6d4 40%, #f59e0b 100%);

  /* Effets */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 0.06);
  --shadow:
    0 4px 12px hsl(var(--shadow-color) / 0.08),
    0 1px 3px hsl(var(--shadow-color) / 0.06);
  --shadow-md:
    0 12px 28px hsl(var(--shadow-color) / 0.12),
    0 4px 8px hsl(var(--shadow-color) / 0.06);
  --shadow-lg:
    0 24px 60px hsl(var(--shadow-color) / 0.18),
    0 8px 16px hsl(var(--shadow-color) / 0.08);
  --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.35);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 76px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- MODE SOMBRE ---------- */
[data-theme="dark"] {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --bg-elevated: #131c31;
  --surface-glass: rgba(19, 28, 49, 0.6);
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);
  --text: #e8eefb;
  --text-muted: #9aa8c2;
  --text-soft: #7a8aa8;
  --shadow-color: 220 60% 4%;
  --grad-hero: linear-gradient(
    135deg,
    rgba(8, 145, 178, 0.85) 0%,
    rgba(15, 23, 42, 0.92) 60%,
    rgba(180, 83, 9, 0.6) 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%;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  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-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.075rem;
  color: var(--text-muted);
}

/* ---------- 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);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(8, 145, 178, 0.45);
}
.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32);
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.42);
}
.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);
}
[data-theme="dark"] .btn-outline:hover {
  color: var(--primary-300);
}
.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.35);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

/* ---------- 5. NAVBAR ---------- */
.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(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    height var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow);
  height: 64px;
}
.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: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.3);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-3deg);
}
[data-theme="dark"] .brand-logo {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.brand-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  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: 10px;
  font-weight: 500;
  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: 10px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: all var(--transition);
  font-size: 1.1rem;
}
.theme-toggle:hover {
  color: var(--primary-600);
  border-color: var(--primary-300);
  transform: rotate(-15deg);
}
.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: 42px;
  height: 42px;
  border-radius: 12px;
  place-items: center;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 1.3rem;
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  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(80px);
  opacity: 0.5;
  z-index: -1;
}
.hero-blob.one {
  width: 480px;
  height: 480px;
  background: var(--primary-400);
  top: -120px;
  right: -80px;
}
.hero-blob.two {
  width: 420px;
  height: 420px;
  background: var(--accent-400);
  bottom: -100px;
  left: -100px;
  opacity: 0.35;
}

.hero-content {
  max-width: 820px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.hero-title .accent-word {
  color: var(--accent-300);
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.95);
}
.hero-desc {
  font-size: 1.075rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
}
.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.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  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: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #fff;
}
.hero-pill i {
  color: var(--accent-300);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

/* ---------- 7. STATISTIQUES ---------- */
.stats {
  margin-top: -90px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.stat-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.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.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- 8. CARDS GÉNÉRIQUES ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.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: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 28px 34px;
  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(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}
.service-card:hover::before {
  transform: scaleX(1);
}
[data-theme="dark"] .service-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}
.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.05);
}
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.22));
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  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.3);
  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.3);
}
.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.service-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  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: 18px;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text);
}
.service-features li i {
  color: var(--primary-500);
  font-size: 1.1rem;
  margin-top: 2px;
}
.service-card:nth-child(3n + 2) .service-features li i {
  color: var(--accent-500);
}

/* ---------- 9. PROCESS / TIMELINE ---------- */
.process-section {
  position: relative;
  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: 22px;
  position: relative;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 36px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.process-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.35);
  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.35);
}
.section-alt .process-step .process-num {
  border-color: var(--bg-alt);
}
.process-icon {
  font-size: 2rem;
  color: var(--primary-600);
  margin-bottom: 14px;
  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-weight: 700;
  margin-bottom: 8px;
}
.process-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.euro-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.euro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.euro-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 145, 178, 0.4));
}
.euro-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: #fff;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.euro-badge strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.euro-badge span {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ---------- 11. CTA BAND ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-box {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px);
  background: var(--grad-primary);
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-box::before {
  width: 300px;
  height: 300px;
  background: rgba(251, 191, 36, 0.4);
  top: -100px;
  right: -50px;
}
.cta-box::after {
  width: 260px;
  height: 260px;
  background: rgba(34, 211, 238, 0.4);
  bottom: -80px;
  left: -60px;
}
.cta-box > * {
  position: relative;
  z-index: 2;
}
.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-box p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 30px;
  max-width: 560px;
  margin-inline: auto;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  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);
}

/* ---------- 12. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.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: 1px solid var(--border);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.contact-item .ci-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
  background: var(--grad-primary);
}
.contact-item.whatsapp .ci-icon {
  background: #25d366;
}
.contact-item.mail .ci-icon {
  background: var(--grad-accent);
}
.ci-label {
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ci-value {
  font-weight: 600;
  font-size: 0.98rem;
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  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.88rem;
  font-weight: 600;
  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-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}
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);
}
