






/* =================================================================
   BRAZZA-MARKET - PAGE À PROPOS
   Design moderne et responsive
================================================================= */

/* =================================================================
   RESET & BASE
================================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  padding-top: 80px;
  line-height: 1.6;
}




/* =================================================================
   3. HERO SECTION
================================================================= */
.hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(26, 92, 52, 0.92) 0%, rgba(70, 149, 92, 0.88) 100%),
              url('https://images.unsplash.com/photo-1523482580672-f109ba8cb9be?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  color: var(--accent);
  font-weight: 700;
}

/* Search Container */
.search-container {
  margin-bottom: 50px;
}

.search-box {
  background: white;
  border-radius: var(--radius-full);
  padding: 8px;
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  gap: 5px;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 12px;
}

.search-field i {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.search-field input {
  border: none;
  outline: none;
  font-size: 15px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: transparent;
}

.search-field input::placeholder {
  color: var(--text-light);
}

.search-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
  flex-shrink: 0;
}

.search-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(70, 149, 92, 0.4);
}

/* Hero Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.shape-1 { width: 300px; height: 300px; top: -100px; right: -100px; }
.shape-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
.shape-3 { width: 150px; height: 150px; top: 50%; left: 10%; }

/* =================================================================
   4. SECTIONS COMMUNES
================================================================= */
section {
  padding: 80px 0;
}

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

.section-tag {
  display: inline-block;
  background: rgba(70, 149, 92, 0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =================================================================
   5. CATÉGORIES & BOUTIQUES
================================================================= */
.categories-section, .featured-section {
  background: var(--bg-body);
}

.categories-grid, .featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.category-card, .boutique-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: block;
  cursor: pointer;
}

.category-card:hover, .boutique-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.category-image, .boutique-image-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

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

.category-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.category-card:hover .category-image::before {
  background: rgba(0, 0, 0, 0.2);
}

.category-image i {
  font-size: 4rem;
  color: white;
  position: relative;
  z-index: 2;
  transition: var(--transition);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-card:hover .category-image i {
  transform: scale(1.15) rotate(5deg);
}

.category-content, .boutique-info {
  padding: 25px;
  text-align: left;
}

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

.category-content h3, .boutique-info h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 600;
}

.category-content p, .boutique-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 4px 0;
}

.badge-type {
  position: absolute;
  bottom: 10px; left: 10px;
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.badge-likes {
  position: absolute;
  top: 10px; right: 10px;
  background: white;
  color: #e74c3c;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(70, 149, 92, 0.3);
}

/* =================================================================
   6. COMMENT ÇA MARCHE & CTA VENDEUR
================================================================= */
.how-it-works {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

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

.step-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.step-number {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(70, 149, 92, 0.3);
}

.step-icon {
  width: 80px; height: 80px;
  background: rgba(70, 149, 92, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 25px;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.step-icon i {
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.step-card:hover .step-icon i { color: white; }

.cta-vendeur {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 80px 0;
  overflow: hidden;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.cta-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 35px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.cta-feature i { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }

.cta-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: white;
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

/* Phone Mockup */
.cta-phone {
  width: 280px; height: 500px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 15px;
  box-shadow: var(--shadow-xl);
  transform: rotate(-5deg);
  transition: var(--transition);
}

.cta-phone:hover { transform: rotate(0deg) scale(1.05); }

.phone-screen {
  width: 100%; height: 100%;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  background: var(--primary);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.phone-content {
  flex: 1;
  padding: 15px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.phone-card-img {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 8px;
  flex-shrink: 0;
}

.phone-card-title {
  height: 10px;
  background: var(--text-main);
  border-radius: 5px;
  margin-bottom: 6px;
  width: 80%;
}

.phone-card-sub {
  height: 8px;
  background: var(--text-light);
  border-radius: 4px;
  width: 60%;
}

/* =================================================================
   7. FOOTER
================================================================= */
#footer {
  background: linear-gradient(135deg, #1a5c34 0%, #2d7a4d 50%, #1a5c34 100%);
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
  z-index: 1;
}

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

.footer-main { padding: 80px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col { display: flex; flex-direction: column; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.footer-logo i { font-size: 1.8rem; color: var(--accent); }

.footer-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.badge i { color: var(--accent); }

.footer-col h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }

.footer-menu li a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.footer-menu li a i {
  font-size: 0.85rem;
  width: 18px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-menu li a:hover {
  color: var(--accent) !important;
  transform: translateX(5px);
}

.footer-menu li a:hover i { color: var(--accent); }

.footer-contact-list { list-style: none; padding: 0; margin: 0 0 25px 0; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-contact-list li i {
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 3px;
  width: 22px;
  flex-shrink: 0;
}

.footer-contact-list li span a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: var(--transition);
}

.footer-contact-list li span a:hover { color: var(--accent) !important; }

.footer-social h4 {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.social-links { display: flex; flex-direction: column; gap: 12px; }

.social-link {
  width: 45px; height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.2);
}

.social-link.whatsapp:hover { background: #25D366; border-color: #25D366; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.social-link.facebook:hover { background: #1877F2; border-color: #1877F2; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px 0;
}

.footer-legal .container { text-align: center; }

.legal-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

.legal-links a:hover { color: var(--accent) !important; }

.footer-bottom { display: flex; flex-direction: column; gap: 8px; }
.copyright { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.credits { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.credits i { color: #ff6b6b; animation: heartbeat 1.5s ease infinite; display: inline-block; }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* =================================================================
   8. BOUTONS FLOTTANTS
================================================================= */
.container-bouton-comment-marche {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
}

.bouton-comment-marche {
  background: var(--primary);
  color: white;
  padding: 15px 25px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.bouton-comment-marche:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.bouton-fermer-comment-marche {
  position: absolute;
  top: -10px; right: -10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bouton-fermer-comment-marche:hover {
  transform: scale(1.1);
  background: #c0392b;
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* =================================================================
   9. MODE SOMBRE (GLOBAL & PROPRE)
================================================================= */
body.dark-mode {
  --bg-body: #0f1419;
  --bg-white: #16213e;
  --text-main: #eaeaea;
  --text-muted: #a0a0a0;
  --border: #2d3748;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body.dark-mode header {
  background: rgba(22, 33, 62, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .menu li a { color: var(--text-main); }
body.dark-mode .menu li a:hover { background: rgba(70, 149, 92, 0.2); }

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

body.dark-mode .theme-toggle {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
  color: var(--accent);
}

body.dark-mode .theme-toggle:hover {
  background: rgba(255, 215, 0, 0.25);
  border-color: var(--accent);
}

body.dark-mode .humburger {
  background: rgba(70, 149, 92, 0.2);
  color: var(--primary-light);
  border: 1px solid rgba(70, 149, 92, 0.3);
}

body.dark-mode .humburger:hover {
  background: rgba(70, 149, 92, 0.3);
}

body.dark-mode .user-avatar-container {
  background: rgba(70, 149, 92, 0.2);
}

body.dark-mode .category-card,
body.dark-mode .boutique-card,
body.dark-mode .step-card {
  background: var(--bg-white);
  border-color: var(--border);
}

body.dark-mode .search-box {
  background: var(--bg-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.dark-mode .search-field input { color: var(--text-main); }
body.dark-mode .search-field input::placeholder { color: var(--text-muted); }
body.dark-mode .search-divider { background: var(--border); }

body.dark-mode .hero {
  background: linear-gradient(135deg, rgba(10, 30, 20, 0.95) 0%, rgba(20, 60, 40, 0.9) 100%),
              url('https://images.unsplash.com/photo-1523482580672-f109ba8cb9be?w=1920&q=80');
}

body.dark-mode .how-it-works {
  background: linear-gradient(135deg, #0f1419 0%, #16213e 100%);
}

body.dark-mode .step-icon { background: rgba(70, 149, 92, 0.2); }
body.dark-mode .step-icon i { color: var(--primary-light); }
body.dark-mode .step-card:hover .step-icon i { color: white; }

body.dark-mode .footer-menu li a,
body.dark-mode .footer-contact-list li,
body.dark-mode .footer-desc,
body.dark-mode .copyright,
body.dark-mode .credits {
  color: rgba(255, 255, 255, 0.8);
}

/* =================================================================
   10. RESPONSIVE DESIGN (NETTOYÉ ET UNIQUE)
================================================================= */
@media (max-width: 900px) {
  body { padding-top: 75px; }
  
  .menu { display: none !important; }
  
  /* ✅ CORRECTION CRITIQUE : On cache SEULEMENT les boutons de connexion, PAS tout le conteneur */
  .nav-actions .btn-nav { display: none !important; }
  
  /* ✅ Le hamburger est visible, fixé en haut à droite */
  .humburger {
    display: flex !important;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 9999 !important;
  }
  
  /* ✅ L'avatar reste visible sur mobile si connecté */
  .user-avatar-container {
    display: flex !important;
    padding: 5px;
  }
  .user-name { display: none; }
  
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }
  
  .search-box {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 15px;
  }
  
  .search-field { width: 100%; padding: 10px 15px; }
  .search-divider { width: 100%; height: 1px; }
  .search-btn { width: 100%; justify-content: center; }
  
  .categories-grid, .featured-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .section-title { font-size: 2rem; }
  
  .cta-content { grid-template-columns: 1fr; gap: 40px; }
  .cta-visual { order: -1; }
  .cta-phone { width: 240px; height: 420px; }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .social-links { flex-direction: row; justify-content: flex-start; }
}

@media (max-width: 600px) {
  section { padding: 60px 0; }
  
  .hero { min-height: auto; padding: 100px 20px 60px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 1rem; }
  
  .categories-grid, .featured-grid, .steps-grid { grid-template-columns: 1fr; }
  
  .cta-features { grid-template-columns: 1fr; }
  .cta-text h2 { font-size: 2rem; }
  .cta-buttons { flex-direction: column; }
  .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-col { text-align: center; align-items: center; }
  .footer-contact-list li { flex-direction: column; align-items: center; text-align: center; }
  .social-links { justify-content: center; }
  .legal-links { flex-direction: column; gap: 15px; }
  .footer-menu li a { justify-content: center; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.75rem; }
  .logo-container img { height: 35px; }
}

/* =================================================================
   11. ANIMATIONS & UTILITAIRES
================================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

a:focus, button:focus, input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

::selection { background: var(--primary); color: white; }




/* =================================================================
   BRAZZA-MARKET - CSS GLOBAL (PAGE D'ACCUEIL & COMMUN)
   Design moderne, professionnel, responsive et Mode Sombre intégré
================================================================= */

/* =================================================================
   1. VARIABLES & RESET
================================================================= */
:root {
  --primary: #46955c;
  --primary-dark: #1a5c34;
  --primary-light: #73dd91;
  --accent: #ffd700;
  --accent-hover: #ffed4e;
  --text-main: #2d3436;
  --text-muted: #636e72;
  --text-light: #b2bec3;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 75px; /* Compense le header fixed */
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* =================================================================
   🏪 BOUTIQUES EN VEDETTE & RÉSULTATS DE RECHERCHE
   Design professionnel et moderne
================================================================= */

/* Container principal */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* Carte de boutique */
.boutique-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.boutique-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(70, 149, 92, 0.2);
  border-color: rgba(70, 149, 92, 0.3);
}

/* Container image */
.boutique-card > div:first-child {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.boutique-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.boutique-card:hover img {
  transform: scale(1.08);
}

/* Badge type */
.badge-type {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #46955c, #3d9c58);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(70, 149, 92, 0.35);
  z-index: 2;
  backdrop-filter: blur(10px);
  letter-spacing: 0.3px;
}

/* Badge likes */
.badge-likes {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  color: #e74c3c;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(10px);
}

/* Info boutique */
.boutique-info {
  padding: 22px;
  background: white;
}

.boutique-info h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
   line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 3rem;
}

.boutique-info .arrondissement {
  margin: 0 0 8px 0;
  color: #46955c;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.boutique-info .address {
  margin: 0 0 6px 0;
  color: #636e72;
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
   line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.boutique-info .phone {
  margin: 0;
  color: #636e72;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =================================================================
   🌙 MODE SOMBRE - BOUTIQUES
================================================================= */

body.dark-mode .boutique-card {
  background: #16213e;
  border-color: #2d3748;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .boutique-card:hover {
  box-shadow: 0 12px 35px rgba(70, 149, 92, 0.15);
  border-color: rgba(70, 149, 92, 0.4);
}

body.dark-mode .boutique-card > div:first-child {
  background: linear-gradient(135deg, #1a253a 0%, #151e2e 100%);
}

body.dark-mode .boutique-info {
  background: #16213e;
}

body.dark-mode .boutique-info h3 {
  color: #eaeaea;
}

body.dark-mode .boutique-info .arrondissement {
  color: #73dd91;
}

body.dark-mode .boutique-info .address,
body.dark-mode .boutique-info .phone {
  color: #a0a0a0;
}

body.dark-mode .badge-likes {
  background: #1a1f2e;
  border: 1px solid #2d3748;
}

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

@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
  
  .boutique-card > div:first-child {
    height: 200px;
  }
  
  .boutique-info {
    padding: 18px;
  }
  
  .boutique-info h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .boutique-card > div:first-child {
    height: 180px;
  }
  
  .badge-type {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .badge-likes {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* =================================================================
   🎨 ANIMATIONS
================================================================= */

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

.boutique-card {
  animation: fadeInUp 0.5s ease;
}

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

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

.boutique-card img[src] {
  animation: none;
  background: transparent;
}

/* =================================================================
   ❓ SECTION FAQ - DESIGN MODERNE
================================================================= */

.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

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

.faq-header .section-tag {
    display: inline-block;
    background: rgba(70, 149, 92, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.faq-header .section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(70, 149, 92, 0.15);
    border-color: rgba(70, 149, 92, 0.2);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

/* CTA Final FAQ */
.faq-cta {
    text-align: center;
    background: linear-gradient(135deg, #46955c 0%, #3d9c58 100%);
    padding: 50px 40px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(70, 149, 92, 0.3);
}

.faq-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-whatsapp-faq {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: white;
    color: #25D366;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-faq:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header .section-title {
        font-size: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 25px 20px 25px;
    }
    
    .faq-cta {
        padding: 40px 25px;
    }
    
    .faq-cta h3 {
        font-size: 1.6rem;
    }
    
    .btn-whatsapp-faq {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-header .section-title {
        font-size: 1.75rem;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* Mode sombre FAQ */
body.dark-mode .faq-section {
    background: linear-gradient(135deg, #0f1419 0%, #16213e 100%);
}

body.dark-mode .faq-item {
    background: #16213e;
    border-color: #2d3748;
}

body.dark-mode .faq-question {
    background: #16213e;
    color: #eaeaea;
}

body.dark-mode .faq-question:hover {
    color: #73dd91;
}

body.dark-mode .faq-answer p {
    color: #a0a0a0;
}

body.dark-mode .faq-answer strong {
    color: #73dd91;
}

body.dark-mode .faq-cta {
    background: linear-gradient(135deg, #1a5c34 0%, #2d7a4d 100%);
}

body.dark-mode .btn-whatsapp-faq {
    background: #25D366;
    color: white;
}


/* =================================================================
   🗺️ SECTION LOCALISATION - CARTE OPENSTREETMAP
================================================================= */

.localisation-section {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.localisation-header {
    margin-bottom: 25px;
}

.localisation-header h2 {
    color: #2d3436;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.localisation-header h2 i {
    color: #46955c;
}

.localisation-subtitle {
    color: #636e72;
    font-size: 0.95rem;
    margin: 0;
}

.carte-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-display {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    z-index: 1;
}

.map-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border: 1px solid rgba(70, 149, 92, 0.2);
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-info-item i {
    color: #46955c;
    font-size: 1.3rem;
}

.map-info-item strong {
    color: #2d3436;
    font-size: 1rem;
    display: block;
    margin-bottom: 2px;
}

.map-info-item p {
    color: #636e72;
    font-size: 0.85rem;
    margin: 0;
}

.map-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(70, 149, 92, 0.1);
    color: #46955c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.map-badge i {
    font-size: 0.9rem;
}

/* Mode sombre */
body.dark-mode .localisation-section {
    background: #16213e;
    border-color: #2d3748;
}

body.dark-mode .localisation-header h2 {
    color: #eaeaea;
}

body.dark-mode .localisation-subtitle {
    color: #a0a0a0;
}

body.dark-mode .map-info {
    background: rgba(22, 33, 62, 0.98);
    border-color: rgba(70, 149, 92, 0.3);
}

body.dark-mode .map-info-item strong {
    color: #eaeaea;
}

body.dark-mode .map-info-item p {
    color: #a0a0a0;
}

body.dark-mode .map-badge {
    background: rgba(70, 149, 92, 0.2);
    color: #73dd91;
}

/* Responsive */
@media (max-width: 768px) {
    .localisation-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .localisation-header h2 {
        font-size: 1.5rem;
    }
    
    .map-display {
        height: 280px;
    }
    
    .map-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .map-badge {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .map-display {
        height: 250px;
    }
    
    .map-info {
        padding: 12px 15px;
    }
    
    .map-info-item strong {
        font-size: 0.95rem;
    }
    
    .map-info-item p {
        font-size: 0.8rem;
    }
}

/* =================================================================
   📱 RESPONSIVE HERO - CORRECTION TAILLE DE TEXTE MOBILE
================================================================= */

/* Tablette (768px - 1024px) */
@media (max-width: 1024px) {
  .hero {
    padding: 90px 20px 60px;
  }
  
  .hero-title {
    font-size: 2.5rem; /* ✅ Réduit de 3.5rem à 2.5rem */
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem; /* ✅ Réduit de 1.2rem à 1.1rem */
  }
}

/* Mobile large (480px - 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 85px 15px 50px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2rem; /* ✅ Réduit de 2.5rem à 2rem */
    line-height: 1.15;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem; /* ✅ Réduit de 1.1rem à 1rem */
    line-height: 1.5;
    margin-bottom: 30px;
  }
  
  /* Barre de recherche */
  .search-box {
    flex-direction: column;
    padding: 12px;
    gap: 8px;
  }
  
  .search-field {
    width: 100%;
    padding: 10px 15px;
  }
  
  .search-divider {
    width: 100%;
    height: 1px;
  }
  
  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
}

/* Mobile (< 480px) */
@media (max-width: 480px) {
  .hero {
    padding: 80px 12px 40px;
  }
  
  .hero-title {
    font-size: 1.75rem; /* ✅ Encore plus petit : 1.75rem */
    line-height: 1.1;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem; /* ✅ Plus petit : 0.9rem */
    line-height: 1.4;
    margin-bottom: 25px;
  }
  
  .search-container {
    margin-bottom: 30px;
  }
}

/* Très petit mobile (< 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.5rem; /* ✅ Ultra petit : 1.5rem */
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
}

/* ✅ Force l'affichage du hamburger (corrige le conflit d'ordre CSS) */
.btn-mobile-menu { display: none; }
@media (max-width: 1280px) { .btn-mobile-menu { display: flex !important; } }
.btn-mobile-menu span {
  display: block !important;
  width: 20px !important;
  height: 2.5px !important;
  border-radius: 3px !important;
  background: #73dd91 !important;
}
body:not(.dark-mode) .btn-mobile-menu span { background: #2c5f3a !important; }