/* =====================================================
   DB RÉCUPÉRATION - FEUILLE DE STYLE PRINCIPALE
   -----------------------------------------------------
   Version : stable finale (octobre 2025)
   ===================================================== */

/* =========================
   STYLE GLOBAL
========================= */

html,
body {
  height: 100%;
}

html {
  background-image: url("../img/bg-tech-eco.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: cover;
  scroll-behavior: smooth;
  overflow-y: auto;
}

/* Voile pâle par-dessus le fond */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.60);
  pointer-events: none;
  z-index: -1;
}

body {
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  overflow-y: scroll;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}


* {
  box-sizing: border-box;
}

/* Couleurs réutilisables */
:root {
  --vert-principal: #00c853;
  --vert-foncé: #004d40;
  --fond-vert-clair: #e8f5e9;
  --ombre-douce: 0 4px 12px rgba(0, 0, 0, 0.08);
  --bg: #f7f9f6;
  --card: #ffffff;
  --accent: #2d8a3f; /* vert recyclage */
  --accent-2: #1f6d33;
  --muted: #6b6b6b;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(16,24,16,0.06);
  --maxw: 820px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  background-color: #ffffff;
  border-bottom: 3px solid var(--vert-principal);
  box-shadow: var(--ombre-douce);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo,
.logo:visited {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vert-foncé);
  margin-right: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 30px;
  width: auto;
  animation: pulse 4s infinite ease-in-out;
}

.logo-confirmation {
  height: 40px;
  width: 40px;
  animation: pulse 4s infinite ease-in-out;
}

.logo:hover {
  color: var(--vert-principal);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--vert-foncé);
  font-weight: 500;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.nav-links a:hover {
  color: var(--vert-principal);
}

.nav-links a:visited {
  color: var(--vert-foncé);
}

.nav-links a.active {
  color: var(--vert-foncé);
  font-weight: 600;
  opacity: 0.85;
}


/* ============================================================
   HERO — version transparente pour s'intégrer au site existant
   ============================================================ */

.hero{
  background: transparent;
  text-align:center;
}
.hero-inner{max-width:1200px;margin:0 auto}
.hero h1{margin:0;font-size:28px;letter-spacing:0.2px}
.hero .subtitle{margin:6px 0 0;font-size:14px;opacity:0.95}

.hero .card {
  background: #ffffff;
  padding:28px 18px;
  text-align: center;  
}


/* =============================
   SECTION COMMENT CA FONCTIONNE
   ============================= */


.services-details .card ul {
  padding-left: 18px;   /* au lieu de ~40px par défaut */
  margin-left: 40px;
  max-width: none;
}

@media (max-width: 768px) {
  .services-details .card ul {
    margin-left: 20px;   /* au lieu de 60px */
  }
}


/* ============================
   CADRE ACCUEIL PHOTO COLLECTE
   ============================ */

.collecte-photo {
  text-align: center;
}

.photo-wrapper {
  display: flex;
  justify-content: center;
}

.photo-wrapper img {
  max-width: 900px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a7a44;
  margin-bottom: 15px;
}


/* ======================
   MISSION CARD - ACCUEIL
   ====================== */
.mission-card {
  max-width: 900px;
  margin: 20px auto;
}

.mission-card p {
  max-width: 715px;
  margin: 16px auto;
  line-height: 1.7;
  text-align: left; /* plus naturel que justify */
}

.mission-card h2 {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
  text-align: left;
}

/* ------------------------------
   SECTIONS EXPRESS
------------------------------ */

.express-menu {
  margin-top: 40px;
  margin-bottom: 60px;
  text-align: center;
}

.express-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.express-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
}

.express-icon {
  width: 70px;
  height: 70px;
  background: #1f7a4d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.express-item p {
  font-size: 15px;
  line-height: 1.4;
  color: #134e35;
  font-weight: 600;
}

.express-cta {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .express-container {
    flex-direction: column;
    gap: 25px; /* au lieu de gros espaces */
  }

  .express-item {
    max-width: none;
  }

  .express-icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
    margin-bottom: 6px;
  }

  .express-item p {
    font-size: 14px;
    margin: 0;
  }

  .express-menu {
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .express-cta {
    margin-top: 15px;
  }
}


/* ------------------------------
   SECTIONS CERTIFICAT
------------------------------ */
.erase-certificate {
  margin-top: 50px;
}

.erase-certificate h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.certificate-list {
  margin-bottom: 20px;
}

.erase-certificate img {
  width: 70%;
  max-width: 500px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.certificate-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}


/* ------------------------------
   SECTIONS
------------------------------ */
main {
  max-width: 900px;
  margin: 2rem auto 0; /* top = 2rem, côtés auto, bottom = 0 */
  padding: 0 1.5rem;
}

section {
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin: 60px auto;
  box-shadow: var(--ombre-douce);
}

h2 {
  color: var(--vert-foncé);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

h2 i {
  color: var(--vert-principal);
  margin-right: 8px;
}

ul {
  text-align: left;
  margin-left: 1.5rem;
}



/* --------------------------------------------------------
   COMMENT CA FONCTIONNE - VERSION IMAGÉ
----------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 30px;
  text-align: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #1f7f4c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 34px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.step-circle i {
  font-size: 36px;
}

.step-circle span {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: white;
  color: #1f7f4c;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.step p {
  margin-top: 15px;
  font-size: 15px;
  max-width: 220px;
}

.steps-extra {
  margin-top: 30px;
  padding-left: 20px;
}


@media (max-width: 768px) {

  /* Les 3 étapes passent en colonne */
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 20px;
  }

  /* Chaque bloc centré */
  .step {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Les bulles (icônes vertes) rapetissent */
  .step-circle {
    width: 64px;
    height: 64px;
    font-size: 26px; /* si icône FontAwesome ou SVG */
  }

  /* Texte plus compact */
  .step p {
    max-width: 260px;
    margin: 10px auto 0;
    line-height: 1.5;
  }

}



/* --------------------------------------------------------
   SECTION TOUS LES APPAREILS NE MÉRITE PAS D'ÊTRE DÉTRUITS
----------------------------------------------------------- */

.compare-section {
  margin-top: 60px;
  text-align: left;
}

.compare-intro {
  max-width: 800px;
  margin: 10px auto 40px;
  font-size: 1.1rem;
  color: #555;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.compare-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compare-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.compare-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.compare-card h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
  text-align: center;
}

.compare-card p {
  padding: 0 20px 25px;
  color: #555;
  line-height: 1.5;
}

/* Couleurs subtiles pour différencier */
.compare-card.recycle h3 {
  color: #b03a2e;
}

.compare-card.reuse h3 {
  color: #1e8449;
}

/* Mobile */
@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------------------------------
   TITRE SECTION RÉSIDENTIEL ET ENTREPRISE + IMAGE
------------------------------------ */

.hero-residentiel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* Image maison */
.hero-residentiel .hero-image {
  flex: 0 0 280px;
  max-width: 280px;
}

.hero-residentiel .hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ta carte texte */
.hero-residentiel .card {
  flex: 1;
  max-width: 600px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-residentiel {
    flex-direction: column;
    text-align: center;
  }

  .hero-residentiel .hero-image {
    flex: 0 0 200px;
    max-width: 240px;

  }
}




/* ------------------------------
   SECTION ACCEPTATIONS
------------------------------ */
.acceptation {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
}

.acceptation div {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(230, 248, 236, 0.95)
  );
  max-width: 420px;
  border-radius: 12px;
  box-shadow: var(--ombre-douce);
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acceptation div:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.acceptation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.acceptation li {
  background: var(--fond-vert-clair);
  margin-bottom: 0.8rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: var(--vert-foncé);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.acceptation .refuse li {
  background: #ffebee;
  color: #c62828;
}

.acceptation .accept li:hover {
  background-color: #d2f5da !important;
  box-shadow: 0 0 0 2px #00c853 inset;
}

.acceptation .refuse li:hover {
  background-color: #f9d3d3 !important;
  box-shadow: 0 0 0 2px #d32f2f inset;
}


/* ------------------------------
   SECTION VISUELLE (ICÔNES)
------------------------------ */
.visuel {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  padding: 60px 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  max-width: 1000px;
  margin: 0 auto;
}

.visuel .card {
  flex: 1 1 250px;
  max-width: 320px;
  min-width: 220px;
  background: linear-gradient(
    135deg,
    rgba(230, 248, 236, 0.95),
    rgba(255, 255, 255, 0.95)
  );
  background-color: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: var(--ombre-douce);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visuel .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.visuel i {
  font-size: 2.5rem;
  color: var(--vert-principal);
  margin-bottom: 1rem;
}

.visuel h3 {
  color: var(--vert-foncé);
  margin-bottom: 0.5rem;
}

.visuel p {
  color: #455a64;
  font-size: 0.95rem;
}


/* ==============================
   PHOTO FAQ
============================== */

.faq-banner {
  width: 100%;
  height: 260px;
  overflow: hidden;
  object-fit: contain;
}

.faq-banner img {
  width: 100%;
  height: 100%;

  display: block;
}

/* mobile */
@media (max-width: 768px) {
  .faq-banner {
    height: 180px;
  }
}





/* ==============================
   À PROPOS
============================== */

.services-details .quote {
  margin-top: 30px;
  font-style: italic;
  text-align: center;
  color: #0a7a44;
}


/* ==============================
   BOUTON PLANIFIER UNE COLLECTE
============================== */

.cta-button {
  text-align: center;
  margin: 30px auto;
}

.btn-collecte {
  display: inline-block;
  padding: 10px 24px;
  background-color: #10b981;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-collecte:hover {
  background-color: #059669;
  color: #ffffff !important;
}


/* ==============================
   FOOTER
============================== */
footer {
  text-align: center;
  padding: 0px;
  background-color: var(--fond-vert-clair);
  color: var(--vert-foncé);
}

footer a {
  color: #00796b;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* ==============================
   BANDEAU LÉGAL
============================== */
#legal {
  background-color: #00984f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: white;
  text-align: center;
  font-size: 0.85em;
  padding: 0px 0;
  letter-spacing: 0.3px;
}

#legal p {
  margin: 0;
}

#legal a {
  color: #ffffff;          /* blanc */
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

#legal a:hover {
  opacity: 0.8;
}

/* ==============================
   FENÊTRE MODALE
============================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.modal[style*="display: flex"] {
  opacity: 1;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: #555;
  cursor: pointer;
}

.modal-content h3 {
  color: #007a3d;
  margin-bottom: 10px;
}


/* ==============================
   PAGE SERVICES – HARMONISATION
============================== */

/* SECTION SERVICES */

.services-intro {
  margin-top: 100px;
  text-align: center;
}

.services-page {
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 30px 20px 10px;
  margin-top: 60px;
}

/* Base commune des sections */
.services-page section {
  background: #ffffff;
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.services-page section:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

/* TITRES */

.services-page h2 {
  color: var(--vert-foncé);
  margin-bottom: 1rem;
}

.services-page p,
.services-page li {
  line-height: 1.6;
}


.services-intro p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---   CE QUE NOUS OFFRONS --- */


.services-details ul {
  padding-left: 1.2rem;
}

.services-details li {
  margin-bottom: 0.5rem;
}


/* ==============================
   ANIMATIONS DOUCES
============================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==============================
   ANIMATION SECONDAIRE (plus douce)
============================== */
.fade-in-2 {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.fade-in-2.visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes pulse {
  0%, 100% { transform: scale(1); color: #00c853; }
  50% { transform: scale(1.15); color: #00e676; }
}


/* ==============================
   RESPONSIVE MOBILE (≤ 900px)
============================== */

/* Empêche la sélection du menu */
.navbar,
.logo,
.nav-links {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* PC par défaut */
.menu-toggle {
  display: none;
}

@media (max-width: 900px) {

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    padding: 0 0px;
    font-size: 18px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }


  /* NAVBAR FIXE */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0;
  }

  .nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 1rem;
  }

  .logo,
  .logo:visited {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--vert-foncé);
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0;
    padding-left: 0;
  }

  .menu-toggle {
    display: block;
    font-size: 1.9rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-links {
    background:
      linear-gradient(rgba(255,255,255,0.80), rgba(255,255,255,0.80)),
      url("../img/menu3barres.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(4px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);

    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;

    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-links a {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
  }

  .nav-links.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
  }
  
.nav-links a.active {
    color: #0a8f3c; /* vert DB fort */
    font-weight: 700;
    position: relative;
}

/* Barre lumineuse dessous */
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #2bdc7c,
        #0a8f3c,
        #2bdc7c
    );
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(43,220,124,0.6);
}

  
}

  /* 🔑 DÉCALAGE GLOBAL DU CONTENU (IMPORTANT) */
  main {
    margin-top: 100px; /* hauteur réelle du menu mobile */
    padding: 0 8px;
  }

  section {
    margin: 40px 0;
    padding: 1.3rem;
  }

  h2 {
    font-size: 1.2rem;
  }


/* ==============================
   ACCEPTATION VERSION CELLULAIRE
   ============================== */

  .acceptation {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1.2rem 0.8rem;
    text-align: center;
  }

  .acceptation div {
    width: 100%;
    max-width: 460px;
  }

  .acceptation li {
    width: 100%;
    font-size: 0.9rem;
    padding: 5px;
  }


  /* Ancres (ex: #contact) */
  :target {
    scroll-margin-top: 160px;
  }

  /* Modale */
  .modal-content {
    width: 88%;
    max-width: 340px;
    padding: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  footer {
    padding: 1.8rem 1rem 3rem;
    font-size: 0.9rem;
  }

  #legal {
    font-size: 0.75rem;
    line-height: 1.4;
    padding: 4px 0;  /* ↓ réduit la hauteur */
  }

  #refus {
    margin-bottom: 100px;
  }
}



/* FORM */
.contact-form{
  background:var(--card);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
  border: 1px solid rgba(20,40,20,0.04);
}

/* Rows */
.row{display:flex;flex-direction:column;margin-bottom:14px}
.row label{font-weight:600;margin-bottom:6px;font-size:14px}
.row input[type="text"],
.row input[type="email"],
.row input[type="tel"],
.row input[type="date"],
.row input[type="time"],
.row textarea{
  border:1px solid rgba(16,24,16,0.08);
  padding:10px 12px;
  border-radius:10px;
  font-size:14px;
  background: #fbfdf9;
  outline:none;
  transition:box-shadow .15s, border-color .12s;
}
.row input:focus,
.row textarea:focus{
  border-color:var(--accent);
  box-shadow:0 4px 18px rgba(31,109,51,0.08);
}

/* textarea */
textarea{resize:vertical;min-height:88px;max-height:240px}

/* small helpers */
.helper{font-size:13px;color:var(--muted);margin:6px 0 12px}
.small{font-size:13px;color:var(--muted);margin-top:12px}

/* buttons du formulaire*/
.actions{display:flex;gap:10px;align-items:center;margin-top:6px}
.btn{
  background:var(--accent);
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  box-shadow: 0 6px 18px rgba(45,138,63,0.12);
}
.btn:hover{background:var(--accent-2);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-outline{
  background:transparent;
  color:var(--accent-2);
  border:1px solid rgba(31,109,51,0.12);
  box-shadow:none;
}

.contact-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #b6c8b8;
  font-size: 1em;
  background-color: white;
  cursor: pointer;
}

/* =====================================================
   SECTION CONTACT – style unifié avec le formulaire
   ===================================================== */
.contact-card {
  background: var(--fond-vert-clair);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--ombre-douce);
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.contact-card h2 {
  color: var(--vert-foncé);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}


.contact-card h3 {
  margin-top: 0.8rem;
  color: var(--vert-principal);
}

.contact-card .subtitle {
  color: #455a64;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ========================================
   SECTION CONTACT — harmonisation visuelle
   ======================================== */

/* Dégradé subtil dans le fond du bandeau de titre */
.hero-contact {
  background: linear-gradient(90deg, #eaf8ee 0%, #f3f9f4 100%);
  padding: 20px 10px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  transform: none;
  z-index: 1;
  box-sizing: border-box;
}

/* Supprime le fond et l'ombre de la section contact */
#contact {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Ombre douce sous le titre principal */
.hero-contact h1 {
  color: #00a553; /* Vert principal DB Récupération */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Effet hover amélioré sur les boutons */
.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  background-color: #02b85d; /* vert un peu plus lumineux */
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background-color: #e9f9f0;
  color: #00a553;
  transform: translateY(-2px);
}

/* Optionnel : un petit arrondi au bloc Contact pour que tout soit cohérent */
.contact-form {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* grid for date/time */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}

/* required star */
.req{color:var(--accent);margin-left:4px;font-weight:700}

/* footer */
.site-footer {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 14px;
}

.site-footer a {
  color: var(--vert-foncé); /* ou inherit */
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width:760px){
  .grid{grid-template-columns:1fr}
  .container{padding:12px}
  .hero h1{font-size:22px}
}

/* small accessibility focus */
input:required, textarea:required{box-shadow:none}


/* =============================
   SECTION FORMULAIRE CONTACT
   (compacte + container réduit)
   ============================= */
.formulaire-section {
  padding: 30px 15px; /* Réduction de la hauteur */
}

.formulaire-container {
  padding: 25px; /* Réduction du padding interne */
  max-width: 640px; /* Container un peu plus étroit et élégant */
  margin: 0 auto;
}

/* Réduction espace entre titres */
.formulaire-section h3 {
  margin-bottom: 2px; /* Espace minimal sous "Contact" */
}

.formulaire-section h2 {
  margin-top: 0;
  margin-bottom: 4px; /* Rapproche "DB Récupération" du sous-titre */
}

.formulaire-section p {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 15px;
}

/* --- Champs compacts --- */
.contact-form .row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 3px;
  color: #2d4739;
  font-size: 15px;
}

.contact-form input,
.contact-form select {
  border: 1px solid #c7d8cc;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 6px;
  height: 34px; /* Champs plus petits, sauf textarea */
}

.contact-form textarea {
  border: 1px solid #c7d8cc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
  min-height: 90px; /* Garde plus d’espace ici */
  box-sizing: border-box;
}

/* --- Boutons --- */
.contact-form .actions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.contact-form .btn {
  background-color: #1abf60;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #16a14f;
}

.contact-form .btn-outline {
  background-color: transparent;
  border: 2px solid #1abf60;
  color: #1abf60;
}

.contact-form .btn-outline:hover {
  background-color: #1abf60;
  color: #fff;
}

/* --- Texte d’aide et bas du formulaire --- */
.contact-form .small {
  margin-top: 8px;
  font-size: 13.5px;
  color: #444;
}

.helper {
  font-size: 13px;
  color: #555;
  margin-top: 6px;
}

/* --- CALENDRIER ET MENUS HORAIRES --- */

/* Police et texte harmonisé */
.flatpickr-calendar,
.flatpickr-input,
#time {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; /* même famille que ton site */
  font-size: 15px;
  color: #333;
}

/* Apparence du champ date */
#date {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#date:focus {
  border-color: #00833e; /* vert DB */
  box-shadow: 0 0 4px rgba(0, 131, 62, 0.3);
  outline: none;
}

/* Apparence du menu déroulant des heures */
#time {
  border: 1px solid #00833e; /* vert DB */
  border-radius: 8px;
  padding: 6px 10px; /* ajusté */
  width: 100%;
  background-color: #fff;
  appearance: none;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  color: #333;
  line-height: normal; /* revient à une hauteur de texte naturelle */
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#time:focus {
  border-color: #00833e;
  box-shadow: 0 0 4px rgba(0, 131, 62, 0.3);
  outline: none;
}

/* Jours désactivés (complets ou dimanche) */
.flatpickr-day.flatpickr-disabled {
  background-color: #f5f5f5 !important; /* gris pâle doux */
  color: #aaa !important;
  border-radius: 6px;
  cursor: not-allowed !important;
}

/* Jour sélectionné */
.flatpickr-day.selected {
  background-color: #00833e !important;
  color: white !important;
  border-radius: 6px;
}

/* Survol d’un jour disponible */
.flatpickr-day:hover:not(.flatpickr-disabled) {
  background-color: #e6f5ec !important; /* vert très pâle */
}



/* ------------------------------
   SÉCURITÉ DES DONNÉES
------------------------------ */
.services-security {
  background: white;
  border-radius: 18px;
  padding: 50px 60px;
  margin-top: 60px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.security-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.security-text h2 {
  color: #0a7a44
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.security-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

.security-text ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.security-text ul li {
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
  font-weight: 500;
}

.security-text ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1aa36f;
  font-weight: bold;
}

.security-small {
  font-size: 0.9rem;
  color: #666;
}

.security-image {
  display: flex;
  justify-content: center;
}

.security-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
}

@media (min-width: 992px) {
  .security-grid {
    align-items: flex-start;
  }

  .security-image {
    margin-top: 25px; /* ajuste ici */
  }
}


/* ==============================
   VERSION MOBILE – Sécurité
============================== */
@media (max-width: 768px) {

  .services-security {
    padding: 32px 24px;
  }

  .security-grid {
    grid-template-columns: 1fr;   /* ← UNE seule colonne */
    gap: 32px;
    text-align: left;
  }

  .security-image {
    order: -1;                  /* image au-dessus */
  }

  .security-image img {
    max-width: 220px;
  }

  .security-text h2 {
    font-size: 1.2rem;
  }

  .security-text p {
    font-size: 1rem;
  }

  .security-text ul li {
    font-size: 0.95rem;
  }

  .security-small {
    font-size: 0.85rem;
  }
}


/* ------------------------------
SECTION CONTACT LISTE
------------------------------ */
.recup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 35px; /* lignes serrées, colonnes aérées */
  margin-top: 15px;
}

.recup-grid > div {
  border-left: 3px solid #00a651;
  padding-left: 14px;
  padding-right: 34px;
  background: #f9fff9;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recup-grid > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.recup-grid h4 {
  color: #00a651;
  font-size: 0.85rem;
  margin: 10px 0 6px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.recup-grid ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.recup-grid li {
  font-size: 0.87rem;
  line-height: 1.25;
  margin: 2px 0;
}

.recup-note {
  margin-top: 30px;   /* espace au-dessus */
  text-align: center;
}

.recup-note p {
  font-style: italic;
  margin: 0;
}


/* SECTION CONTACT LISTE Mobile */

@media (max-width: 380px) {
  .hero .btn-collecte {
    font-size: 15px;
    padding: 9px 18px;
    letter-spacing: -0.2px;
  }
}

@media (max-width: 768px) {
  .recup-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .recup-grid > div {
    border-left: none;
    border-top: 2px solid #00a651;
    padding-top: 10px;
    padding-left: 0;
  }
}


/* =============================
   ZONES DESSERVIES (compact)
   ============================= */

.zones-bubble {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  max-width: 800px;
  margin: 35px auto; /* réduit (avant 60) */
  box-shadow: 0 12px 20px rgba(0,0,0,0.10); /* plus léger */
}

.zones-left {
  flex: 1;
  padding: 25px 35px; /* réduit (avant 35px 40px) */
}

.zones-left h3 {
  color: #0a7a44;
  margin-bottom: 15px; /* réduit */
}

.zones-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zones-left li {
  padding: 6px 0; /* réduit (avant 8px) */
  border-bottom: 1px dashed #cfe9db;
}

.zones-right {
  flex: 1;
  min-height: 260px; /* réduit (avant 350) */
}

.zones-right iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-wrap {
  width: 100%;
  height: 100%;
  min-height: 340px;
  position: relative;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 340px !important;
  border: 0;
}

/* ZONES DESSERVIES - Mobile */
@media (max-width: 768px) {
  .zones-bubble {
    flex-direction: column;
    margin: 25px 15px;
  }

  .zones-right {
    height: 420px !important;
    min-height: 420px !important;
  }

  .map-wrap {
    min-height: 420px !important;
  }

  .map-wrap iframe {
    min-height: 420px !important;
  }

  .zones-left {
    padding: 18px 20px; /* moins d’air */
  }

  .zones-left h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .zones-left ul {
    margin: 0;
  }

  .zones-left li {
    padding: 5px 0;          /* avant 6–8px */
    font-size: 14.5px;       /* un peu plus dense */
    line-height: 1.35;       /* resserre verticalement */
  }

  .zones-left li strong {
    font-size: 14.5px;
  }
}



/* Empêche le hover sur la section Contact */
.formulaire-section,
.formulaire-section * {
  transform: none !important;
  transition: none !important;
}
.hero-contact,
.hero-contact * {
  transform: none !important;
  transition: none !important;
}
#contact,
#contact * {
  transform: none !important;
}

.hero-contact {
  background: linear-gradient(
    155deg,
    rgba(230, 248, 236, 0.95),
    rgba(255, 255, 255, 0.95)
  );
  text-align: center;
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* centre le texte */
  padding: 10px 10px;
  border-radius: 18px;
}

.hero-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Photo de moi dans le rond */
.contact-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 40px;   /* espace entre le texte et la photo */
  margin-right: 80px; /* espace avec le bord droit */
}

.contact-photo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #00c853;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border: 2px solid #00c853;
}

.contact-photo span {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #2e7d32;
  font-weight: 600;
}

@media (max-width: 768px) {

  .hero-contact {
    flex-direction: column;
    padding: 30px 20px;
  }

  .contact-photo {
    position: relative;
    top: -8px;   /* monte la photo (essaie -8px à -20px selon ton goût) */
    margin-top: 16px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 16px;
}

  .hero-inner {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  section .card > h2 {
    white-space: normal; /* autorise le retour à la ligne */
    font-size: 1.2rem;
    text-align: center;
  }

  .hero h1 {
    white-space: normal;
    word-break: break-word;
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0 10px;
  }
}

  section .card ul {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
  
  section .card {
    max-width: 700px;
    margin: 0 auto;
  }
}

/* HERO – réduire l’espace sous le bouton */
.hero.mission .card {
  padding-bottom: 25px;   /* au lieu du padding global */
}

.hero.mission .cta-button {
  margin-bottom: 0;
}

.hero.mission p {
  margin-bottom: 12px;
}




.section-separator {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  margin: 50px auto 30px;
  border-radius: 3px;
}


/* Scrollbar verte douce */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #eef3f0;   /* vert très pâle */
}
::-webkit-scrollbar-thumb {
  background: #5f9e86;   /* vert doux */
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a8b73;   /* un peu plus foncé au hover */
}
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #5f9e86 #eef3f0;
}
