/* ============================================
   PALETTE DE COULEURS - INDUSTRIELLE & PREMIUM
   ============================================ */

:root {
  /* Couleurs principales */
  --primary-blue: #1e3a5f;      /* Bleu denim profond */
  --primary-blue-light: #2d5a8c; /* Bleu denim clair */
  --primary-blue-lighter: #4a7ba7; /* Bleu denim très clair */
  
  /* Neutres */
  --white: #fafaf8;             /* Blanc cassé */
  --gray-light: #f5f5f3;        /* Gris très clair */
  --gray-medium: #d4d4d0;       /* Gris moyen */
  --gray-dark: #4a4a48;         /* Gris foncé */
  --text-dark: #2a2a28;         /* Texte très foncé */
  
  /* Accents */
  --accent-gold: #d4a574;       /* Or/Cuivre */
  --accent-red: #dc2626;        /* Rouge pour erreurs */
  
  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RÉINITIALISATION & TYPOGRAPHIE DE BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue-light);
}
/* ============================================
   MENU BURGER RESPONSIVE
   ============================================ */

.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger-menu span {
  width: 1.5rem;
  height: 0.25rem;
  background-color: var(--primary-blue);
  border-radius: 0.125rem;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.6rem, 0.6rem);
}

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

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

@media (min-width: 768px) {
  .burger-menu {
    display: none;
  }
}

/* ============================================
   CONTENEUR & GRILLE
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  padding: 1rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.nav-logo-img {
  height: 5rem;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* ============================================
   BOUTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-blue-light);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
/* ============================================
   NAVIGATION AMÉLIORÉE - STYLE DENIM PREMIUM
   Version ultra-optimisée sans scrolling
   ============================================ */

/* Import de Google Fonts - Typographies élégantes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Variables de couleurs inspirées du denim */
:root {
  --denim-blue: #1e3a5f;
  --denim-light: #4a6fa5;
  --denim-dark: #0f1e30;
  --stitch-gold: #d4a574;
  --white: #ffffff;
  --gray-light: #f5f5f3;
}

/* Navigation principale */
nav {
  background: linear-gradient(135deg, var(--denim-dark) 0%, var(--denim-blue) 100%);
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.15);
  padding: 0.7rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--stitch-gold);
}

/* Conteneur de navigation */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 1rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.nav-logo-img:hover {
  transform: scale(1.05);
}

/* Menu de navigation - Ultra compact */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  justify-content: center;
  align-items: center;
}

.nav-links li {
  position: relative;
  flex-shrink: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 6px;
}

/* Effet de trait couture dorée au survol */
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--stitch-gold);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 0 8px var(--stitch-gold);
}

/* Double trait façon couture de jean */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--stitch-gold);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s;
  opacity: 0.6;
}

.nav-links a:hover::before {
  width: 70%;
}

.nav-links a:hover::after {
  width: 70%;
}

/* Effet de fond au survol */
.nav-links a:hover {
  color: var(--stitch-gold);
  background: rgba(212, 165, 116, 0.15);
  transform: translateY(-2px);
}

/* État actif du lien (page/section courante) */
.nav-links a.active {
  color: var(--stitch-gold);
  background: rgba(212, 165, 116, 0.2);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

.nav-links a.active::before {
  width: 70%;
}

.nav-links a.active::after {
  width: 70%;
}

/* Badge Made in Tunisia - Très compact */
.made-in-tunisia {
  flex-shrink: 0;
  padding: 0 0.3rem;
  margin-left: auto;
}

.made-in-tunisia img {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.made-in-tunisia img:hover {
  transform: scale(1.08);
}

/* Sélecteur de langue avec effet couture - Ultra compact */
.lang-selector {
  display: flex;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem;
  border-radius: 6px;
  border: 2px solid var(--stitch-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  margin: 0 0.3rem;
}

.lang-selector button {
  background: transparent;
  border: 2px solid transparent;
  color: var(--white);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-width: 35px;
}

/* Effet de couture sur les boutons de langue */
.lang-selector button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--stitch-gold);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
  opacity: 0.2;
}

.lang-selector button:hover::before {
  width: 100%;
  height: 100%;
}

.lang-selector button:hover {
  color: var(--stitch-gold);
  border-color: var(--stitch-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(212, 165, 116, 0.3);
}

.lang-selector button.active {
  background: var(--stitch-gold);
  color: var(--denim-dark);
  border-color: var(--stitch-gold);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
  font-weight: 700;
}

/* Bouton Contact avec style premium - Ultra compact */
.nav-container .btn-primary {
  background: linear-gradient(135deg, var(--stitch-gold) 0%, #c89960 100%);
  color: var(--denim-dark);
  border: 2px solid var(--stitch-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Effet de brillance au survol */
.nav-container .btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.nav-container .btn-primary:hover::before {
  left: 100%;
}

.nav-container .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
  background: linear-gradient(135deg, #e0b885 0%, var(--stitch-gold) 100%);
}

.nav-container .btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

/* Menu burger avec effet couture */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}

.burger-menu span {
  width: 26px;
  height: 3px;
  background: var(--stitch-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(212, 165, 116, 0.3);
}

.burger-menu:hover span {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* Animation du burger menu */
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

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

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design progressif */
@media (max-width: 1300px) {
  .nav-links a {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .made-in-tunisia img {
    height: 28px;
  }
  
  .lang-selector button {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    min-width: 32px;
  }
  
  .nav-container .btn-primary {
    padding: 0.45rem 1rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 1100px) {
  .nav-links a {
    padding: 0.5rem 0.5rem;
    font-size: 0.7rem;
  }
  
  .made-in-tunisia {
    display: none;
  }
  
  .nav-container {
    gap: 0.3rem;
  }
}

@media (max-width: 900px) {
  .burger-menu {
    display: flex;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(135deg, var(--denim-dark) 0%, var(--denim-blue) 100%);
    padding: 1.5rem;
    gap: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--stitch-gold);
    z-index: 1000;
  }
  
  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
  }
  
  .nav-links li:last-child {
    border-bottom: none;
  }
  
  .nav-links a {
    padding: 1rem;
    width: 100%;
    font-size: 0.95rem;
  }
  
  .lang-selector,
  .nav-container .btn-primary {
    display: none;
  }
}

/* Animation d'apparition au chargement */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

nav {
  animation: slideDown 0.6s ease-out;
}

/* Effet de texture denim subtile */
nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  pointer-events: none;
  opacity: 0.5;
}
/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

.section-bg-light {
  background-color: var(--gray-light);
}

.section-bg-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.section-bg-primary h2,
.section-bg-primary h3,
.section-bg-primary h4,
.section-bg-primary p {
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text .highlight {
  color: var(--primary-blue);
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--gray-dark);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hero-image {
  position: relative;
  height: 400px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
}

/* ============================================
   CARTES (CARDS)
   ============================================ */

.card {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-blue);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
}

/* ============================================
   PRODUITS
   ============================================ */

.product-card {
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  height: 250px;
  background-color: var(--gray-light);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.product-info p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ============================================
   PROCESSUS
   ============================================ */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--gray-dark);
}

.process-image {
  position: relative;
  height: 400px;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
}

/* ============================================
   TÉMOIGNAGES
   ============================================ */

.testimonial-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--gray-light);
}

.stars {
  color: var(--primary-blue);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-dark);
}

.testimonial-author {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/* Styles pour les cartes de departements */
.dept-card {
  cursor: pointer;
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   SELECTEUR DE LANGUE
   ============================================ */

.lang-selector {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-selector button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-medium);
  background-color: transparent;
  color: var(--text-dark);
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-selector button:hover {
  background-color: var(--gray-light);
}

.lang-selector button.active {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* Support RTL pour l'arabe */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .nav-container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content {
  direction: rtl;
}

html[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
}

html[dir="rtl"] .step {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  /*background-color: var(--gray-light);*/
  border-top: 1px solid var(--gray-light);
  padding: 3rem 0 1rem;

}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul a {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

.footer-section ul a:hover {
  color: var(--primary-blue);
}

.footer-section p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-medium);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-dark);
  font-size: 0.875rem;
}

/* ============================================
   TEXTE & UTILITAIRES
   ============================================ */

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

.text-accent {
  color: var(--primary-blue);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-lg {
    width: 100%;
  }
}
/*  style processus */

    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap');

    body {
      font-family: "Poppins", sans-serif;
      background-color: #fff;
      color: #333;
      margin: 0;
      padding: 0;
    }

    section.timeline {
      width: 85%;
      max-width: 1000px;
      margin: 80px auto;
      position: relative;
      padding-left: 25px;
    }

    h2 {
      text-align: center;
      margin-bottom: 60px;
      font-weight: 600;
      color: #2d2d2d;
      letter-spacing: 1px;
    }

    .timeline::before {
      content: "";
      position: absolute;
      top: 0;
      left: 30px;
      width: 3px;
      height: 100%;
      background: repeating-linear-gradient(
        to bottom,
        #d4af37 0px,
        #d4af37 4px,
        transparent 4px,
        transparent 8px
      );
    }

    .step {
      position: relative;
      margin-bottom: 60px;
      padding-left: 80px;
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease;
    }

    .step.active {
      opacity: 1;
      transform: translateY(0);
    }

    .dot {
      position: absolute;
      top: 10px;
      left: 18px;
      width: 26px;
      height: 26px;
      background-color: #d4af37;
      border-radius: 50%;
      box-shadow: 0 0 0 4px rgba(212,175,55,0.3);
    }

    .content {
      background: #ffffff;
      border-radius: 14px;
      padding: 20px 22px 24px 22px;
      position: relative;
      overflow: hidden;
      border: 2px dashed #d4af37;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .content img {
      width: 100%;
      height: 230px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 12px;
      transition: transform 0.5s ease;
      border: 2px solid #f4e1a1;
      background-color: #f7f7f7;
    }

    .content img:hover {
      transform: scale(1.05);
    }

    .content h3 {
      margin-top: 0;
      color: #d4af37;
      font-size: 1.2em;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .content h3 .icon {
      background: #d4af37;
      color: #fff;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1em;
      margin-left: 10px;
      flex-shrink: 0;
      border: 2px solid #fff3c6;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .content p {
      line-height: 1.6;
      margin-bottom: 0;
      color: #444;
    }

    @media (max-width: 650px) {
      .timeline::before {
        left: 15px;
      }
      .step {
        padding-left: 60px;
      }
      .dot {
        left: 5px;
      }
      .content img {
        height: 160px;
      }
      .content h3 {
        flex-direction: column;
        align-items: flex-start;
      }
      .content h3 .icon {
        margin-top: 8px;
      }
    }

/* Menu Mobile */
.nav-links.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 1rem;
  gap: 0.5rem;
  z-index: 40;
}

.nav-links.mobile-active li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.nav-links.mobile-active li:last-child {
  border-bottom: none;
}


.hero-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  background: url('../images/jeans-4674354_1280.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-banner .hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem 3rem;
  background: rgba(255, 255, 255, 0.25); /* fond semi-transparent */
  backdrop-filter: blur(6px); /* effet verre dépoli */
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.hero-banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-banner p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff;
}



.atelier-content {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: auto;
}
.atelier-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
  margin-bottom: 3rem;
}
.atelier-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.atelier-section h2 {
  color: #1d3557;
  border-left: 4px solid #1d3557;
  padding-left: 0.75rem;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.atelier-section p, .atelier-section li {
  color: #333;
  line-height: 1.8;
  font-size: 1.05rem;
}
.atelier-image {
  width: 100%;
  max-width: 1000px;
  margin: 2.5rem auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 1.2s ease;
}
.atelier-image:hover {
  transform: scale(1.03);
}


/* ========================================== */
/* BADGE MADE IN TUNISIA - SANS FOND         */
/* Header + Footer                           */
/* ========================================== */

/* ========================================== */
/* BADGE DANS LE HEADER                      */
/* ========================================== */

.made-in-tunisia {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 1rem;
  background: none; /* Pas de fond */
  padding: 0; /* Pas de padding */
}

.made-in-tunisia img {
  height: 50px;
  width: auto;
  background: none; /* Pas de fond sur l'image */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.made-in-tunisia img:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Espace uniforme entre tous les éléments */
}


/* ========================================== */
/* BADGE DANS LE FOOTER                      */
/* ========================================== */

.footer-tunisia-centered {
  text-align: center;
  padding: 2rem 0 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  background: none; /* Pas de fond */
}

.footer-tunisia-centered img {
  width: 200px;
  height: auto;
  opacity: 0.95;
  background: none; /* Pas de fond sur l'image */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-tunisia-centered img:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* ========================================== */
/* RESPONSIVE                                */
/* ========================================== */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
  /* Header */
  .made-in-tunisia {
    margin-right: 0.5rem;
  }
  
  .made-in-tunisia img {
    height: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header - Masquer sur mobile */
  .made-in-tunisia {
    display: none;
  }
  
  /* Footer - Réduire la taille */
  .footer-tunisia-centered {
    padding: 1.5rem 0 1rem 0;
  }
  
  .footer-tunisia-centered img {
    width: 160px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .footer-tunisia-centered img {
    width: 140px;
  }
}