/* CSS spécifique à la page d'accueil */

/* Styles pour les sections */
.section {
  padding: 80px 0;
}

.section-content {
  display: flex;
  align-items: center;
}

.hero-section .section-content {
  gap: 15px;
}

.expertise-section .section-content {
  gap: 80px;
}

.section-left,
.section-right {
  flex: 1;
}

.expertise-section .section-right {
  text-align: right;
}

.hero-image {
  width: 100%;
  height: auto;
}

/* Styles pour les blocs statistiques */
.stats-container {
  display: flex;
  max-width: 450px;
}

.stat-block {
  flex: 1;
  text-align: center;
  padding: 0 25px;
  border-right: 1px solid #FFF;
}

.stat-block:last-child {
  border-right: none;
}

.stat-block:first-child {
  padding-left: 0;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #FFF;
}

/* Styles pour les blocs mission/vision */
.info-blocks {
  display: flex;
  gap: 24px;
}

.info-block {
  flex: 1;
}

.info-block h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #000;
}

.info-block p {
  color: #302D32;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

/* Header */
.header {
  background-color: white;
  border-bottom: 1px solid #ECECEC;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
}

.header-nav-section {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  text-decoration: none;
}

.nav-tabs {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-tabs li a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-tabs li a:hover {
  color: #6E08A7;
}

.nav-tabs li a.active {
  color: #6E08A7;
  border-bottom: 2px solid #6E08A7;
  padding-bottom: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language dropdown sections */
.desktop-language-dropdown {
  display: block;
}

.mobile-language-item {
  display: none;
}

.mobile-menu-language {
  margin-top: 20px;
}

/* Première section - Hero */
.hero-section {
  background-color: #6E08A7;
  color: white;
  padding: 66px 0;
}

.hero-title {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 72px;
}

.highlight-halal {
  color: #EBE42B;
  position: relative;
  display: inline-block;
}

.underline-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 56px;
}

.expertise-section .section-title {
  font-size: 40px;
}

.section-description {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 40px;
  color: #000;
  line-height: 32px;
}

/* Deuxième section - Expertise */
.expertise-section {
  background-color: white;
  padding: 100px 0;
}

.expertise-title {
  color: #000;
}

.expertise-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive pour la page d'accueil */

/* Styles pour écrans moyens (tablettes) */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Container et espacement */
  .container {
    padding: 0 40px;
  }
  
  /* Header tablette */
  .header-content {
    padding: 16px 0;
  }
  
  .header-nav-section {
    gap: 20px;
  }
  
  .nav-tabs {
    gap: 24px;
  }
  
  .nav-tabs li a {
    font-size: 15px;
    padding: 8px 12px;
    transition: all 0.3s ease;
  }
  
  .nav-tabs li a:hover {
    background-color: rgba(110, 8, 167, 0.1);
  }
  
  /* Optimisations tactiles pour les boutons */
  .btn {
    min-height: 44px;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  /* Optimisations pour les cartes interactives */
  .service-card,
  .product-card {
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .service-card:hover,
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  
  /* Optimisations pour les liens de service sur tablette */
  .service-link {
    cursor: pointer;
  }
  
  .service-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  
  /* Amélioration de la lisibilité */
  .hero-description,
  .section-description,
  .services-description,
  .tayyib-description,
  .tayyibtrusted-description,
  .certifications-description,
  .stats-description,
  .network-description {
    line-height: 1.6;
  }
  
  /* Section Hero tablette */
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 16px;
  }
  
  .hero-description {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 32px;
  }
  
  .hero-buttons {
    gap: 20px;
    margin-bottom: 32px;
  }
  
  .hero-buttons .btn {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .stats-container {
    max-width: 400px;
  }
  
  .stat-block {
    padding: 0 20px;
  }
  
  .stat-number {
    font-size: 22px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  /* Section Expertise tablette */
  .expertise-section {
    padding: 80px 0;
  }
  
  .expertise-section .section-content {
    gap: 60px;
  }
  
  .section-title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .section-description {
    font-size: 18px;
    line-height: 28px;
  }
  
  .info-blocks {
    gap: 20px;
  }
  
  .info-block h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .info-block p {
    font-size: 14px;
    line-height: 22px;
  }
  
  .expertise-image {
    max-width: 400px;
  }
  
  /* Section Services tablette */
  .services-section {
    padding: 80px 0 60px 0;
  }
  
  .services-title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .services-description {
    font-size: 18px;
    line-height: 28px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .service-card {
    padding: 28px;
  }
  
  .service-icon img {
    width: 56px;
    height: 56px;
  }
  
  .service-name {
    font-size: 15px;
    line-height: 22px;
  }
  
  .service-card .service-description {
    font-size: 13px;
    line-height: 20px;
  }
  
  /* Section Tayyib+ tablette */
  .tayyib-section {
    padding: 80px 0;
  }
  
  .tayyib-title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .tayyib-description {
    font-size: 18px;
    line-height: 28px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .product-card {
    padding: 16px;
  }
  
  .product-image img {
    height: 180px;
  }
  
  .product-name {
    font-size: 15px;
    line-height: 22px;
  }
  
  .product-description {
    font-size: 13px;
    line-height: 20px;
  }
  
  /* Section TayyibTrusted tablette */
  .tayyibtrusted-section {
    padding: 80px 0;
  }
  
  .tayyibtrusted-title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .tayyibtrusted-description {
    font-size: 18px;
    line-height: 28px;
  }
  
  /* Section Certifications tablette */
  .certifications-section {
    padding: 80px 0;
  }
  
  .certifications-title,
  .stats-title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .certifications-description,
  .stats-description {
    font-size: 18px;
    line-height: 28px;
  }
  
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
  }
  
  .certification-block {
    padding: 20px;
  }
  
  .certification-title {
    font-size: 15px;
    line-height: 22px;
  }
  
  .certification-description {
    font-size: 13px;
    line-height: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-block-purple {
    padding: 32px 24px;
  }
  
  .stat-number-purple {
    font-size: 32px;
    line-height: 40px;
  }
  
  .stat-label-purple {
    font-size: 13px;
    line-height: 20px;
  }
  
  /* Section Réseau tablette */
  .network-section {
    padding: 80px 0;
  }
  
  .network-title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .network-description {
    font-size: 18px;
    line-height: 28px;
  }
  
  .network-header {
    margin-bottom: 50px;
  }
  
  .map-container {
    height: 450px;
    max-width: 900px;
  }
  
  /* Optimisations pour la carte interactive sur tablette */
  .leaflet-container {
    border-radius: 12px;
  }
  
  .leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .leaflet-popup-content {
    margin: 16px 20px;
    font-size: 15px;
    line-height: 1.5;
  }
  
  .custom-popup h3 {
    font-size: 17px;
    margin-bottom: 10px;
  }
  
  .custom-popup p {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .custom-popup .partner-count {
    font-size: 15px;
    font-weight: 600;
  }
  
  /* Footer tablette */
  .footer {
    padding: 60px 0;
  }
  
  .footer-content {
    margin-bottom: 32px;
  }
  
  .footer-blocks {
    gap: 50px;
  }
  
  .footer-block-title {
    font-size: 15px;
    margin-bottom: 18px;
  }
  
  .footer-links li,
  .footer-links li a {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .footer-contacts li {
    margin-bottom: 14px;
  }
  
  .footer-contacts li span {
    font-size: 13px;
  }
  
  .copyright {
    font-size: 13px;
  }
  
  /* Optimisations pour les badges sur tablette */
  .badge {
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 13px;
    transition: all 0.3s ease;
  }
  
  .badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .badge-icon {
    width: 16px;
    height: 16px;
  }
  
  /* Optimisations pour les étoiles de notation */
  .stars {
    gap: 3px;
  }
  
  .star {
    font-size: 18px;
  }
  
  .rating-score {
    font-size: 13px;
  }
  
  .rating-count {
    font-size: 12px;
  }
  
  /* Optimisations pour les statistiques */
  .stat-block,
  .stat-block-purple {
    transition: all 0.3s ease;
  }
  
  .stat-block:hover,
  .stat-block-purple:hover {
    transform: scale(1.02);
  }
  
  /* Amélioration de l'espacement pour une meilleure lisibilité */
  .section {
    padding: 80px 0;
  }
  
  .section-content {
    gap: 60px;
  }
  
  /* Optimisations pour les images */
  .hero-image,
  .expertise-image {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .container {
    padding: 0 40px;
  }
}

/* Responsive pour la page d'accueil */
@media (max-width: 768px) {
  .section-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-block {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .info-blocks {
    flex-direction: column;
    gap: 20px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .header-nav-section {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-tabs {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-tabs li {
    margin-bottom: 10px;
  }
  
  .mobile-language-item {
    margin-top: 10px;
    width: 100%;
    text-align: left;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-section,
  .expertise-section {
    padding: 60px 0;
  }
}

/* Troisième section - Services */
.services-section {
  background-image: url(/assets/bg-services-ffe63fa91ce34dc177b3d2da7cf81e380ec100944db6ce370772451df4d75ae5.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 52px 0;
  color: white;
}

.services-header {
  text-align: center;
  margin-bottom: 28px;
}

.services-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 56px;
  color: white;
}

.services-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #ECECEC;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Styles pour les liens de service */
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.service-link:focus {
  outline: 2px solid #6E08A7;
  outline-offset: 2px;
}

/* Amélioration de l'accessibilité pour les liens de service */
.service-link:active {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Indicateur visuel pour les liens */
.service-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(110, 8, 167, 0.05) 0%, rgba(110, 8, 167, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 8px;
}

.service-link:hover::after {
  opacity: 1;
}

.service-icon {
  margin-bottom: 8px;
}

.service-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.service-name {
  font-size: 16px;
  font-weight: 600;
  color: #201E21;
  margin-bottom: 8px;
  line-height: 24px;
}

.service-card .service-description {
  font-size: 12px;
  font-weight: 400;
  color: #302D32;
  line-height: 20px;
}

/* Responsive pour la section services */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .service-card {
    padding: 28px;
  }
  
  .service-icon img {
    width: 56px;
    height: 56px;
  }
  
  .service-name {
    font-size: 15px;
    line-height: 22px;
  }
  
  .service-card .service-description {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }
  
  .services-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .services-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 32px 24px;
  }
}

/* Quatrième section - Tayyib+ */
.tayyib-section {
  background-color: white;
  padding: 100px 0;
}

.tayyib-header {
  text-align: center;
  margin-bottom: 50px;
}

.tayyib-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 56px;
  color: #000;
}

.tayyib-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #302D32;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  border: 1px solid #DADEE0;
  border-radius: 8px;
  padding: 12px;
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 400;
}

.badge-purple {
  background-color: #F1E6F6;
  color: #6E08A7;
}

.badge-green {
  background-color: #E6F9EF;
  color: #201E21;
}

.badge-label {
  font-size: 12px;
  font-weight: 400;
}

.product-image {
  margin-bottom: 8px;
}

.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #008F4A;
  font-size: 16px;
}

.rating-score {
  font-size: 12px;
  font-weight: 600;
  color: #201E21;
}

.rating-count {
  font-size: 12px;
  font-weight: 400;
  color: #706D72;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: #201E21;
  line-height: 24px;
}

.product-description {
  font-size: 12px;
  font-weight: 400;
  color: #302D32;
  line-height: 20px;
}

/* Responsive pour la section Tayyib+ */
@media (min-width: 769px) and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .product-card {
    padding: 16px;
  }
  
  .product-image img {
    height: 180px;
  }
  
  .product-name {
    font-size: 15px;
    line-height: 22px;
  }
  
  .product-description {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .tayyib-section {
    padding: 60px 0;
  }
  
  .tayyib-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .tayyib-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card {
    padding: 20px;
  }
  
  .product-image img {
    height: 160px;
  }
}

/* Cinquième section - TayyibTrusted */
.tayyibtrusted-section {
  background-color: white;
  padding: 100px 0;
}

.tayyibtrusted-header {
  text-align: center;
  margin-bottom: 50px;
}

.tayyibtrusted-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 56px;
  color: #000;
}

.tayyibtrusted-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #302D32;
}

/* Responsive pour la section TayyibTrusted */
@media (max-width: 768px) {
  .tayyibtrusted-section {
    padding: 60px 0;
  }
  
  .tayyibtrusted-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .tayyibtrusted-description {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Sixième section - Certifications & Chiffres */
.certifications-section {
  background-image: url(/assets/bg-certificates-4e6fb2a28b1f6ac606243559742b191f36ec7471a2a426060385a1309f131c44.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  color: #201E21;
}

/* Section Certifications */
.certifications-header {
  text-align: center;
  margin-bottom: 72px;
}

.certifications-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 56px;
  color: #000;
}

.certifications-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #302D32;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 84px;
}

.certification-block {
  text-align: center;
  background: transparent;
  border: none;
}

.certification-icon {
  margin-bottom: 8px;
}

.certification-title {
  font-size: 16px;
  font-weight: 600;
  color: #201E21;
  margin-bottom: 8px;
  line-height: 24px;
}

.certification-description {
  font-size: 12px;
  font-weight: 400;
  color: #302D32;
  line-height: 20px;
}

/* Section Chiffres */
.stats-header {
  text-align: center;
  margin-bottom: 72px;
}

.stats-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 56px;
  color: #000;
}

.stats-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #302D32;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-block-purple {
  background-color: #6E08A7;
  border: 1px solid #ECECEC;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: white;
}

.stat-number-purple {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 48px;
  color: white;
}

.stat-label-purple {
  font-size: 12px;
  font-weight: 600;
  color: white;
  line-height: 20px;
}

/* Responsive pour la section Certifications */
@media (min-width: 769px) and (max-width: 1024px) {
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .certification-block {
    padding: 20px;
  }
  
  .certification-title {
    font-size: 15px;
    line-height: 22px;
  }
  
  .certification-description {
    font-size: 13px;
    line-height: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-block-purple {
    padding: 32px 24px;
  }
  
  .stat-number-purple {
    font-size: 32px;
    line-height: 40px;
  }
  
  .stat-label-purple {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .certifications-section {
    padding: 60px 0;
  }
  
  .certifications-title,
  .stats-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .certifications-description,
  .stats-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-block-purple {
    padding: 32px 20px;
  }
  
  .stat-number-purple {
    font-size: 28px;
    line-height: 36px;
  }
}

/* Section Partenaires */
.partners-section {
  background-color: white;
  padding: 100px 0;
}

.partners-header {
  text-align: center;
  margin-bottom: 60px;
}

.partners-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 56px;
  color: #000;
}

.partners-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #302D32;
}

.partners-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
  background-color: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #F5F5F5;
}

.partner-logo:hover {
  transform: translateY(-4px);
}

.partner-logo img {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive pour la section Partenaires */
@media (min-width: 769px) and (max-width: 1024px) {
  .partners-section {
    padding: 80px 0;
  }
  
  .partners-title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .partners-description {
    font-size: 18px;
    line-height: 28px;
  }
  
  .partners-header {
    margin-bottom: 50px;
  }
  
  .partner-logo {
    width: 100px;
    height: 70px;
  }
  
  .partner-logo img {
    max-width: 70px;
    max-height: 45px;
  }
  
  .partners-track {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 60px 0;
  }
  
  .partners-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .partners-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .partners-header {
    margin-bottom: 40px;
  }
  
  .partner-logo {
    width: 80px;
    height: 60px;
  }
  
  .partner-logo img {
    max-width: 60px;
    max-height: 40px;
  }
  
  .partners-track {
    gap: 40px;
    animation-duration: 20s;
  }
}

/* Septième section - Réseau mondial */
.network-section {
  background-color: transparent;
  padding: 100px 0;
}

.network-header {
  text-align: center;
  margin-bottom: 60px;
}

.network-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 56px;
  color: #000;
}

.network-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #302D32;
}

.network-map {
  text-align: center;
}

.map-container {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Styles pour Leaflet */
.leaflet-container {
  font-family: 'Inter', sans-serif;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
  margin: 12px 16px;
  font-size: 14px;
  line-height: 1.4;
}

.leaflet-popup-tip {
  background: white;
}

.custom-popup {
  text-align: center;
}

.custom-popup h3 {
  color: #6E08A7;
  font-weight: 600;
  margin: 0 0 8px 0;
  font-size: 16px;
}

.custom-popup p {
  margin: 0;
  color: #302D32;
  font-size: 14px;
}

.custom-popup .partner-count {
  font-weight: 600;
  color: #6E08A7;
}

/* Responsive pour la section Réseau */
@media (max-width: 768px) {
  .network-section {
    padding: 60px 0;
  }
  
  .network-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .network-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .network-header {
    margin-bottom: 40px;
  }
}

/* Footer */
.footer {
  background-image: url(/assets/bg-footer-82be0078712301466f7222e5db49ebc0e53943876848e23d5ea097a821b1e111.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 52px 0;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.footer-logo {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.footer-blocks {
  display: flex;
  gap: 60px;
}

.footer-block {
  flex: 1;
}

.footer-block-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

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

.footer-links li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  opacity: 0.7;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: white;
}

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

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-contacts li span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 0 10px 0;
}

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

.copyright {
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 0;
}

/* Responsive pour le Footer */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-blocks {
    gap: 50px;
  }
  
  .footer-block-title {
    font-size: 15px;
    margin-bottom: 18px;
  }
  
  .footer-links li,
  .footer-links li a {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .footer-contacts li {
    margin-bottom: 14px;
  }
  
  .footer-contacts li span {
    font-size: 13px;
  }
  
  .copyright {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .footer-blocks {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-blocks {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }
  
  .footer-block {
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Styles pour le menu mobile */
.hamburger-menu {
  display: none;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #201E21;
  transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Menu mobile overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  transition: left 0.3s ease;
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ECECEC;
}

.mobile-logo img {
  height: 32px;
  width: auto;
}

.close-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 32px;
  height: 32px;
}

.close-line {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #201E21;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
  flex: 1;
}

.mobile-nav-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-tabs li {
  margin-bottom: 0;
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  color: #201E21;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #F5F5F5;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #6E08A7;
}

.mobile-nav-link.active {
  color: #6E08A7;
  border-bottom: 2px solid #6E08A7;
}

.mobile-menu-actions {
  padding-top: 20px;
  border-top: 1px solid #ECECEC;
}

.mobile-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* Responsive mobile amélioré */
@media (max-width: 768px) {
  /* Marges latérales pour mobile */
  .container {
    padding: 0 20px;
  }
  
  /* Header mobile */
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  
  .header-nav-section {
    display: none;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  /* Language dropdown mobile visibility */
  .desktop-language-dropdown {
    display: none;
  }
  
  .mobile-language-item {
    display: block;
  }
  
  /* Styles pour le dropdown de langue sur mobile - dans la navigation */
  .mobile-language-item .header-dropdown {
    display: inline-block;
  }
  
  .mobile-language-item .dropdown-btn {
    background-color: #F8F9FA;
    border: 1px solid #ECECEC;
    padding: 8px 12px;
    font-size: 14px;
    min-width: 60px;
    justify-content: center;
    border-radius: 6px;
  }
  
  .mobile-language-item .dropdown-menu {
    right: auto;
    left: 0;
    transform: translateY(-10px);
    min-width: 80px;
  }
  
  .mobile-language-item .dropdown-menu.active {
    transform: translateY(0);
  }
  
  .mobile-menu-language-item {
    border-bottom: 1px solid #F5F5F5;
    padding: 16px 0;
    text-align: left;
  }
  
  .mobile-menu-language .header-dropdown {
    display: inline-block;
  }
  
  .mobile-menu-language .dropdown-btn {
    background-color: #F8F9FA;
    border: 1px solid #ECECEC;
    padding: 12px 16px;
    font-size: 16px;
    min-width: 80px;
    justify-content: center;
    color: #201E21;
    border-radius: 8px;
  }
  
  .mobile-menu-language .dropdown-menu {
    right: auto;
    left: 0;
    transform: translateY(-10px);
    min-width: 100px;
  }
  
  .mobile-menu-language .dropdown-menu.active {
    transform: translateY(0);
  }
  
  /* Sections mobile optimisées */
  .hero-section {
    padding: 40px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero-title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 16px;
  }
  
  .hero-description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }
  
  .stats-container {
    flex-direction: row;
    gap: 16px;
    margin-top: 40px;
  }
  
  .stat-block {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    padding: 0 8px;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  /* Section Expertise mobile */
  .expertise-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .section-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  /* Section Services mobile */
  .services-section {
    padding: 60px 0;
  }
  
  .services-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .services-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    padding: 24px;
  }
  
  /* Optimisations pour les liens de service sur mobile */
  .service-link {
    cursor: pointer;
  }
  
  .service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Section Tayyib+ mobile */
  .tayyib-section {
    padding: 60px 0;
  }
  
  .tayyib-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .tayyib-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .product-card {
    padding: 16px;
  }
  
  .product-image img {
    height: 160px;
  }
  
  /* Section TayyibTrusted mobile */
  .tayyibtrusted-section {
    padding: 60px 0;
  }
  
  .tayyibtrusted-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .tayyibtrusted-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  /* Section Certifications mobile */
  .certifications-section {
    padding: 60px 0;
  }
  
  .certifications-title,
  .stats-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .certifications-description,
  .stats-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stat-block-purple {
    padding: 24px 16px;
  }
  
  .stat-number-purple {
    font-size: 24px;
    line-height: 32px;
  }
  
  /* Section Réseau mobile */
  .network-section {
    padding: 60px 0;
  }
  
  .network-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .network-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .network-header {
    margin-bottom: 40px;
  }
  
  .map-container {
    height: 400px;
    max-width: 100%;
  }
  
  /* Footer mobile */
  .footer {
    padding: 40px 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
    text-align: center;
  }
  
  .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
  }
  
  .footer-blocks {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  
  .footer-block {
    text-align: center;
  }
  
  .footer-block-title {
    margin-bottom: 16px;
  }
  
  .footer-links li {
    margin-bottom: 8px;
  }
  
  .footer-contacts li {
    margin-bottom: 12px;
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
    gap: 16px;
  }
}

/* Optimisations pour très petits écrans */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 28px;
    line-height: 36px;
  }
  
  .section-title,
  .services-title,
  .tayyib-title,
  .tayyibtrusted-title,
  .certifications-title,
  .stats-title,
  .network-title {
    font-size: 28px;
    line-height: 36px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-menu-content {
    width: 90%;
  }
  
  .map-container {
    height: 300px;
  }
}
