/* ===============================================
   MD DEPANNAGE - SYSTÈME CSS UNIFIÉ
   ===============================================
   Charte: Vert Pomme #76FF03 | Noir #000000 | Blanc #FFFFFF
   Version: 2.0 - CSS Unifié et Optimisé
   =============================================== */

/* ===============================================
   TABLE DES MATIÈRES
   ===============================================
   1. IMPORTS & VARIABLES CSS
   2. RESET & BASE STYLES
   3. TYPOGRAPHIE
   4. LAYOUT & CONTAINERS
   5. HEADER & NAVIGATION
   6. HERO SECTION
   7. BOUTONS
   8. CARDS
   9. GRILLES
   10. SECTIONS COMMUNES
   11. FORMULAIRES
   12. FOOTER
   13. ANIMATIONS
   14. UTILITAIRES
   15. RESPONSIVE
   =============================================== */


/* ===============================================
   1. IMPORTS & VARIABLES CSS
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Marianne:wght@300;400;500;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  /* Couleurs principales - MD DEPANNAGE */
  --vert-pomme: #76FF03;
  --noir: #000000;
  --blanc: #FFFFFF;
  --gris-fonce: #333333;
  --gris-moyen: #666666;
  --fond-clair: #F5F5F5;

  /* Couleurs dégradées */
  --vert-clair: #9FFF5C;
  --vert-tres-clair: #E8FFD7;
  --noir-clair: #1A1A1A;

  /* Typographie */
  --font-titre: 'Marianne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-corps: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espacements fluides */
  --spacing-xs: 0.5rem;      /* 8px */
  --spacing-sm: 1rem;        /* 16px */
  --spacing-md: 1.5rem;      /* 24px */
  --spacing-lg: 2.5rem;      /* 40px */
  --spacing-xl: 4rem;        /* 64px */
  --spacing-xxl: 6rem;       /* 96px */

  /* Ombres élégantes */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);

  /* Bordures arrondies */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Breakpoints (pour référence) */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}


/* ===============================================
   2. RESET & BASE STYLES
   =============================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-corps);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gris-fonce);
  background-color: var(--fond-clair);
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

ul,
ol {
  list-style: none;
}


/* ===============================================
   3. TYPOGRAPHIE
   =============================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gris-fonce);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.text-lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--gris-moyen);
}

.text-small {
  font-size: 0.875rem;
}

.text-bold {
  font-weight: 700;
}


/* ===============================================
   4. LAYOUT & CONTAINERS
   =============================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 576px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

.section {
  padding: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-xxl) 0;
  }
}


/* ===============================================
   5. HEADER & NAVIGATION
   =============================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--blanc);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  position: relative;
}

.navbar-brand {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vert-pomme);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.navbar-brand:hover {
  color: var(--vert-clair);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.navbar-nav {
  display: none;
  gap: var(--spacing-md);
}

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

.nav-link {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gris-fonce);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--vert-pomme);
  transition: transform var(--transition-base);
}

.nav-link:hover {
  color: var(--vert-pomme);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--vert-pomme);
  background-color: var(--vert-tres-clair);
}

/* Menu Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform var(--transition-base);
}

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

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--vert-pomme);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Menu Mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--blanc);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-xxl) var(--spacing-lg);
  transition: right var(--transition-slow);
  overflow-y: auto;
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.mobile-nav .nav-link {
  font-size: 1.125rem;
  padding: var(--spacing-sm);
  border-bottom: 1px solid var(--fond-clair);
}

.mobile-nav .nav-link::after {
  display: none;
}

/* Overlay pour menu mobile */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ===============================================
   6. HERO SECTION
   =============================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    var(--noir) 0%,
    var(--noir-clair) 50%,
    var(--gris-fonce) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(237, 41, 57, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blanc);
  padding: var(--spacing-lg);
}

.hero-title {
  color: var(--blanc);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--blanc);
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Vagues décoratives Hero */
.hero-waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  line-height: 0;
}

.hero-waves svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.hero-waves .wave-1 {
  fill: var(--blanc);
  opacity: 0.3;
  animation: wave-animation 10s linear infinite;
}

.hero-waves .wave-2 {
  fill: var(--blanc);
  opacity: 0.5;
  animation: wave-animation 8s linear infinite;
}

.hero-waves .wave-3 {
  fill: var(--blanc);
}

@keyframes wave-animation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ===============================================
   7. BOUTONS
   =============================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--vert-pomme);
  color: var(--noir);
  box-shadow: 0 4px 20px rgba(118, 255, 3, 0.4);
  animation: pulse-green 2s ease-in-out infinite;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--vert-clair);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(118, 255, 3, 0.5);
  animation: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--noir);
  color: var(--vert-pomme);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.btn-secondary:hover {
  background-color: var(--noir-clair);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--vert-pomme);
  border-color: var(--vert-pomme);
  border-width: 3px;
  font-weight: 700;
}

.btn-outline:hover {
  background-color: var(--vert-pomme);
  color: var(--noir);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(118, 255, 3, 0.4);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--vert-pomme);
  border-color: var(--vert-pomme);
  border-width: 3px;
  font-weight: 700;
}

.btn-outline-primary:hover {
  background-color: var(--vert-pomme);
  color: var(--noir);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(118, 255, 3, 0.4);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  box-shadow: 0 6px 25px rgba(118, 255, 3, 0.45);
  font-weight: 800;
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* Animation pulse vert pour boutons */
@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(118, 255, 3, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(118, 255, 3, 0.7);
    }
}


/* ===============================================
   8. CARDS
   =============================================== */

.card {
  background-color: var(--blanc);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

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

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

.card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover .card-img-overlay {
  opacity: 1;
}

.card-body {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vert-pomme);
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--gris-moyen);
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.card-footer {
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--fond-clair);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Cards avec icônes */
.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vert-pomme);
  color: var(--noir);
  border-radius: var(--radius-lg);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.card:hover .card-icon {
  transform: rotate(5deg) scale(1.1);
}


/* ===============================================
   9. GRILLES
   =============================================== */

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

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

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

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

  .grid-cols-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .grid-cols-lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ===============================================
   10. SECTIONS COMMUNES
   =============================================== */

.services {
  background-color: var(--blanc);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  color: var(--vert-pomme);
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--vert-pomme);
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--gris-moyen);
  max-width: 600px;
  margin: var(--spacing-md) auto 0;
}

/* Timeline / Processus */
.timeline {
  position: relative;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--vert-pomme);
  border-radius: var(--radius-full);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  padding-left: 80px;
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: var(--spacing-lg);
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: var(--spacing-lg);
  }
}

.timeline-marker {
  position: absolute;
  left: 16px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--vert-pomme);
  border: 4px solid var(--blanc);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--noir);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-content {
  background-color: var(--blanc);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.timeline-title {
  color: var(--vert-pomme);
  margin-bottom: var(--spacing-xs);
}

.timeline-description {
  color: var(--gris-moyen);
  font-size: 0.95rem;
}

/* Témoignages */
.testimonials {
  background: linear-gradient(180deg, var(--fond-clair) 0%, var(--blanc) 100%);
}

.testimonial-card {
  background-color: var(--blanc);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--vert-pomme);
  opacity: 0.2;
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-md);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--gris-fonce);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
  padding-top: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--fond-clair);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--vert-pomme);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  color: var(--vert-pomme);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gris-moyen);
}

.testimonial-rating {
  color: #FFD700;
  font-size: 1.125rem;
}


/* ===============================================
   11. FORMULAIRES
   =============================================== */

.contact {
  background-color: var(--blanc);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-family: var(--font-titre);
  font-weight: 600;
  color: var(--gris-fonce);
  margin-bottom: var(--spacing-xs);
}

.form-label.required::after {
  content: ' *';
  color: var(--vert-pomme);
}

.form-control {
  width: 100%;
  padding: 0.875rem var(--spacing-sm);
  font-family: var(--font-corps);
  font-size: 1rem;
  color: var(--gris-fonce);
  background-color: var(--fond-clair);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.form-control:focus {
  outline: none;
  background-color: var(--blanc);
  border-color: var(--vert-pomme);
  box-shadow: 0 0 0 4px rgba(118, 255, 3, 0.1);
}

.form-control::placeholder {
  color: var(--gris-moyen);
  opacity: 0.6;
}

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

.form-error {
  color: #FF0000;
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  border: 1px solid #c3e6cb;
}


/* ===============================================
   12. FOOTER
   =============================================== */

.footer {
  position: relative;
  background: var(--noir);
  color: var(--blanc);
  padding-top: var(--spacing-xxl);
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-waves svg {
  position: relative;
  display: block;
  width: calc(150% + 1.3px);
  height: 80px;
}

.footer-wave-1 {
  fill: var(--noir);
  opacity: 0.4;
}

.footer-wave-2 {
  fill: var(--noir);
  opacity: 0.6;
}

.footer-wave-3 {
  fill: var(--blanc);
}

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

.footer-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-xl);
}

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

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

.footer-section h3 {
  color: var(--blanc);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--vert-pomme);
  border-radius: var(--radius-full);
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-base);
  padding: var(--spacing-xs) 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: var(--blanc);
  padding-left: var(--spacing-xs);
}

.footer-link::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--blanc);
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

.social-link:hover {
  background-color: var(--vert-pomme);
  transform: translateY(-4px) rotate(5deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--spacing-md) 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--blanc);
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}


/* ===============================================
   13. ANIMATIONS
   =============================================== */

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Slide In Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

/* Slide In Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Pulse */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Float */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Classes pour animation au scroll (à activer via JavaScript) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

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


/* ===============================================
   14. UTILITAIRES
   =============================================== */

/* Spacing */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.pt-1 { padding-top: var(--spacing-xs); }
.pt-2 { padding-top: var(--spacing-sm); }
.pt-3 { padding-top: var(--spacing-md); }
.pt-4 { padding-top: var(--spacing-lg); }
.pt-5 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-xs); }
.pb-2 { padding-bottom: var(--spacing-sm); }
.pb-3 { padding-bottom: var(--spacing-md); }
.pb-4 { padding-bottom: var(--spacing-lg); }
.pb-5 { padding-bottom: var(--spacing-xl); }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--vert-pomme); }
.text-secondary { color: var(--noir); }
.text-muted { color: var(--gris-moyen); }
.text-white { color: var(--blanc); }

/* Background Colors */
.bg-primary { background-color: var(--vert-pomme); }
.bg-secondary { background-color: var(--noir); }
.bg-light { background-color: var(--fond-clair); }
.bg-white { background-color: var(--blanc); }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flexbox */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }

/* Width */
.w-100 { width: 100%; }
.w-auto { width: auto; }

/* Position */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

/* Z-Index */
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-10 { z-index: 10; }

/* Border Radius */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Pointer Events */
.pointer-events-none { pointer-events: none; }


/* ===============================================
   15. RESPONSIVE DESIGN
   =============================================== */

@media (min-width: 768px) {
  .d-md-none { display: none; }
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
  .text-md-left { text-align: left; }
  .text-md-center { text-align: center; }
  .text-md-right { text-align: right; }
}

@media (max-width: 767px) {
  .d-mobile-none { display: none; }
}

/* Titres plus petits sur mobile */
@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.25rem;
  }
}

/* Optimisations Performance */
.btn,
.card,
.nav-link {
  will-change: transform;
}

/* GPU Acceleration */
.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}


/* ===============================================
   PRINT STYLES
   =============================================== */

@media print {
  .header,
  .navbar,
  .hamburger,
  .mobile-menu,
  .footer,
  .btn {
    display: none !important;
  }

  body {
    background-color: var(--blanc);
    color: #000;
  }

  .section {
    page-break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }
}


/* ===============================================
   FIN DU FICHIER CSS GLOBAL
   =============================================== */
