/* =========================================
   SMAPEC - Super Métal Aluminium
   Style Global
   Thème : Bleu #2B3990 | Jaune #FFD700
   ========================================= */

/* === ROOT VARIABLES === */
:root {
  --blue: #2B3990;
  --blue-dark: #1e2a70;
  --blue-light: #3d4faa;
  --yellow: #FFD700;
  --yellow-dark: #e6c200;
  --dark: #1A202C;
  --text: #2D3748;
  --muted: #718096;
  --bg: #F4F7FE;
  --white: #FFFFFF;
  --wa: #25D366;
  --border: #E2E8F0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(43, 57, 144, 0.12);
  --shadow-lg: 0 10px 40px rgba(43, 57, 144, 0.18);
  --transition: 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   NAVBAR & ENCAPSULATED BRAND
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #1b2864;
  border-bottom: 2.5px solid var(--yellow);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  padding: 0.65rem 0;
}
.navbar.scrolled {
  background: #141f4d;
  box-shadow: 0 6px 25px rgba(0,0,0,0.35);
  padding: 0.55rem 0;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Encapsulated Brand & Logo */
.nav-brand-wrap,
.nav-logo,
.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-capsule {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #ffffff;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  border: 2px solid var(--yellow);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform var(--transition);
}
.nav-brand-wrap:hover .logo-capsule,
.nav-logo:hover .logo-capsule {
  transform: scale(1.05);
}
.logo-capsule img,
.nav-logo img,
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.brand-text,
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name,
.logo-title,
.nav-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.brand-alu {
  color: var(--yellow) !important;
  font-weight: 800;
  background: rgba(255,215,0,0.18);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255,215,0,0.4);
  font-size: 1.1rem;
}
.brand-sub,
.logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75) !important;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92) !important;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow) !important;
  background: rgba(255,215,0,0.18) !important;
}

/* Cart badge in nav */
.nav-cart-btn {
  position: relative;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  padding: 0.45rem 0.75rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-cart-btn:hover {
  background: rgba(255,215,0,0.2);
  color: var(--yellow);
  border-color: var(--yellow);
}
.nav-cart-btn .cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.btn-nav-call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--blue) !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-nav-call:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,215,0,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #ffffff !important;
  transition: all var(--transition);
  border-radius: 2px;
}
.navbar.scrolled .hamburger span {
  background: #ffffff !important;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: #ffffff !important; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: #ffffff !important; }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,40,100,0.85) 0%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: 0 2rem;
  margin-left: calc((100vw - 1200px) / 2 + 1.5rem);
  animation: fadeInUp 1s ease 0.3s both;
}
@media (max-width: 1240px) { .hero-content { margin-left: 2rem; } }
@media (max-width: 768px) { .hero-content { margin-left: 1rem; margin-right: 1rem; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,215,0,0.15);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.hero-accent {
  color: var(--yellow);
  display: block;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 550px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,215,0,0.4); }
.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wa);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-wa-hero:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37,211,102,0.4); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--blue); color: white; transform: translateY(-3px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero-scroll-dot {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 15px;
  position: relative;
}
.hero-scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0% { top: 6px; opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

.hero-slide-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: var(--yellow); width: 24px; border-radius: 4px; }

/* =========================================
   FEATURES BAR
   ========================================= */
.features-bar {
  background: var(--blue);
  padding: 1.5rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.feature-item:last-child { border-right: none; }
.feature-item i { font-size: 1.5rem; color: var(--yellow); flex-shrink: 0; }
.feature-item strong { display: block; font-size: 0.85rem; color: white; font-weight: 700; }
.feature-item span { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* =========================================
   SECTIONS COMMUNES
   ========================================= */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: rgba(43,57,144,0.08);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  border: 1px solid rgba(43,57,144,0.15);
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 3rem; }

/* =========================================
   CATÉGORIES
   ========================================= */
.categories-section { background: white; }
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card--lg { grid-column: 1; grid-row: 1 / 3; }
.cat-card-img {
  background-size: cover;
  background-position: center;
  flex: 1;
  min-height: 200px;
  transition: transform var(--transition);
}
.cat-card--lg .cat-card-img { min-height: 400px; }
.cat-card:hover .cat-card-img { transform: scale(1.05); }
.cat-card-body {
  padding: 1.5rem;
  background: white;
}
.cat-card-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.cat-card-body p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap var(--transition);
}
.cat-card:hover .cat-link { gap: 0.8rem; }

/* =========================================
   POURQUOI SMAPEC
   ========================================= */
.why-section { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-visual { position: relative; }
.why-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-main img { width: 100%; height: 450px; object-fit: cover; }
.why-img-float {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow);
}
.why-img-float img { width: 100%; height: 150px; object-fit: cover; }
.why-badge-float {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--yellow);
  color: var(--blue);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.why-badge-float strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.why-badge-float span { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.why-content { }
.why-desc { font-size: 1rem; color: var(--muted); line-height: 1.8; margin: 1.5rem 0 2rem; }
.why-list { display: flex; flex-direction: column; gap: 1.2rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.why-item strong { display: block; font-size: 0.95rem; color: var(--dark); margin-bottom: 0.25rem; }
.why-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* =========================================
   GALERIE MASONRY
   ========================================= */
.gallery-section { background: white; }
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #111;
}
.gallery-item.gi-tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43,57,144,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: white;
  font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,40,100,0.92), rgba(0,0,0,0.7));
}
.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--wa);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-cta-wa:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
.btn-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-cta-call:hover { background: var(--yellow-dark); transform: translateY(-3px); }

/* =========================================
   TÉMOIGNAGES
   ========================================= */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--blue); }
.testimonial-card--featured { border-top-color: var(--yellow); background: var(--blue); }
.testimonial-card--featured .testimonial-text { color: rgba(255,255,255,0.9); }
.testimonial-card--featured .testimonial-stars { color: var(--yellow); }
.testimonial-card--featured .testimonial-author strong { color: white; }
.testimonial-card--featured .testimonial-author span { color: rgba(255,255,255,0.6); }
.testimonial-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--dark); }
.testimonial-author span { font-size: 0.75rem; color: var(--muted); }

/* =========================================
   DIRECTEUR
   ========================================= */
.director-section { background: white; }
.director-card {
  display: flex;
  gap: 4rem;
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border-left: 6px solid var(--yellow);
  box-shadow: var(--shadow);
}
.director-img {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid var(--yellow);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.director-img img { width: 100%; height: 100%; object-fit: contain; background: white; }
.director-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: var(--dark);
  text-transform: uppercase;
  margin: 0.5rem 0 0.25rem;
}
.director-title { font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.director-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid var(--yellow);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.director-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-wa-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--wa);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-wa-sm:hover { background: #1ebe5d; transform: translateY(-2px); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--dark); color: white; }
.footer-top { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 1rem; }
.footer-slogan {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow);
  border: 1px solid rgba(255,215,0,0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--yellow); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.footer-contact-item i { color: var(--yellow); width: 18px; text-align: center; }
.footer-contact-item a,
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--yellow); }
.footer-dev {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-dev a { color: var(--yellow); opacity: 0.6; }
.footer-dev a:hover { opacity: 1; }

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-content { max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }

/* =========================================
   STICKY CTA (Supprimé car redondant et masquait le footer)
   ========================================= */
.sticky-cta {
  display: none !important;
}

/* =========================================
   FLOATING ACTION BUTTONS (BOTTOM RIGHT)
   Devis en haut, WhatsApp en bas (sans chevauchement)
   ========================================= */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.2rem;
  z-index: 890;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.fab-btn:hover {
  transform: scale(1.1);
}
.fab-devis {
  background: var(--yellow);
  color: var(--blue);
  font-size: 1.25rem;
  border: 2.5px solid white;
}
.fab-devis .cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--blue);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.fab-wa {
  background: #25D366;
  color: white;
  font-size: 1.6rem;
  animation: waPulse 2.5s infinite;
  border: 2.5px solid white;
}
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.2rem;
  z-index: 800;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  transition: all var(--transition);
  animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 35px rgba(37,211,102,0.6); animation: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.8), 0 0 0 7px rgba(37,211,102,0.18); }
}

/* =========================================
   ANIMATIONS
   ========================================= */
/* =========================================
   CART DRAWER STYLES
   ========================================= */
.cart-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  background: white;
  z-index: 8001;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1.5rem;
  background: var(--blue);
  color: white;
  border-bottom: 3px solid var(--yellow);
}
.cart-drawer-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem; font-weight: 700; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem;
  color: white; margin-bottom: 0.2rem;
}
.cart-item-count-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.cart-close-btn {
  background: rgba(255,255,255,0.15); border: none; color: white;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1rem; transition: background 0.2s; flex-shrink: 0;
}
.cart-close-btn:hover { background: rgba(255,255,255,0.25); }

.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 3rem;
  color: var(--muted);
}
.cart-empty p { font-weight: 700; margin-bottom: 0.5rem; }
.cart-empty small { font-size: 0.85rem; }

.cart-items-list {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.cart-item {
  display: flex; gap: 0.75rem;
  background: var(--bg); border-radius: 12px;
  padding: 0.75rem; border: 1px solid var(--border);
  animation: slideInRight 0.2s ease;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.cart-item-img {
  width: 70px; height: 70px; border-radius: 8px;
  background: #111; overflow: hidden; flex-shrink: 0;
  position: relative;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-cat {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(43,57,144,0.8);
  color: white; font-size: 0.6rem; text-align: center;
  padding: 2px; font-weight: 700; text-transform: uppercase;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.2rem; }
.cart-item-dims { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.3rem; }
.cart-item-price { font-size: 0.85rem; font-weight: 700; color: var(--blue); margin-bottom: 0.5rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.4rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--blue); color: white; border: none;
  cursor: pointer; font-size: 0.7rem; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--blue-dark); }
.qty-input {
  width: 42px; height: 28px; text-align: center;
  border: 2px solid var(--border); border-radius: 6px;
  font-size: 0.85rem; font-weight: 700;
}
.cart-remove {
  margin-left: auto;
  width: 28px; height: 28px; border-radius: 6px;
  background: #FEE2E2; color: #DC2626; border: none;
  cursor: pointer; font-size: 0.75rem; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.cart-remove:hover { background: #DC2626; color: white; }

.cart-drawer-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: white;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.cart-total-row strong { font-family: 'Oswald', sans-serif; font-size: 1.3rem; color: var(--blue); }
.cart-total-note { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; }
.cart-btn-devis {
  width: 100%; padding: 1rem;
  background: var(--blue); color: white; border: none;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; text-transform: uppercase; margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s;
}
.cart-btn-devis:hover { background: var(--blue-dark); transform: translateY(-2px); }
.cart-btn-clear {
  width: 100%; padding: 0.6rem;
  background: none; color: var(--muted); border: 1px solid var(--border);
  border-radius: 50px; font-size: 0.8rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem; font-family: 'Montserrat', sans-serif;
  transition: all 0.2s;
}
.cart-btn-clear:hover { border-color: #DC2626; color: #DC2626; }

/* Cart FAB (Désactivé pour éviter tout doublon avec floating-actions) */
.cart-fab {
  display: none !important;
}

/* Cart toast */
.cart-toast {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9999;
  background: var(--dark); color: white;
  padding: 0.75rem 1.25rem; border-radius: 50px;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600;
  transform: translateX(120%); transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border-left: 4px solid var(--yellow);
}
.cart-toast.show { transform: translateX(0); }
.cart-toast i { color: var(--yellow); }

/* Add to cart button on product cards */
.product-btn-cart {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--blue); color: white;
  padding: 0.75rem; border-radius: 8px;
  font-weight: 700; font-size: 0.82rem; text-transform: uppercase;
  transition: all var(--transition); border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
.product-btn-cart:hover { background: var(--blue-dark); transform: translateY(-2px); }
.product-btn-cart.added { background: #16a34a; }

/* =========================================
   DEVIS PAGE STYLES
   ========================================= */
.devis-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.devis-items-box {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.devis-table { width: 100%; border-collapse: collapse; }
.devis-table th {
  background: var(--blue); color: white;
  padding: 0.75rem 1rem;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px;
  text-align: left;
}
.devis-table td {
  padding: 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.88rem; vertical-align: middle;
}
.devis-table tr:last-child td { border-bottom: none; }
.devis-table tr:hover td { background: var(--bg); }
.devis-prod-name { font-weight: 700; color: var(--dark); }
.devis-prod-cat { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; }
.devis-qty-ctrl { display: flex; align-items: center; gap: 0.4rem; }
.devis-price { font-weight: 700; color: var(--blue); }
.devis-total-bar {
  background: var(--blue); color: white;
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.devis-total-bar span { font-size: 0.9rem; }
.devis-total-bar strong { font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: var(--yellow); }

.devis-form-box {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
  position: sticky; top: 100px;
}
.devis-form-box h3 {
  font-family: 'Oswald', sans-serif; font-size: 1.3rem;
  color: var(--dark); text-transform: uppercase; margin-bottom: 1.5rem;
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--yellow);
}

/* Admin badge in nav */
.admin-nav-link {
  display: none;
  align-items: center; gap: 0.4rem;
  background: rgba(255,215,0,0.15);
  border: 1px solid var(--yellow);
  color: var(--yellow) !important;
  padding: 0.4rem 0.9rem !important;
  border-radius: 50px;
  font-size: 0.75rem !important;
}
.admin-nav-link.visible { display: flex; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   PAGE INTÉRIEURE (header compact)
   ========================================= */
.page-header {
  background: var(--blue);
  padding: 8rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://res.cloudinary.com/dpw81ymi6/image/upload/v1789754075/photo_15_2026-09-18_17-53-40_cn0x5z.jpg') center/cover;
  opacity: 0.15;
}
.page-header-content { position: relative; z-index: 10; text-align: center; }
.page-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: white;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: var(--yellow); }
.breadcrumb span { margin: 0 0.5rem; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card--lg { grid-column: auto; grid-row: auto; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links {
    display: none !important;
  }
  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #0d1538 !important;
    background-color: #0d1538 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.85rem !important;
    z-index: 99998 !important;
    padding: 5rem 1.5rem 2.5rem !important;
    opacity: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }
  .nav-links.open a {
    font-size: 1.15rem !important;
    color: white !important;
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px !important;
    padding: 0.85rem 1.2rem !important;
    width: 100% !important;
    max-width: 320px !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    transition: all 0.25s ease !important;
  }
  .nav-links.open a:hover,
  .nav-links.open a.active {
    color: var(--blue) !important;
    background: var(--yellow) !important;
    border-color: var(--yellow) !important;
    font-weight: 700 !important;
  }
  .hamburger { display: flex; z-index: 99999; }
  .hamburger.open {
    position: fixed !important;
    top: 1rem !important;
    right: 1.2rem !important;
    z-index: 100000 !important;
  }
  .hamburger.open span { background: white !important; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .feature-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .feature-item:nth-child(3),
  .feature-item:nth-child(4) { border-bottom: none; }

  .categories-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.gi-tall { grid-row: span 1; }
  .director-card { flex-direction: column; text-align: center; gap: 2rem; }
  .director-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .sticky-cta { display: none !important; }
  .wa-float { bottom: 1.5rem !important; right: 1.2rem !important; }
  .hero-stats { gap: 1rem; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .gallery-masonry { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat-divider { width: 40px; height: 1px; }
}

/* =========================================
   FOOTER DEVELOPER CREDIT
   ========================================= */
.footer-dev {
  background: #0f1635;
  color: rgba(255,255,255,0.45);
  text-align: center;
  font-size: 0.75rem;
  padding: 0.6rem 1rem;
  letter-spacing: 0.3px;
}
.footer-dev a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-dev a:hover { color: var(--yellow-dark); }
