/* ============================
   BLOO — Blue Dominant Edition
   ============================ */

/* --- VARIABLES --- */
:root {
  --blue-primary: #3B5BFE;
  --blue-deep: #0A1628;
  --blue-mid: #0D1B3E;
  --blue-intermediate: #0D1425;
  --blue-stats: #0F2140;
  --blue-footer: #050D1A;
  --white: #FFFFFF;
  --gray-light: #94A3B8;
  --black: #0F172A;
  --gray-bg: #F8FAFC;
  --border: rgba(59, 91, 254, 0.15);
  --border-hover: #3B5BFE;
  --card-bg: #FFFFFF;
  --radius: 16px;
  --font-display: 'Syne', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--blue-deep);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.intro-active { overflow: hidden; }

a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* --- INTRO ANIMATION --- */
.intro-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
.intro-letters {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 80px;
  color: var(--blue-primary);
  transition: filter 0.3s ease;
}
.intro-letter {
  opacity: 0;
  display: inline-block;
}
.intro-dot {
  opacity: 0;
  display: inline-block;
  color: var(--blue-primary);
}
.intro-letter.animate-B { animation: slideFromLeft 0.2s ease forwards; }
.intro-letter.animate-L { animation: slideFromTop 0.2s ease forwards; }
.intro-letter.animate-O1 { animation: slideFromBottom 0.2s ease forwards; }
.intro-letter.animate-O2 { animation: slideFromRight 0.2s ease forwards; }
.intro-dot.animate { animation: bounceDot 0.2s ease forwards; }
.intro-letters.glow { filter: drop-shadow(0 0 30px rgba(59,91,254,0.6)); }

@keyframes slideFromLeft { from { opacity: 0; transform: translateX(-80px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideFromTop { from { opacity: 0; transform: translateY(-80px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideFromBottom { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideFromRight { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bounceDot { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.4); } 100% { opacity: 1; transform: scale(1); } }

@media (max-width: 768px) {
  .intro-letters { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-stretch: normal;
  -webkit-font-smoothing: antialiased;
}
h1 { font-weight: 900; letter-spacing: -0.02em; }
h2 { font-weight: 800; letter-spacing: -0.01em; }
p, li, span, label, small, input, textarea, select, button {
  font-family: 'DM Sans', sans-serif;
  font-stretch: normal;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.text-3d {
  text-shadow:
    0 1px 0 rgba(0,0,0,0.1),
    0 2px 0 rgba(0,0,0,0.08),
    0 3px 0 rgba(0,0,0,0.06),
    0 4px 0 rgba(0,0,0,0.04),
    0 5px 0 rgba(0,0,0,0.02),
    0 6px 10px rgba(0,0,0,0.1);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.highlight { color: var(--blue-primary); }

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.6s; }

/* --- MASCOT --- */
@keyframes mascotAlive {
  0%   { transform: translateY(0px) rotate(0deg) scale(1); }
  25%  { transform: translateY(-6px) rotate(1deg) scale(1.02); }
  50%  { transform: translateY(-10px) rotate(0deg) scale(1.03); }
  75%  { transform: translateY(-6px) rotate(-1deg) scale(1.02); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}
.mascot-float { animation: mascotAlive 4s ease-in-out infinite; }

.mascot-wrapper { position: relative; display: inline-flex; align-items: center; gap: 15px; margin: 0; padding: 0; }

.mascot-bubble {
  position: absolute;
  top: 10px;
  left: calc(100% + 12px);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(59,91,254,0.3);
  padding: 8px 16px;
  border-radius: 16px 16px 16px 4px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  animation: bubblePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.8s;
}
.mascot-bubble::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 12px;
  border: 7px solid transparent;
  border-right-color: rgba(255,255,255,0.1);
  filter: drop-shadow(-2px 0 0 rgba(59,91,254,0.2));
}
.reveal .mascot-bubble { animation-play-state: paused; }
.reveal.visible .mascot-bubble { animation-play-state: running; }

@keyframes bubblePop {
  0% { opacity: 0; scale: 0.8; }
  100% { opacity: 1; scale: 1; }
}

/* ============================
   PROMO BANNER
   ============================ */
.promo-banner {
  position: relative;
  background: var(--blue-primary);
  color: var(--white);
  text-align: center;
  padding: 10px 40px 10px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  z-index: 1001;
  line-height: 1.4;
}
.promo-banner.hidden { display: none; }
.promo-text-mobile { display: none; }
.promo-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.promo-close:hover { opacity: 1; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: all var(--transition);
}
.navbar.has-banner { top: 40px; }
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(59,91,254,0.15);
  top: 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 6px; }
.logo-text {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; color: var(--white);
}
.logo-dot { color: var(--blue-primary); font-size: 2rem; font-weight: 800; }
.nav-badge {
  font-size: 0.72rem;
  background: rgba(59,91,254,0.15);
  color: var(--blue-primary);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(59,91,254,0.25);
  margin-left: 12px;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link {
  font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem;
  color: var(--gray-light); transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--blue-primary); border-radius: 2px; transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-ctas { display: flex; gap: 10px; align-items: center; }
.nav-cta {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem;
  padding: 10px 20px; border-radius: 50px; transition: all var(--transition);
}
.nav-cta-outline {
  color: var(--white); border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
}
.nav-cta-outline:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.nav-cta-primary {
  background: var(--blue-primary); color: #fff; border: 1.5px solid var(--blue-primary);
}
.nav-cta-primary:hover { background: #5B7BFF; box-shadow: 0 4px 20px rgba(59,91,254,0.4); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 1001; padding: 4px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================
   HERO — Blue Deep
   ============================ */
.hero {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, #0A1628 0%, #0D1B3E 50%, #162550 100%);
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
}
.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.hero-content { flex: 1; max-width: 620px; }
.hero-badge {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 500; font-size: 0.85rem;
  color: var(--blue-primary); background: rgba(59,91,254,0.12);
  border: 1px solid rgba(59,91,254,0.25); border-radius: 50px;
  padding: 8px 20px; margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1; margin-bottom: 24px;
  color: var(--white);
}
.hero-title .bloo-glow {
  color: var(--blue-primary);
  font-size: 1.15em;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 0 20px rgba(59,91,254,0.5));
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(59,91,254,0.4)); }
  50% { filter: drop-shadow(0 0 35px rgba(59,91,254,0.7)); }
}

/* Rotating word in hero */
.rotating-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.15em;
  position: relative;
  color: var(--blue-primary);
}
.rotating-word-inner {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.rotating-word-inner.fade-out {
  opacity: 0;
  transform: translateY(-100%);
}
.rotating-word-inner.fade-in {
  opacity: 0;
  transform: translateY(100%);
}

.hero-subtitle {
  font-size: 1.1rem; color: var(--gray-light);
  line-height: 1.7; margin-bottom: 16px; max-width: 520px;
}
.hero-audience {
  font-size: 0.92rem; color: rgba(148,163,184,0.7);
  margin-bottom: 36px; font-style: italic;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-mascot { flex-shrink: 0; }
.hero-mascot .mascot-img {
  width: 200px; height: auto;
  filter: drop-shadow(0 20px 50px rgba(59,91,254,0.25));
}
.hero-mascot .mascot-bubble {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px 20px 20px 4px;
}
.hero-mascot .mascot-bubble::before {
  top: auto;
  bottom: -8px;
  left: 30px;
  border-right-color: transparent;
  border-top-color: rgba(255,255,255,0.1);
  filter: drop-shadow(0 2px 0 rgba(59,91,254,0.2));
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px;
  transition: all var(--transition); cursor: pointer; border: none;
  text-decoration: none; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--blue-primary); color: #fff;
  box-shadow: 0 4px 20px rgba(59,91,254,0.3);
}
.btn-primary:hover {
  background: #5B7BFF;
  box-shadow: 0 8px 25px rgba(59,91,254,0.35);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.btn-arrow { flex-shrink: 0; }

/* ============================
   STATS — Darker Blue
   ============================ */
.stats {
  position: relative; z-index: 1;
  background: var(--blue-stats);
  padding: 80px 0;
}
.stats-container {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-around; align-items: center;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--white);
  text-shadow:
    0 0 20px rgba(59,91,254,0.3),
    0 1px 0 rgba(0,0,0,0.1),
    0 2px 0 rgba(0,0,0,0.08),
    0 3px 0 rgba(0,0,0,0.06),
    0 4px 0 rgba(0,0,0,0.04),
    0 5px 0 rgba(0,0,0,0.02),
    0 6px 10px rgba(0,0,0,0.1);
}
.stat-suffix {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--white);
  text-shadow: 0 0 20px rgba(59,91,254,0.3);
}
.stat-label {
  display: block; margin-top: 6px;
  font-size: 0.9rem; color: var(--gray-light);
}
.stat-divider {
  width: 1px; height: 50px;
  background: rgba(59,91,254,0.25);
}

/* ============================
   MARQUEE SECTEURS
   ============================ */
.marquee-section {
  background: var(--blue-deep);
  padding: 32px 0 24px;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 16px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.marquee-content {
  display: inline-flex;
  gap: 2.5rem;
  animation: marqueeScroll 35s linear infinite;
  align-items: center;
}
.marquee-content span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  font-family: var(--font-body);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================
   SERVICES — White
   ============================ */
.services {
  position: relative; z-index: 1;
  background: var(--white);
  padding: 120px 0;
}
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-title { color: var(--black); }
.services-header .section-subtitle { margin: 0 auto; color: rgba(15,23,42,0.6); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.service-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}
.card-badge {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  color: var(--white); background: var(--blue-primary);
  border-radius: 50px;
  padding: 4px 14px; margin-bottom: 20px;
}
.card-icon { margin-bottom: 20px; }
.card-icon svg { stroke: var(--blue-primary); }
.card-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.4rem; color: var(--black);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 1rem; color: rgba(15,23,42,0.6);
  line-height: 1.7; margin-bottom: 24px;
}
.card-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.card-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: rgba(15,23,42,0.6);
}
.check-icon {
  width: 22px; height: 22px; min-width: 22px;
  background: var(--blue-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; margin-top: 2px;
}
.check-icon::after {
  content: '';
  width: 6px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg); position: absolute;
  top: 4px; left: 7px;
}
.card-list li strong { color: var(--black); }
.card-note {
  font-size: 0.88rem; color: rgba(15,23,42,0.45);
  font-style: italic; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}
.btn-card { width: 100%; justify-content: center; margin-top: 8px; }
.btn-outline {
  background: transparent; color: var(--black);
  border: 1.5px solid #E2E8F0;
}
.btn-outline:hover {
  border-color: var(--blue-primary); color: var(--blue-primary);
  transform: translateY(-2px);
}

/* CTA Réalisations in Services — Blue Deep */
.realisations-cta-card {
  background: var(--blue-deep);
  border: 2px solid rgba(59,91,254,0.3);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 48px;
  text-align: center;
}
.realisations-cta-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}
.realisations-cta-content p {
  font-size: 1rem;
  color: var(--gray-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ============================
   TEMOIGNAGES — Light
   ============================ */
.temoignages {
  position: relative; z-index: 1;
  background: var(--gray-bg);
  padding: 120px 0;
  overflow: hidden;
}
.temoignages-header { text-align: center; margin-bottom: 56px; }
.temoignages-header .section-title { color: var(--black); }
.temoignages-header .section-title .highlight { color: var(--blue-primary); }
.temoignages-header .section-subtitle { margin: 0 auto; color: rgba(15,23,42,0.6); }

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 32px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(59,91,254,0.4) rgba(59,91,254,0.1);
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-track { background: rgba(59,91,254,0.1); border-radius: 3px; }
.carousel-track::-webkit-scrollbar-thumb { background: rgba(59,91,254,0.4); border-radius: 3px; }

.temoignage-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.temoignage-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 4px 30px rgba(59,91,254,0.1);
}
.temoignage-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.temoignage-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1rem; color: #fff;
}
.temoignage-name {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.95rem; color: var(--black);
}
.temoignage-role { font-size: 0.82rem; color: var(--gray-light); }
.temoignage-stars { margin-bottom: 14px; }
.star { color: #FFD700; font-size: 1rem; }
.temoignage-text {
  font-size: 0.95rem; color: rgba(15,23,42,0.6);
  line-height: 1.7; margin-bottom: 18px;
  font-style: italic;
}
.temoignage-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  color: #fff; background: var(--blue-primary);
  border-radius: 20px; padding: 4px 12px;
}

/* ============================
   POURQUOI BLOO — Blue Deep
   ============================ */
.why-bloo {
  position: relative; z-index: 1;
  background: var(--blue-deep);
  padding: 120px 0;
}
.why-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; margin-bottom: 64px;
}
.why-text { flex: 1; }
.why-bloo .section-title { color: var(--white); }
.why-bloo .section-subtitle { color: var(--gray-light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: rgba(59,91,254,0.06);
  border: 1px solid rgba(59,91,254,0.15);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--blue-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(59,91,254,0.15);
}
.why-number {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white); margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(59,91,254,0.4);
}
.why-card h3 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 10px;
}
.why-card p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; }

/* ============================
   COMMENT CA MARCHE — Blue Deep
   ============================ */
.method-section {
  position: relative; z-index: 1;
  background: var(--blue-deep);
  padding: 120px 0;
}
.method-header { text-align: center; margin-bottom: 64px; }
.method-header .section-title { color: var(--white); }
.method-header .section-subtitle { margin: 0 auto; color: var(--gray-light); }

.method-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.method-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.method-number {
  width: 48px; height: 48px;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(59,91,254,0.4);
}
.method-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.method-step h3 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 8px;
}
.method-step p {
  font-size: 0.88rem; color: var(--gray-light);
  line-height: 1.6;
}
.method-connector {
  width: 60px;
  min-width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,91,254,0.4), transparent);
  margin-top: 24px;
  border-style: dashed;
  border-width: 0;
  border-top: 2px dashed rgba(59,91,254,0.3);
  background: none;
}

/* ============================
   GRAPH — White
   ============================ */
.graph-section {
  position: relative; z-index: 1;
  background: var(--white);
  padding: 100px 0;
}
.graph-container {
  max-width: 800px; margin: 0 auto;
  text-align: center;
}
.graph-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--black); margin-bottom: 40px;
}
.graph-canvas-wrap {
  position: relative;
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 40px 40px 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.graph-canvas-wrap canvas { width: 100%; height: 300px; display: block; }
.graph-legend {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 20px;
}
.graph-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: rgba(15,23,42,0.6);
}
.legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.legend-dot.red { background: #E74C3C; opacity: 0.8; }
.legend-dot.blue { background: var(--blue-primary); }
.graph-annotation {
  font-size: 0.95rem; color: rgba(15,23,42,0.6);
  margin-top: 24px;
}

/* ============================
   CONTACT — Blue Deep bg, white form
   ============================ */
.contact {
  position: relative; z-index: 1;
  background: var(--blue-deep);
  padding: 120px 0;
}
.contact-wrapper {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start;
}
.contact-info .section-title { text-align: left; color: var(--white); }
.contact-info .highlight { color: var(--blue-primary); }
.contact-subtitle {
  font-size: 1.05rem; color: var(--gray-light);
  margin-top: 16px; margin-bottom: 28px; line-height: 1.7;
}

/* Reassurance block */
.reassurance-block {
  background: rgba(59,91,254,0.1);
  border: 1px solid rgba(59,91,254,0.25);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
}
.reassurance-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.reassurance-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
}
.reassurance-text {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.5;
}

.form-wrapper {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Progress bar */
.form-progress {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; gap: 0;
}
.progress-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative; z-index: 2;
}
.step-number {
  width: 36px; height: 36px;
  background: rgba(59,91,254,0.08);
  border: 2px solid #E2E8F0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.85rem; color: var(--gray-light);
  transition: all var(--transition);
}
.progress-step.active .step-number {
  background: var(--blue-primary); border-color: var(--blue-primary); color: #fff;
}
.progress-step.done .step-number {
  background: #10B981; border-color: #10B981; color: #fff;
}
.step-label { font-size: 0.75rem; color: var(--gray-light); }
.progress-line {
  flex: 1; height: 2px;
  background: #E2E8F0;
  position: relative;
  margin: 0 12px; margin-bottom: 18px;
}
.progress-fill {
  position: absolute; top: 0; left: 0;
  width: 0; height: 100%;
  background: var(--blue-primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; }
.form-step-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.15rem; color: var(--black);
  margin-bottom: 24px;
}

/* Need cards — 2x2 grid */
.need-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: 24px;
}
.need-card input { display: none; }
.need-card-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px;
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
  color: rgba(15,23,42,0.6);
  text-align: center;
  min-height: 100px;
  justify-content: center;
}
.need-card-inner svg { width: 36px; height: 36px; color: rgba(15,23,42,0.4); }
.need-card-inner span { font-size: 0.88rem; font-weight: 500; }
.need-card-inner small { font-size: 0.75rem; color: var(--gray-light); }
.need-card input:checked + .need-card-inner {
  border-color: var(--blue-primary);
  background: rgba(59,91,254,0.06);
  color: var(--black);
}
.need-card input:checked + .need-card-inner svg { color: var(--blue-primary); }

/* Form grid */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-heading); font-weight: 500;
  font-size: 0.85rem; color: rgba(15,23,42,0.6);
}
.form-group label small { color: var(--gray-light); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  color: var(--black);
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(15,23,42,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue-primary);
}
.form-group select option { background: #fff; color: var(--black); }

.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.btn-ghost {
  background: transparent; color: rgba(15,23,42,0.6);
  border: 1.5px solid #E2E8F0;
  padding: 12px 24px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.9rem; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--black); color: var(--black); }
.btn-next {
  padding: 12px 28px; border-radius: 50px;
}
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

/* Success step */
.success-animation { text-align: center; padding: 40px 0; }
.success-checkmark { margin-bottom: 20px; }
.success-checkmark svg { display: inline-block; }
.success-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.4rem; color: var(--black);
  margin-bottom: 8px;
}
.success-text { color: rgba(15,23,42,0.6); font-size: 1rem; margin-bottom: 20px; }
.mascot-success { width: 100px; height: auto; margin-top: 16px; }

/* Urgency text */
.urgency-text {
  text-align: center; padding: 24px 32px;
  font-size: 0.88rem; color: var(--gray-light);
  font-style: italic;
}

/* Confetti */
.confetti-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 10000; overflow: hidden;
}
.confetti-piece {
  position: absolute; top: -10px;
  border-radius: 2px;
  animation: confettiFall 3s ease-in forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ============================
   FOOTER — Very Deep Blue
   ============================ */
.footer {
  position: relative; z-index: 1;
  background: var(--blue-footer);
  padding: 60px 0 32px;
  border-top: 1px solid #1A2744;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 20px;
}
.footer-brand .logo-text { font-size: 1.6rem; color: var(--white); }
.footer-brand .logo-dot { color: var(--blue-primary); }
.footer-tagline {
  font-size: 0.88rem; color: var(--gray-light);
  margin-top: 4px;
}
.footer-contact a {
  color: var(--white);
  font-family: 'Syne', sans-serif; font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--blue-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 24px;
  border-top: 1px solid #1A2744;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.82rem; color: var(--gray-light);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-legal, .footer-copy { font-size: 0.78rem; color: rgba(148,163,184,0.6); }

/* ============================
   REALISATIONS PAGE
   ============================ */
.realisations-page {
  position: relative; z-index: 1;
  background: var(--blue-deep);
  padding: 140px 0 120px;
  min-height: 100vh;
}
.realisations-page .section-title { color: var(--white); }
.realisations-page .section-subtitle { margin: 0 auto; color: var(--gray-light); }
.realisations-header { text-align: center; margin-bottom: 64px; }
.realisations-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.real-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(59,91,254,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.real-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 8px 40px rgba(59,91,254,0.15);
  transform: translateY(-4px);
}
.real-video {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-primary));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.play-btn {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.real-card:hover .play-btn {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  transform: scale(1.1);
}
.real-body { padding: 24px; }
.real-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-primary); background: rgba(59,91,254,0.12);
  border-radius: 50px; padding: 4px 12px;
  margin-bottom: 12px;
}
.real-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.15rem; color: var(--white);
  margin-bottom: 8px;
}
.real-desc { font-size: 0.92rem; color: var(--gray-light); margin-bottom: 16px; }
.real-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.88rem; color: var(--blue-primary);
  transition: gap var(--transition);
}
.real-card:hover .real-cta { gap: 10px; }
.realisations-note {
  text-align: center; margin-top: 48px;
  font-size: 0.95rem; color: var(--gray-light); font-style: italic;
}

/* "Bientot disponible" badge */
.real-card.coming-soon { opacity: 0.6; pointer-events: none; }
.real-card.coming-soon .real-video::after {
  content: 'Bientôt disponible';
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

/* Video modal */
.video-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center; justify-content: center;
  padding: 40px;
}
.video-modal.active { display: flex; }
.video-modal-inner {
  position: relative; width: 100%; max-width: 900px;
  aspect-ratio: 16/9; background: #000; border-radius: 12px;
  overflow: hidden;
}
.video-modal video { width: 100%; height: 100%; object-fit: contain; }
.video-modal-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer;
  padding: 8px;
}
.video-watermark {
  position: absolute; bottom: 12px; right: 16px;
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
  font-family: var(--font-heading);
}

/* ============================
   ACCESSIBILITY
   ============================ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .rotating-word-inner, .marquee-content, .mascot-float {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .hero-container { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-mascot .mascot-img { width: 180px; }
  .services-grid { grid-template-columns: 1fr; }
  .realisations-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-header { flex-direction: column; text-align: center; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-info .section-title { text-align: center; }
  .reassurance-block { max-width: 400px; margin: 16px auto 0; }
  .realisations-cta-card { text-align: center; }
  .nav-badge { display: none; }
  .method-steps { flex-wrap: wrap; gap: 24px; }
  .method-connector { display: none; }
  .method-step { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: rgba(10,22,40,0.98); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center; gap: 32px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.1rem; color: var(--white); }
  .nav-ctas { display: none; }
  .nav-hamburger { display: flex; }

  .promo-text-desktop { display: none; }
  .promo-text-mobile { display: inline; }
  .promo-banner { padding: 8px 36px 8px 12px; font-size: 13px; max-height: 40px; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-title { font-size: 2.2rem; }
  .hero-mascot .mascot-img { width: 140px; max-width: 140px; }
  .reassurance-block { display: none; }

  .stats-container { flex-wrap: wrap; gap: 24px; }
  .stat-item { flex: 1 0 40%; }
  .stat-divider { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .need-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .temoignage-card { flex: 0 0 300px; }

  .graph-canvas-wrap { padding: 24px 16px 36px; }
  .graph-legend { flex-direction: column; align-items: center; gap: 12px; }

  .realisations-grid { grid-template-columns: 1fr; }

  .method-steps { flex-direction: column; align-items: center; }
  .method-step { flex: none; width: 100%; max-width: 300px; }
  .method-connector {
    display: block;
    width: 2px;
    min-width: 2px;
    height: 30px;
    border-top: none;
    border-left: 2px dashed rgba(59,91,254,0.3);
    margin: 0 auto;
  }

  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .section-container { padding: 0 20px; }
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 1rem; }
  .services, .temoignages, .why-bloo, .contact, .method-section { padding: 80px 0; }
  .realisations-page { padding: 120px 0 80px; }
  .temoignage-card { flex: 0 0 260px; padding: 24px; }
  .form-wrapper { padding: 24px; }

  .mascot-bubble {
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px 20px 20px 4px;
  }
  .mascot-bubble::before {
    top: auto;
    bottom: -8px;
    left: 30px;
    border-right-color: transparent;
    border-top-color: rgba(255,255,255,0.1);
    filter: drop-shadow(0 2px 0 rgba(59,91,254,0.2));
  }

  /* Ensure min font-size 14px on body text */
  .card-desc, .card-list li, .why-card p, .method-step p,
  .temoignage-text, .hero-subtitle, .section-subtitle,
  .contact-subtitle, .reassurance-text, .graph-annotation,
  .urgency-text { font-size: max(0.88rem, 14px); }

  /* CTA buttons min height 44px */
  .btn { min-height: 44px; }
}
