* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #FFFFFF; /* Fond global propre */
  color: #2B1B17; /* Texte Espresso */
}

/* --- Styles Généraux & Variables --- */
:root {
  --bg-color: #1a1a1a;       /* Fond sombre chic */
  --accent-color: #c5a880;   /* Doré de votre logo */
  --text-color: #ffffff;     /* Texte blanc */
  --hover-bg: #2a2a2a;       /* Fond de survol */
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  padding: 15px 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* --- Liens de Navigation (Ordinateur) --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px; /* Espace uniforme entre chaque lien */
}

.nav-item {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  transition: color 0.3s ease;
}

/* Animation de ligne sous les liens au survol */
.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-item:hover::after, 
.nav-item.active::after {
  width: 100%;
}

.nav-item:hover, 
.nav-item.active {
  color: var(--accent-color);
}

/* --- Menu Déroulant (Dropdown) --- */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.dropdown:hover .dropbtn {
  color: var(--accent-color);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #242424;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  border-radius: 4px;
  top: 100%;
  left: 0;
  z-index: 1000;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--text-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: var(--accent-color);
  color: #1a1a1a;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Icône Hamburger (Mobile) --- */
.topnav .icon {
  display: none;
  color: var(--text-color);
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.topnav .icon:hover {
  color: var(--accent-color);
}


@media screen and (max-width: 768px) {
  .topnav {
    padding: 15px 20px;
    flex-wrap: wrap; /* Permet aux liens de passer en dessous du logo */
  }

  .nav-links {
    display: none; /* Masqué par défaut */
    width: 100%;
    flex-direction: column;
    gap: 0; /* Géré par le padding des liens pour mobile */
    margin-top: 15px;
    border-top: 1px solid #333;
  }

  .topnav .icon {
    display: block; /* Afficher le hamburger */
  }

  .nav-item, .dropbtn {
    width: 100%;
    padding: 15px 10px;
    box-sizing: border-box;
    text-align: left;
  }
  
  .nav-item::after {
    display: none; /* Enlever la ligne animée sur mobile */
  }

  /* Dropdown adaptatif sur mobile */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-content {
    position: static; /* Reste dans le flux vertical */
    box-shadow: none;
    background-color: #202020;
    padding-left: 15px;
  }

  /* Affichage du menu via JavaScript */
  .topnav.responsive .nav-links {
    display: flex;
  }
}
.topnav.responsive .nav-links {
  display: flex !important;
}

/* Force également l'affichage des liens individuels à l'intérieur */
.topnav.responsive .nav-links .nav-item,
.topnav.responsive .nav-links .dropdown {
  display: block !important;
}


/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropbtn {
  background: transparent;
  border: none;
  color: #2B1B17;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  padding: 8px 0;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1;
  top: 100%;
}
.dropdown-content a {
  color: #2B1B17;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
}
.dropdown:hover .dropdown-content {display: block;}
.dropdown-content a:hover {background-color: #F9F6F2;}

/* Hamburger */
.topnav .icon { display: none; font-size: 24px; color: #2B1B17; }

/* === MOBILE === */
@media screen and (max-width: 992px) {
  .topnav .nav-links {display: none;}
  .topnav .icon { display: block; cursor: pointer; }
  
  .topnav.responsive { flex-direction: column; align-items: flex-start; }
  .topnav.responsive .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: 15px;
  }
  .topnav.responsive .nav-item, 
  .topnav.responsive .dropdown {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid #eee;
  }
}

/* SÉCURITÉ RESIZE : Force l'affichage si on ré-agrandit le navigateur */
@media screen and (min-width: 769px) {
  .nav-links {
    display: flex !important;
  }
}

#hero {
  height: 90vh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.carousel-item {
  height: 90vh;
  min-height: 650px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43, 27, 23, 0.65);
  z-index: 1;
}

/* MÉTHODE DU CENTRAGE ABSOLU COMPATIBLE BOOTSTRAP */
.carousel-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Force le centre mathématique de l'écran */
  z-index: 2;
  width: 100%;
  max-width: 850px; /* Largeur max pour vos textes longs */
  padding: 0 20px;
  box-sizing: border-box;
}

.carousel-content {
  width: 100%;
  text-align: center !important;
}

.carousel-content h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
  /* Suppression totale de toutes les marges qui pourraient décaler le texte */
  margin: 0 0 25px 0 !important; 
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
}

.btn-hero {
  background: #C5A880;
  color: #2B1B17;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  display: inline-block;
  margin: 0 auto !important; /* Centre le bouton s'il passe en mode bloc */
  transition: all 0.3s ease;
}

/* Évite que les flèches de Bootstrap ne viennent écraser ou pousser le conteneur */
.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
}

@media screen and (max-width: 768px) {
  #hero, .carousel-item {
    height: 70vh;
    min-height: 500px;
  }
}

.services h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: #2B1B17;
  margin-bottom: 15px;
}
.services p {
  color: #5C3A21;
  font-size: 18px;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.process-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(92, 58, 33, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.process-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(92, 58, 33, 0.15); }

.process-card img { width: 100%; height: 260px; object-fit: cover; }
.process-card .etiquette {
  position: absolute; margin: 15px;
  background: #C5A880; color: #2B1B17; 
  font-weight: 800; font-size: 13px;
  padding: 8px 14px; border-radius: 8px;
}
.process-card .card-body { padding: 28px; flex-grow: 1; }
.process-card .card-body p { color: #5C3A21; font-size: 16px; line-height: 1.8; margin: 0; }

.btn-process {background: #C5A880;
  color: #2B1B17;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  display: inline-block;
  transition: all 0.3s ease;}
  .services {
  padding-top: 60px !important; /* 60px = juste de l’air, pas un trou */
  margin-top: -1px; /* Trick: colle les 2 fonds ensemble */
}.process-detail {
  background: #FFFFFF;
  padding: 50px;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 5px 25px rgba(92, 58, 33, 0.06);
  border: 1px solid rgba(197, 168, 128, 0.15);
}

.step-number {
  background: #C5A880;
  color: #2B1B17;
  font-weight: 800;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 15px;
}

.process-detail h3 {
  font-size: 32px;
  font-weight: 800;
  color: #2B1B17;
  margin-bottom: 15px;
}

.process-detail p {
  color: #5C3A21;
  font-size: 17px;
  line-height: 1.9;
}

/* Zigzag PC, empilé Mobile */
@media screen and (max-width: 992px) {
  .process-detail .order-lg-1, .process-detail .order-lg-2 { order: 0 !important; }
  .process-detail { padding: 30px; }
}
footer {
		padding: 30px 0px 20px 0px;
		background:#1E1412;
		margin-top: 20px;
		color:#fff;
	}
	footer .footer-item {
		border-bottom: 1px solid #fff;
		margin-bottom: 20px;
		padding-bottom: 20px;
	}
	footer .last-item {
		border-bottom: none;
	}
  .container {
  display: flex;
  flex-wrap: wrap;
}

/* Create four equal columns */
.column {
  flex: 25%;
  padding: 20px;
}

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
  .column {
    flex: 50%;
  }
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .container {
    flex-direction: column;
  }
}
.image-rec {
  width: 100%;
  height: auto;
  object-fit: cover;
  
  clip-path: none !important; 
  
  border-radius: 4px; 
}
/* Le conteneur sert de repère spatial */
.image-container {
  position: relative;
  width: 100%;
}

/* L'étiquette se place par-dessus l'image */
.etiquette {
  position: absolute;
  top: 15px;                  /* Distance depuis le haut */
  left: 15px;                 /* Distance depuis la gauche */
  background-color: #c1ab56;  /* Couleur de fond (marron café) */
  color: #ffffff;             /* Couleur du texte */
  padding: 5px 12px;          /* Espacement interne */
  font-size:  15px;         /* Taille du texte */
  font-weight: bold;          /* Texte en gras */
  text-transform: uppercase;  /* Lettres en majuscules */
  border-radius: 4px;         /* Angles arrondis */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Ombre légère */
  z-index: 10;                /* Force l'affichage au premier plan */
}
.serv {
  
  padding: 60px 0; 
  
  
  background-image: url('assets/images/yesc.jpg'); 
  
  
  background-position: center center; 
 
  background-repeat: no-repeat; 
 
  background-size: cover; 
  
  color:#fff;
  font-weight:bold;
}


.groupe-paragraphes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Crée un espace de 24px entre chaque paragraphe */
}
/* Social Icons Container Alignment */
.social-links {
  text-align: center;
}

/* Base style for the social icons */
.social-links a {
  padding: 12px;
  font-size: 20px;
  width: 45px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
  color: white;
  transition: 0.3s;
}

/* Brand Colors */
.social-links .fa-facebook {
  background: #3B5998;
}

.social-links .fa-twitter {
  background: #55ACEE;
}

.social-links .fa-instagram {
  background: #125688;
}

/* Hover Effects */
.social-links a:hover {
  opacity: 0.7;
}

@media screen and (max-width:768px) 
{
.container
{
width:100%;
}
}
 section.cl {
  padding: 60px 0;
  background-color: #FFF;
}

.services   .col-lg-4 pe-2:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

section.cl  .all {
  margin-bottom: 30px;
  transition: all 0.3s ease;
}


section.cl  .col-lg-4 {
  
  border-bottom: 0px solid #e0e0e0;
}


section.cl  .col-lg-6 {
  
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


section.cl  .col-lg-12 {
  
  margin-bottom: 40px;
}
section.cl  .col-lg-4 {
  background-color: #fefefe; /* Teinte légère couleur café */
  
  border-radius: 6px;
  padding: 15px;
}


section.cl  .col-lg-4 .product-item {
  margin-bottom: 20px;
}

section.cl  .col-lg-4 h4 {
  color: #4a2c11; 
  font-size: 1.45rem;
}
//oui
section.cl  .col-lg-4 {
  background-color: #f7fbfb; 

  border-radius: 6px;
  padding: 15px;
}


section.cl  .col-lg-4 h4 {
  color: #1a202c; 
  font-size: 1.45rem;
}
section.cl  .col-lg-4 p {
 
  font-size: 1.05rem;
}
section.cl  .col-lg-6 p {
 
  font-size: 1.05rem;
}
section.cl   .col-lg-4 :hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
section.cl  .col-lg-4 {
  background-color: #fff; 
  color:#2c2520; 
  
  border-radius: 6px;
  padding: 15px;
}


section.cl  .col-lg-4 h4 {
  background-color: #f7f4f0;      
  color: #4a2c11;                 
  font-size: 1.25rem;
  font-weight: 600;
  padding:10px;
  line-height: 1.4;
}


section.cl .grid .col-lg-4.dev:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
//YES

section.cl .grid .col-lg-6.all.gra .product-item {
  background: #ffffff;
  border: 1px solid #edf2f7;
  color:#2c2520;  
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  height: 100%;
  padding: 12px; 
}
.down-content p
{
font-size: 1.05rem;
}

.services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}


.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1e293b; /* Couleur de fond sombre et moderne */
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
}


.nav-item.dropdown .dropdown-menu a {
    color: #ffffff;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}


.nav-item.dropdown .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #c5a880; /* Rappel de votre couleur dorée */
}


.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


.arrow {
    font-size: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

  .regions-card {
    width: 100%; /* Force la carte à prendre toute la largeur de la colonne Flex */
    transition: transform 0.3s ease;
  }
  .regions-card:hover {
    transform: translateY(-5px);
  }
  .image-container {
    width: 100%; 
    height: 350px; 
    margin-bottom: 20px; 
    overflow: hidden; 
    border-radius: 4px;
  }
  .image-container img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease;
  }
  .regions-card:hover .image-container img {
    transform: scale(1.05);
  }
  /* Style du bouton see more */
  .btn-process {
    background-color: #4A3525;
    color: #F7F4F0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  .btn-process:hover {
    background-color: #c5a880;
    color: #2D241E;
    transform: translateX(3px);
  }
  /* Style du bouton see more */
  .btn-process {
    background-color: #4A3525;
    color: #F7F4F0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  .btn-process:hover {
    background-color: #c5a880;
    color: #2D241E;
    transform: translateX(3px);
  }
/* MOBILE: 1 colonne */
@media (max-width: 992px) {
  .region-card-lg, .region-card-sm { height: 300px; }
}
