/* ==========================================================================
   CECOT - Centre de Communication Oued Tassaout
   Master Design System & Responsive CSS Stylesheet
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #0e87eb;
  --primary-600: #0066cc;  /* Signature Brand Blue */
  --primary-700: #0052a3;
  --primary-800: #073b6f;
  --primary-900: #0a2540;
  --primary-950: #061527;

  /* Accent & Warm Highlights */
  --accent-amber: #f59e0b;
  --accent-amber-light: #fef3c7;
  --accent-gold: #fbbf24;
  --accent-emerald: #10b981;
  --accent-emerald-light: #d1fae5;
  --accent-rose: #f43f5e;

  /* Surfaces & Neutrals */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-translucent: rgba(255, 255, 255, 0.92);
  --border-color: #e2e8f0;
  --border-color-subtle: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Effects & Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.2);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout Tokens */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Core Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem; /* 16px min prevents iOS zoom bug */
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   1. Top Announcement Bar (Mobile-Friendly)
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #061527 0%, #0052a3 50%, #061527 100%);
  color: #f8fafc;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 60;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.announcement-main-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.announcement-highlight {
  color: #fde047;
  font-weight: 700;
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
  transition: var(--transition);
  white-space: nowrap;
}

.announcement-link:hover {
  color: #ffffff;
}

.announcement-link.active-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   2. Sticky Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  width: 100%;
}

.site-header .container {
  max-width: 1400px;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.25rem;
  width: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-800);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  background: rgba(248, 250, 252, 0.9);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap; /* Strictly prevents multi-line text breaking */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-link-amber {
  color: #b45309;
}

.nav-link-amber:hover {
  background: #fef3c7;
  color: #92400e;
}

.nav-link-tech {
  color: var(--primary-600);
  background: rgba(14, 135, 235, 0.08);
  border: 1px solid rgba(14, 135, 235, 0.2);
  padding-right: 0.65rem;
}

.nav-link-tech:hover {
  background: #0e87eb;
  color: #ffffff !important;
  border-color: #0e87eb;
  box-shadow: 0 4px 12px rgba(14, 135, 235, 0.3);
}

.nav-link-tech:hover .nav-tag-pill {
  background: #ffffff;
  color: #0e87eb;
}

.nav-tag-pill {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--primary-600);
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  line-height: 1;
  transition: var(--transition);
}

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

.nav-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 42px;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 1rem;
  min-height: 48px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-700);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee06e 0%, #169b8b 100%);
  transform: translateY(-1px);
}

.btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--primary-100);
  color: var(--primary-900);
}

/* ==========================================================================
   Mobile Drawer & Backdrop (Upgraded App-Like Experience)
   ========================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 39, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 88vw;
  height: 100%;
  background: #ffffff;
  z-index: 999;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: #f8fafc;
}

.mobile-header-status {
  font-size: 0.72rem;
  color: #16a34a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.live-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
  display: inline-block;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: #f1f5f9;
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* Quick Action Bar */
.mobile-drawer-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 1rem 1.25rem 0.5rem;
}

.mobile-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-quick-wa {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.mobile-quick-wa:hover {
  background: #22c55e;
  color: #ffffff;
}

.mobile-quick-call {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.mobile-quick-call:hover {
  background: #2563eb;
  color: #ffffff;
}

/* Spotlight Card for Pôle Digital & Web */
.mobile-spotlight-card {
  padding: 0.5rem 1.25rem 0.75rem;
}

.mobile-spotlight-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #091e3a 0%, #06152b 100%);
  color: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(96, 165, 250, 0.3);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(9, 30, 58, 0.25);
  transition: var(--transition);
}

.mobile-spotlight-link:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 6px 20px rgba(14, 135, 235, 0.35);
}

.mobile-spotlight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0e87eb, #0052a3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #ffffff;
  flex-shrink: 0;
}

.mobile-spotlight-info {
  flex: 1;
  min-width: 0;
}

.mobile-spotlight-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mobile-spotlight-header strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.spotlight-tag {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #10b981;
  color: #ffffff;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-full);
}

.mobile-spotlight-info p {
  font-size: 0.74rem;
  color: #94a3b8;
  margin: 0.15rem 0 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-spotlight-arrow {
  color: #60a5fa;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Nav Items in Drawer */
.mobile-drawer-nav {
  padding: 0.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-color-subtle);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background: #f8fafc;
  border-color: var(--border-color);
  transform: translateX(3px);
}

.mobile-nav-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.box-blue { background: #eff6ff; color: #2563eb; }
.box-amber { background: #fef3c7; color: #d97706; }
.box-purple { background: #f3e8ff; color: #9333ea; }
.box-teal { background: #ccfbf1; color: #0d9488; }
.box-orange { background: #ffedd5; color: #ea580c; }
.box-slate { background: #f1f5f9; color: #475569; }
.box-red { background: #fee2e2; color: #dc2626; }

.mobile-nav-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-nav-text strong {
  font-size: 0.86rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.mobile-nav-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.mobile-badge-express {
  font-size: 0.65rem;
  font-weight: 700;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.mobile-nav-arrow {
  font-size: 0.75rem;
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item:hover .mobile-nav-arrow {
  color: var(--primary-600);
  transform: translateX(2px);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-drawer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  background: radial-gradient(circle at 10% 15%, rgba(14, 135, 235, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
              linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.2);
  color: var(--primary-700);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--primary-950);
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 60%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge-item i {
  color: var(--accent-emerald);
  font-size: 0.95rem;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero-cih-box {
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  color: #fff;
}

.cih-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cih-logo-badge {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cih-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cih-discounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.cih-discount-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  text-align: center;
}

.discount-number {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.discount-label {
  font-size: 0.7rem;
  color: #e2e8f0;
  margin-top: 0.2rem;
  font-weight: 600;
}

.hero-quick-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.quick-feature-box {
  background: var(--bg-page);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.quick-feature-box i {
  font-size: 1.15rem;
  color: var(--primary-600);
  margin-bottom: 0.3rem;
  display: block;
}

.quick-feature-box span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.quick-feature-box small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.floating-status-tag {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

/* ==========================================================================
   4. Metrics Strip
   ========================================================================== */
.metrics-strip {
  background: var(--primary-950);
  color: #ffffff;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem;
}

.metric-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(14, 135, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.metric-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 0.2rem;
}

/* ==========================================================================
   5. Sections Generic Layout
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary-700);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw + 0.5rem, 2.35rem);
  font-weight: 800;
  color: var(--primary-950);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   6. School List Deposit (Smart Form)
   ========================================================================== */
.school-deposit-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.deposit-info-col {
  padding: 2.5rem;
  background: linear-gradient(145deg, #072448 0%, #0052a3 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deposit-steps-list {
  list-style: none;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.deposit-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.deposit-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f59e0b;
  color: #061527;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deposit-step-text strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.deposit-step-text p {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 0.15rem;
}

.deposit-form-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 1rem; /* 16px to prevent iOS auto-zoom */
  transition: var(--transition);
  -webkit-appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23475569%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem top 50%;
  background-size: 0.65rem auto;
  padding-right: 2rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* ==========================================================================
   7. Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.35rem;
}

.service-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 0.25rem;
}

.service-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.service-perks {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-perks li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-perks li i {
  color: var(--accent-emerald);
  font-size: 0.75rem;
}

/* ==========================================================================
   8. Catalog Toolbar & Products
   ========================================================================== */
.catalog-toolbar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.catalog-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-input-wrapper i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-page);
  font-size: 0.95rem;
}

.search-input-wrapper input:focus {
  border-color: var(--primary-600);
  background: #ffffff;
}

/* Touch-Friendly Horizontal Pill Scroller */
.category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.cat-pill.active {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.product-cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: 0.35rem;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  flex-grow: 1;
}

.product-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color-subtle);
}

/* ==========================================================================
   9. Subscriptions
   ========================================================================== */
.subs-tabs {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.subs-tabs::-webkit-scrollbar {
  display: none;
}

.subs-tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-color);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.subs-tab-btn.active {
  background: var(--primary-950);
  color: #ffffff;
  border-color: var(--primary-950);
}

.subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sub-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.sub-card.highlight {
  border-color: var(--primary-600);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.sub-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-amber), #d97706);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.sub-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-950);
  margin-bottom: 0.35rem;
}

.sub-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.sub-price-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.sub-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.sub-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.sub-features li i {
  color: var(--accent-emerald);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   10. Interactive Quote Request Builder
   ========================================================================== */
.calc-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.calc-items-col {
  padding: 2.25rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.calc-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-page);
  transition: var(--transition);
}

.calc-row-left {
  flex: 1;
}

.calc-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-item-rate {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-counter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.calc-btn-step {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.calc-qty-input {
  width: 48px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.35rem 0.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.calc-summary-col {
  padding: 2.25rem;
  background: linear-gradient(145deg, #061527 0%, #0a2540 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-summary-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.calc-summary-header p {
  font-size: 0.8rem;
  color: #94a3b8;
}

.calc-breakdown {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.calc-breakdown-row.total-row {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.35rem;
}

.calc-total-amount {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fde047;
}

/* ==========================================================================
   11. Sectors & Clients
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.partner-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.partner-logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.partner-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.partner-badge-sm {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   11-bis. FAQ & Guide Casablanca (SEO & AI Overview Accelerator)
   ========================================================================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--primary-300);
}

.faq-question {
  padding: 1.15rem 1.35rem;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-950);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

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

.faq-card.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.35rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: none;
  border-top: 1px solid var(--border-color-subtle);
  padding-top: 0.85rem;
}

.faq-card.open .faq-answer {
  display: block;
}

/* ==========================================================================
   12. Legal Deed & Store Access
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.legal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-header img {
  height: 44px;
  width: auto;
}

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

.legal-entry {
  background: var(--bg-page);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.legal-entry-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.legal-entry-val {
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-900);
  word-break: break-all;
}

.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-text-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-text-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.map-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

/* Google My Business Card in Contact Section */
.gmb-card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.gmb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4285f4 0%, #ea4335 33%, #fbbc05 66%, #34a853 100%);
}

.gmb-header {
  margin-bottom: 0.85rem;
}

.gmb-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.gmb-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
}

.gmb-open-link {
  color: #64748b;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.gmb-open-link:hover {
  color: #1a73e8;
}

.gmb-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-950);
  line-height: 1.3;
}

.gmb-category {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.gmb-rating-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.gmb-score {
  font-weight: 800;
  font-size: 0.95rem;
  color: #b45309;
}

.gmb-reviews-count {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.map-container-frame {
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 0.95rem;
}

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

.gmb-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: #f8fafc;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
}

.gmb-meta-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.gmb-meta-item i {
  width: 16px;
  text-align: center;
}

/* ==========================================================================
   12-bis. Google Review Banner
   ========================================================================== */
.google-review-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  border-top: 1px solid var(--border-color);
}

.google-review-banner {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.google-review-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4285f4 0%, #ea4335 33%, #fbbc05 66%, #34a853 100%);
}

.google-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.google-g-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4285f4;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
}

.stars-row {
  color: #f59e0b;
  font-size: 1.1rem;
  display: flex;
  gap: 0.2rem;
}

.rating-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-950);
}

.google-review-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-950);
  margin-bottom: 0.35rem;
}

.google-review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.55;
}

.google-review-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: var(--transition);
}

.btn-google-review:hover {
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  border-color: #4285f4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.35);
}

.btn-google-review i.fa-google {
  color: #4285f4;
  font-size: 1.15rem;
  transition: color 0.2s ease;
}

.btn-google-review:hover i.fa-google {
  color: #ffffff;
}

.google-badge-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-950);
  color: #94a3b8;
  padding: 3.5rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 1rem 0 1.25rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.84rem;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
}

/* ==========================================================================
   14. Floating WhatsApp Action (Optimized for Mobile)
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}

.floating-whatsapp-widget:hover {
  transform: translateY(-2px) scale(1.02);
  color: #ffffff;
}

.floating-whatsapp-widget i {
  font-size: 1.35rem;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 39, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

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

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* ==========================================================================
   15. Pôle Digital & Tech CECOT (Websites, Apps & Automation)
   ========================================================================== */
.section-digital {
  background: linear-gradient(135deg, #051329 0%, #0a2540 50%, #061933 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-digital::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 135, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.section-digital::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-tag-tech {
  background: rgba(14, 135, 235, 0.18) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(96, 165, 250, 0.35) !important;
}

.section-title-light {
  color: #ffffff !important;
}

.section-description-light {
  color: #94a3b8 !important;
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.digital-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.digital-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.digital-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.digital-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.digital-icon-blue {
  background: linear-gradient(135deg, #0e87eb, #0052a3);
  box-shadow: 0 4px 15px rgba(14, 135, 235, 0.35);
}

.digital-icon-green {
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.digital-icon-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.digital-icon-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.digital-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.digital-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.digital-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.digital-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.digital-features-list li {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.45;
}

.digital-features-list li i {
  color: #38bdf8;
  font-size: 0.85rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Reference Showcase Box */
.digital-showcase-box {
  margin-top: 3rem;
  background: rgba(14, 135, 235, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.digital-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.digital-showcase-text {
  flex: 1;
  min-width: 300px;
}

.digital-showcase-text h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.digital-showcase-text p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0;
}

.digital-showcase-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-tech-cta {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.45rem !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35) !important;
}

.btn-tech-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5) !important;
}

.btn-tech-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  padding: 0.85rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
}

.btn-tech-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}

/* Tech Stack Strip */
.tech-stack-strip {
  margin-top: 1.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tech-stack-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
}

.tech-tags-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* Footer Developed Badge */
.footer-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  color: #cbd5e1;
  font-size: 0.78rem;
  transition: var(--transition);
}

.footer-dev-badge strong {
  color: #60a5fa;
}

.footer-dev-badge:hover {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.35);
  color: #ffffff;
}

/* ==========================================================================
   16. Responsive Media Queries (Mobile & Tablet Mastery)
   ========================================================================== */

/* Tablet & Intermediate (< 1140px) */
@media (max-width: 1140px) {
  .desktop-nav, .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .brand-tagline {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .subs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .calc-summary-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Standard Mobile & Small Tablets (< 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar {
    height: 64px;
  }

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

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    display: none; /* Keep header clean on mobile */
  }

  .nav-menu {
    display: none; /* Moved to mobile drawer */
  }

  .mobile-toggle {
    display: flex;
  }

  /* Keep only WhatsApp button visible on small mobile navbar */
  .nav-actions .btn-amber {
    display: none;
  }

  .announcement-bar {
    padding: 0.45rem 0.5rem;
  }

  .announcement-content {
    justify-content: center;
    text-align: center;
  }

  .announcement-links {
    display: none;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust-badges {
    justify-content: flex-start;
  }

  .hero-card-main {
    padding: 1.15rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .school-deposit-card {
    grid-template-columns: 1fr;
  }

  .deposit-info-col, .deposit-form-col {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr; /* Stack inputs on mobile */
  }

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

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

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

  .calc-items-col, .calc-summary-col {
    padding: 1.5rem;
  }

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

  .legal-card {
    padding: 1.35rem;
  }

  .legal-grid {
    grid-template-columns: 1fr; /* Don't squash ICE / RIB */
  }

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

  /* Compact Floating WhatsApp on Mobile to never block forms */
  .floating-whatsapp-widget {
    bottom: 16px;
    right: 16px;
    padding: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
  }

  .floating-whatsapp-widget span {
    display: none; /* Icon-only floating bubble on phone */
  }

  .floating-whatsapp-widget i {
    font-size: 1.6rem;
  }

  /* Google Review Banner Responsive */
  .google-review-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.35rem;
  }

  .google-rating-stars {
    justify-content: center;
  }

  .google-review-action {
    width: 100%;
  }

  .btn-google-review {
    width: 100%;
    justify-content: center;
  }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

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

  .hero-quick-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr; /* Full width product card for comfortable reading */
  }

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

  .calc-row-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-counter {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.4rem;
  }
}
