/* * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
} */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #2e7d32;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: none;
}

main {
    padding: 30px;
    max-width: 1000px;
    margin: auto;
}

footer {
    background-color: #2e7d32; /* conserve le fond vert */
    color: #000; /* texte en noir */
    text-align: center;
    padding: 15px;
    margin-top: 50px;
  }

/* Galerie */
.galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.photo-about {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    text-align: center;
  }
  
  .photo-about h2 {
    color: #2e7d32;
    margin-bottom: 20px;
  }
  
  .photo-container img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .photo-container p {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
  }

/* Formulaire */
form {
    max-width: 600px;
    margin: auto;
}

input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: #2e7d32;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #256428;
}

/* Message confirmation */
#confirmation {
    text-align: center;
    margin-top: 20px;
    color: green;
    font-weight: bold;
}

#confirmation.confirmation-success {
    max-width: 720px;
    margin: 20px auto;
    padding: 16px 24px;
    background: #e8f5e9;
    border: 1px solid #1f7a37;
    border-radius: 10px;
    color: #145027;
    font-size: 1.05rem;
}




header {
    background-color: #23b72b;
    padding: 10px 20px;
    color: white;
}

.navbar {
    display: flex;
    align-items: right;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    background-color: white;
    padding: 5px 10px;
    border-radius: 8px;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 20px;
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: none;
}

/* Avis client */

.avis-client {
    margin-top: 40px;
    padding: 20px;
    background-color: #ffffff;
    border-left: 5px solid #2e7d32;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.avis-client h2 {
    color: #2e7d32;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.avis {
    font-style: italic;
    font-size: 1.1em;
}

.avis .nom {
    text-align: right;
    font-style: normal;
    font-weight: bold;
    margin-top: 10px;
}
#LinkedIn {
  position: fixed;
  bottom: 80px; /* plus haut que WhatsApp */
  right: 23px;
  z-index: 100;
}
#WhatsApp {
    position: fixed;
    right: 0px;
    bottom: 0px;
}

#votre_projet{
    position: fixed;
    right: 50px;
    bottom: 0px;
    width: 50px;
}
.formulaire-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.formulaire-colonne {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formulaire-bouton {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.formulaire-bouton button {
    padding: 10px 20px;
    font-size: 16px;
}

form input, form select, form textarea {
    padding: 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

form label {
    font-size: 14px;
}

#WhatsApp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}
.filtres {
    text-align: center;
    margin-bottom: 20px;
}

.filtres button {
    margin: 5px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background-color: #2e7d32;
    color: white;
    border-radius: 5px;
}

.filtres button:hover {
    background-color: #256428;
}

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.photo {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background-color: #f9f9f9;
}

.photo img {
    width: 100%;
    height: auto;
}

.photo p {
    padding: 10px;
    font-size: 14px;
    color: #333;
}

#WhatsApp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}
.cta-contact {
    text-align: center;
    margin: 30px 0;
}

.btn-contact {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2e7d32;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn-contact:hover {
    background-color: #2e7d32;
}
.filtres {
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #444;
}

.filtres button {
    background: none;
    border: none;
    padding: 6px 12px;
    margin: 0 4px;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.filtres button:hover {
    color: #000;
    border-bottom: 2px solid #2e7d32;
}

.filtres button.active {
    font-weight: bold;
    border-bottom: 2px solid #2e7d32;
}
.galerie-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.filtres {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    margin-top: 10px;
}

.filtres button {
    background: none;
    border: none;
    padding: 6px 10px;
    color: #555;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.filtres button:hover,
.filtres button.active {
    color: #2e7d32;
    font-weight: bold;
}

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    flex: 1;
}

.photo {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.photo img {
    width: 100%;
    height: auto;
}

.photo p {
    padding: 10px;
    font-size: 13px;
    color: #333;
}
body {
font-family: 'Segoe UI', sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
}

header {
background-color: #fff;
border-bottom: 1px solid #ccc;
padding: 10px 20px;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
}

.navbar ul {
list-style: none;
display: flex;
gap: 20px;
margin: 0;
padding: 0;
}

.navbar a {
text-decoration: none;
color: #2e7d32;
font-weight: bold;
}

.hero {
background: #16a21d;
color: white;
text-align: center;
padding: 15px 10px;
}

.hero h1 {
margin: 0;
font-size: clamp(1.2rem, 2.5vw, 1.8rem);
font-weight: 500;
opacity: 0.92;
}

.presentation,
.services-bref,
.avantages,
.temoignages {
padding: 40px 20px;
max-width: 1000px;
margin: auto;
background-color: #fff;
margin-bottom: 20px;
border-radius: 10px;
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 20px;
margin-top: 20px;
}

.services-grid a {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
padding: 15px;
background-color: #f1f1f1;
border-radius: 8px;
color: #333;
transition: background-color 0.3s;
}

.services-grid a:hover {
background-color: #e1e1e1;
}

.services-grid img {
width: 40px;
height: 40px;
margin-bottom: 10px;
}

.avantages ul {
list-style: disc inside;
padding-left: 0;
}

.temoignages blockquote {
border-left: 4px solid #2e7d32;
padding-left: 15px;
margin: 20px 0;
font-style: italic;
color: #555;
}

.cta-contact {
text-align: center;
margin: 30px 0;
}

.btn-contact {
display: inline-block;
padding: 12px 24px;
background-color: #2e7d32;
color: white;
font-weight: bold;
text-decoration: none;
border-radius: 6px;
transition: background-color 0.3s;
}

.btn-contact:hover {
background-color: #256428;
}

/* Hover/focus contrast improvements for interactive elements */
.btn-contact:hover,
.btn-contact:focus-visible,
button:hover,
button:focus-visible,
.formulaire-bouton button:hover,
.formulaire-bouton button:focus-visible {
  background-color: #1f7a37;
  color: #ffffff;
}

.navbar nav > ul > li > a:hover,
.navbar nav > ul > li > a:focus-visible {
  color: #1f7a37;
  background: transparent;
  text-decoration: none;
  border-radius: 0;
  transform: translateY(-1px);
}

.navbar a i,
.btn-contact i,
.btn-postuler i,
.btn-pdf i {
  margin-right: 6px;
  width: 1em;
  text-align: center;
}

#menu-deroulant li a:hover,
#menu-deroulant li a:focus-visible {
  text-decoration: none;
  transform: none;
}

.filtres button:hover,
.filtres button:focus-visible,
.filtres button.active {
  background-color: #1f7a37;
  color: #ffffff;
  border-bottom-color: #1f7a37;
  border-radius: 6px;
}

body.about-modal-open {
  overflow: hidden;
}

.about-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
  transition: opacity 0.2s ease;
}

.about-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.about-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 18, 0.55);
  backdrop-filter: blur(2px);
}

.about-modal__panel {
  position: relative;
  width: min(92vw, 380px);
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e1ece1;
  padding: 14px 14px 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.2s ease;
}

.about-modal.is-open .about-modal__panel {
  transform: translateY(0) scale(1);
}

.about-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.about-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d4e3d4;
  background: #f5faf5;
  color: #1f7a37;
  font-size: 20px;
  line-height: 0.9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
}

.about-modal__close:hover,
.about-modal__close:focus-visible {
  background: #1f7a37;
  color: #ffffff;
}

.about-modal__header h3 {
  margin: 0;
  color: #1f2a1f;
  text-align: left;
  font-size: 1.1rem;
}

.about-modal__links {
  display: grid;
  gap: 9px;
}

.about-modal__links a {
  display: block;
  text-align: center;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  background: #f4f8f4;
  color: #2e7d32;
  border: 1px solid #d9e7d9;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.about-modal__links a:hover,
.about-modal__links a:focus-visible {
  background: #1f7a37;
  color: #ffffff;
  transform: translateY(-1px);
}

#pied {
  color: #000000;
}

/* Styles moved from inline blocks */
body.page-map {
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

html:has(body.page-map),
body.page-map {
  margin: 0 !important;
  padding: 0 !important;
}

body.page-map,
body.page-map * {
  box-sizing: border-box;
}

body.page-map h1 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
}

body.page-map .horaires-container {
  max-width: 400px;
  margin: 0 auto;
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

body.page-map table {
  width: 100%;
  border-collapse: collapse;
}

body.page-map #thhoraires,
body.page-map td {
  padding: 12px 15px;
  text-align: left;
}

body.page-map #thhoraires {
  background-color: #16a21d;
  color: #ffffff;
  font-weight: 400;
}

body.page-map tr:nth-child(even) {
  background-color: #f9f9f9;
}

body.page-map tr:hover {
  background-color: #e0f0ff;
}

body.page-map #tabletitle {
  text-align: center;
  color: #000000;
  margin-bottom: 30px;
}

body.page-emplois {
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

html:has(body.page-emplois),
body.page-emplois {
  margin: 0 !important;
  padding: 0 !important;
}

body.page-emplois #tabletitle {
  text-align: center;
  color: #000000;
  margin-bottom: 30px;
}

body.page-emplois .table-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

body.page-emplois table {
  width: 100%;
  border-collapse: collapse;
}

body.page-emplois th,
body.page-emplois td {
  padding: 12px 15px;
  text-align: left;
}

body.page-emplois #themplois {
  background-color: #16a21d;
  color: #ffffff;
}

body.page-emplois tr:nth-child(even) {
  background-color: #f9f9f9;
}

body.page-emplois tr:hover {
  background-color: #e6f2ff;
}

body.page-emplois .actions {
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 700px) {
  body.page-emplois table,
  body.page-emplois thead,
  body.page-emplois tbody,
  body.page-emplois th,
  body.page-emplois td,
  body.page-emplois tr {
    display: block;
  }

  body.page-emplois thead {
    display: none;
  }

  body.page-emplois tr {
    margin-bottom: 20px;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
  }

  body.page-emplois td {
    padding: 10px 0;
  }

  body.page-emplois td::before {
    content: attr(data-label);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    color: #003366;
  }

  body.page-emplois .actions {
    flex-direction: column;
  }
}

footer {
text-align: center;
background-color: #f1f1f1;
padding: 20px;
font-size: 14px;
border-top: 1px solid #ccc;
}

#WhatsApp {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 100;
}

.video-presentation {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
  }
  
  .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 10px;
    margin-top: 20px;
  }
  
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  nav {
    margin-left: auto;
  }

  .lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
  }
  
  .lightbox img {
    max-width: 80%;
    max-height: 80vh;
  }
  
  .lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .lightbox .prev,
  .lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-size: 40px;
    user-select: none;
    transform: translateY(-50%);
  }
  
  .lightbox .prev { left: 0; }
  .lightbox .next { right: 0; }

  .equipe {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
    max-width: 1000px;
    margin: auto;
  }
  
  .equipe-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
  }
  
  .membre {
    width: 180px;
    text-align: center;
  }
  
  .membre img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #1E794B;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    image-rendering: auto; /* améliore le rendu sur Chrome/Edge */
  }
  
  .membre img:hover {
    transform: scale(1.05); /* effet visuel léger */
  }
  .image-choix {
    text-align: center;
    padding: 20px 0;
  }
  
  .image-choix img {
    width: 300px; /* taille plus petite */
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .avantages-illustration {
    background-color: #fff;
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
  }
  
  .avantages-illustration .contenu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
  }
  
  .avantages-illustration .texte {
    flex: 1 1 60%;
  }
  
  .avantages-illustration .image {
    flex: 1 1 35%;
    text-align: center;
  }
  
  .avantages-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
.tableau-contact {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f1f1f1f5;
  border-radius: 10px;
  text-align: center;
}

.tableau-contact h2 {
  margin-bottom: 20px;
  color: #1E794B;
}

.tableau-contact table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tableau-contact th,
.tableau-contact td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.tableau-contact th {
  color: #1E794B;
  font-weight: 600;
  width: 150px;
}

.tableau-contact td a {
  color: #007BFF;
  text-decoration: none;
}

.tableau-contact td a:hover {
  text-decoration: underline;
}
#menu-deroulant-container ul {
    display: none;
    position: absolute;
    right: 0;
    left: auto;
    background-color: #ffffff;
    border: 1px solid #1E794B;
    border-radius: 5px;
    padding: 10px;
    min-width: 220px;
}

#menu-deroulant a:hover {
    text-decoration: none;
}

#menu-deroulant-container:hover ul {
    display: block;
}

#menu-deroulant-container {
    position: relative;
}

#menu-deroulant a {
    border: none;
}

#menu-deroulant li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #2e7d32 !important;
    background: transparent;
    transition: none;
}

#menu-deroulant li a i {
    color: #2e7d32 !important;
}

  .slogan {
    background-color: #ffffff; /* Vert très clair */
    padding: 15px 10px;
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: #2c3e50;
    margin: 20px auto;
    border-top: 4px solid #16c043;
    border-bottom: 4px solid #16c043;
  }

  .slogan .mot {
    margin: 0 5px;
    display: inline-block;
  }

  .slogan .logo-slogan {
    vertical-align: middle;
    height: 80px;
    margin: 0 8px;
  }

  .slogan .nom {
    font-family: 'Arial Black', sans-serif;
    color: #006600;
  }

  @media screen and (max-width: 600px) {
    .slogan {
      font-size: 1.2rem;
    }
    .slogan .logo-slogan {
      height: 30px;
    }
  }

  .recyclage-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2e7d32;
}

.logo-recyclage {
  width: 30px;
  height: auto;
}
.presentation-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.presentation-image {
  flex: 1 1 250px;
  max-width: 300px;
}

.presentation-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.presentation-content {
  flex: 2 1 500px;
}

@media (max-width: 768px) {
  .presentation-container {
    flex-direction: column;
  }

  .presentation-image,
  .presentation-content {
    max-width: 100%;
  }
}
.titre-avec-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.logo-titre {
  width: 30px;
  height: auto;
}
 body {
      font-family: Arial, sans-serif;
      line-height: 1.6;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    .services-bref {
      background: #f9f9f9;
      padding: 2rem;
      text-align: center;
    }

    .services-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      margin-top: 1rem;
    }

    .services-grid a {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: #333;
      width: 140px;
    }

    .services-grid img {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 0.5rem;
    }

    .presentation {
      padding: 2rem;
      border-bottom: 1px solid #ddd;
    }

    .titre-avec-logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .logo-titre {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }
    html {
  scroll-behavior: smooth;
}
.presentation .content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.presentation .text {
  flex: 1 1 60%;
}

.presentation .image {
  flex: 1 1 35%;
  text-align: right;
}

.presentation .image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* optionnel pour un coin arrondi */
}
.pdf-link a {
  display: inline-block;
  margin-top: 1em;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.pdf-link a:hover {
  background-color: #0056b3;
}

.pdf-viewer {
  margin-top: 2em;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}
.avantages-illustration .contenu {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.avantages-illustration .texte {
  flex: 1 1 60%;
}

.avantages-illustration .media-right {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.avantages-illustration .image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.avantages-illustration .pdf-mini embed {
  border: 1px solid #ccc;
  border-radius: 6px;
}
.recyclage-footer {
  text-align: center;
  margin-top: 20px;
}

.logos-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.logo-footer {
  height: 50px;
  width: auto;
}

.texte-engagement {
  display: block;
  font-size: 0.95em;
  color: #555;
}
.recyclage-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2e7d32;
}

.logo-footer {
  width: 30px;
  height: auto;
}

/* Logos partenaires alignés à gauche */
.logos-partenaires {
  display: flex;
  /* justify-content: ; gauche */
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  padding-left: 350px; /* petit décalage visuel à gauche */
}

.logos-partenaires img {
  height: 40px;  /* réduit la taille */
  width: auto;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 600px) {
  .logos-partenaires {
    flex-direction: column;
    align-items: flex-start; /* reste à gauche sur mobile aussi */
  }
}
.icone-inline {
  width: 35px;  /* adapte la taille selon le design */
  height: auto;
  margin-left: 8px; /* petit espace entre le texte et l’icône */
  vertical-align: middle;
}

.logo-footer {
  width: 30px;
  height: auto;
}
.carte-localisation {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}

.map-wrapper {
  max-width: 1000px;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.carte-statique {
  text-align: center;
  padding: 40px 20px;
}

.map-container {
  position: relative;
  display: inline-block;
  max-width: 600px;
  width: 100%;
}

.carte-fond {
  width: 100%;
  border-radius: 10px;
}

.point {
  width: 14px;
  height: 14px;
  background-color: red;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

/* Position des points : ajuster selon l’image utilisée */
.crissier {
  top: 42%;
  left: 37%;
}

.saxon {
  top: 60%;
  left: 50%;
}
.map-svg {
  text-align: center;
  padding: 40px 20px;
}

.svg-container {
  max-width: 600px;
  margin: auto;
}
.map-visuelle {
  text-align: center;
  padding: 40px 20px;
}

.carte-container {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.fond-carte {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Style des marqueurs */
.marqueur {
  width: 16px;
  height: 16px;
  background-color: #1E794B;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.siege {
  width: 23px;
  height: 23px;
  background-color: #e81616;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Position des points (ajuste selon ton image) */
.crissier {
  top: 63%;
  left: 13%;
}

.saxon {
  top: 82%;
  left: 27%;
}
.agarn {
  top: 78%;
  left: 37%;
}

/* =========================================================
   Responsive hardening (mobile-first overrides)
   ========================================================= */

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

img,
iframe,
video {
  max-width: 100%;
  height: auto;
}

main {
  width: min(100%, 1100px);
  padding: 24px 16px;
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.services-grid a {
  width: 100%;
}

.logos-partenaires {
  padding-left: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.tableau-contact {
  overflow-x: auto;
}

.tableau-contact table {
  width: 100%;
  min-width: 320px;
}

/* Burger hidden by default (desktop) */
.burger-button {
  display: none;
}

@media (max-width: 992px) {
  .navbar {
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  nav {
    width: 100%;
  }

  nav ul {
    justify-content: center;
    gap: 12px;
  }

  .presentation .content-wrapper,
  .avantages-illustration .contenu,
  .presentation-container {
    flex-direction: column;
  }

  .presentation .image,
  .avantages-illustration .media-right {
    text-align: center;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  header {
    padding: 10px 12px;
  }

  .burger-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    cursor: pointer;
    margin-left: auto;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .burger-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #2e7d32;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .burger-button:hover,
  .burger-button:focus-visible {
    background: #f4f8f4;
    border-color: #c6ddc6;
  }

  .burger-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger-button.is-active span:nth-child(2) {
    opacity: 0;
  }

  .burger-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .burger-button.is-active {
    background: #1f7a37;
    border-color: #1f7a37;
  }

  .burger-button.is-active span {
    background: #ffffff;
  }

  .logo img {
    height: 42px;
  }

  .navbar {
    justify-content: space-between;
    align-items: center;
  }

  .navbar nav {
    width: 100%;
  }

  .navbar nav ul.nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    margin-top: 0;
    padding: 0;
    gap: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: scaleX(0.96);
    transform-origin: right top;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.28s ease, transform 0.28s ease,
      padding 0.25s ease, margin-top 0.25s ease;
  }

  .navbar nav ul.nav-menu.is-open {
    max-height: 520px;
    opacity: 1;
    transform: scaleX(1);
    pointer-events: auto;
    margin-top: 12px;
    padding: 12px;
  }

  nav ul li {
    margin: 0;
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f6f8f6;
    color: #1f2a1f;
  }

  #menu-deroulant-container:hover ul {
    display: none;
  }

  #menu-deroulant {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 0;
    border: 0;
  }

  #menu-deroulant-container > a {
    position: relative;
    padding-right: 32px;
  }

  #menu-deroulant-container > a::after {
    content: "▾";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1f7a37;
    font-size: 14px;
    transition: transform 0.2s ease;
  }

  #menu-deroulant li a {
    background: #eef5ee;
    border: 1px solid #d8e7d8;
    font-size: 0.95rem;
    color: #2e7d32 !important;
  }

  .presentation,
  .services-bref,
  .carte-localisation,
  .map-visuelle {
    padding: 24px 16px;
  }

  /* Galerie mobile: filtres en haut, photos en bas */
  .galerie-container {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 12px 0;
  }

  .galerie-container .filtres {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .galerie-container .filtres button {
    text-align: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f6f8f6;
  }

  .galerie-container .galerie {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .formulaire-contact {
    gap: 12px;
  }

  .formulaire-colonne {
    flex: 1 1 100%;
  }

  .slogan {
    font-size: 1.1rem;
    padding: 12px 8px;
  }

  .slogan .logo-slogan {
    height: 42px;
  }

  #LinkedIn {
    right: 12px;
    bottom: 74px;
  }

  #LinkedIn img {
    width: 40px;
    height: 40px;
  }

  #WhatsApp {
    right: 10px;
    bottom: 12px;
  }

  #WhatsApp img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 20px 12px;
  }

  nav ul {
    gap: 8px;
  }

  nav ul li a {
    font-size: 0.95rem;
  }

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

  .galerie-container .galerie {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
  Footer redesign (desktop + mobile)
  ========================================================= */
footer {
  margin-top: 56px;
  padding: 44px 24px 16px;
  background: linear-gradient(180deg, #f8fcf8 0%, #eef6ef 100%);
  border-top: 1px solid #d4e4d6;
  color: #304236;
}

.footer-conteneur {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}

.footer-colonne h3 {
  margin: 0 0 12px;
  color: #1f7a37;
  font-size: 1.28rem;
  font-weight: 700;
}

.footer-colonne p {
  margin: 0 0 10px;
  color: #304236;
  line-height: 1.6;
}

.footer-colonne a {
  color: #1f7a37;
  text-decoration: none;
}

.footer-colonne a:hover,
.footer-colonne a:focus-visible {
  color: #145027;
  text-decoration: underline;
}

.footer-liens {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-liens li {
  margin-bottom: 10px;
}

.logos-partenaires {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 0;
}

.logos-partenaires img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 8px;
  border: 1px solid #d7e4d9;
}

.recyclage-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cfe1d3;
  background: #f6fbf6;
  color: #1f7a37;
}

.logo-recyclage,
.logo-footer {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #c6d9ca;
  color: #1f7a37;
  background: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: #1f7a37;
  border-color: #1f7a37;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

#pied {
  width: min(1100px, 100%);
  margin: 24px auto 0;
  padding-top: 14px;
  border-top: 1px solid #d2e2d5;
  text-align: center;
  color: #5a6d5f;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .footer-conteneur {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  footer {
    margin-top: 44px;
    padding: 28px 14px 14px;
  }

  .footer-conteneur {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-colonne h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
  }

  .footer-colonne p,
  .footer-liens li {
    margin-bottom: 8px;
  }

  .logos-partenaires img {
    height: 34px;
  }

  #pied {
    margin-top: 16px;
    font-size: 0.82rem;
  }
}

/* =========================================================
   Modern visual refresh (non-destructive overrides)
   ========================================================= */
:root {
  --brand-green: #16a21d;
  --brand-green-dark: #1f7a37;
  --brand-green-soft: #eaf7ec;
  --surface: #ffffff;
  --surface-alt: #f7faf7;
  --text-main: #263329;
  --text-muted: #55635a;
  --line-soft: #d6e4d9;
  --shadow-soft: 0 10px 26px rgba(23, 46, 28, 0.08);
  --shadow-hover: 0 16px 38px rgba(23, 46, 28, 0.14);
  --radius-lg: 16px;
  --radius-md: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% -10%, #f1fbf2 0%, transparent 42%),
    radial-gradient(circle at 95% 0%, #ecf6ff 0%, transparent 35%),
    #f5f7f6;
}

header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e3ece5;
  box-shadow: 0 8px 20px rgba(20, 30, 22, 0.05);
}

.navbar {
  width: min(1100px, 100%);
  margin: 0 auto;
  gap: 16px;
}

.logo {
  background: #ffffff;
  border: 1px solid #dce8df;
  box-shadow: 0 5px 14px rgba(20, 30, 22, 0.08);
}

.navbar nav > ul > li > a {
  border-radius: 999px;
  padding: 9px 14px;
  color: #214b27;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.navbar nav > ul > li > a:hover,
.navbar nav > ul > li > a:focus-visible {
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(720px, calc(100% - 32px));
  margin: 1.25rem auto 0;
  padding: clamp(14px, 2.2vw, 20px) clamp(16px, 3vw, 28px);
  border-radius: 12px;
  box-shadow:
    0 10px 30px rgba(12, 48, 18, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(130deg, #0f9116 0%, #17b020 55%, #45c94d 100%);
  text-align: center;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22);
}

main h1,
main h2,
main h3,
section h1,
section h2,
section h3 {
  color: #193b1f;
  letter-spacing: 0.01em;
}

/* Le hero est sur fond vert : le h1 doit rester clair (section h1 le forçait en vert foncé). */
section.hero h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.97);
  text-align: center;
}

.presentation,
.services-bref,
.avantages,
.temoignages,
.video-presentation,
.avantages-illustration,
.photo-about,
.table-container,
.tableau-contact,
.map-visuelle,
.carte-localisation,
.equipe {
  background: linear-gradient(180deg, var(--surface) 0%, #fcfefc 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.presentation:hover,
.services-bref:hover,
.avantages-illustration:hover,
.video-presentation:hover,
.table-container:hover,
.tableau-contact:hover {
  box-shadow: var(--shadow-hover);
}

.presentation p,
.avantages-illustration p,
.tableau-contact p,
.footer-colonne p,
li {
  color: var(--text-muted);
}

.services-grid a {
  border: 1px solid #d9e6dc;
  background: linear-gradient(180deg, #ffffff 0%, #f5faf5 100%);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(24, 45, 28, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.services-grid a:hover,
.services-grid a:focus-visible {
  transform: translateY(-4px);
  border-color: #b9d8bf;
  box-shadow: 0 12px 30px rgba(24, 45, 28, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #eef8ef 100%);
}

.btn-contact,
.btn-postuler,
.btn-pdf,
button {
  border-radius: 10px;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(30, 121, 75, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-contact:hover,
.btn-postuler:hover,
.btn-pdf:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(30, 121, 75, 0.25);
}

form input,
form select,
form textarea {
  border: 1px solid #cad9ce;
  background: #ffffff;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #84be92;
  box-shadow: 0 0 0 4px rgba(31, 122, 55, 0.12);
}

.formulaire-bouton {
  border-top: 1px dashed #cadecf;
  padding-top: 14px;
}

.photo {
  border: 1px solid #d5e4d9;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(20, 34, 23, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(20, 34, 23, 0.15);
}

.photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.filtres button {
  border: 1px solid #cadecf;
  border-radius: 999px;
  background: #ffffff;
  color: #2a4f31;
}

.filtres button:hover,
.filtres button.active {
  border-color: #8bc69a;
}

/* Filtres galerie : fond mobile (.galerie-container .filtres button) écrasait le vert au survol (texte blanc illisible) */
.galerie-container .filtres button:hover,
.galerie-container .filtres button:focus-visible,
.galerie-container .filtres button.active {
  background: #1f7a37;
  color: #ffffff;
  border-color: #15632d;
}

body.page-emplois .table-container table,
body.page-map .horaires-container table,
.tableau-contact table {
  border-radius: 12px;
  overflow: hidden;
}

body.page-emplois td,
body.page-emplois th,
.tableau-contact td,
.tableau-contact th {
  border-bottom-color: #e2ebe4;
}

details {
  margin-top: 14px;
  border: 1px solid #d2e2d6;
  border-radius: 12px;
  background: #f8fcf9;
  padding: 12px 14px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: #1f7a37;
}

.slogan {
  border: 1px solid #d7e8da;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  width: min(1050px, calc(100% - 32px));
}

@media (max-width: 768px) {
  .hero {
    width: min(100%, calc(100% - 24px));
    margin-top: 1rem;
  }

  .presentation,
  .services-bref,
  .video-presentation,
  .avantages-illustration,
  .table-container,
  .tableau-contact,
  .map-visuelle,
  .equipe {
    border-radius: 14px;
  }
}