/* ==========================================================================
   CONFIGURATION GLOBALE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color1: #54B665;  
  --color2: #2997CA;  
  --color3: #24346C;  
  --color4: #0497A6;  
  --color5: rgba(196, 242, 218, 0.384);  
  
  --primary-color: #2c3e50;      
  --secondary-color: #3498db;    
  --accent-color: #e74c3c;       
  --text-color: #333333;         
  --light-color: #f8f9fa;        
  --dark-color: #343a40;         
  --border-color: #dee2e6;       
  --success-color: #28a745;      
  --warning-color: #ffc107;      
  --error-color: #dc3545;        
  --info-color: #17a2b8;         

  --font-main: 'Montserrat', 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary:'Roboto';

  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --radius: 20px;
  --transition: all 0.35s ease;
  --shadow-modern: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);

  --gradient-primary: linear-gradient(135deg, var(--color1), var(--color2));
  --gradient-secondary: linear-gradient(135deg, var(--color3), var(--color4));
  --gradient-accent: linear-gradient(45deg, var(--color1), var(--color4));
  --gradient-tertiary: radial-gradient(circle at 50% 60%, var(--color5), var(--light-color));
  --gradient-secondary-translucent: linear-gradient(135deg, 
    rgba(36, 76, 155, 0.293), 
    rgba(77, 180, 161, 0.378)
  );
  
  --main-background: 
    radial-gradient(circle at 15% 25%, rgba(84, 182, 101, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 75% 15%, rgba(132, 204, 147, 0.06) 0%, transparent 20%),
    radial-gradient(circle at 35% 80%, rgba(84, 182, 101, 0.05) 0%, transparent 18%),
    radial-gradient(circle at 90% 60%, rgba(168, 218, 181, 0.07) 0%, transparent 22%),
    radial-gradient(circle at 65% 35%, rgba(41, 151, 202, 0.07) 0%, transparent 24%),
    radial-gradient(circle at 25% 65%, rgba(100, 181, 220, 0.05) 0%, transparent 19%),
    radial-gradient(circle at 85% 85%, rgba(41, 151, 202, 0.06) 0%, transparent 21%),
    radial-gradient(circle at 45% 10%, rgba(135, 206, 235, 0.04) 0%, transparent 16%),
    radial-gradient(circle at 10% 70%, rgba(4, 151, 166, 0.04) 0%, transparent 15%),
    radial-gradient(circle at 95% 30%, rgba(84, 182, 101, 0.03) 0%, transparent 12%),
    radial-gradient(circle at 55% 90%, rgba(173, 216, 230, 0.05) 0%, transparent 17%),
    radial-gradient(circle at 20% 30%, rgba(84, 182, 101, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(41, 151, 202, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(36, 52, 108, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 30% 90%, rgba(4, 151, 166, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(132, 204, 147, 0.09) 0%, transparent 40%),
    linear-gradient(135deg, #f8fafc 0%, #e8f4f8 15%, #e2e8f0 25%, #f0f7f4 35%, #f1f5f9 50%, #e8f2f6 65%, #e2e8f0 75%, #f5f8fa 85%, #f8fafc 100%);
}

/* ==========================================================================
   STYLES GÉNÉRAUX & RESET
   ========================================================================== */

/* --- 2.1 Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background: var(--main-background);
  background-attachment: fixed;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 0;
}

/* --- 2.2 Styles de base pour les éléments --- */
a {
  text-decoration: none;
  transition: var(--transition);
  color: white;
  font-family: var(--font-main);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h2 {
  font-weight: 600;
  font-size: 110%;
  text-align: center;
}

/* --- 2.3 Animations Globales --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   COMPOSANTS RÉUTILISABLES
   ========================================================================== */

/* --- 3.1 Layout & Conteneurs --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  width: 100%;
  min-height: 90vh;
  flex: 1 0 auto;
  max-width: 100vw;
  overflow-x: hidden;
}

.slides {
  width: 100%;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  position: relative;
  padding: 60px 20px;
}

.slides::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: 1;
}

.slides > * {
  position: relative;
  z-index: 2;
}

/* --- 3.2 Header --- */
header {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border-bottom-left-radius: 120px;
  border-bottom-right-radius: 120px;
  padding: 15px 0;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 60px;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  color: var(--color3);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 16px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav ul li:hover a {
  color: white;
  background: var(--gradient-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  transition: transform 0.8s;
}

.myborder {
  display: inline-block;
  position: relative;
}

.myborder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: var(--radius);
}

.myborder:hover::before {
  width: 100%;
  transition: all 0.8s ease;
}

.myborder::after {
  display: block;
  content: '';
  margin: auto;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.2s ease;
  border-radius: 1px;
}

.myborder:hover::after {
  width: 0%;
  transition: all 0.8s ease;
}

.myborder[active]::after {
  width: 100%;
  transition: all 2s ease;
}

/* --- 3.3 Footer --- */
footer {
  background: var(--gradient-secondary-translucent);
  position: sticky;
  color: white;
  text-align: center;
  padding: 3.5vh 2vw;
  backdrop-filter: blur(10px);
  display:flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  animation: fadeInUp 1s ease-out 0.4s both;
}

footer > a:hover, footer > p:hover {
  cursor: pointer;
  transform: translateY(-2px) ;
  transition: all 0.4s ; 
  color: var(--color3) ;
}

/* --- 3.4 Titres de Section Communs --- */
.presentation h2, .services h2, .features h2, .team h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 50px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 700;
  text-align: center;
}

.presentation h2:after, .services h2:after, .features h2:after, .team h2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* --- 3.5 Titres de Page Communs --- */
.contact-header h1, .products h1, .about-us h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 5vh;
}

/* ==========================================================================
   STYLES SPÉCIFIQUES AUX PAGES
   ========================================================================== */
   
/* --- 4.1 Page d'Accueil --- */
.hero {
  text-align: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 40px;
  color: var(--color3);
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: var(--shadow-modern);
  animation: fadeInUp 1s ease-out 0.4s both;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta:hover::before {
  left: 100%;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.presentation, .services, .features {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-modern);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.95);
}

.feature-item h3 {
  color: var(--color3);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.service-box {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-modern);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-box::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-tertiary);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-box:hover::after {
  opacity: 1;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.95);
}

.service-box h3 {
  color: var(--color3);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

/* --- 4.2 Page "À Propos" (About Us) --- */
.about-us {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-us > p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Grille principale texte / chiffres */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
  text-align: left;
}

.about-text h3 {
  color: var(--color3);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

/* .about-us h1::after {
  content: '';
  position: absolute;
  top: 14.5vh;
  left: 40%;
  width: 15vw;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
} */

.about-text p {
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Colonne des chiffres-clés */
.about-figures {
  background: rgba(255, 255, 255, 0.5);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(222, 226, 230, 0.5);
}

.about-figures h4 {
  text-align: center;
  color: var(--color3);
  font-size: 1.4rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.key-figures-grid {
  display: grid;
  gap: 20px;
}

.figure-item {
  text-align: center;
  padding: 15px;
  background: var(--gradient-tertiary);
  border-radius: var(--radius);
  transition: transform 0.25s ease;
}

.figure-item:hover {
  transform: translateY(-7px);
}

.figure-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.figure-label {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Section Valeurs */
.values-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color3);
  margin-bottom: 30px;
  position: relative;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.value-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-item:hover::before {
  transform: scaleX(1);
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 4px 15px rgba(84, 182, 101, 0.3);
}

.value-item h3 {
  color: var(--color3);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.value-item p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Section Équipe (Team) */
.team {
  padding: 5vh 20px;
  text-align: center;
  position: relative;
}

.team-intro {
  font-size: 1.2rem;
  color: var(--color3);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 70vw;
  margin: 0 auto;
}

.member {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.member:nth-child(1) { animation-delay: 0.1s; }
.member:nth-child(2) { animation-delay: 0.2s; }
.member:nth-child(3) { animation-delay: 0.3s; }
.member:nth-child(4) { animation-delay: 0.4s; }

.member:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.member:hover img {
  transform: scale(1.05);
}

.member-content {
  padding: 30px 25px;
  text-align: center;
}

.member h3 {
  color: var(--color3);
  font-size: 1.4rem;
  font-weight: 600;
}

.member-role {
  color: var(--color2);
  font-weight:600;
  margin-bottom: 15px;
  font-size: 1rem;
}

.member p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 2.5vh;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.member-social a {
  width: 35px;
  height: 35px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.member-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(84, 182, 101, 0.4);
}

/* --- 4.3 Page Produits --- */
.products {
  padding: 60px 20px;
}

.product-list {
  max-width: 1000px;
  margin: 0 auto;
}

.product-item {
  margin-bottom: 8vh;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-modern);
}

.product-item h2 {
  color: var(--color2);
  margin-bottom: 5px;
  padding-bottom: 10px;
  font-weight: 700;
}

.product-item > p, .product-item > ul {
  font-size: 1.3em;
  line-height: 1.8;
  padding: 0 20px;
  color: var(--text-color);
  margin-left: auto;
  margin-right: auto;
}

.product-item > ul > li {
  list-style: inside;
}

/* --- 4.4 Page Contact --- */
  .contact-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .contact-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .contact-header p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color3);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 15px;
    align-items: start; /* Mieux pour aligner des blocs de hauteurs différentes */
  }

  .contact-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 27px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-modern);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }

  .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .contact-item:hover::before {
    transform: scaleX(1);
  }

  .contact-item:hover {
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.95);
  }
  .contact-item a:hover h3, a svg:hover {
    transform: translateY(-5px);
    transition: var(--transition);
    /* color: var(--color1); */
  }

  .contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    color: white;
    box-shadow: 0 4px 15px rgba(84, 182, 101, 0.3);
  }

  .contact-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-details h3 {
    color: var(--color3);
    font-size: 1.2rem;
    font-weight: 600;
  }

  .contact-details p {
    color: var(--text-color);
    font-weight:500;
    font-size: 120%;
  }

  .contact-details a {
    color: var(--color2);
    font-weight: 500;
  }

  .contact-details a:hover {
    color:var(--color1);
    transform: translateY(-10px);
    transition: var(--transition);
  }


  /* Horaires d'ouverture */
  .opening-hours {
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-modern);
    height: 100%;
  }

  .opening-hours h3 {
    text-align: center;
    color: var(--color3);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
  }

  .hours-grid {
    display: grid;
    gap: 15px;
  }

  .hours-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: rgba(84, 182, 101, 0.1);
    border-radius: 10px;
    transition: var(--transition);
  }

  .hours-item:hover {
    background: rgba(84, 182, 101, 0.15);
    transform: translateX(5px);
  }

  .day {
    font-weight: 600;
    color: var(--color3);
  }

  .time {
    color: var(--color2);
    font-weight: 500;
  }

/* ==========================================================================
   DESIGN RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
  /* --- Page "À Propos" --- */
  .about-grid {
    grid-template-columns: 1fr; /* Passe à une seule colonne sur tablette */
    gap: 40px;
  }
  .about-figures {
    max-width: 500px;
    margin: 0 auto; /* Centre les chiffres quand ils sont en pleine largeur */
  }
  .about-text {
    text-align: center;
  }
  .about-text h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* --- Page Contact --- */
  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* --- Composants Généraux --- */
  main {
    max-width: 100vw;
  }
  header {
    border-radius: 0px;
    padding: 5px 0 0 0;
    max-width: 100vw;
  }
  .header-container {
    padding: 0 5px;
    max-width: 100vw;
  }
  nav ul {
    gap: 5px;
  }
  nav ul li a {
    padding: 10px 15px;
    font-size: 13px;
  }
  .logo img {
    height: auto;
    width: 70px;
  }
  .slides {
    gap: 30px;
    padding: 40px 20px;
  }
  footer {
    display: flow-root;
  }
  footer > p {
    display: contents;
  }

  /* --- Page d'Accueil --- */
  .features, .services-list {
    gap: 20px;
  }
  .feature-item, .service-box {
    padding: 30px 20px;
  }
  .push {
    margin-bottom: 60px;
  }
  .optionnal {
    display: none;
  }

  /* --- Page "À Propos" --- */
  .about-us {
    padding: 60px 15px;
  }
  .values-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 40px;
  }
  .team {
      padding: 60px 15px;
  }
  .team-members {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  .member {
      max-width: 400px;
      margin: 0 auto;
  }
  .member img {
      height: 200px;
  }
  .member-content {
      padding: 25px 20px;
  }

  /* --- Page Contact --- */
  .contact-header h1 {
    font-size: 2.2rem;
  }
  .contact-item {
    padding: 25px 20px;
  }
  .contact-icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  /* --- Composants Généraux --- */
  nav ul {
    gap: 8px;
  }
  nav ul li a {
    padding: 8px 12px;
    font-size: 12px;
  }
  .slides {
    gap: 20px;
    padding: 30px 15px;
  }
  .feature-item, .service-box {
    padding: 25px 15px;
  }
  
  /* --- Page "À Propos" --- */
  .value-item {
      padding: 25px 20px;
  }
  .value-icon {
      width: 50px;
      height: 50px;
      font-size: 20px;
  }
  .member-content {
      padding: 20px 15px;
  }

  /* --- Page Contact --- */
  .contact-section {
    padding: 0 15px;
  }
  .contact-header {
    margin-bottom: 40px;
  }
  .contact-item {
    padding: 20px 15px;
    gap: 15px;
  }
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  .opening-hours {
    padding: 30px 20px;
    height: auto;
  }
  .hours-item {
    padding: 10px 15px;
  }
}