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

:root {
  --red: #E30617;
  --orange: #F07E26;
  --dark: #1E1E1C;
  --white: #ffffff;
  --gray-50: #f9f9f9;
  --gray-100: #f2f2f2;
  --gray-200: #e5e5e5;
  --gray-500: #737373;
  --gray-700: #404040;
  --gradient: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(240,126,38,0.12) 0%, rgba(227,6,23,0.08) 100%);
  --gradient-glow-orange: radial-gradient(circle, rgba(240,126,38,0.35) 0%, transparent 70%);
  --gradient-glow-red: radial-gradient(circle, rgba(227,6,23,0.25) 0%, transparent 70%);
  --font: 'Montserrat', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
/* Soulignement dégradé sous les titres de section */
.section-header .section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(227, 6, 23, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(227, 6, 23, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  font-weight: 800;
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ===== NAVIGATION ===== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav-header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 72px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--dark); background: var(--gray-100); }

.nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(227, 6, 23, 0.25);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(227, 6, 23, 0.35) !important;
  background: var(--gradient) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 120px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Gradient blobs de fond dans le hero */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 520px;
  height: 520px;
  background: var(--gradient-glow-orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: var(--gradient-glow-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-subtitle strong { color: var(--dark); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero-badge {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 80px rgba(227, 6, 23, 0.25);
  animation: float 6s ease-in-out infinite;
}

.hero-picto {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 130px;
}
.card-1 { top: 60px; right: 0; }
.card-2 { bottom: 80px; left: 0; }

.stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* Accroche hero */
.hero-tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 20px;
  max-width: 520px;
}

/* Logos financement dans le hero */
.hero-financement {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hf-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hf-logos { display: flex; align-items: center; gap: 18px; }
.hf-logo-wrap {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.85;
}
.hf-logo-wrap:hover { transform: translateY(-2px); opacity: 1; }
.hf-logo { height: 42px; width: auto; object-fit: contain; }
.hf-logo-sep { width: 1px; height: 30px; background: var(--gray-200); }

/* Carte phrase (remplace la carte ROI) */
.hero-stat-card.card-phrase {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  max-width: 220px;
}
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--gradient-soft);
  color: var(--red);
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-phrase {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
}

/* ===== ANIMATIONS HERO (entrée + flottement) ===== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes blobPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Entrée en cascade du contenu */
.hero-content > * { animation: heroFadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.14s; }
.hero-content > *:nth-child(3) { animation-delay: 0.23s; }
.hero-content > *:nth-child(4) { animation-delay: 0.32s; }
.hero-content > *:nth-child(5) { animation-delay: 0.41s; }
.hero-content > *:nth-child(6) { animation-delay: 0.50s; }

/* Visuel : entrée puis flottement doux */
.hero-visual { animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; animation-delay: 0.3s; }
.hero-stat-card { animation: heroFadeIn 0.6s ease both, floatCard 5.5s ease-in-out infinite; }
.card-1 { animation-delay: 0.75s, 0.75s; }
.card-2 { animation-delay: 1s, 1s; }

/* Blobs de fond animés en douceur */
.hero::before { animation: blobPulse 9s ease-in-out infinite; }
.hero::after { animation: blobPulse 11s ease-in-out infinite; }

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  .hero-content > *,
  .hero-visual,
  .hero-stat-card,
  .hero-badge,
  .hero::before,
  .hero::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== ACCROCHE : révélation lettre par lettre ===== */
.hero-tagline { animation: none; opacity: 1; transform: none; }
.hero-tagline .ht-reveal { display: inline; }
.hero-tagline .ht-w { display: inline-block; white-space: nowrap; }
.hero-tagline .ht-char {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
  animation: htCharIn 0.55s cubic-bezier(0.22, 0.7, 0.25, 1) both;
  animation-delay: calc(0.3s + var(--i) * 0.05s);
}
@keyframes htCharIn {
  0% { opacity: 0; transform: translateY(0.55em) scale(0.92); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-tagline .ht-rest {
  opacity: 0;
  animation: heroFadeIn 0.7s ease both;
  animation-delay: 1.4s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-tagline .ht-char,
  .hero-tagline .ht-rest {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  background: var(--dark);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
/* Fondu sur les bords */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--dark), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--dark), transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 24px;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.marquee-track .dot { color: var(--red); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0 120px;
  background: var(--gray-50);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(240,126,38,0.07) 0%, transparent 55%),
              radial-gradient(ellipse at 10% 90%, rgba(227,6,23,0.05) 0%, transparent 55%);
  pointer-events: none;
}

/* --- En-tête style agence --- */
.services-header {
  margin-bottom: 64px;
}

.services-big-title {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.title-block {
  display: inline-block;
  padding: 4px 18px 6px;
  border-radius: 6px;
  width: fit-content;
  max-width: 100%;
  letter-spacing: -0.01em;
}

.title-block--dark {
  background: var(--dark);
  color: var(--white);
}

.title-block--gradient {
  background: var(--gradient);
  color: var(--white);
}

/* --- Intro cards --- */
.services-cards-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.services-question {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.services-question-line {
  flex: 1;
  height: 1.5px;
  background: var(--gray-200);
  border-radius: 2px;
}

/* --- Grille des cartes --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 20px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(0,0,0,0.09);
  transform: translateY(-6px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--gradient-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
  transition: var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: var(--gradient);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-tagline {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  margin-top: auto;
}
.service-more span {
  transition: transform 0.2s ease;
  display: inline-block;
}
.service-more:hover span { transform: translateX(4px); }
.service-more:hover { color: var(--orange); }

/* ===== PANNEAUX DE SERVICE ===== */
.service-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,30,28,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.service-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.service-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 600px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 8001;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 52px 48px 80px;
  transform: translateX(calc(100% + 30px));
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -24px 0 80px rgba(0,0,0,0.18);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-panel.open {
  transform: translateX(0);
  visibility: visible;
}

.panel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 1rem;
  cursor: pointer;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-family: var(--font);
  flex-shrink: 0;
}
.panel-close:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.panel-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
  flex-shrink: 0;
}
.panel-icon svg { width: 26px; height: 26px; }

.panel-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.panel-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}

.panel-intro {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
}

.panel-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
  margin-top: 28px;
}

.panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.panel-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  margin-top: 6px;
}

.panel-text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.panel-cta {
  margin-top: 36px;
  align-self: flex-start;
}

@media (max-width: 640px) {
  .service-panel { padding: 40px 24px 60px; }
  .panel-title { font-size: 1.5rem; }
}

/* ===== FORMATIONS ===== */
.formations {
  background: var(--dark);
  padding-bottom: 100px;
}

/* --- Bannière GRATUIT --- */
.gratuit-banner {
  background: var(--gradient);
  padding: 48px 0;
  margin-bottom: 0;
}

.gratuit-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.gratuit-pill-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gratuit-cest {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}

.gratuit-pill {
  background: var(--white);
  color: var(--red);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 12px 40px;
  border-radius: 100px;
  line-height: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.gratuit-asterisk {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}

.gratuit-text-block {
  flex: 1;
  min-width: 240px;
}

.gratuit-text-block p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 20px;
}
.gratuit-text-block strong { color: var(--white); }

.btn-red-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-red-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.gratuit-logos-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.gratuit-logo-link {
  display: block;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: var(--transition);
  text-align: center;
}
.gratuit-logo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.gratuit-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* --- Contenu formation --- */
.formations-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 80px;
}

.formations-content h2.section-title.light { margin-bottom: 20px; }

.formations-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 16px;
}
.formations-tools {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.formations-tools strong { color: rgba(255,255,255,0.9); }

.formations-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.badge svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.formations-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.formations-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.formations-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(227, 6, 23, 0.4);
}

.fc-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.fc-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fc-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.fc-text span {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.5);
}

/* --- GOW Partnership --- */
.gow-block {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 72px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 40px 48px;
}

.gow-logo-wrap {
  flex-shrink: 0;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gow-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.gow-content {
  flex: 1;
}

.gow-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.gow-content h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.gow-content p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}
.gow-content strong { color: rgba(255,255,255,0.9); }

.gow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  transition: var(--transition);
}
.gow-link:hover { color: var(--white); gap: 10px; }

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--dark);
  border-radius: 24px;
  padding: 48px 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
/* Halo orange-rouge derrière les stats */
.stats-row::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: var(--gradient-glow-orange);
  border-radius: 50%;
  pointer-events: none;
}
.stats-row::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  background: var(--gradient-glow-red);
  border-radius: 50%;
  pointer-events: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 140px;
}

.stat-big {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-plus {
  font-size: 0.55em;
  font-weight: 800;
}

.stat-desc {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ===== WHY ===== */
.why {
  padding: 100px 0;
  background: var(--gray-50);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1.5px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
/* Ligne dégradée sur le côté gauche */
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gradient);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition);
  border-radius: 0 0 0 var(--radius);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.why-card:hover::before { transform: scaleY(1); }

.why-number {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--gradient);
  padding: 72px 0;
}

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

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--white);
  max-width: 560px;
  line-height: 1.2;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 6, 23, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { cursor: pointer; }

.form-note {
  font-size: 0.775rem;
  color: var(--gray-500);
  text-align: center;
}

.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  position: sticky;
  top: 100px;
}

.contact-picto {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-info-card > p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}
.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-link:hover { color: var(--red); }

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-brand p {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}
.footer-logo { height: 40px; width: auto; object-fit: contain; }

.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CURSEUR PERSONNALISÉ =====
   Flèche classique sobre, noire avec un fin halo blanc (lisible sur fonds
   clairs ET sombres) et une légère pointe orangée. SVG inline en data-URI :
   aucun asset externe, net en HiDPI. Le hotspot "4 3" cale la pointe sur le
   pixel cliqué. La propriété cursor étant héritée, body suffit à couvrir
   toute la page ; les éléments interactifs gardent leur `cursor: pointer`. */
@media (hover: hover) and (pointer: fine) {
  :root {
    --cursor-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 3 L4 19.5 L8.3 15.4 L11 21.5 L13.4 20.5 L10.7 14.5 L16.2 14.5 Z' fill='%2316181d' stroke='%23ffffff' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M5.4 5 L5.4 9.7 L8.4 8.3 Z' fill='%23F07E26'/%3E%3C/svg%3E") 4 3, auto;
  }
  html, body { cursor: var(--cursor-arrow); }
}

/* ===== WORD REVEAL ===== */
.word-wrap {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}

.word-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.55s ease;
}

.word-revealed .word-inner {
  transform: translateY(0);
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 40px 80px;
    text-align: center;
    min-height: auto;
    gap: 48px;
  }
  .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 300px; }
  .hero-badge { width: 220px; height: 220px; }
  .hero-picto { width: 120px; height: 120px; }
  .card-1 { top: 0; right: 20px; }
  .card-2 { bottom: 0; left: 20px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-big-title { font-size: clamp(2rem, 4vw, 3rem); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .formations-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info-card { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: var(--radius-sm); }
  .nav-cta { text-align: center; }
  .nav-header { position: relative; }

  .hero { padding: 80px 24px 60px; }

  .services-grid { grid-template-columns: 1fr; }
  .services-cards-intro { flex-wrap: wrap; }
  .services-question-line { display: none; }
  .stats-row { gap: 24px; padding: 36px 24px; }
  .stat-divider { width: 100%; height: 1px; }
  .why-grid { grid-template-columns: 1fr; }
  .formations-visual { grid-template-columns: 1fr; }
  .gratuit-inner { flex-direction: column; text-align: center; }
  .gratuit-logo { height: 48px; }
  .gow-block { flex-direction: column; text-align: center; padding: 32px 24px; }
  .gow-logo { height: 60px; }

  .form-row { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .hero-badge { width: 180px; height: 180px; }
  .hero-picto { width: 100px; height: 100px; }
  .hero-stat-card { display: none; }
}
