/* ==========================================================================
   LÉMAN CARRELAGE - DESIGN SYSTEM & STYLESHEET
   Conçu pour la conversion, la performance et le SEO local
   ========================================================================== */

:root {
  /* Palette de Couleurs Haut de Gamme */
  --color-primary: #0f172a;        /* Ardoise profonde */
  --color-primary-light: #1e293b;
  --color-accent: #c2410c;         /* Terre cuite chaleureuse / Terracotta */
  --color-accent-hover: #9a3412;
  --color-accent-soft: rgba(194, 65, 12, 0.08);
  --color-secondary: #0284c7;      /* Bleu Léman */
  --color-gold: #d97706;           /* Or / Étoiles avis */

  --color-bg-main: #f8fafc;        /* Fond clair épuré */
  --color-bg-card: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* Typographie */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ombres & Rayons */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

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

ul {
  list-style: none;
}

/* Structure & Conteneurs */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 85px 0;
}

.text-center {
  text-align: center;
}

/* En-têtes de Section */
.section-header {
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

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

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

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.45);
}

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

.btn-outline:hover {
  background-color: #ffffff;
  border-color: var(--color-text-main);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-banner {
  background-color: var(--color-primary);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info-left, .top-info-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.top-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 700;
}

.top-phone:hover {
  color: #fdba74;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

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

.logo-icon {
  font-size: 1.8rem;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary);
  position: relative;
  padding: 6px 0;
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(194, 65, 12, 0.07) 0%, transparent 45%),
              linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 85px 0 100px;
  overflow: hidden;
}

.hero-glow-orb-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero-glow-orb-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.1) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 25px) scale(0.95); }
}

/* Bouton Shimmer Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-primary:hover::after {
  left: 140%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight-text {
  color: var(--color-accent);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.trust-icon {
  color: #16a34a;
  font-weight: 800;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.floating-star {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   SIMULATEUR DE DEVIS (Calculateur interactif)
   ========================================================================== */
.simulator-section {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.calculator-card {
  background-color: var(--color-bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 45px;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-select, .form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-range {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
  outline: none;
  accent-color: var(--color-accent);
  cursor: pointer;
  margin: 12px 0;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.radio-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.radio-pill input[type="radio"] {
  accent-color: var(--color-accent);
}

.radio-pill:hover {
  border-color: #94a3b8;
}

.calculator-result-box {
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.result-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background-color: #f1f5f9;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.result-price-range {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.result-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.lead-form-mini {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.lead-form-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.form-group-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-bg-card);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.highlight-card {
  border: 2px solid var(--color-accent);
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-icon {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

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

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✓';
  color: #16a34a;
  font-weight: bold;
}

/* ==========================================================================
   PORTFOLIO GALLERY & EFFETS INTERACTIFS
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
  background-color: var(--color-bg-alt);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.15);
  border-color: #cbd5e1;
}

.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 290px;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-image-wrapper img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-btn {
  width: 52px;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-zoom-btn {
  transform: scale(1);
}

.gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(194, 65, 12, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.gallery-caption {
  padding: 22px 24px;
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.gallery-caption p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.gallery-specs {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   MODULE AVANT / APRÈS (BEFORE / AFTER COMPARISON)
   ========================================================================== */
.before-after-wrapper {
  margin-top: 60px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.before-after-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px;
}

.before-after-header h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.before-after-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  user-select: none;
  --slider-pos: 50%;
  cursor: ew-resize;
}

@media (max-width: 768px) {
  .before-after-container {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .before-after-container {
    height: 240px;
  }
}

.before-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0);
  z-index: 2;
  pointer-events: none;
}

.before-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 3px;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: 4;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.before-label, .after-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
  z-index: 4;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.before-label {
  left: 16px;
}

.after-label {
  right: 16px;
  background: rgba(194, 65, 12, 0.92);
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: var(--slider-pos, 50%);
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  z-index: 5;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: bold;
  border: 2px solid var(--color-primary);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  max-width: 1050px;
  width: 100%;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #0f172a;
  transform: scale(1.1);
}

.lightbox-img-box {
  width: 100%;
  max-height: 580px;
  background-color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-box img {
  max-width: 100%;
  max-height: 580px;
  object-fit: contain;
}

.lightbox-info {
  padding: 24px 30px;
  background-color: #ffffff;
}

.lightbox-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

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

/* ==========================================================================
   TOAST NOTIFICATION FLOTTANTE (PREUVE SOCIALE EN TEMPS RÉEL)
   ========================================================================== */
.live-social-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
}

.live-social-toast.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon-pulse {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.15) 0%, rgba(22, 163, 74, 0.25) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
}

.toast-icon-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #16a34a;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

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

.toast-time {
  font-size: 0.72rem;
  color: #16a34a;
  font-weight: 600;
}

/* ==========================================================================
   ZONE SEO LOCALE
   ========================================================================== */
.local-seo-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 55px;
  box-shadow: var(--shadow-xl);
}

.local-seo-card .section-tag {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fdba74;
}

.local-seo-card .section-title {
  color: #ffffff;
  font-size: 2.2rem;
}

.local-seo-card p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: 28px;
}

.city-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.city-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(5px);
}

.local-callout {
  background-color: rgba(194, 65, 12, 0.25);
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   AVIS CLIENTS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

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

.review-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-quote {
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.review-author strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.review-author span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 860px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--color-primary);
  color: #94a3b8;
  padding-top: 75px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-badge {
  font-size: 0.85rem;
  color: #38bdf8;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-address strong {
  color: #ffffff;
}

.footer-address a {
  color: #e2e8f0;
}

.footer-address a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.85rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile-First adaptations)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge, .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .top-banner {
    display: none;
  }

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

  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    display: none;
    flex-direction: column;
    z-index: 99;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .mobile-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .form-group-inline {
    grid-template-columns: 1fr;
  }

  .local-seo-card {
    padding: 30px 20px;
  }

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

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   COMPARISON SECTION & TABLE STYLING
   ========================================================================== */
.comparison-section {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th, 
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.comparison-table th {
  background-color: var(--color-bg-alt);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

.comparison-table .highlight-col {
  background-color: rgba(194, 65, 12, 0.04);
  border-left: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
}

.comparison-table thead .highlight-col {
  background-color: #fff7ed;
  position: relative;
}

.col-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.check-icon {
  color: #16a34a;
  font-weight: 800;
  font-size: 1.1rem;
  margin-right: 6px;
}

.cross-icon {
  color: #dc2626;
  font-weight: 800;
  font-size: 1.1rem;
  margin-right: 6px;
}

.neutral-icon {
  color: #d97706;
  font-weight: 800;
  font-size: 1.1rem;
  margin-right: 6px;
}

/* ==========================================================================
   BARRE D'ACTION MOBILE FLOTTANTE (STICKY CALL-TO-ACTION BAR)
   ========================================================================== */
.sticky-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    gap: 10px;
    animation: slideUpBar 0.4s ease-out;
  }

  @keyframes slideUpBar {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .sticky-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, filter 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .sticky-btn:active {
    transform: scale(0.97);
  }

  .sticky-btn-call {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sticky-btn-quote {
    background: linear-gradient(135deg, var(--color-accent) 0%, #9a3412 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sticky-btn-icon {
    font-size: 1.15rem;
  }

  /* Compenser la hauteur de la barre fixe sur le corps de page */
  body {
    padding-bottom: 70px;
  }
}

/* ==========================================================================
   BANDEAU DE RÉASSURANCE & CERTIFICATIONS OFFICIELLES
   ========================================================================== */
.trust-strip {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.trust-strip-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.trust-strip-text {
  display: flex;
  flex-direction: column;
}

.trust-strip-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.trust-strip-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   RECHERCHE FAQ INSTANTANÉE
   ========================================================================== */
.faq-search-wrapper {
  max-width: 600px;
  margin: 0 auto 35px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  outline: none;
}

.faq-search-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.15);
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

.faq-item.faq-highlight {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.2);
}

.faq-no-results {
  text-align: center;
  padding: 30px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  display: none;
}

/* ==========================================================================
   WIDGET FLOTTANT WHATSAPP / DEVIS DIRECT (DESKTOP & TABLETTE)
   ========================================================================== */
.floating-contact-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-trigger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.floating-trigger-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
}

.floating-pulse-badge {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22c55e;
  position: relative;
}

.floating-pulse-badge::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: #22c55e;
  opacity: 0.7;
  animation: badgePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes badgePing {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.floating-popover {
  display: none;
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 310px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  animation: popoverFadeIn 0.25s ease-out;
}

.floating-popover.open {
  display: block;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popover-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 16px 20px;
}

.popover-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.popover-header p {
  font-size: 0.8rem;
  color: #86efac;
  font-weight: 500;
}

.popover-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popover-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.popover-whatsapp {
  background: #dcfce7;
  color: #15803d;
}

.popover-whatsapp:hover {
  background: #bbf7d0;
  transform: translateX(3px);
}

.popover-call {
  background: #e0f2fe;
  color: #0369a1;
}

.popover-call:hover {
  background: #bae6fd;
  transform: translateX(3px);
}

.popover-simulator {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.popover-simulator:hover {
  background: #e2e8f0;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .floating-contact-widget {
    display: none; /* Remplacé par la sticky-bar sur mobile */
  }
}

