/* ============================== */
/* STYLE.CSS - COTUD QUINCAILLERIE */
/* Version moderne avec améliorations */
/* ============================== */

:root {
  /* Couleurs principales */
  --primary: #2563eb;       /* Bleu vif moderne */
  --primary-dark: #1d4ed8;
  --secondary: #10b981;     /* Émeraude */
  --accent: #8b5cf6;        /* Violet */
  --blue: #0d5596;          /* Bleu original */
  --green: #6aa00b;         /* Vert original */
  --green-contrast: #ffffff;
  --muted: #666;
  
  /* Neutres */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Effets */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 6px 18px rgba(13, 85, 150, 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* Arrondis */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Dimensions */
  --max-width: 1100px;
  --max-width-large: 1400px;
  --max-width-xl: 1600px;
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fff;
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

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

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

#site-logo {
  height: 64px;
  width: auto;
}

/* Navigation principale */
.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  position: relative;
}

.site-nav a:not(.cta):hover {
  color: var(--primary);
  background: var(--gray-50);
}

.site-nav a.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

.site-nav a.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-lg);
}

.site-nav a.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Menu mobile */
#nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-700);
  padding: 0.5rem;
}

/* Skip link pour accessibilité */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  left: 0;
  top: 0;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.03) 0%, 
    rgba(16, 185, 129, 0.03) 100%);
  padding: 5rem 0;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  z-index: 0;
}

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

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-features li {
  margin-bottom: 0.5rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-features li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: bold;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  max-width: 850px;
  height: auto;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

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

.btn.outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

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

/* ===== SECTIONS COMMUNES ===== */
section {
  padding: 5rem 0;
  margin-bottom: 2rem;
}

section:last-child {
  margin-bottom: 0;
}

section:nth-child(even) {
  background: var(--gray-50);
}

/* ===== SERVICES ===== */
.services {
  padding: 5rem 0;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.02) 0%, 
    rgba(16, 185, 129, 0.02) 100%);
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.service-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.service-card:hover .service-tag {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* ===== PAGE SERVICES ===== */
.services-page {
  padding: 5rem 0;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.02) 0%, 
    rgba(16, 185, 129, 0.02) 100%);
  min-height: 60vh;
}

.services-page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-page-header h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-page-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.services-cta p {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.services-cta .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* ===== CARTES (pour compatibilité) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: white;
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleY(1);
}

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

/* ===== À PROPOS ===== */
.about {
  padding: 5rem 0;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.02) 0%, 
    rgba(16, 185, 129, 0.02) 100%);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-intro {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.about-feature {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.about-feature:nth-child(1) {
  animation-delay: 0.1s;
}

.about-feature:nth-child(2) {
  animation-delay: 0.2s;
}

.about-feature:nth-child(3) {
  animation-delay: 0.3s;
}

.about-feature:nth-child(4) {
  animation-delay: 0.4s;
}

.about-feature:nth-child(5) {
  animation-delay: 0.5s;
}

.about-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-feature:hover::before {
  transform: scaleX(1);
}

.about-feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.about-feature:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.about-feature h3 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-feature p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Styles pour les heures de travail dans les cartes about-feature */
.about-feature .hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  text-align: left;
}

.about-feature .hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.about-feature .hours-item:hover {
  background: var(--gray-100);
  transform: translateX(5px);
}

.about-feature .hours-day {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.9rem;
}

.about-feature .hours-time {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.about-feature .hours-time.closed {
  color: var(--gray-500);
  font-style: italic;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.hours-item:hover {
  background: var(--gray-100);
  transform: translateX(5px);
}

.hours-day {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.hours-time {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.hours-time.closed {
  color: var(--gray-500);
  font-style: italic;
}

.about-cta {
  text-align: center;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.about-cta .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* ===== STATISTIQUES / CHIFFRES CLÉS ===== */
.stats {
  padding: 5rem 0;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.03) 0%, 
    rgba(16, 185, 129, 0.03) 100%);
}

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

.stat-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--primary);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: countUp 1s ease-out forwards;
}

.stat-card:nth-child(1) .stat-number {
  animation-delay: 0.1s;
}

.stat-card:nth-child(2) .stat-number {
  animation-delay: 0.2s;
}

.stat-card:nth-child(3) .stat-number {
  animation-delay: 0.3s;
}

.stat-card:nth-child(4) .stat-number {
  animation-delay: 0.4s;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

/* ===== PRODUITS ===== */
.new-products {
  padding: 5rem 0;
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

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

/* Badge "Nouveau" avec animation */
.badge-nouveau {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, var(--secondary), #059669);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  animation: pulseBadge 2s ease-in-out infinite, slideInBadge 0.6s ease-out;
  transform-origin: center;
}

@keyframes slideInBadge {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pulseBadge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  }
}

.product-card:hover .badge-nouveau {
  animation: pulseBadge 1s ease-in-out infinite, bounceBadge 0.5s ease-out;
}

@keyframes bounceBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.product-card h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.product-card .reference {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.product-card .marque {
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
}

.nouveau {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Formulaire de recherche produits */
.search-form {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  align-items: center;
}

.search-form input,
.search-form select {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.products-count {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 1rem 0;
}

/* Détail produit */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.product-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-info {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

/* ===== MARQUES ===== */
/* Contrôles de filtrage */
.brands-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.brands-filter {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#brandSearch, #brandSort {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

#brandSearch {
  min-width: 250px;
}

#brandSearch:focus, #brandSort:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.brands-count {
  color: var(--gray-800);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Liste des marques */
.brands-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.brand-card {
  background: white;
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.brand-card:hover::before {
  transform: scaleX(1);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.brand-link {
  display: block;
  margin-bottom: 1.5rem;
}

.brand-card img {
  max-width: 180px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(20%);
  margin: 0 auto;
}

.brand-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.brand-name {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.brand-name a {
  color: inherit;
  text-decoration: none;
}

.brand-name a:hover {
  color: var(--primary);
}

.brand-description {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Logo partenaires sur page d'accueil - Animation file indienne */
.brands-section {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  margin: 2rem 0;
}

.brands-grid-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.brands-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 1rem 0;
  width: max-content;
  animation: scrollBrands 30s linear infinite;
  will-change: transform;
}

.brands-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  flex-shrink: 0;
  min-width: 150px;
}

.brands-grid a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  position: relative;
}

.brands-grid img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.brands-grid a:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Animation de défilement continu (file indienne) */
@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause l'animation au survol */
.brands-section:hover .brands-grid {
  animation-play-state: paused;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 1rem;
}

.pagination-link {
  padding: 0.5rem 1.25rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.pagination-info {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Message "aucun résultat" */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--gray-500);
  font-size: 1.1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Formulaire */
form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin-bottom: 1rem;
  color: var(--gray-700);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Carte */
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 300px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Coordonnées */
.coordinates {
  margin-top: 2rem;
}

.coordinates p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coordinates a {
  color: var(--primary);
  text-decoration: none;
}

.coordinates a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: white;
}

.site-footer .copyright {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* État de chargement */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== ACCESSIBILITÉ ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible pour navigation clavier */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ===== DÉTAIL PRODUIT ===== */
.breadcrumb {
    margin-bottom: 2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--gray-700);
    font-weight: 600;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

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

/* Section image */
.product-image-section {
    position: relative;
}

.product-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 1rem;
}

.product-image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.new {
    background: var(--secondary);
    color: white;
}

/* Section informations */
.product-title {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-meta {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    margin-bottom: 0.75rem;
    align-items: center;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: var(--gray-700);
    min-width: 100px;
}

.meta-value {
    color: var(--gray-800);
}

.product-description {
    margin-bottom: 2rem;
}

.product-description h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.product-description p {
    line-height: 1.6;
    color: var(--gray-700);
}

.product-documentation {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f0f7ff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.product-documentation h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== SECTION DEVIS ===== */
.quote-section {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    margin: 3rem 0;
    padding: 0;
    overflow: hidden;
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.quote-header h2 {
    color: var(--primary);
    margin: 0;
    font-size: 1.5rem;
}

.close-quote {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-quote:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.quote-form {
    padding: 2rem;
}

.product-quote-summary {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.product-quote-summary h4 {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.product-quote-summary p {
    margin: 0;
    color: var(--gray-800);
}

/* Contrôle de quantité */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 200px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-300);
    background: white;
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-input {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== FORMULAIRES ===== */
.form-group {
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Correction pour le champ téléphone */
.phone-input {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.phone-prefix {
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

.phone-input input {
    flex: 1;
    border: 2px solid var(--gray-300);
    border-left: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    width: 100%;
    box-sizing: border-box;
}

.phone-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    border-left: none;
}

/* Form hint styling */
.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-style: italic;
}

/* Notices et footer */
.form-notice {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary);
}

.notice-icon {
    font-size: 1.2rem;
    color: var(--secondary);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* ===== PRODUITS SIMILAIRES ===== */
.similar-products {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.similar-products h2 {
    color: var(--gray-800);
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .quote-header {
        padding: 1rem;
    }
    
    .quote-form {
        padding: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .quantity-control {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .phone-input {
        flex-direction: column;
    }
    
    .phone-prefix {
        border-radius: var(--radius) var(--radius) 0 0;
        border-right: 2px solid var(--gray-300);
        border-bottom: none;
        width: 100%;
        justify-content: flex-start;
    }
    
    .phone-input input {
        border-radius: 0 0 var(--radius) var(--radius);
        border-left: 2px solid var(--gray-300);
        border-top: none;
    }
}

@media (max-width: 480px) {
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group textarea {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
}

/* ===== RESPONSIVE GÉNÉRAL ===== */
/* ===== TRÈS GRANDS ÉCRANS (TV, Moniteurs 4K) ===== */
@media (min-width: 1920px) {
  .container {
    max-width: var(--max-width-xl);
    padding: 0 2rem;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .about-header h2 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .stats-grid,
  .about-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
  }
}

/* ===== GRANDS ÉCRANS (Desktop large) ===== */
@media (min-width: 1400px) and (max-width: 1919px) {
  .container {
    max-width: var(--max-width-large);
    padding: 0 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* ===== TABLETTES (Portrait et Paysage) ===== */
@media (min-width: 481px) and (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-media {
    order: -1;
  }
  
  .hero-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TABLETTES PORTRAIT ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-media {
    order: -1;
  }
  
  .hero-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TABLETTES ET SMARTPHONES PAYSAGE ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .header-inner {
    padding: 0.75rem 0;
  }
  
  #site-logo {
    height: 48px;
  }
  
  /* Menu mobile */
  #nav-toggle {
    display: block;
    position: relative;
    z-index: 1101;
  }
  
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1000;
  }
  
  .site-nav.open {
    display: flex;
  }
  
  .site-nav a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
    margin-bottom: 1.5rem;
  }
  
  .hero {
    padding: 3rem 0;
    margin-bottom: 1.5rem;
  }

  .hero-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  /* Small phones */
  @media (max-width: 480px) {
    .hero-logo {
      width: 100%;
      max-width: 240px;
      height: auto;
    }
  }
  
  .services,
  .new-products,
  .about,
  .new-products,
  .stats {
    padding: 3rem 0;
    margin-bottom: 1.5rem;
  }
  
  .services-header h2 {
    font-size: 2rem;
  }
  
  .services-subtitle {
    font-size: 1rem;
  }
  
  .services-page-header h1 {
    font-size: 2.25rem;
  }
  
  .services-page-subtitle {
    font-size: 1.1rem;
  }
  
  .services-page-header {
    margin-bottom: 3rem;
  }
  
  .services-cta {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    font-size: 3rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-feature {
    padding: 2rem 1.5rem;
  }
  
  .about-header h2 {
    font-size: 2rem;
  }
  
  .about-intro {
    font-size: 1rem;
  }
  
  .about-feature .hours-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .about-feature .hours-time {
    align-self: flex-end;
  }
  
  /* Marques */
  .brands-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .brands-filter {
    flex-direction: column;
  }
  
  #brandSearch {
    min-width: auto;
    width: 100%;
  }
  
  .brands-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .brand-card {
    padding: 1.5rem;
  }
  
  .brand-card img {
    max-width: 140px;
  }
  
  /* Produits */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Pagination */
  .pagination {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== SMARTPHONES PORTRAIT ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-form input,
  .search-form select,
  .search-form button {
    width: 100%;
  }
  
  .brands-list,
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .services-header h2 {
    font-size: 1.75rem;
  }
  
  .services-page-header h1 {
    font-size: 1.75rem;
  }
  
  .services-page-subtitle {
    font-size: 1rem;
  }
  
  .services-page-header {
    margin-bottom: 2rem;
  }
  
  .services-cta {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }
  
  .services-cta p {
    font-size: 1rem;
  }
  
  .services-grid {
    gap: 1.25rem;
  }
  
  .service-card {
    padding: 1.75rem 1.25rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .brands-section {
    padding: 1rem 0;
  }
  
  .brands-grid-wrapper {
    padding: 0.5rem;
  }
  
  .brands-grid {
    gap: 1.5rem;
  }
  
  .brands-grid a {
    min-width: 100px;
    padding: 0.75rem;
  }
  
  .brands-grid img {
    max-width: 90px;
    max-height: 45px;
  }
  
  .about-feature {
    padding: 1.5rem 1rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .about-feature .hours-item {
    padding: 0.5rem 0.75rem;
  }
  
  .about-feature .hours-day,
  .about-feature .hours-time {
    font-size: 0.9rem;
  }
  
  section {
    padding: 2.5rem 0;
    margin-bottom: 1rem;
  }
  
  .hero {
    padding: 2.5rem 0;
    margin-bottom: 1rem;
  }
  
  .services,
  .new-products,
  .about,
  .stats {
    padding: 2.5rem 0;
    margin-bottom: 1rem;
  }
}

/* ===== TRÈS PETITS ÉCRANS (Smartphones très petits) ===== */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  .about-feature {
    padding: 1.25rem 0.75rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .about-feature h3 {
    font-size: 1.25rem;
  }
}