/* ================================================================
   CMD STUDIO — DESIGN SYSTEM PREMIUM
   Direction : Midnight Blue · Amber/Or · Awwwards-level
   ================================================================ */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Cabinet+Grotesk:wght@400;500;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {
  /* Palette Midnight Blue */
  --night:        #05080f;
  --night-2:      #090d18;
  --night-3:      #0d1220;
  --night-4:      #111829;

  /* Accents Blue */
  --blue:         #1a3a6e;
  --blue-mid:     #1e4d9a;
  --blue-bright:  #2563eb;
  --blue-glow:    rgba(37, 99, 235, 0.28);

  /* Amber/Or — l'accent premium */
  --amber:        #f59e0b;
  --amber-light:  #fbbf24;
  --amber-pale:   #fef3c7;
  --amber-glow:   rgba(245, 158, 11, 0.22);

  /* Neutres */
  --white:        #ffffff;
  --off-white:    #f8fafc;
  --gray-100:     #e2e8f0;
  --gray-300:     #94a3b8;
  --gray-500:     #475569;
  --gray-700:     #1e293b;

  /* Borders */
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(245, 158, 11, 0.25);

  /* Cards */
  --card-bg:      rgba(255, 255, 255, 0.032);
  --card-bg-hover:rgba(37, 99, 235, 0.06);

  /* Typography */
  --font-display: 'Clash Display', 'SF Pro Display', system-ui, sans-serif;
  --font-body:    'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-blue:  0 0 60px rgba(37, 99, 235, 0.15);
  --shadow-amber: 0 0 40px rgba(245, 158, 11, 0.2);
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-deep:  0 24px 80px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --t-fast:   160ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   280ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow:   480ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-spring: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--night);
  color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
::selection { background: var(--amber); color: var(--night); }

/* ================================================================
   3. TYPOGRAPHIE
   ================================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h1 { font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 700; }
.h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); font-weight: 600; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 600; }
.h4 { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--gray-300);
  line-height: 1.75;
  font-weight: 400;
}
.small { font-size: 0.85rem; color: var(--gray-500); }
.mono  { font-family: var(--font-mono); font-size: 0.82rem; }

/* Gradient texts */
.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-amber {
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-mix {
  background: linear-gradient(135deg, #e2e8f0 0%, #60a5fa 40%, var(--amber-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   4. LAYOUT
   ================================================================ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 72px);
  width: 100%;
}
.container-fluid { width: 100%; padding: 0; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.section      { padding: clamp(72px, 9vw, 140px) 0; }
.section-sm   { padding: clamp(48px, 6vw, 88px) 0; }

/* Grid system */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px, 2.5vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px, 2vw, 24px); }

/* Responsive grids */
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px)  {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px)  {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 420px)  { .grid-4 { grid-template-columns: 1fr; } }

/* Flexbox utils */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* ================================================================
   5. COMPOSANTS — TAGS & BADGES
   ================================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-hover);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.06);
  font-family: var(--font-mono);
}
.tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(0.8); }
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-amber { background: rgba(245,158,11,0.12); color: var(--amber-light); border: 1px solid rgba(245,158,11,0.2); }
.badge-blue  { background: rgba(37,99,235,0.12);  color: #93c5fd; border: 1px solid rgba(37,99,235,0.25); }
.badge-green { background: rgba(74,222,128,0.08); color: #4ade80; border: 1px solid rgba(74,222,128,0.15); }

/* ================================================================
   6. COMPOSANTS — BOUTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform var(--t-spring),
    box-shadow var(--t-fast),
    background var(--t-fast),
    color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}
.btn:active { transform: scale(0.97) translateY(1px); }

/* Primaire — amber/or premium */
.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, #d97706 100%);
  color: var(--night);
  box-shadow: 0 4px 20px var(--amber-glow), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(245,158,11,0.4), 0 1px 0 rgba(255,255,255,0.2) inset;
}

/* Secondaire — outline verre */
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Ghost blue */
.btn-blue {
  background: var(--blue-bright);
  color: #fff;
  box-shadow: 0 4px 20px var(--blue-glow);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(37,99,235,0.5);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; min-height: 38px; }

/* Ripple */
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.14);
  opacity: 0;
  transform: scale(0.5);
  border-radius: inherit;
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.btn:active::after { opacity: 1; transform: scale(1); transition: none; }

/* ================================================================
   7. NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 44px; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--t-base), padding var(--t-base), box-shadow var(--t-base), top var(--t-base);
  animation: navSlideDown 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes navSlideDown {
  from { opacity:0; transform:translateY(-100%); }
  to   { opacity:1; transform:translateY(0); }
}
.nav.scrolled {
  top: 0;
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1001;
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo-img {
  height: 30px; width: auto;
  transition: transform var(--t-spring);
}
.nav-logo:hover .nav-logo-img { transform: rotate(-5deg) scale(1.06); }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav-menu > a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-300);
  position: relative;
  white-space: nowrap;
  transition: color var(--t-fast);
  letter-spacing: 0.01em;
}
.nav-menu > a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--amber);
  border-radius: 2px;
  transition: width var(--t-base);
  box-shadow: 0 0 6px var(--amber);
}
.nav-menu > a:hover       { color: var(--white); }
.nav-menu > a:hover::after,
.nav-menu > a.active::after { width: 100%; }
.nav-menu > a.active { color: var(--white); }

/* Lang switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.78rem;
  border-left: 1px solid var(--border);
  padding-left: 24px;
  margin-left: 8px;
}
.lang-switch a {
  padding: 4px 8px;
  border-radius: var(--r-sm);
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
}
.lang-switch a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.lang-switch a:hover:not(.active) { color: var(--gray-300); }
.lang-switch span { color: var(--gray-700); font-size: 0.7rem; }

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 6px;
  z-index: 1001;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile nav */
@media (max-width: 1000px) {
  .nav-menu { gap: 20px; }
  .nav-menu > a { font-size: 0.82rem; }
  .lang-switch { padding-left: 16px; }
  .nav-cta { display: none; }
}
@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--night-2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: clamp(80px, 12vw, 120px) clamp(24px, 6vw, 56px) 48px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    z-index: 999;
    margin-left: 0;
    border-top: none;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > a {
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: block;
    letter-spacing: -0.01em;
  }
  .nav-menu > a.active::after { display: none; }
  .lang-switch {
    border-left: none; padding-left: 0;
    margin-left: 0; margin-top: 32px;
    font-size: 1rem; gap: 8px;
  }
  .lang-switch a { font-size: 1rem; padding: 8px 14px; }
}

/* ================================================================
   8. HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
}

/* Fond : mesh gradient + particules */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 70%; height: 80%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.18) 0%, transparent 65%);
  animation: bgFloat1 12s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -5%;
  width: 55%; height: 70%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.10) 0%, transparent 60%);
  animation: bgFloat2 14s ease-in-out infinite alternate;
}
@keyframes bgFloat1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(4%,6%) scale(1.08); }
}
@keyframes bgFloat2 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-4%,-5%) scale(1.1); }
}

/* Grille décorative */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

/* Layout hero */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(100px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
}

/* Colonne gauche */
.hero-copy { }
.hero-copy .tag   { margin-bottom: 28px; }
.hero-copy .display { margin-bottom: 24px; }
.hero-copy .lead  { max-width: 480px; margin-bottom: 40px; }
.hero-actions     { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Stats */
.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: transform var(--t-spring), color var(--t-fast);
}
.hero-stat-num:hover { transform: scale(1.06); color: var(--amber-light); }
.hero-stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 6px; letter-spacing: 0.03em; }

/* Colonne droite — visual */
.hero-visual {
  position: relative;
  height: clamp(400px, 55vw, 600px);
}
.hero-img-frame {
  position: absolute;
  top: 0; right: 0;
  width: 90%; height: 88%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-deep), 0 0 0 1px var(--border);
}
.hero-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.1s linear;
}
/* Badge flottant amber */
.hero-badge {
  position: absolute;
  bottom: 18%;
  left: -4%;
  background: linear-gradient(135deg, var(--amber) 0%, #d97706 100%);
  color: var(--night);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-amber), 0 8px 32px rgba(0,0,0,0.3);
  z-index: 2;
  min-width: 150px;
}
.hero-badge-num   { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; display: block; }
.hero-badge-label { font-size: 0.72rem; font-weight: 700; opacity: 0.75; margin-top: 4px; display: block; letter-spacing: 0.04em; text-transform: uppercase; }
/* Mini card flottante */
.hero-card {
  position: absolute;
  bottom: 0; right: -2%;
  background: rgba(13, 18, 32, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  min-width: 180px;
}
.hero-card-icon { font-size: 1.3rem; flex-shrink: 0; }
.hero-card-text strong { font-size: 0.88rem; font-weight: 700; display: block; }
.hero-card-text span   { font-size: 0.75rem; color: var(--gray-500); }

/* Hero mobile */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-visual  { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 340px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ================================================================
   9. MARQUEE
   ================================================================ */
.marquee-section {
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--night-2);
}
.marquee-label {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}
.marquee-item:hover { color: var(--gray-500); }

/* ================================================================
   10. SECTION HEADER
   ================================================================ */
.section-header { margin-bottom: clamp(40px, 6vw, 72px); }
.section-header.center { text-align: center; }
.section-header.center .lead { max-width: min(560px, 90%); margin: 14px auto 0; }
.section-header.left  .lead  { max-width: 100%; margin: 14px 0 0; }
.section-header .tag  { margin-bottom: 16px; }
.section-header .h2   { margin-bottom: 0; }

/* ================================================================
   11. CARDS — SERVICE
   ================================================================ */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), border-color var(--t-fast), box-shadow var(--t-base), background var(--t-fast);
  position: relative;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245,158,11,0.25);
  background: var(--card-bg-hover);
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(245,158,11,0.12), var(--shadow-amber);
}
/* Ligne amber en haut au hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}
.service-card:hover::before { opacity: 1; }

.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s;
  filter: brightness(0.85) saturate(0.9);
}
.service-card:hover .service-card-img img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.1);
}

.service-card-body {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service-card-body h3 { font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-bottom: 10px; }
.service-card-body p  { font-size: 0.9rem; color: var(--gray-300); line-height: 1.65; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber-light);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 20px;
  transition: gap var(--t-fast), color var(--t-fast);
  letter-spacing: 0.02em;
}
.service-card:hover .service-link { gap: 12px; }

/* ================================================================
   12. CARDS — GÉNÉRIQUE
   ================================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  transition: transform var(--t-base), border-color var(--t-fast), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform var(--t-spring), background var(--t-fast);
}
.card:hover .card-icon { transform: scale(1.1) rotate(-5deg); background: rgba(245,158,11,0.18); }

/* ================================================================
   13. RÉALISATIONS
   ================================================================ */
.realization-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-fast), box-shadow var(--t-base);
}
.realization-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,158,11,0.2);
  box-shadow: var(--shadow-deep);
}
.realization-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--night-3);
}
.realization-img img,
.realization-img > div {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.realization-card:hover .realization-img img { transform: scale(1.06); }
.realization-body { padding: clamp(18px, 2.5vw, 28px); }
.realization-sector {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 10px;
}
.realization-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.realization-body p  { font-size: 0.88rem; color: var(--gray-300); margin-bottom: 16px; line-height: 1.6; }
.realization-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.15);
  padding: 5px 12px;
  border-radius: var(--r-full);
}

/* ================================================================
   14. TÉMOIGNAGES
   ================================================================ */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  transition: transform var(--t-base), border-color var(--t-fast);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: var(--border-hover); }
.testimonial-img {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(245,158,11,0.3);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.testimonial-img img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: var(--amber); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text {
  font-size: 0.92rem;
  color: var(--gray-300);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}
.testimonial-text::before { content: '"'; color: var(--amber); font-family: var(--font-display); font-size: 1.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.author-name  { font-weight: 700; font-size: 0.9rem; }
.author-role  { font-size: 0.78rem; color: var(--gray-500); margin-top: 3px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  font-family: var(--font-display);
}

/* ================================================================
   15. PROCESS STEPS
   ================================================================ */
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--t-fast);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: rgba(245,158,11,0.12);
  line-height: 1;
  transition: color var(--t-base);
}
.process-step:hover .step-num { color: rgba(245,158,11,0.35); }
.step-content h4  { margin-bottom: 8px; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.step-content p   { font-size: 0.9rem; color: var(--gray-300); line-height: 1.68; }
@media (max-width: 480px) {
  .process-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-num { font-size: 2rem; }
}

/* ================================================================
   16. FAQ
   ================================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.faq-item.open { border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.03); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  gap: 16px;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--amber-light); }
.faq-chevron {
  color: var(--gray-500);
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform var(--t-base), color var(--t-fast);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--amber); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.72;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.3s, opacity 0.3s;
  opacity: 0;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 22px; opacity: 1; }

/* ================================================================
   17. FORMULAIRE CONTACT
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  text-decoration: none;
  color: inherit;
}
.contact-method:hover {
  transform: translateX(6px);
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.04);
}
.contact-method-icon { font-size: 1.4rem; transition: transform var(--t-spring); }
.contact-method:hover .contact-method-icon { transform: scale(1.2) rotate(-8deg); }
.contact-method-text strong { display: block; font-size: 0.88rem; font-weight: 700; }
.contact-method-text span   { font-size: 0.82rem; color: var(--gray-500); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--gray-300); letter-spacing: 0.04em; }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  width: 100%;
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), transform var(--t-spring);
  -webkit-appearance: none;
  min-height: 48px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  background: rgba(245,158,11,0.04);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
  transform: translateY(-1px);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-700); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--night-2); }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.84rem; color: var(--gray-300);
}
.form-check input[type=checkbox] { margin-top: 3px; accent-color: var(--amber); cursor: pointer; }
.form-success {
  display: none;
  text-align: center;
  padding: 36px;
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.15);
  border-radius: var(--r-xl);
  color: #4ade80;
  font-weight: 600;
  animation: fadeScaleIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
.form-success.show { display: block; }
@keyframes fadeScaleIn {
  from { opacity:0; transform: scale(0.94) translateY(16px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}

/* ================================================================
   18. CTA SECTION
   ================================================================ */
.cta-section { padding: 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 80px);
  background: var(--night-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(245,158,11,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(37,99,235,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-img { border-radius: var(--r-xl); overflow: hidden; height: 300px; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .cta-box-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-img { display: none; }
  .cta-box .cta-actions { justify-content: center; }
}
.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; max-width: 360px; }
}

/* ================================================================
   19. PHOTO STRIP
   ================================================================ */
.photo-strip {
  display: flex;
  height: clamp(160px, 18vw, 280px);
  overflow: hidden;
  gap: 3px;
}
.photo-strip-img {
  flex: 1;
  overflow: hidden;
  transition: flex 0.5s cubic-bezier(0.16,1,0.3,1);
}
.photo-strip:hover .photo-strip-img       { flex: 0.7; }
.photo-strip:hover .photo-strip-img:hover { flex: 1.8; }
.photo-strip-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.7);
  transition: filter 0.5s, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.photo-strip-img:hover img { filter: brightness(0.9) saturate(1.1); transform: scale(1.04); }
@media (max-width: 640px) {
  .photo-strip-img:nth-child(4),
  .photo-strip-img:nth-child(5) { display: none; }
}
@media (max-width: 400px) { .photo-strip-img:nth-child(3) { display: none; } }

/* ================================================================
   20. WARM SECTION (image + texte)
   ================================================================ */
.warm-img-wrap { position: relative; }
.warm-img {
  width: 100%;
  height: clamp(300px, 40vw, 560px);
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: var(--shadow-deep);
}
.warm-img-tag {
  position: absolute;
  bottom: -16px; right: 24px;
  background: var(--white);
  color: var(--night);
  border-radius: var(--r-md);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.warm-img-tag .check { color: #22c55e; }
@media (max-width: 900px) {
  .warm-img { height: clamp(240px, 45vw, 380px); }
  .warm-img-tag { right: 12px; font-size: 0.78rem; padding: 10px 14px; }
}

/* ================================================================
   21. HIGHLIGHT BARS
   ================================================================ */
.highlight-bar {
  display: flex; align-items: center; gap: 18px;
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 24px) clamp(20px, 2.5vw, 32px);
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.highlight-bar:hover {
  transform: translateX(6px);
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.08);
}
.highlight-bar-icon { font-size: 1.8rem; flex-shrink: 0; }
.highlight-bar-text strong { display: block; font-weight: 700; margin-bottom: 4px; }
.highlight-bar-text p { font-size: 0.88rem; color: var(--gray-300); margin: 0; }

/* ================================================================
   22. PAGE HERO (pages internes)
   ================================================================ */
.page-hero {
  padding: clamp(110px, 14vw, 180px) 0 clamp(56px, 7vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(37,99,235,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .tag  { margin-bottom: 20px; }
.page-hero .h2   { margin-bottom: 16px; }
.page-hero .lead { max-width: min(520px, 90%); margin: 0 auto; }

/* ================================================================
   23. FOOTER
   ================================================================ */
.footer {
  background: var(--night-2);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 7vw, 88px) 0 clamp(28px, 4vw, 44px);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-bottom: clamp(40px, 5vw, 60px);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-img  { height: 26px; width: auto; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.footer-brand p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.68; max-width: 260px; }
.footer-col h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--gray-300);
  transition: color var(--t-fast), padding-left var(--t-fast);
  position: relative;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--amber-light); padding-left: 8px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--gray-500); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--amber-light); }

/* Footer responsive */
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }
@media (max-width: 640px)  { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px)  { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: center; text-align: center; } }

/* ================================================================
   24. WHATSAPP + CHATBOT
   ================================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: max(28px, env(safe-area-inset-bottom, 28px));
  right: max(28px, env(safe-area-inset-right, 28px));
  z-index: 900;
  /* Pill reconnaissable avec icône + label */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 14px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,0.42), 0 2px 8px rgba(0,0,0,0.2);
  transition: transform var(--t-spring), box-shadow var(--t-fast), padding var(--t-base);
  animation: bounceIn 0.8s cubic-bezier(0.34,1.56,0.64,1) 1.5s both;
  overflow: hidden;
  max-width: 220px;
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.25);
}
/* Icône SVG WhatsApp officielle */
.whatsapp-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
}
.whatsapp-label { line-height: 1.2; }
.whatsapp-label strong { display: block; font-size: 0.82rem; }
.whatsapp-label span { font-size: 0.72rem; opacity: 0.85; }
/* Sur mobile : réduire en rond */
@media (max-width: 480px) {
  .whatsapp-btn { padding: 0; width: 52px; max-width: 52px; justify-content: center; gap: 0; }
  .whatsapp-label { display: none; }
  .whatsapp-icon { width: 28px; height: 28px; }
}

/* ── BOUTON CALENDLY ── */
.calendly-btn {
  position: fixed;
  bottom: max(92px, calc(env(safe-area-inset-bottom, 28px) + 64px));
  right: max(28px, env(safe-area-inset-right, 28px));
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 14px;
  height: 52px;
  border-radius: 999px;
  background: var(--night-3);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(0,0,0,0.3), 0 0 0 1px rgba(245,158,11,0.1);
  transition: transform var(--t-spring), box-shadow var(--t-fast), background var(--t-fast);
  animation: bounceIn 0.8s cubic-bezier(0.34,1.56,0.64,1) 1.8s both;
  overflow: hidden;
  max-width: 220px;
}
.calendly-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(245,158,11,0.1);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,158,11,0.3), var(--shadow-amber);
}
.calendly-icon { flex-shrink: 0; font-size: 1.3rem; }
.calendly-label { line-height: 1.2; }
.calendly-label strong { display: block; font-size: 0.82rem; color: var(--amber-light); }
.calendly-label span { font-size: 0.72rem; color: var(--gray-300); }
/* Sur mobile : réduire en rond */
@media (max-width: 480px) {
  .calendly-btn { padding: 0; width: 52px; max-width: 52px; justify-content: center; gap: 0; }
  .calendly-label { display: none; }
  .calendly-icon { font-size: 1.5rem; }
  .calendly-btn { bottom: max(92px, calc(env(safe-area-inset-bottom, 28px) + 64px)); }
}

/* Tooltip WhatsApp supprimé (label visible directement) */
.whatsapp-tooltip { display: none; }

@keyframes bounceIn {
  from { opacity:0; transform:scale(0.3); }
  to   { opacity:1; transform:scale(1); }
}

/* Chatbot */
.chatbot-toggle {
  position: fixed;
  bottom: max(28px, env(safe-area-inset-bottom, 28px));
  left: max(28px, env(safe-area-inset-left, 28px));
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-bright);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  border: none;
  box-shadow: 0 6px 28px var(--blue-glow);
  transition: transform var(--t-spring), background var(--t-fast);
  animation: bounceIn 0.8s cubic-bezier(0.34,1.56,0.64,1) 1.8s both;
}
.chatbot-toggle:hover { transform: scale(1.12); background: #3b82f6; }

.chatbot-bubble {
  position: fixed;
  bottom: 100px;
  left: max(28px, env(safe-area-inset-left, 28px));
  z-index: 900;
  width: min(340px, calc(100vw - 40px));
  background: var(--night-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  display: flex !important;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.9) translateY(14px);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.chatbot-bubble.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }
.chatbot-head {
  background: var(--blue-bright);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chatbot-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.chatbot-head-text strong { font-size: 0.88rem; display: block; }
.chatbot-head-text span   { font-size: 0.75rem; opacity: 0.75; }
.chatbot-close { margin-left: auto; background: none; border: none; color: #fff; cursor: pointer; font-size: 1.1rem; opacity: 0.7; transition: opacity var(--t-fast); }
.chatbot-close:hover { opacity: 1; }
.chatbot-messages { height: 280px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chatbot-messages::-webkit-scrollbar { width: 3px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 0.84rem; line-height: 1.55; animation: chatIn 0.3s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes chatIn { from { opacity:0; transform: translateY(10px) scale(0.95); } to { opacity:1; transform: none; } }
.chat-msg.bot  { background: rgba(255,255,255,0.06); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--gray-100); }
.chat-msg.user { background: var(--blue-bright); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-typing { display: flex; align-items: center; gap: 4px; padding: 12px 14px; }
.dot-pulse { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gray-500); animation: dotPulse 1.2s ease-in-out infinite; }
.dot-pulse:nth-child(2) { animation-delay: 0.18s; }
.dot-pulse:nth-child(3) { animation-delay: 0.36s; }
@keyframes dotPulse { 0%,80%,100% { transform:scale(0.7); opacity:0.4; } 40% { transform:scale(1); opacity:1; } }
.chat-suggestions { padding: 8px 14px; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--border); }
.chat-sug {
  font-size: 0.75rem; padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  color: var(--gray-300); cursor: pointer; background: transparent;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
  font-family: var(--font-body);
  min-height: 34px;
}
.chat-sug:hover { border-color: var(--amber); color: var(--amber-light); background: rgba(245,158,11,0.06); }
.chatbot-input { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border); }
.chatbot-input input {
  flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 9px 12px; color: var(--white);
  font-family: var(--font-body); font-size: 0.84rem; outline: none; min-height: 40px;
  transition: border-color var(--t-fast);
}
.chatbot-input input:focus { border-color: var(--amber); }
.chatbot-input button {
  background: var(--blue-bright); border: none; border-radius: var(--r-sm);
  padding: 9px 14px; color: #fff; font-size: 0.88rem;
  transition: background var(--t-fast), transform var(--t-spring);
  min-height: 40px;
}
.chatbot-input button:hover { background: #3b82f6; transform: scale(1.05); }

/* ================================================================
   25. COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(600px, calc(100vw - 32px));
  background: var(--night-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-deep);
  animation: cookieUp 0.5s cubic-bezier(0.16,1,0.3,1) 2s both;
}
@keyframes cookieUp {
  from { opacity:0; transform: translateX(-50%) translateY(20px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.cookie-banner.hidden { display: none; }
.cookie-icon  { font-size: 1.5rem; flex-shrink: 0; }
.cookie-text  { flex: 1; }
.cookie-text p { font-size: 0.84rem; color: var(--gray-300); line-height: 1.5; }
.cookie-text a { color: var(--amber-light); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 580px) {
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-actions { justify-content: center; width: 100%; }
}

/* ================================================================
   26. UTILITAIRES
   ================================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.color-amber { color: var(--amber-light); }
.color-gray  { color: var(--gray-300); }
.color-muted { color: var(--gray-500); }
.font-bold   { font-weight: 700; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 64px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.divider { height: 1px; background: var(--border); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--gray-700); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* Selection */
::selection { background: var(--amber); color: var(--night); }

/* Print */
@media print {
  .nav, .whatsapp-btn, .chatbot-toggle, .chatbot-bubble,
  .cookie-banner, .photo-strip, .hero-visual { display: none !important; }
  body { background: white; color: black; }
}

/* Safe area + touch */
html, body { overflow-x: hidden; }
@media (hover: none) {
  .cursor-glow { display: none !important; }
  .hero-bg, .hero-grid { transform: none !important; }
}

/* Cursor glow */
@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    position: fixed;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%,-50%);
    z-index: 0;
    will-change: left, top;
    transition: opacity 0.3s;
  }
}

/* ── Barre sociale NAV (tout en haut) ── */
.social-topbar {
  background: var(--night-2);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: 0.78rem;
}
.social-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.social-topbar-label {
  color: var(--gray-500);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-right: 8px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  color: var(--gray-500);
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-spring);
  flex-shrink: 0;
}
.social-icon:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* Couleurs au hover par réseau */
.social-icon--fb:hover    { color: #1877f2; background: rgba(24,119,242,0.1); }
.social-icon--li:hover    { color: #0a66c2; background: rgba(10,102,194,0.1); }
.social-icon--ig:hover    { color: #e1306c; background: rgba(225,48,108,0.1); }
.social-icon--yt:hover    { color: #ff0000; background: rgba(255,0,0,0.1); }
.social-icon--x:hover     { color: var(--white); background: rgba(255,255,255,0.1); }

/* Nav décalée vers le bas de la topbar */

@media (max-width: 640px) {
  .social-topbar-label { display: none; }
  .social-icon { width: 28px; height: 28px; }
  .social-topbar-inner { gap: 2px; justify-content: center; }
  }

/* ── Réseaux sociaux dans le footer ── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.footer-social .social-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--gray-500);
}
.footer-social .social-icon:hover {
  border-color: rgba(255,255,255,0.15);
}
.footer-social .social-icon--fb:hover { border-color: rgba(24,119,242,0.3); }
.footer-social .social-icon--li:hover { border-color: rgba(10,102,194,0.3); }
.footer-social .social-icon--ig:hover { border-color: rgba(225,48,108,0.3); }
.footer-social .social-icon--yt:hover { border-color: rgba(255,0,0,0.3); }
.footer-social .social-icon--x:hover  { border-color: rgba(255,255,255,0.2); }
.footer-social .social-icon svg { width: 17px; height: 17px; }

/* Héros : décaler le padding pour topbar */

@media (max-width: 640px) {
  
}

/* ================================================================
   RÉSEAUX SOCIAUX — Topbar + Footer (sans conflit nav/hero)
   ================================================================ */

/* ── Barre sociale topbar ── */
.social-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: rgba(5, 8, 15, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.social-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.social-topbar-label {
  color: var(--gray-500);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-right: 8px;
  white-space: nowrap;
}

/* ── Icône sociale générique ── */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 6px;
  color: var(--gray-500);
  transition: color 160ms ease, background 160ms ease, transform 280ms cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
  text-decoration: none;
}
.social-icon:hover { color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.social-icon svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* Hover couleurs par réseau */
.social-icon--fa:hover { color: #1877f2; background: rgba(24,119,242,0.12); }
.social-icon--li:hover { color: #0a66c2; background: rgba(10,102,194,0.12); }
.social-icon--in:hover { color: #e1306c; background: rgba(225,48,108,0.12); }
.social-icon--yt:hover { color: #ff0000; background: rgba(255,0,0,0.12); }
.social-icon--x:hover  { color: var(--white); background: rgba(255,255,255,0.1); }



@media (max-width: 640px) {
  .social-topbar-label { display: none; }
  .social-icon { width: 26px; height: 26px; }
}
@media (max-width: 400px) {
}

/* ── Footer social ── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.footer-social .social-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gray-500);
}
.footer-social .social-icon svg { width: 16px; height: 16px; }
.footer-social .social-icon--fa:hover { border-color: rgba(24,119,242,0.35); }
.footer-social .social-icon--li:hover { border-color: rgba(10,102,194,0.35); }
.footer-social .social-icon--in:hover { border-color: rgba(225,48,108,0.35); }
.footer-social .social-icon--yt:hover { border-color: rgba(255,0,0,0.35); }
.footer-social .social-icon--x:hover  { border-color: rgba(255,255,255,0.2); }
