/* ==========================================================================
   AideElec24 - Modern Electrical Service Design System & Stylesheet
   Color Palette: Midnight Navy (#0F172A), Electric Gold (#FFB703 / #F59E0B), 
                  Cyan Accent (#06B6D4), Pure White & Light Gray (#F8FAFC)
   ========================================================================== */

:root {
  --primary-dark: #002962;
  --primary-navy: #00357a;
  --primary-accent: #00509d;
  --electric-gold: #ffb703;
  --electric-gold-hover: #f59e0b;
  --electric-gold-glow: rgba(255, 183, 3, 0.4);
  --cyan-accent: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);
  
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark-card: #00357a;
  
  --text-main: #002962;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-gold: #fbbf24;

  --border-color: #cbd5e1;
  --border-dark: #00509d;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 41, 98, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 41, 98, 0.12);
  --shadow-lg: 0 20px 40px rgba(0, 41, 98, 0.18);
  --shadow-gold: 0 10px 25px rgba(255, 183, 3, 0.35);

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', var(--font-main);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: 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: 1240px;
  margin: 0 auto;
}

.section-padding {
  padding: 90px 0;
}

/* Section Titles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 183, 3, 0.12);
  color: #d97706;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.sub-tag.dark {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-accent);
  border-color: rgba(6, 182, 212, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

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

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-desc.light {
  color: #94a3b8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--electric-gold), var(--electric-gold-hover));
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 183, 3, 0.5);
  background: linear-gradient(135deg, #ffc107, #d97706);
}

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

.btn-outline-gold:hover {
  background: var(--electric-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-navy {
  background: var(--primary-dark);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background: var(--primary-navy);
  transform: translateY(-3px);
}

.btn-pulse {
  position: relative;
}

.btn-pulse::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: var(--radius-full);
  border: 2px solid #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
  animation: pulseGlowRed 1.8s infinite;
  opacity: 0.8;
}

@keyframes pulseGlowRed {
  0% { transform: scale(1); opacity: 0.9; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); }
  50% { transform: scale(1.08); opacity: 0.4; box-shadow: 0 0 25px rgba(259, 68, 68, 1); }
  100% { transform: scale(1); opacity: 0.9; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-ticker {
  background: linear-gradient(90deg, #001845, #002962, #001845);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-indicator {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 41, 98, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.btn-text-stacked {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
}

.btn-text-stacked span:first-child {
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.btn-text-stacked span:last-child {
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 46px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-name span {
  color: var(--electric-gold);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--cyan-accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--electric-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-gold);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(239, 68, 68, 0.2);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  border: 1.5px solid #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  white-space: nowrap;
}

.nav-phone i {
  color: #ef4444;
  font-size: 0.85rem;
}

.nav-phone:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #ff4d4d;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.9);
}

.nav-phone:hover i {
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #00509d 0%, #002962 70%);
  color: #ffffff;
  padding: 90px 0 110px 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, var(--bg-light), transparent);
}

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

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 .highlight {
  color: var(--electric-gold);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 38px;
  max-width: 620px;
  min-height: 3.6em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-item i {
  color: var(--electric-gold);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 183, 3, 0.3);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 183, 3, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--electric-gold);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.floating-text p {
  font-size: 0.82rem;
  color: var(--cyan-accent);
}

/* ==========================================================================
   Interactive Devis Simulator Section
   ========================================================================== */
.simulator-section {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.simulator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
}

.simulator-header {
  text-align: center;
  margin-bottom: 30px;
}

.simulator-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.simulator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}

.sim-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  background: var(--bg-light);
}

.sim-option i {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: block;
}

.sim-option span {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  color: var(--primary-dark);
}

.sim-option.selected, .sim-option:hover {
  border-color: var(--electric-gold);
  background: rgba(255, 183, 3, 0.08);
  transform: translateY(-3px);
}

.sim-option.selected i {
  color: var(--electric-gold-hover);
}

.sim-result-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-left: 5px solid var(--electric-gold);
}

.sim-price-info h5 {
  font-size: 0.9rem;
  color: var(--cyan-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sim-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--electric-gold);
}

/* ==========================================================================
   Services Section (No IRVE)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 183, 3, 0.5);
}

.service-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-dark);
  color: var(--electric-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--electric-gold);
}

.service-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 183, 3, 0.15);
  color: #d97706;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-list {
  margin-bottom: 20px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.service-list li i {
  color: #10b981;
}

.service-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-price-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.service-price-tag span {
  color: var(--electric-gold-hover);
  font-size: 1.1rem;
}

/* ==========================================================================
   Engagements / Why Choose Us
   ========================================================================== */
.why-us-section {
  background: var(--primary-dark);
  color: #ffffff;
}

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

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-normal);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--electric-gold);
  transform: translateY(-5px);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--electric-gold), var(--electric-gold-hover));
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-gold);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ==========================================================================
   Coverage Area (Marseille & Métropole)
   ========================================================================== */
.zone-search-wrapper {
  max-width: 600px;
  margin: 0 auto 40px auto;
  position: relative;
}

.zone-search-input {
  width: 100%;
  padding: 16px 24px;
  padding-left: 50px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.zone-search-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.zones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.zone-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.zone-pill i {
  color: var(--electric-gold-hover);
}

.zone-pill:hover, .zone-pill.active {
  background: var(--primary-dark);
  color: var(--electric-gold);
  border-color: var(--electric-gold);
}

/* ==========================================================================
   Testimonials / Google Reviews Section
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  background: var(--primary-dark);
  color: var(--electric-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--primary-navy);
  font-style: italic;
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  transition: var(--transition-normal);
  color: var(--electric-gold-hover);
}

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

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

.faq-item.active .faq-answer {
  padding: 0 24px 20px 24px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   Contact & Emergency Form Section
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info-card p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 183, 3, 0.15);
  color: var(--electric-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(255, 183, 3, 0.3);
  flex-shrink: 0;
}

.info-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.info-text p, .info-text a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.contact-form-card {
  background: #ffffff;
  color: var(--primary-dark);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  font-size: 0.98rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--electric-gold-hover);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.alert-success {
  display: none;
  background: #d1fae5;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #001845;
  color: #cbd5e1;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--electric-gold);
}

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

/* ==========================================================================
   Floating Action Bar on Mobile (Ultra-Premium Glassmorphic Design)
   ========================================================================== */
.floating-bottom-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 24px);
  max-width: 480px;
  background: rgba(0, 31, 77, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 183, 3, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 41, 98, 0.6);
  animation: floatBarEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes floatBarEntrance {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.floating-bottom-bar .btn-floating-call {
  flex: 1.1;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
  color: #ffffff !important;
  padding: 11px 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  animation: pulseCallGlow 2s infinite;
}

.floating-bottom-bar .btn-floating-call i {
  background: rgba(255, 255, 255, 0.25);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.floating-bottom-bar .btn-floating-devis {
  flex: 0.9;
  background: linear-gradient(135deg, #fff3c4 0%, #ffb703 45%, #d97706 100%);
  color: #001d4a !important;
  padding: 11px 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.floating-bottom-bar .btn-floating-devis i {
  background: rgba(0, 41, 98, 0.15);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #001d4a;
}

.floating-bottom-bar .btn-floating-devis:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 183, 3, 0.7);
  background: linear-gradient(135deg, #ffffff 0%, #ffc107 50%, #d97706 100%);
}

@keyframes pulseCallGlow {
  0% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 22px rgba(239, 68, 68, 0.9); }
  100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
}

/* ==========================================================================
   Modal Popup Devis Express
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.modal-card {
  background: #ffffff;
  color: var(--primary-dark);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--electric-gold);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent;
  font-size: 2.2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: #ef4444;
}

.modal-header {
  text-align: center;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 10px 0 6px 0;
}

.modal-price-badge {
  display: inline-block;
  background: var(--primary-dark);
  color: var(--electric-gold);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--electric-gold);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-phone {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .nav-phone i {
    font-size: 0.95rem !important;
  }
  .btn-text-stacked span:first-child {
    font-size: 0.72rem;
  }
  .btn-text-stacked span:last-child {
    font-size: 0.68rem;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
