/* ============================================================
   Falcon Security — Style Principal
   Charte : Noir #000000 | Blanc #FFFFFF | Gris clair #A6A6A6 | Gris foncé #2E2E2E
   Grille 8pt | Poppins (titres) + Inter (corps)
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables CSS Globales ── */
:root {
  /* Couleurs de la charte */
  --black:        #000000;
  --white:        #FFFFFF;
  --gray-light:   #A6A6A6;
  --gray-dark:    #2E2E2E;
  --gray-mid:     #4A4A4A;
  --gray-bg:      #F5F5F5;
  --gray-border:  #E0E0E0;
  --gray-text:    #3D3D3D;

  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Espacements (grille 8pt) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Container */
  --container-max:    1280px;
  --container-narrow: 960px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow:   0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Ombres */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.16);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.20);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* ── Scrollbar personnalisée ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-bg); }
::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-mid); }

/* ── Sélection texte ── */
::selection {
  background: rgba(0,0,0,0.1);
  color: var(--black);
}

/* ── Focus visible (accessibilité) ── */
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   LAYOUT — Container & Grid
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ── Grilles responsive ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   TYPOGRAPHIE — Hiérarchie visuelle
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.15;
  font-weight: 700;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-mid);
  margin-bottom: var(--space-2);
}

.section-badge::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.section-title--white {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 600px;
}

.section-subtitle--white {
  color: var(--gray-light);
}

/* ============================================================
   BOUTONS — CTA & Actions
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-transform: uppercase;
}

/* Bouton primaire — Noir plein */
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover {
  background: var(--gray-dark);
  border-color: var(--gray-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Bouton secondaire — Contour noir */
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Bouton outline blanc (sur fond sombre) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Bouton blanc plein (sur fond sombre) */
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Bouton Play (rond) */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 12px 24px 12px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.5px;
}

.btn-play:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
  transform: translateY(-2px);
}

.btn-play .play-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-play .play-icon svg {
  fill: var(--black);
  margin-left: 3px;
}

/* Hover scale général sur les boutons */
.btn:active {
  transform: scale(0.98) translateY(0);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition-normal);
  background: transparent;
}

/* État transparent sur le hero */
#navbar.nav-transparent {
  background: transparent;
}

/* État scroll — fond blanc avec ombre */
#navbar.nav-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--space-3);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo */
.navbar-logo img {
  height: 44px;
  width: auto;
  transition: all var(--transition-normal);
}

/* Logo blanc (sur hero transparent) */
#navbar.nav-transparent .logo-dark { display: none; }
#navbar.nav-transparent .logo-white { display: block; }
/* Logo noir (après scroll) */
#navbar.nav-scrolled .logo-white { display: none; }
#navbar.nav-scrolled .logo-dark { display: block; }

/* Navigation desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition-normal);
  border-radius: 1px;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* Nav link sur fond blanc (après scroll) */
#navbar.nav-scrolled .nav-link {
  color: var(--gray-mid);
}
#navbar.nav-scrolled .nav-link::after {
  background: var(--black);
}
#navbar.nav-scrolled .nav-link:hover {
  color: var(--black);
}

/* Bouton CTA navbar */
.nav-cta {
  display: none;
  padding: 10px 24px;
  font-size: 13px;
}

@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

/* CTA sur fond transparent — blanc */
#navbar.nav-transparent .nav-cta.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
#navbar.nav-transparent .nav-cta.btn-primary:hover {
  background: var(--gray-bg);
}

/* Dropdown nav */
.dropdown-wrap {
  position: relative;
}

.dropdown-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 18px;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}

.dropdown-wrap:hover .dropdown-arrow,
.dropdown-wrap:focus-within .dropdown-arrow {
  transform: translateY(2px) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 218px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility .2s;
  box-shadow: var(--shadow-lg);
}

.dropdown-wrap:hover .dropdown-menu,
.dropdown-wrap:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  color: var(--gray-dark);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--gray-bg);
  color: var(--black);
}

/* Hamburger (mobile) */
.hamburger-btn {
  display: flex;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  transition: color var(--transition-fast);
}

#navbar.nav-scrolled .hamburger-btn {
  color: var(--black);
}

.hamburger-btn span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all var(--transition-normal);
}

.hamburger-btn span:nth-child(1) { width: 24px; }
.hamburger-btn span:nth-child(2) { width: 18px; }
.hamburger-btn span:nth-child(3) { width: 24px; }

.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

@media (min-width: 1024px) {
  .hamburger-btn { display: none; }
}

/* Menu mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-link {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 12px 24px;
  transition: color var(--transition-fast);
}

.mobile-menu-link:hover {
  color: var(--white);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 50%,
    rgba(0,0,0,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-3);
  max-width: 800px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 560px;
}

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

/* ============================================================
   SECTION QUI SOMMES-NOUS
   ============================================================ */

.about-section {
  padding: var(--space-16) 0;
  background: var(--white);
}

.about-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-image-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   SECTION SERVICES — Cartes
   ============================================================ */

.services-section {
  padding: var(--space-16) 0;
  background: var(--gray-bg);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: var(--space-3);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--black);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.service-icon svg {
  fill: var(--white);
  width: 24px;
  height: 24px;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.service-card-text {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 10px;
}

/* ============================================================
   SECTION STATISTIQUES — Compteurs
   ============================================================ */

.stats-section {
  padding: var(--space-10) 0;
  background: var(--black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: var(--black);
  transition: background var(--transition-fast);
}

.stat-item:hover {
  background: var(--gray-dark);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================================
   SECTION INNOVATION — Fond sombre avec image
   ============================================================ */

.innovation-section {
  position: relative;
  padding: var(--space-16) 0;
  overflow: hidden;
}

.innovation-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.innovation-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.innovation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.80) 50%,
    rgba(0,0,0,0.50) 100%
  );
}

.innovation-content {
  position: relative;
  z-index: 2;
}

.innovation-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: var(--space-3);
}

.innovation-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.innovation-feature-icon svg {
  fill: var(--white);
  width: 18px;
  height: 18px;
}

.innovation-feature-text h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.innovation-feature-text p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.5;
}

/* ============================================================
   SECTION CYNOPHILIE & FORMATION — 2 cartes
   ============================================================ */

.cyno-section {
  padding: var(--space-16) 0;
  background: var(--white);
}

.cyno-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 480px;
  cursor: pointer;
}

.cyno-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.cyno-card:hover img {
  transform: scale(1.05);
}

.cyno-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  transition: all var(--transition-normal);
}

.cyno-card:hover .cyno-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.92) 100%
  );
}

.cyno-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.cyno-card-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.cyno-card-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  transform: translateY(8px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.cyno-card:hover .cyno-card-text {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   SECTION PARCOURS CLIENT — 4 étapes
   ============================================================ */

.process-section {
  padding: var(--space-16) 0;
  background: var(--gray-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  position: relative;
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  /* Ligne de connexion horizontale */
  .process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(12.5%);
    right: calc(12.5%);
    height: 2px;
    background: var(--gray-border);
    z-index: 0;
  }
}

.process-step {
  text-align: center;
  padding: var(--space-3);
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.process-step:hover .process-step-number {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: scale(1.1);
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.process-step-text {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ============================================================
   SECTION TÉMOIGNAGES — Slider
   ============================================================ */

.testimonials-section {
  padding: var(--space-16) 0;
  background: var(--black);
}

.testimonial-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.testimonial-quote::before {
  content: '"';
  display: block;
  font-size: 80px;
  line-height: 0.8;
  color: rgba(255,255,255,0.15);
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.testimonial-author-role {
  font-size: 13px;
  color: var(--gray-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-5);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--white);
  width: 28px;
}

/* ============================================================
   SECTION GALERIE — Grille avec lightbox
   ============================================================ */

.gallery-section {
  padding: var(--space-16) 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.5);
}

.gallery-item-overlay svg {
  opacity: 0;
  transform: scale(0.8);
  fill: var(--white);
  width: 32px;
  height: 32px;
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   SECTION FORMULAIRE DE CONTACT
   ============================================================ */

.contact-section {
  padding: var(--space-16) 0;
  background: var(--gray-bg);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-3);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-label .required {
  color: #dc2626;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232E2E2E'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

/* Message de feedback AJAX */
.form-feedback {
  display: none;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-top: var(--space-3);
}

.form-feedback.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}

.form-feedback.error {
  background: #fff1f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
}

.form-feedback.show { display: flex; align-items: center; gap: 10px; }

/* ============================================================
   SECTION CTA BANNER
   ============================================================ */

.cta-section {
  padding: var(--space-16) 0;
  background: var(--black);
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-10) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-3);
}

.footer-description {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 280px;
}

.footer-motto {
  font-family: var(--font-heading);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-3);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--gray-light);
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 12px;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 16px;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--space-4);
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  transition: all var(--transition-normal);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: var(--space-8);
  padding: var(--space-3) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

#back-to-top svg {
  fill: var(--white);
  width: 20px;
  height: 20px;
}

/* ============================================================
   ANIMATIONS SCROLL — Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Délais en cascade */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   VIDÉO LIGHTBOX
   ============================================================ */

.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.video-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.video-lightbox video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: var(--shadow-xl);
}

.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.video-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   UTILITAIRES TAILWIND CUSTOM
   ============================================================ */

.text-balance {
  text-wrap: balance;
}

/* ============================================================
   KEYFRAMES GLOBAUX
   ============================================================ */

@keyframes heroZoom {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ============================================================
   RESPONSIVE — Ajustements globaux
   ============================================================ */

@media (max-width: 767px) {
  .hero-title { font-size: 36px; }
  .section-title { font-size: 28px; }
  .contact-form-wrap { padding: var(--space-4); }
  .cyno-card { height: 360px; }
  .stat-value { font-size: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-2); }
  .btn { padding: 12px 24px; font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
