/* ============================================
   Les Maitres Couvreurs — Style Global
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2a50;
  --primary-light: #e8f0fe;
  --primary-rgb: 26, 60, 110;
  --cta-green: #00893E;
  --cta-green-dark: #006d32;
  --alert-orange: #D14800;
  --alert-red: #E52020;
  --text-dark: #1a1a2e;
  --text-body: #475569;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-grey: #F8F9FA;
  --bg-light: #F1F5F9;
  --header-h: 70px;
  --subheader-h: 36px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --- Icon Sizes (Lucide) --- */
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 32px; height: 32px; }
.icon-lg { width: 48px; height: 48px; }

/* --- Utility Classes --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.desktop-only { display: inline; }
.mobile-only { display: none; }
.section-padding { padding: 80px 0; }
.bg-white { background: var(--bg-white); }
.bg-grey { background: var(--bg-grey); }
.text-center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); line-height: 1.3; }
h2 { font-family: 'Poppins', sans-serif; font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 8px; }
h3 { font-family: 'Poppins', sans-serif; font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.section-subtitle {
  font-family: 'Caveat', cursive;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 40px;
}
.section-header { text-align: center; margin-bottom: 48px; }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 137, 62, 0.5); }
  50% { box-shadow: 0 0 16px 4px rgba(0, 137, 62, 0.25); }
  100% { box-shadow: 0 0 0 0 rgba(0, 137, 62, 0.5); }
}
@keyframes pulse-glow-primary {
  0% { box-shadow: 0 0 0 0 rgba(26, 60, 110, 0.5); }
  50% { box-shadow: 0 0 16px 4px rgba(26, 60, 110, 0.25); }
  100% { box-shadow: 0 0 0 0 rgba(26, 60, 110, 0.5); }
}
@keyframes bounce-in {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--primary-dark);
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo {
  flex-shrink: 0;
}
.header-logo a { display: flex; align-items: center; }
.header-logo img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}
.header-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}
.btn-phone-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  animation: pulse-glow 2.5s infinite;
}
.btn-phone-header:hover {
  background: var(--cta-green-dark);
  transform: scale(1.03);
}
.btn-phone-header .icon-sm { color: #fff; }
.header-devis {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  text-align: center;
  margin-top: 2px;
}
.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #25D366;
  border-radius: 50%;
  transition: transform 0.2s;
}
.btn-whatsapp-header:hover { transform: scale(1.1); }
.btn-whatsapp-header svg { width: 20px; height: 20px; fill: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(7.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7.5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 1050;
  transition: right 0.3s ease;
  padding: 80px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.mobile-menu a {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}
.mobile-menu a.active { color: #FBBF24; }
.mobile-menu .mobile-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  width: 100%;
  background: var(--cta-green);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 16px;
  border-radius: 50px;
  text-decoration: none;
}
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
}
.mobile-overlay.open { display: block; }

/* ============================================
   SUB-HEADER BAR
   ============================================ */
.sub-header {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--alert-red);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  z-index: 999;
  transition: top 0.3s;
  white-space: normal;
}
.sub-header span { white-space: nowrap; }

/* Urgency badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--alert-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 50px;
  animation: pulse-glow 2s infinite;
  margin-left: 12px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: calc(var(--header-h) + var(--subheader-h) + 44px);
  padding-bottom: 60px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { color: #fff; }
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 44px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
}
.h1-sub {
  font-family: 'Caveat', cursive;
  font-size: clamp(18px, 2.5vw, 28px);
  color: #FBBF24;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 20px;
}
.hero-bullets { margin-bottom: 28px; }
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.hero-bullets li i { color: #22c55e; flex-shrink: 0; }
.btn-phone-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 20px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  max-width: fit-content;
  transition: background 0.2s, transform 0.2s;
  animation: pulse-glow 2.5s infinite;
}
.btn-phone-hero:hover {
  background: var(--cta-green-dark);
  transform: scale(1.03);
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.hero-rating .stars { color: #FBBF24; font-size: 18px; }

/* Hero Form */
.hero-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 32px 28px;
}
.hero-form-card .form-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.hero-form-card .form-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  background: #f9fafb;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.15);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-group .field-error {
  color: var(--alert-red);
  font-size: 13px;
  margin-top: 4px;
  display: none;
}
.form-group input.error,
.form-group textarea.error { border-color: var(--alert-red); }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.5;
}
.form-consent-text {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.5;
}
.form-consent-text a { color: var(--primary); text-decoration: underline; }
.btn-submit {
  display: block;
  width: 100%;
  background: var(--cta-green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-glow 2.5s infinite;
}
.btn-submit:hover { background: var(--cta-green-dark); transform: scale(1.02); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; animation: none; }
.form-success {
  display: none;
  background: #ecfdf5;
  color: var(--cta-green);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  text-align: center;
}
.form-error-msg {
  display: none;
  background: #fef2f2;
  color: var(--alert-red);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  text-align: center;
}
/* Honeypot */
.ohnohoney { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--primary);
  color: #fff;
  padding: 32px 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-item i { color: #fff; }
.trust-item .trust-value { font-size: 28px; font-weight: 700; line-height: 1.2; }
.trust-item .trust-label { font-size: 14px; opacity: 0.9; }
.trust-item .stars { color: #FBBF24; font-size: 18px; }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: none;
}
.service-card-img.loaded { display: block; }
.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 0;
  color: var(--primary);
}
.service-card-icon.hidden { display: none; }
.service-card-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { margin-bottom: 8px; }
.service-card-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.service-card-body .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap 0.2s;
}
.service-card-body .btn-link:hover { gap: 10px; text-decoration: none; }

/* Home page services (landing page links) */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.home-service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.home-service-card-img {
  width: calc(100% + 64px);
  margin: -32px -32px 20px -32px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: none;
}
.home-service-card-img.loaded { display: block; }
.home-service-card i { color: var(--primary); margin-bottom: 16px; }
.home-service-card h3 { font-size: 20px; margin-bottom: 12px; }
.home-service-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.home-service-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.home-service-card .btn-link:hover { gap: 10px; text-decoration: none; }

/* ============================================
   REALISATIONS GRID + MINI CAROUSELS
   ============================================ */
.carousel-filters {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.carousel-filters.active { display: flex; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover { background: var(--primary); color: #fff; }
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.realisation-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  padding-top: 75%;
  background: #111;
}
@supports (aspect-ratio: 4 / 3) {
  .realisation-card { padding-top: 0; aspect-ratio: 4 / 3; }
}
.realisation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.realisation-card img.active { opacity: 1; }
.realisation-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 3;
}
.realisation-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 50px;
  z-index: 3;
}
.realisation-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  border: none;
  transition: background 0.2s;
  padding: 0;
}
.realisation-arrow:hover { background: #fff; }
.realisation-arrow svg { width: 16px; height: 16px; stroke: #333; stroke-width: 2.5; fill: none; }
.realisation-arrow-left { left: 8px; }
.realisation-arrow-right { right: 8px; }
.realisations-placeholder {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
  font-size: 16px;
}

/* ============================================
   ALERTS / SIGNES D'ALERTE
   ============================================ */
.alerts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.alert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  border-left: 4px solid var(--alert-orange);
  transition: transform 0.3s, box-shadow 0.3s;
}
.alert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.alert-card i { color: var(--alert-orange); margin-bottom: 12px; }
.alert-card h3 { font-size: 17px; margin-bottom: 8px; }
.alert-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

.consequences-bar {
  background: #fff5f5;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.consequences-bar h3 {
  color: var(--alert-red);
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.consequences-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.consequences-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}
.consequences-list li i { color: var(--alert-red); flex-shrink: 0; }
.btn-cta-section {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
}
.btn-cta-section:hover { background: var(--primary-dark); transform: scale(1.03); }

/* ============================================
   METHOD / PROCESS
   ============================================ */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.method-line {
  display: none;
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--primary);
  z-index: 0;
}
.method-step {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.method-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(26, 60, 110, 0.3);
}
.method-step i { color: var(--primary); margin-bottom: 10px; }
.method-step h3 { font-size: 16px; margin-bottom: 8px; }
.method-step p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* ============================================
   ENGAGEMENTS
   ============================================ */
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.engagement-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.engagement-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.engagement-card i { color: var(--primary); margin-bottom: 12px; }
.engagement-card h3 { font-size: 17px; margin-bottom: 8px; }
.engagement-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ============================================
   REVIEWS
   ============================================ */
.reviews-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-summary .google-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 8px;
}
.reviews-summary .review-note {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}
.reviews-summary .stars { color: #FBBF24; font-size: 24px; margin: 8px 0; }
.reviews-summary .review-count { font-size: 16px; color: var(--text-light); margin-bottom: 8px; }
.reviews-summary .review-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.review-card .stars { color: #FBBF24; font-size: 16px; margin-bottom: 16px; }
.review-card .quote-mark {
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 48px;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.review-card .review-text {
  font-style: italic;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.review-card .review-author { font-weight: 600; font-size: 14px; color: var(--text-dark); }

/* ============================================
   ZONE D'INTERVENTION
   ============================================ */
.zone-cities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.zone-city {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.zone-city:hover { background: var(--primary-light); border-color: var(--primary); }
.zone-more {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  font-size: 15px;
  margin-top: 16px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-grey); }
.faq-question .chevron {
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--primary);
}
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================
   FOOTER CTA
   ============================================ */
.footer-cta {
  background: var(--primary-dark);
  color: #fff;
  padding: 80px 0;
}
.footer-cta h2 { color: #fff; text-align: center; margin-bottom: 8px; }
.footer-cta .section-subtitle { color: #FBBF24; text-align: center; margin-bottom: 8px; }
.footer-cta .urgency-text {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.footer-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  padding: 40px 32px;
  max-width: 700px;
  margin: 0 auto 32px;
}
.footer-form-card .form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 24px;
}
.footer-alt-phone {
  text-align: center;
  margin-top: 24px;
}
.btn-phone-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #fff;
  color: #fff !important;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn-phone-outline:hover { background: rgba(255,255,255,0.15); transform: scale(1.03); }
.footer-info {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-info p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-phone {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  background: var(--cta-green);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 14px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.floating-phone.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-phone i { vertical-align: middle; margin-right: 6px; }

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 9998;
  text-decoration: none;
  animation: bounce-in 0.5s ease 1s both;
  transition: transform 0.2s;
}
.floating-whatsapp:hover { transform: scale(1.1); }
.floating-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: calc(var(--header-h) + var(--subheader-h) + 40px);
  padding-bottom: 80px;
}
.legal-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-dark);
  margin-bottom: 32px;
}
.legal-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 24px; }
.legal-content ul li { list-style: disc; }

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  text-align: center;
  padding-top: calc(var(--header-h) + var(--subheader-h) + 80px);
  padding-bottom: 80px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-404 h1 { font-size: 72px; color: var(--primary); margin-bottom: 16px; }
.page-404 h2 { font-size: 28px; margin-bottom: 12px; }
.page-404 p { font-size: 16px; color: var(--text-light); margin-bottom: 32px; }
.page-404 .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 32px;
}
.page-404 .btn-back:hover { background: var(--primary-dark); text-decoration: none; }
.page-404 .links-404 { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.page-404 .links-404 a { color: var(--primary); font-weight: 600; font-size: 15px; }

/* ============================================
   RESPONSIVE — Tablet (768 - 1023px)
   ============================================ */
@media (min-width: 1024px) {
  .method-line { display: block; }
  .hero { min-height: calc(100vh - var(--header-h) - var(--subheader-h)); min-height: calc(100dvh - var(--header-h) - var(--subheader-h)); display: flex; align-items: center; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .header-right .urgency-badge { display: none; }
  .header-right .btn-whatsapp-header { display: none; }
  .header-devis { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(24px, 4.5vw, 32px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .alerts-grid { grid-template-columns: repeat(2, 1fr); }
  .engagements-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-cities { grid-template-columns: repeat(3, 1fr); }
  .home-services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .realisations-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE — Mobile (<768px)
   ============================================ */
@media (max-width: 767px) {
  :root { --header-h: 60px; --subheader-h: 32px; }
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section-padding { padding: 60px 0; }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline !important; }

  .header-logo img { max-width: 120px; max-height: 50px; }
  .btn-phone-header { font-size: 13px; padding: 7px 12px; gap: 6px; }
  .btn-phone-header .icon-sm { width: 16px; height: 16px; }
  .header-inner { padding: 0 12px; gap: 8px; }

  .sub-header {
    font-size: 12px;
    padding: 6px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sub-header .sub-header-secondary { display: none; }

  .hero {
    padding-top: calc(var(--header-h) + var(--subheader-h) + 70px);
    padding-bottom: 40px;
  }
  .hero h1 { font-size: clamp(24px, 6vw, 32px); }
  .h1-sub { font-size: clamp(16px, 4vw, 22px); }
  .btn-phone-hero { font-size: 18px; padding: 14px 24px; }
  .hero-form-card { margin: 0; padding: 24px 16px; }

  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-item .trust-value { font-size: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .home-services-grid { grid-template-columns: 1fr; }
  .alerts-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .engagements-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .zone-cities { grid-template-columns: repeat(2, 1fr); }
  .consequences-list { grid-template-columns: 1fr; }

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

  .filter-btn { padding: 6px 14px; font-size: 13px; }

  .footer-form-card { padding: 28px 16px; }
  .btn-phone-outline { font-size: 16px; padding: 12px 20px; }

  .floating-phone { display: block; }
  .floating-whatsapp { bottom: 80px; }

  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 480px) {
  .zone-cities { grid-template-columns: 1fr; }
  .trust-bar-grid { grid-template-columns: 1fr; }
  .realisations-grid { grid-template-columns: 1fr; }
}

/* ============================================
   URGENCY PAGE STYLES
   ============================================ */
.urgency-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--alert-red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  animation: pulse-glow 2s infinite;
}
.urgency-hero-badge i { width: 18px; height: 18px; }

/* Print */
@media print {
  .site-header, .sub-header, .floating-phone, .floating-whatsapp, .mobile-menu, .mobile-overlay { display: none !important; }
  .hero { min-height: auto !important; padding-top: 20px !important; }
  body { font-size: 12pt; color: #000; }
}
