/* ==========================================================================
   ELYOS ENERGY SÉNÉGAL - DESIGN SYSTEM & STYLES
   Colors matched to official logo: Solar Cyan/Sky Blue, Deep Blue, Sun Gold
   ========================================================================== */

:root {
  /* Color Palette based on Elyos Energy Logo */
  --primary-blue: #2B9AD6;
  --primary-blue-hover: #1F80B9;
  --primary-light: #E8F4FC;
  
  --deep-blue: #0A3C6E;
  --deep-blue-dark: #062749;
  --deep-blue-light: #165392;
  
  --sun-gold: #FFA800;
  --sun-gold-hover: #E09400;
  --sun-gold-light: #FFF5E0;
  
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1DA851;
  --whatsapp-bg: #E8F9EE;

  /* Neutral tones */
  --bg-main: #F8FAFC;
  --surface-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-focus: #93C5FD;
  
  --text-dark: #0F172A;
  --text-medium: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Shadows & Radius */
  --shadow-sm: 0 2px 4px rgba(10, 60, 110, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(10, 60, 110, 0.08), 0 8px 10px -6px rgba(10, 60, 110, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(10, 60, 110, 0.12), 0 10px 15px -5px rgba(10, 60, 110, 0.08);
  --shadow-glow: 0 0 20px rgba(43, 154, 214, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Utility Containers */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top Banner Hotline */
.top-bar {
  background: var(--deep-blue-dark);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-badge {
  background: var(--sun-gold);
  color: var(--deep-blue-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Header Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0;
  flex-shrink: 0;
}

.brand-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
  filter: drop-shadow(0 2px 8px rgba(10, 60, 110, 0.12));
}

.brand-logo:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 14px rgba(43, 154, 214, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-medium);
  font-size: 0.82rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-blue);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), #1A84C4);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(43, 154, 214, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 154, 214, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--sun-gold), #E09400);
  color: var(--deep-blue-dark);
  box-shadow: 0 4px 14px rgba(255, 168, 0, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 168, 0, 0.45);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

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

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

.btn-phone {
  background: var(--deep-blue);
  color: #FFFFFF;
}

.btn-phone:hover {
  background: var(--deep-blue-dark);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  color: var(--deep-blue);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep-blue-dark) 0%, var(--deep-blue) 60%, #082846 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 168, 0, 0.25) 0%, rgba(43, 154, 214, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sun-gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-blue), #A6D8FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 90%;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sun-gold);
}

.stat-item p {
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Hero Showcase Card */
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-card-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  background: rgba(10, 60, 110, 0.88);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.hero-card-badge h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sun-gold);
}

.hero-card-badge p {
  font-size: 0.8rem;
  color: #CBD5E1;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--deep-blue-dark);
  line-height: 1.25;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* Solar Simulator / Dimensionnement */
.simulator-section {
  padding: 5rem 0;
  background: #FFFFFF;
}

.simulator-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, #F0F7FD 100%);
  border: 1px solid #D0E7F7;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sim-form-group {
  margin-bottom: 1.5rem;
}

.sim-label {
  display: block;
  font-weight: 700;
  color: var(--deep-blue-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.sim-select, .sim-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition-fast);
}

.sim-select:focus, .sim-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(43, 154, 214, 0.15);
}

.sim-result-card {
  background: var(--deep-blue);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sim-result-card::before {
  content: 'SOLAIRE SÉNÉGAL';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.sim-result-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--sun-gold);
  margin: 0.5rem 0;
}

.sim-result-detail {
  font-size: 0.9rem;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
}

/* Catalogue Section */
.catalog-section {
  padding: 5rem 0;
}

/* Search and Filters Bar */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.search-bar-wrapper {
  display: flex;
  gap: 1rem;
  background: #FFFFFF;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.search-input {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: transparent;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-medium);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background: var(--primary-light);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.tab-btn.active {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(43, 154, 214, 0.3);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

/* Product Card - Redesigned */
.product-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(10, 60, 110, 0.18);
  border-color: var(--primary-blue);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #EBF4FA 0%, #F8FAFC 100%);
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, var(--deep-blue), #1A5FA0);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.product-stock {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(37, 211, 102, 0.92);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(37,211,102,0.3);
}

.product-content {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
}

.product-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--deep-blue-dark);
  margin-bottom: 0.45rem;
  line-height: 1.35;
  /* Clamp to 2 lines max */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-short-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.spec-chip {
  background: var(--primary-light);
  color: var(--deep-blue);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-weight: 600;
  border: 1px solid rgba(43,154,214,0.15);
}

.product-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #EEF2F7;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-footer-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.product-price {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.price-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep-blue);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.price-unit {
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Modal Fiche Produit (Product Detail View) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 39, 73, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #E2E8F0;
  color: var(--deep-blue);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
}

.modal-gallery-main {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid var(--border-color);

}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--deep-blue-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--deep-blue);
}

.modal-description {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-specs-list {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-specs-list h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed #E2E8F0;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--deep-blue-dark);
  font-weight: 700;
}

/* Call to Action Container in Modal */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Company Strengths / Features */
.features-section {
  padding: 5rem 0;
  background: #FFFFFF;
}

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

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-blue-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact / Devis Section */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #062749 0%, var(--deep-blue) 100%);
  color: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #CBD5E1;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--sun-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form {
  background: #FFFFFF;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--deep-blue-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(43, 154, 214, 0.2);
}

/* Footer */
.footer {
  background: #04182E;
  color: #94A3B8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: #64748B;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--whatsapp-hover);
}

.whatsapp-float-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp-green);
  opacity: 0.6;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   CART DRAWER & FLOATING TRIGGER (PANIER JS + WHATSAPP)
   ========================================================================== */
.btn-cart {
  position: relative;
  background: var(--sun-gold);
  color: var(--deep-blue-dark);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(255, 168, 0, 0.25);
  border: none;
  font-size: 0.9rem;
}

.btn-cart:hover {
  background: var(--sun-gold-hover);
  transform: translateY(-2px);
}

.cart-count-badge {
  background: var(--deep-blue-dark);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart Overlay & Slide Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 39, 73, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #FFFFFF;
  z-index: 1201;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.active .cart-drawer {
  right: 0;
}

.cart-header {
  padding: 1.25rem 1.5rem;
  background: var(--deep-blue-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--sun-gold);
}

.cart-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.cart-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty-state i {
  font-size: 3.5rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #F1F5F9;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--deep-blue-dark);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #E2E8F0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  border: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
}

.qty-val {
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: #EF4444;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.4rem;
  transition: var(--transition-fast);
}

.cart-item-remove:hover {
  color: #B91C1C;
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--deep-blue-dark);
  margin-bottom: 1rem;
}

.cart-user-inputs {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.cart-wa-checkout-btn {
  width: 100%;
  background: var(--whatsapp-green);
  color: #FFFFFF;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.cart-wa-checkout-btn:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   REVIEWS / TESTIMONIALS SECTION (AVIS CLIENTS SÉNÉGALAIS)
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EBF4FA 100%);
}

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

.review-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.review-card::before {
  content: '“';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(43, 154, 214, 0.15);
  line-height: 1;
}

.review-stars {
  color: var(--sun-gold);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.2rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.review-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-blue-dark);
}

.review-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--whatsapp-green);
  font-weight: 700;
  background: var(--whatsapp-bg);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.25rem;
}

/* Trust Header Counter */
.reviews-trust-counter {
  text-align: center;
  margin-bottom: 2.5rem;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--deep-blue-dark);
}

/* ==========================================================================
   RÉALISATIONS PAGE & PROJECT SHOWCASE CARDS
   ========================================================================== */
.realisations-hero {
  background: linear-gradient(135deg, var(--deep-blue-dark) 0%, var(--deep-blue) 100%);
  color: #FFFFFF;
  padding: 4rem 0 5rem 0;
  text-align: center;
}

.realisations-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.realisations-hero p {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 750px;
  margin: 0 auto;
}

.projects-section {
  padding: 4.5rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.25rem;
}

.project-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  background: #000;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--deep-blue);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.project-location {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--deep-blue-dark);
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.project-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  background: #F8FAFC;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.project-spec-item {
  font-size: 0.8rem;
}

.project-spec-item label {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
}

.project-spec-item span {
  font-weight: 700;
  color: var(--deep-blue-dark);
}

.project-cta {
  margin-top: auto;
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================= */

/* Large tablets */
@media (max-width: 1200px) {
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    font-size: 0.78rem;
    padding: 0.28rem 0.45rem;
  }
  .btn-cart {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }
  .btn-whatsapp {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sim-grid {
    grid-template-columns: 1fr;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    z-index: 200;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-dark);
  }

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

  .nav-links a.active::after {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .top-bar-info span:last-child {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 0.75rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-item h4 {
    font-size: 1.3rem;
  }

  .catalog-section,
  .simulator-section,
  .features-section,
  .reviews-section,
  .contact-section {
    padding: 3.5rem 0;
  }

  .simulator-box {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .category-tabs {
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }

  .brand-logo img {
    height: 62px;
  }

  .top-bar {
    display: none;
  }
}

/* Phones */
@media (max-width: 576px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    max-height: 95vh;
    border-radius: var(--radius-md);
  }

  .modal-grid {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .modal-gallery-main {
    height: 220px;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  .cart-drawer {
    max-width: 100%;
  }

  .nav-links {
    width: 100%;
  }
}
