:root {
  --vert-clair: #a8d08d;
  --vert: #38761d;
  --blanc: #ffffff;
  --dore: #d4af37;
  --noir: #222;
}

/* ======================= */
/*  Reset & global styles  */
/* ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', serif;
  background-color: var(--blanc);
  color: var(--noir);
}

h1, h2, h3, h4, h5, h6, p, a, li, span, button {
  font-family: 'Georgia', serif;
}

/* ======================= */
/* Header */
/* ======================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.6), transparent);
  backdrop-filter: blur(5px);
  padding: 20px 60px;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ======================= */
/* NAVBAR */
/* ======================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: var(--light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ======================= */
/* MENU DESKTOP */
/* ======================= */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ======================= */
/* BURGER MENU */
/* ======================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #222;
  margin: 5px 0;
  transition: 0.4s;
}

/* Animation en X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======================= */
/* MOBILE MENU corrigé */
/* ======================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .menu-toggle span {
    width: 28px;
    height: 3px;
    background: #145A32;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* caché par défaut */
    width: 250px;
    height: 100vh;
    background: var(--blanc);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    gap: 30px;
    transition: right 0.4s ease;
    z-index: 999;
    display: flex; /* toujours flex, mais décalé hors écran */
  }

  .nav-links.active {
    right: 0; /* affichage */
  }

  .nav-links a {
    color: var(--noir);
    font-size: 1.2rem;
  }
}

/* ======================= */
/* OVERLAY */
/* ======================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* Logo */
.logo img {
  height: 120px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: #145A32;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
  padding-bottom: 5px;
}

/* Lignes dorées sur hover */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--dore);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: var(--dore);
}

.nav-links li a:hover::after {
  width: 100%;
}

//* Menu toggle */
.menu-toggle {
  display: none; /* caché sur desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #145A32;
  border-radius: 3px;
  transition: all 0.3s ease;
}


/* ======================= */
/*      Hero Section       */
/* ======================= */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  background: url('../images/galerie/back2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}


.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  background: linear-gradient(90deg, #ffffff, #98f307, #ffffff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 10s linear infinite, fadeSlideIn 5s ease-out forwards;
  line-height: 1.3;
}

/* Hero Animations */
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
  0% { background-position: 0%; }
  100% { background-position: 300%; }
}

/* ======================= */
/*      Sections           */
/* ======================= */
section {
  padding: 60px 10%;
  text-align: center;
}

h2 {
  color: var(--vert);
  margin-bottom: 20px;
}

/* Présentation générale */
.presentation h2 {
  color: var(--noir);
  line-height: 1.5;
  font-size: 1.6rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* 🌿 Section À propos de nous */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h2,
.about-text h3 {
  color: var(--vert);
  margin-bottom: 15px; /* espace sous les titres */
}

.about-text p {
  line-height: 1.8; /* espace entre les lignes du texte */
  margin-bottom: 20px; /* espace entre les paragraphes */
  color: var(--noir);
  font-size: 1.1rem;
}

/* Liste dans les valeurs */
.about-text ul {
  list-style: disc inside;
  line-height: 1.8; /* espace entre les lignes des items */
  margin-top: 10px;
}

.about-text li {
  margin-bottom: 10px; /* espace entre chaque item */
}
/* certifications*/
.certif {
  padding: 60px 10%;
  text-align: center;
}

.certif h2 {
  color: var(--vert);
  margin-bottom: 30px;
}

.certif p {
  color: var(--noir);
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Grid des certificats */
.certif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

/* Carte certificat */
.certif-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--blanc);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.certif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.certif-card img {
  width: 120px;        /* largeur fixe pour toutes les images */
  height: 120px;       /* hauteur fixe identique pour toutes */
  object-fit: contain; /* l'image garde ses proportions sans être coupée */
  margin-bottom: 15px;
  border-radius: 8px;  /* optionnel pour arrondir légèrement */
  background-color: #f9f9f9; /* optionnel pour uniformiser le fond si images transparentes */
}

/* Bouton Télécharger PDF */
.btn-certif {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--vert);
  color: var(--blanc);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}

.btn-certif:hover {
  background-color: var(--vert-clair);
  transform: translateY(-2px);
}

/* produits*/
.produits {
  padding: 60px 10%;
  text-align: center;
}

.produits h2 {
  color: var(--vert);
  margin-bottom: 30px;
}
.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cartes fixes */
  gap: 30px;
}

.produit-card {
  background: var(--blanc);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;

  width: 100%;
  height: 320px; /* même0 hauteur pour toutes les cartes */
  display: flex;
  flex-direction: column;
}

.produit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.produit-card img {
  width: 100%;
  height: 180px; /* même taille pour toutes les images */
  object-fit: cover; /* garde un bon rendu sans déformation */
}

.produit-card h4 {
  color: var(--noir);
  padding: 10px;
  font-size: 1.1rem;
  line-height: 1.4;

  flex-grow: 1; /* aligne les titres */
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Galerie */
.galerie-anim {
  padding: 60px 0;
  background: var(--blanc);
  text-align: center;
}

.galerie-anim h2 {
  color: var(--vert);
  margin-bottom: 30px;
}

/* Container pour défilement */
.galerie-track {
  overflow: hidden;
  width: 100%;
}

/* Slide qui se déplace */
.galerie-slide {
  display: flex;
  gap: 20px;
  width: calc(250px * 20 + 20px * 19); /* largeur totale des 20 images + gap */
  animation: slide 50s linear infinite; /* ajuster durée pour vitesse */
}

.galerie-slide img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

/* Animation défilement */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* déplace la moitié du contenu pour cycle infini */
}


/* Contact */
.contact {
  padding: 60px 10%;
  text-align: center;
 background-color: var(--vert-clair, #a8d08d);
}

.contact h2 {
  color: var(--vert);
  margin-bottom: 40px;
  font-size: 2rem;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--blanc);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
  justify-content: center;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-item i {
  font-size: 2rem;
  color: var(--vert);
  margin-top: 5px;
}

.contact-item a {
  color: var(--vert);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--dore);
}

.contact-item p {
  margin: 5px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* Footer */
footer {
  background: var(--vert);
  color: var(--blanc);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ======================= */
/*      Responsive Menu    */
/* ======================= */
@media (max-width:900px){
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--blanc);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    gap: 30px;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.active { right: 0; } /* Affiche le menu */

  .nav-links a {
    color: var(--noir);
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .menu-toggle span {
    width: 28px;
    height: 3px;
    background: #145A32;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }
}



/* ================================
   🌿 PAGE CONTACT – PHENICIA
================================ */


.contact-header {
  position: relative;
  width: 100%;
  height: 256px; /* ✅ même hauteur que ton image */
  background: url('../images/galerie/contact.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 50px;
  text-align: center;
  color: white;
}

.contact-header h1 {
  font-size: 2rem;
  font-family: 'Georgia', serif;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 25px;
  border-radius: 8px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}


/* --- Section Contact --- */
.contact-section {
  padding: 60px 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  align-items: start;
  background-color: var(--blanc);
}

/* --- Formulaire --- */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: var(--vert);
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  color: #333;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 5px;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  background-color: var(--vert);
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}

.contact-form button:hover {
  background-color: var(--vert-clair);
  transform: translateY(-2px);
}

/* --- Carte Google Maps --- */
.contact-map {
  width: 100%;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 1.8rem;
    padding: 10px 20px;
  }

  .contact-section {
    padding: 40px 5%;
  }
}



/* ==============================
   🌿 PAGE PRODUITS
============================== */

/* --- Section Hero Produits --- */
.hero-produits {
  position: relative;
  height: 400px;
  background: url('../images/galerie/produit.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-produits .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 30%, rgba(255,255,255,1) 100%);
}

.hero-produits .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-produits h1 {

  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 25px;
  border-radius: 8px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  position: relative;
  top: 100px; /* décale le texte vers le bas */
  color: rgb(255, 255, 255); /* texte reste blanc malgré l'animation */
}



/* --- Présentation --- */
.presentation-produits {
  padding: 60px 10%;
  text-align: center;
  color: #2f3e2f;
}

.presentation-produits h2 {
  color: #a47c1b;
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
}

.presentation-produits p {
  line-height: 1.7;
  font-size: 1.1rem;
}

/* --- Liste des produits --- */
.liste-produits {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 10%;
  background: #fafafa;
}

.produit {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.produit img {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.produit-info {
  flex: 1;
}

.produit-info h3 {
  color: #a47c1b;
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.produit-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.produit.inverse {
  flex-direction: row-reverse;
}


/* ===============================
   PAGE capacités  – PHENICIA
=================================*/


/* ================= HERO ================= */
.hero-produits,
.hero-capacite {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}


.hero-capacite {
  background-image: url('../images/capacites/background.jpg');
}

.hero-produits::after,
.hero-capacite::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-produits h1,
.hero-capacite h1 {
  color: #fff;
  font-size: 2.5rem;
  z-index: 2;
}

/* ================= SECTIONS ================= */
section {
  padding: 60px 8%;
}

h2 {
  color: #2e4d2c;
  margin-bottom: 20px;
}

//* ================= PRODUITS / MACHINES ================= */

.liste-produits {
  padding: 60px 8%;
}

/* Bloc produit / machine / stock */
.produit,
.machine,
.stock-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Images */
.produit img,
.machine img,
.stock-box img {
  width: 45%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.produit img:hover,
.machine img:hover,
.stock-box img:hover {
  transform: scale(1.05);
}

/* Texte */
.produit-info,
.machine-info {
  width: 45%;
  line-height: 1.7; /* meilleure lisibilité */
}

/* Titres */
.produit-info h3,
.machine-info h3 {
  color: #2e4d2c;
  margin-bottom: 20px; /* correction erreur */
  font-size: 24px;
}

/* Paragraphes */
.produit-info p,
.machine-info p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
}

/* Inversion image / texte */
.inverse,
.reverse {
  flex-direction: row-reverse;
}

/* ================= RESPONSIVE MOBILE ================= */

@media (max-width: 768px) {
  .produit,
  .machine,
  .stock-box {
    flex-direction: column;
    text-align: center;
  }

  .produit img,
  .machine img,
  .stock-box img,
  .produit-info,
  .machine-info {
    width: 100%;
  }
}
/* ================= STATS ================= */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background: linear-gradient(135deg,#2e4d2c,#4c7c3c);
  flex-wrap: wrap;
}

.stat-box {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
  width: 250px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: 0.4s;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box i {
  font-size: 35px;
  color: #2e4d2c;
}

.stat-box h2 {
  font-size: 2.5rem;
  margin: 10px 0;
}

.stat-box span {
  color: #555;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  background: #2e4d2c;
  color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .produit img,
  .produit-info,
  .machine img,
  .machine-info {
    width: 100%;
  }

  .hero-produits h1,
  .hero-capacite h1 {
    font-size: 1.8rem;
  }
}






/* ===============================
   PAGE LABORATOIRE – PHENICIA
=================================*/

.hero-laboratoire {
  position: relative;
  height: 350px;
  background: url("../images/laboratoire/labo_back.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-laboratoire::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, white 100%);
}
.hero-laboratoire h1 {
 font-family: 'Georgia', serif;
  font-size: 2.2rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 25px;
  border-radius: 8px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  position: relative;
  top: 75px; /* décale le texte vers le bas */
  color: rgb(255, 255, 255); /* texte reste blanc malgré l'animation */
}

/* Intro */
.intro-labo {
  text-align: center;
  padding: 60px 10%;
  background-color: #faf9f6;
  font-size: 1.1rem;
  color: #333;
  font-family: "Georgia", serif;
  line-height: 1.7;
}

/* Tables d'analyse */
.section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.section h2 {
  color: #b69329;
  border-left: 5px solid #b69329;
  padding-left: 10px;
  font-size: 1.8rem;
  font-family: "Georgia", serif;
}

.section h3 {
  margin-top: 40px;
  color: #333;
  font-size: 1.3rem;
  font-family: "Georgia", serif;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 40px;
  font-size: 1rem;
}
th, td {
  padding: 10px;
  text-align: left;
  border: 1px solid #eee;
}
th {
  background-color: #b69329;
  color: white;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Matériels d’analyse */
.materiel-section {
  background: #fdfdfd;
  padding: 80px 10%;
  text-align: center;
}
.materiel-section h2 {
  color: #b69329;
  font-size: 2rem;
  margin-bottom: 40px;
}
.materiel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.materiel-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.materiel-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.materiel-card h3 {
  margin-top: 15px;
  color: #2f3e2f;
  font-size: 1.3rem;
}
.materiel-card p {
  padding: 0 20px 20px;
  color: #555;
  font-size: 0.95rem;
}
.materiel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.contact-labo {
  padding: 40px 10%;
  background-color: #f9f9f9;
}

.contact-labo h2 {
  margin-bottom: 20px;
  color: #38761d;
}

.contact-labo p {
  margin-bottom: 15px; /* espace entre chaque ligne */
  font-size: 16px;
  color: #222;
}







/* HERO certification */
.hero-certif {
  height: 500px;
  background: url('../images/certificat.png') center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero-certif .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-certif h1 {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
}

/* SECTION */
.certifications {
  padding: 50px 20px;
}

.certifications h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* LIGNE CERTIF */
.certif-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

/* IMAGE */
.certif-row img {
  width: 200px;
  height: 140px;
  object-fit: contain;
  border-radius: 10px;
  background: white;
  padding: 10px;
}

/* TEXTE */
.certif-content {
  flex: 1;
}

.certif-content h3 {
  margin-bottom: 10px;
}

.certif-content p {
  line-height: 1.6;
}

/* BOUTON */
.btn-certif {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #2e7d32;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .certif-row {
    flex-direction: column;
    text-align: center;
  }

  .certif-row img {
    width: 150px;
    height: auto;
  }
}
/* BUTTON */
.btn-certif {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background: #2e7d32;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}










/* politique */
.politique-qualite {
  background: #fff;
  border: 2px solid #2E7D32;
  border-radius: 8px;
  padding: 20px;
  margin: 250px auto;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.politique-qualite h1 {
  color: #2E7D32;
  text-align: center;
  margin-bottom: 20px;
}

.politique-qualite h2 {
  color: #4CAF50;
  margin-top: 20px;
}

.politique-qualite p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.politique-qualite ul {
  margin: 10px 0 20px 40px;
}

.politique-qualite li {
  margin-bottom: 8px;
}

.politique-qualite .signature {
  margin-top: 25px;
  text-align: right;
  font-style: italic;
  color: #555;
}



/* Responsive pour tablettes et petits écrans */
@media (max-width: 768px) {
  .certif-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  }
}

@media (max-width: 480px) {
  .certif-grid {
    grid-template-columns: 1fr; /* 1 colonne pour mobiles */
  }
}
/* ================= GALERIE ================= */ .galerie { padding: 60px 8%; } .grid-galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } /* Images */ .grid-galerie img { width: 100%; height: 250px; object-fit: cover; border-radius: 15px; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.1); transition: 0.4s; } .grid-galerie img:hover { transform: scale(1.05); } /* Vidéos */ .grid-galerie video { width: 100%; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); } /* Lightbox */ .lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 999; } .lightbox img { max-width: 90%; max-height: 80%; border-radius: 10px; } .lightbox.active { display: flex; } /* Responsive */ @media (max-width: 768px) { .grid-galerie img, .grid-galerie video { height: 200px; } .menu-toggle { display: flex; } .nav-links { display: none; flex-direction: column; background: #fff; position: absolute; top: 60px; right: 8%; width: 200px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } .nav-links.active { display: flex; } }
