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

:root {
  --navy: #2D2E83;
  --navy-dark: #1A1B3A;
  --navy-mid: #3D3E9A;
  --amber: #F4A81D;
  --amber-light: #FBD170;
  --white: #FFFFFF;
  --light: #F5F6FA;
  --border: #E8EAF2;
  --text: #2C2C3E;
  --muted: #7B7B99;
  --success: #2D7A3A;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { line-height: 1.75; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--navy-dark); }
.tag { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); font-weight: 600; display: block; margin-bottom: 0.75rem; }
.title-white { color: var(--white); }
.subtitle { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-top: 0.75rem; }
.subtitle-white { color: rgba(255,255,255,0.55); }
.gold-bar { width: 44px; height: 3px; background: var(--amber); margin: 1.25rem 0; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 4px; font-size: 0.9rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.2s; border: none; font-family: 'Barlow', sans-serif; letter-spacing: 0.5px; }
.btn-primary { background: var(--amber); color: var(--navy-dark); }
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(45,46,131,0.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 28px; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-toggle { display: flex; gap: 2px; background: var(--light); border-radius: 4px; padding: 3px; }
.lang-btn { padding: 4px 10px; border-radius: 3px; font-size: 0.75rem; font-weight: 600; cursor: pointer; border: none; background: transparent; color: var(--muted); transition: all 0.2s; font-family: 'Barlow', sans-serif; }
.lang-btn.active { background: var(--navy); color: white; }
.nav-cta { background: var(--amber); color: var(--navy-dark); padding: 9px 20px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; font-family: 'Barlow', sans-serif; transition: all 0.2s; }
.nav-cta:hover { background: var(--amber-light); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--navy-dark); padding-top: 72px; position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 0, transparent 60px),
                    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 0, transparent 60px);
}
.hero-accent-line { position: absolute; top: 0; right: 35%; bottom: 0; width: 1px; background: rgba(244,168,29,0.15); }
.hero-amber-glow { position: absolute; top: -200px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(244,168,29,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 580px; flex-shrink: 0; }
.hero-ad-slot {
  position: relative; z-index: 2; width: 280px; flex-shrink: 0;
  min-height: 200px; border: 2px dashed rgba(244,168,29,0.2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15); font-size: 0.75rem; text-align: center;
  padding: 1rem; letter-spacing: 1px; text-transform: uppercase;
}
.hero-ad-slot.hidden { display: none; }
.hero-location { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(244,168,29,0.35); color: var(--amber); font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 2px; margin-bottom: 1.5rem; }
.hero h1, #hero h1, section#hero h1 { color: #FFFFFF !important; margin-bottom: 1.25rem; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.hero h1 em { color: #F4A81D !important; font-style: normal; display: block; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.8) !important; line-height: 1.8; margin-bottom: 2rem; max-width: 500px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 3rem; }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--amber); line-height: 1; }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 44px; height: 44px; background: var(--navy); border: 2px solid var(--amber);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(45,46,131,0.3);
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--amber); transform: translateY(-2px); }
#backToTop svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2.5; transition: stroke 0.2s; }
#backToTop:hover svg { stroke: var(--navy-dark); }

/* ===== SECTEURS ===== */
.secteurs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5px; background: var(--border); border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; margin-top: 3rem; }
.secteur-card { background: var(--white); padding: 2.5rem; transition: all 0.3s; cursor: default; }
.secteur-card:hover { background: var(--navy-dark); }
.secteur-card:hover .secteur-title { color: var(--amber); }
.secteur-card:hover .secteur-desc { color: rgba(255,255,255,0.5); }
.secteur-card:hover .secteur-icon { background: rgba(244,168,29,0.12); }
.secteur-icon { width: 52px; height: 52px; border-radius: 8px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; transition: background 0.3s; }
.secteur-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; transition: color 0.3s; }
.secteur-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; transition: color 0.3s; margin-bottom: 1rem; }
.secteur-brands { display: flex; gap: 6px; flex-wrap: wrap; }
.brand-chip { background: rgba(45,46,131,0.07); color: var(--navy); font-size: 0.72rem; padding: 3px 10px; border-radius: 20px; font-weight: 600; }

/* ===== CATALOGUE ===== */
.catalogue-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.catalogue-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-sep { width: 1px; background: var(--border); margin: 0 4px; }
.filter-btn { padding: 7px 18px; border: 1.5px solid var(--border); background: var(--white); border-radius: 100px; font-size: 0.82rem; font-weight: 500; cursor: pointer; font-family: 'Barlow', sans-serif; color: var(--text); transition: all 0.2s; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-btn.sub.active { background: var(--amber); border-color: var(--amber); color: var(--navy-dark); }
.produits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.produit-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; transition: all 0.25s; }
.produit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(45,46,131,0.1); border-color: rgba(45,46,131,0.2); }
.produit-img { height: 160px; background: var(--light); display: flex; align-items: center; justify-content: center; border-bottom: 1.5px solid var(--border); position: relative; }
.produit-brand-badge { position: absolute; top: 10px; left: 10px; background: white; border: 1px solid var(--border); border-radius: 4px; padding: 4px 8px; }
.produit-brand-badge img { height: 16px; display: block; }
.produit-emoji { font-size: 3rem; }
.produit-body { padding: 1.25rem; }
.produit-cats { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 0.5rem; }
.produit-cat-tag { font-size: 0.68rem; color: var(--amber); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.produit-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.produit-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.75rem; }
.produit-footer { display: flex; align-items: center; justify-content: space-between; }
.produit-price { font-size: 0.85rem; color: var(--text); font-weight: 500; }
.produit-badge { background: #EAF4E8; color: var(--success); font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.no-results { text-align: center; padding: 4rem; color: var(--muted); grid-column: 1/-1; }
.catalogue-more { text-align: center; margin-top: 2.5rem; }

/* ===== MARQUES ===== */
.marques-intro { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; }
.marques-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.marque-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; transition: all 0.25s; min-height: 120px; justify-content: center; }
.marque-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(45,46,131,0.1); }
.marque-card img { max-height: 44px; max-width: 120px; object-fit: contain; display: block; }
.marque-cats { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.marque-cat-tag { font-size: 0.65rem; background: var(--light); color: var(--muted); padding: 2px 7px; border-radius: 10px; font-weight: 500; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { width: 44px; height: 44px; background: rgba(244,168,29,0.1); border: 1px solid rgba(244,168,29,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-label { font-size: 0.68rem; color: var(--amber); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 3px; }
.ci-value { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.6; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: white; padding: 12px 24px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; text-decoration: none; margin-top: 1.5rem; transition: all 0.2s; font-family: 'Barlow', sans-serif; }
.wa-btn:hover { background: #1da851; transform: translateY(-1px); }
.contact-form-box { background: var(--white); border-radius: 12px; padding: 2.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  border: 1.5px solid var(--border); border-radius: 6px; padding: 11px 14px;
  font-size: 0.9rem; font-family: 'Barlow', sans-serif; color: var(--text);
  outline: none; transition: border 0.2s; background: var(--white); width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--navy); }
.form-group textarea { height: 110px; resize: vertical; }
.form-submit { width: 100%; background: var(--amber); color: var(--navy-dark); border: none; padding: 14px; border-radius: 6px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; transition: all 0.2s; margin-top: 0.5rem; text-transform: uppercase; }
.form-submit:hover { background: var(--amber-light); }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); font-size: 0.9rem; }

/* ===== FOOTER ===== */
footer { background: #0F1025; padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo img { height: 22px; opacity: 0.9; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-agency { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-agency-text { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-agency img { height: 18px; opacity: 0.7; transition: opacity 0.2s; }
.footer-agency:hover img { opacity: 1; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: white; padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); gap: 1rem; z-index: 999; }
  .secteurs-grid { grid-template-columns: 1fr; }
  .marques-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .marques-grid { grid-template-columns: repeat(2, 1fr); }
  .produits-grid { grid-template-columns: 1fr; }
}

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: fadeIn 0.2s ease;
}
#lightbox.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
#lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  cursor: default;
  animation: zoomIn 0.25s ease;
}
@keyframes zoomIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
}
#lightbox-close:hover { background: rgba(255,255,255,0.25); }
#lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-align: center;
  max-width: 80%;
}
.produit-img img { cursor: zoom-in; }
.hero-ad-slot img { cursor: zoom-in; }
