/* ============================================================
   COUVREUR MOSELLE - Main Stylesheet
   Professional roofing company website
   ============================================================ */

/* =========================
   1. RESET & BASE TYPOGRAPHY
   ========================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2C3E50;
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #F39C12;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #2C3E50;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1em;
}

/* =========================
   2. UTILITY CLASSES
   ========================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.text-white { color: #ffffff; }
.text-primary { color: #2C3E50; }
.text-secondary { color: #C0392B; }
.text-accent { color: #F39C12; }
.text-success { color: #27AE60; }

.bg-white   { background-color: #ffffff; }
.bg-light   { background-color: #ECF0F1; }
.bg-dark    { background-color: #1A252F; }
.bg-primary { background-color: #2C3E50; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================
   3. SECTION SPACING
   ========================= */

section,
.section {
  padding: 80px 0;
}

.section-light {
  background-color: #ECF0F1;
  padding: 80px 0;
}

.section-dark {
  background-color: #1A252F;
  color: #ffffff;
  padding: 80px 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #F39C12, #C0392B);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 20px auto 0;
}

.section-header.light h2 {
  color: #ffffff;
}

.section-header.light h2::after {
  background: linear-gradient(135deg, #F39C12, #e67e22);
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.8);
}


/* =========================
   4. EMERGENCY BAR
   ========================= */

.emergency-bar {
  background-color: #C0392B;
  color: #ffffff;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1001;
}

.emergency-bar a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.emergency-bar a:hover {
  opacity: 0.85;
  color: #ffffff;
}

.emergency-bar .phone-icon {
  margin-right: 6px;
  display: inline-block;
  animation: phone-ring 1.5s ease-in-out infinite;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-5deg); }
  50% { transform: rotate(0deg); }
}


/* =========================
   5. HEADER & NAVIGATION
   ========================= */

.header {
  background-color: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #2C3E50;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: #C0392B;
}

.logo:hover {
  color: #2C3E50;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2C3E50;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: #C0392B;
  background-color: rgba(192, 57, 43, 0.06);
}

/* Proximitorio logo on the right */
.header-partner-logo {
  flex-shrink: 0;
  height: 40px;
  width: auto;
}

.header-partner-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #2C3E50;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}


/* =========================
   6. HERO SECTIONS
   ========================= */

.hero {
  background: linear-gradient(135deg, #1A252F 0%, #2C3E50 100%);
  color: #ffffff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero h1 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero h1 .highlight {
  color: #F39C12;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glassmorphism card within hero */
.hero-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
}

/* Hero for subpages - smaller */
.hero-small {
  padding: 50px 0 40px;
}

.hero-small h1 {
  font-size: 2.2rem;
}

.hero-small p {
  font-size: 1.05rem;
}

/* Hero variant for zones-intervention page */
.hero-zones {
  padding: 70px 0 60px;
}

.hero-zones h1 {
  font-size: 2.6rem;
  letter-spacing: -0.5px;
}

.hero-zones h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #F39C12, #E67E22);
  margin: 18px auto 0;
  border-radius: 2px;
}

.hero-zones .hero-subtitle {
  font-size: 1.15rem;
  margin-top: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-zones .metrics-row {
  margin-top: 15px;
}

.hero-zones .metric-badge {
  min-width: 180px;
  border-top: 3px solid rgba(243, 156, 18, 0.7);
  position: relative;
}

.hero-zones .metric-badge .metric-number {
  font-size: 2.4rem;
}

@media (max-width: 768px) {
  .hero-zones {
    padding: 50px 0 40px;
  }

  .hero-zones h1 {
    font-size: 1.9rem;
  }

  .hero-zones .hero-subtitle {
    font-size: 1rem;
  }

  .hero-zones .metric-badge {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .hero-zones h1 {
    font-size: 1.6rem;
  }

  .hero-zones .metric-badge .metric-number {
    font-size: 2rem;
  }
}


/* =========================
   7. METRICS / STATS ROW
   ========================= */

.metrics-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.metric-item {
  text-align: center;
  min-width: 140px;
}

.metric-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #F39C12;
  line-height: 1.2;
  display: block;
}

.metric-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  display: block;
}

/* Metrics on light backgrounds */
.metrics-row.dark-text .metric-number {
  color: #C0392B;
}

.metrics-row.dark-text .metric-label {
  color: #6c757d;
}

/* Badge-style metrics */
.metric-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.metric-badge:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}


/* =========================
   8. BUTTONS
   ========================= */

.btn,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary,
button[type="submit"],
input[type="submit"] {
  background-color: #F39C12;
  color: #1A252F;
  border-color: #F39C12;
}

.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background-color: #e67e22;
  border-color: #e67e22;
  color: #1A252F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.35);
}

.btn-secondary {
  background-color: #C0392B;
  color: #ffffff;
  border-color: #C0392B;
}

.btn-secondary:hover {
  background-color: #a93226;
  border-color: #a93226;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: #2C3E50;
  border-color: #2C3E50;
}

.btn-outline:hover {
  background-color: #2C3E50;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
}

.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #2C3E50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-outline-accent {
  background-color: transparent;
  color: #F39C12;
  border-color: #F39C12;
}

.btn-outline-accent:hover {
  background-color: #F39C12;
  color: #1A252F;
  transform: translateY(-2px);
}

.btn-success {
  background-color: #27AE60;
  color: #ffffff;
  border-color: #27AE60;
}

.btn-success:hover {
  background-color: #219a52;
  border-color: #219a52;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn i,
.btn svg {
  font-size: 1.1em;
}


/* =========================
   9. SERVICE GRID
   ========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F39C12, #C0392B);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 65px;
  height: 65px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(192, 57, 43, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #C0392B;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, #F39C12, #C0392B);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.7;
}

.service-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: #C0392B;
  margin-bottom: 20px;
  display: block;
}

.service-card-price small {
  font-weight: 400;
  color: #6c757d;
  font-size: 0.85em;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #C0392B;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.service-card-link:hover {
  color: #F39C12;
  gap: 10px;
}

.service-card-link::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.service-card-link:hover::after {
  transform: translateX(4px);
}

/* 2-column service grid variant */
.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 4-column service grid variant */
.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}


/* =========================
   10. WHY CHOOSE US (NUMBERED CARDS)
   ========================= */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.advantage-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #F39C12, #C0392B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.9;
}

.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.7;
}

.advantage-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #27AE60;
  font-size: 1.3rem;
}


/* =========================
   11. PROCESS / TIMELINE STEPS
   ========================= */

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  padding: 20px 0;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: linear-gradient(90deg, #F39C12, #C0392B);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F39C12, #e67e22);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(243, 156, 18, 0.45);
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: #6c757d;
  max-width: 200px;
}


/* =========================
   12. FORMS
   ========================= */

.form-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.form-container h3 {
  margin-bottom: 5px;
}

.form-container > p {
  color: #6c757d;
  margin-bottom: 25px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  overflow: visible;
}

.form-group {
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 6px;
}

.form-group label .required {
  color: #C0392B;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #2C3E50;
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb5bd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #F39C12;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group .help-text {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 4px;
}

.form-group .error-text {
  font-size: 0.8rem;
  color: #C0392B;
  margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #C0392B;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.form-submit {
  margin-top: 25px;
  text-align: center;
}

.form-consent {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 12px;
}

.form-consent a {
  color: #C0392B;
  text-decoration: underline;
}

/* Checkbox / radio custom styles */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #F39C12;
  cursor: pointer;
}


/* =========================
   13. AUTOCOMPLETE
   ========================= */

.autocomplete-wrapper {
  position: relative;
  overflow: visible;
}

.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: none;
}

.autocomplete-results.active {
  display: block;
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #2C3E50;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: #FEF5E7;
  color: #C0392B;
}

.autocomplete-item mark,
.autocomplete-item strong {
  background: none;
  color: #C0392B;
  font-weight: 700;
}

.autocomplete-item .autocomplete-zip {
  font-size: 0.8rem;
  color: #6c757d;
  margin-left: 8px;
}

/* Scrollbar styling for autocomplete */
.autocomplete-results::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-results::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 0 10px 0;
}

.autocomplete-results::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 3px;
}

.autocomplete-results::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}


/* =========================
   14. FOOTER
   ========================= */

.footer {
  background-color: #1A252F;
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: #F39C12;
  border-radius: 2px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.8em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: #F39C12;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact-item i,
.footer-contact-item svg {
  color: #F39C12;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item a:hover {
  color: #F39C12;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: #F39C12;
  color: #1A252F;
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

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

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  position: relative;
}

.footer-bottom-links a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -12px;
  color: rgba(255, 255, 255, 0.2);
}


/* =========================
   15. BREADCRUMB
   ========================= */

.breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-list li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.breadcrumb-list li a:hover {
  color: #F39C12;
}

.breadcrumb-list li:last-child {
  color: #F39C12;
  font-weight: 600;
}

/* Breadcrumb on light backgrounds */
.breadcrumb.breadcrumb-dark .breadcrumb-list li:not(:last-child)::after {
  color: #adb5bd;
}

.breadcrumb.breadcrumb-dark .breadcrumb-list li a {
  color: #6c757d;
}

.breadcrumb.breadcrumb-dark .breadcrumb-list li a:hover {
  color: #C0392B;
}

.breadcrumb.breadcrumb-dark .breadcrumb-list li:last-child {
  color: #2C3E50;
}


/* =========================
   16. FAQ ACCORDION
   ========================= */

.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(243, 156, 18, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2C3E50;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
  gap: 15px;
}

.faq-question:hover {
  color: #C0392B;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #F39C12;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(243, 156, 18, 0.1);
  transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '\2212';
  background: #F39C12;
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 25px 25px;
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.8;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}


/* =========================
   17. URGENCE BANNER
   ========================= */

.urgence-banner {
  background: linear-gradient(135deg, #C0392B, #e74c3c);
  color: #ffffff;
  padding: 25px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.urgence-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.03) 20px,
    rgba(255, 255, 255, 0.03) 40px
  );
  pointer-events: none;
}

.urgence-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.urgence-banner h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0;
}

.urgence-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.urgence-banner .btn {
  background: #ffffff;
  color: #C0392B;
  border-color: #ffffff;
  font-weight: 700;
}

.urgence-banner .btn:hover {
  background: #F39C12;
  color: #1A252F;
  border-color: #F39C12;
}

.urgence-phone {
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.urgence-phone i,
.urgence-phone svg {
  animation: phone-ring 1.5s ease-in-out infinite;
}


/* =========================
   18. COMMUNES LIST (PILL LINKS)
   ========================= */

.communes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.communes-list a {
  display: inline-block;
  padding: 8px 18px;
  background: #ffffff;
  color: #2C3E50;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.communes-list a:hover {
  background: #C0392B;
  color: #ffffff;
  border-color: #C0392B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.25);
}

.communes-list a.active {
  background: #2C3E50;
  color: #ffffff;
  border-color: #2C3E50;
}

/* Communes on dark backgrounds */
.section-dark .communes-list a {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.section-dark .communes-list a:hover {
  background: #F39C12;
  color: #1A252F;
  border-color: #F39C12;
}


/* =========================
   19. BADGES & PILLS
   ========================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-primary {
  background: rgba(44, 62, 80, 0.1);
  color: #2C3E50;
}

.badge-secondary {
  background: rgba(192, 57, 43, 0.1);
  color: #C0392B;
}

.badge-accent {
  background: rgba(243, 156, 18, 0.12);
  color: #d68910;
}

.badge-success {
  background: rgba(39, 174, 96, 0.1);
  color: #27AE60;
}

.badge-light {
  background: #ECF0F1;
  color: #6c757d;
}

.badge-dark {
  background: #2C3E50;
  color: #ffffff;
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  background: #ECF0F1;
  color: #2C3E50;
  transition: all 0.3s ease;
}

.pill:hover {
  background: #2C3E50;
  color: #ffffff;
}

.canton-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(243, 156, 18, 0.1);
  color: #d68910;
}


/* =========================
   20. CARDS (GENERIC)
   ========================= */

.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 30px;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Info card with icon */
.info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F39C12, #e67e22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  flex-shrink: 0;
}


/* =========================
   21. TESTIMONIALS / REVIEWS
   ========================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 4rem;
  color: rgba(243, 156, 18, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: #F39C12;
  font-size: 1rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: #2C3E50;
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.85rem;
  color: #adb5bd;
}


/* =========================
   22. TABLES
   ========================= */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

table thead {
  background: #2C3E50;
  color: #ffffff;
}

table th {
  padding: 14px 20px;
  font-weight: 600;
  text-align: left;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table td {
  padding: 14px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

table tbody tr:last-child td {
  border-bottom: none;
}

table tbody tr:hover {
  background-color: #FEF5E7;
}

table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

table tbody tr:nth-child(even):hover {
  background-color: #FEF5E7;
}


/* =========================
   23. PRICING / TARIFS
   ========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  border-color: #F39C12;
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
}

.pricing-card-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: #F39C12;
  color: #1A252F;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.pricing-card-header {
  padding: 30px 30px 20px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-card-header h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #C0392B;
  line-height: 1.2;
}

.pricing-card-price small {
  font-size: 0.4em;
  font-weight: 400;
  color: #6c757d;
}

.pricing-card-body {
  padding: 25px 30px;
}

.pricing-card-body ul li {
  padding: 8px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f8f8f8;
}

.pricing-card-body ul li:last-child {
  border-bottom: none;
}

.pricing-card-body ul li::before {
  content: '\2713';
  color: #27AE60;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card-footer {
  padding: 15px 30px 30px;
  text-align: center;
}


/* =========================
   24. ZONE D'INTERVENTION / MAP
   ========================= */

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.zone-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.zone-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.zone-list {
  columns: 2;
  column-gap: 20px;
}

.zone-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  break-inside: avoid;
}

.zone-list li::before {
  content: '\2713';
  color: #27AE60;
  font-weight: 700;
}


/* =========================
   25. CONTENT SECTIONS
   ========================= */

/* Two-column layout with image */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-split.reverse {
  direction: rtl;
}

.content-split.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-text h2 {
  margin-bottom: 15px;
}

.content-text p {
  color: #6c757d;
  line-height: 1.8;
}

.content-text ul {
  margin: 15px 0;
}

.content-text ul li {
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6c757d;
}

.content-text ul li::before {
  content: '\2713';
  color: #27AE60;
  font-weight: 700;
  margin-top: 2px;
}

/* Content with vertical list */
.features-list {
  display: grid;
  gap: 20px;
  margin-top: 25px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-item-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: rgba(243, 156, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F39C12;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}


/* =========================
   26. ANIMATIONS
   ========================= */

/* Fade in up animation for scroll reveal */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for children */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.fade-in-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Pulse animation for CTAs */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 3s ease-in-out infinite;
}


/* =========================
   27. ALERT & NOTIFICATION BOXES
   ========================= */

.alert {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 4px solid;
}

.alert-info {
  background: rgba(44, 62, 80, 0.06);
  border-left-color: #2C3E50;
  color: #2C3E50;
}

.alert-success {
  background: rgba(39, 174, 96, 0.08);
  border-left-color: #27AE60;
  color: #1e7e4a;
}

.alert-warning {
  background: rgba(243, 156, 18, 0.1);
  border-left-color: #F39C12;
  color: #d68910;
}

.alert-danger {
  background: rgba(192, 57, 43, 0.08);
  border-left-color: #C0392B;
  color: #a93226;
}

/* Success message after form submission */
.form-success-message {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(39, 174, 96, 0.03));
  border: 2px solid #27AE60;
  border-radius: 16px;
  padding: 35px;
  text-align: center;
}

.form-success-message h3 {
  color: #27AE60;
  margin-bottom: 10px;
}

.form-success-message p {
  color: #6c757d;
}


/* =========================
   28. LOADING & SPINNER
   ========================= */

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ECF0F1;
  border-top-color: #F39C12;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}


/* =========================
   29. CTA SECTION
   ========================= */

.cta-section {
  background: linear-gradient(135deg, #2C3E50, #1A252F);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(192, 57, 43, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section .btn {
  position: relative;
}


/* =========================
   30. SCROLL TO TOP BUTTON
   ========================= */

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F39C12;
  color: #1A252F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #e67e22;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(243, 156, 18, 0.45);
}


/* =========================
   31. COOKIE BANNER
   ========================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A252F;
  color: #ffffff;
  padding: 20px;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  flex: 1;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}


/* =========================
   32. RESPONSIVE DESIGN
   ========================= */

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .content-split {
    gap: 40px;
  }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
}

/* Mobile breakpoint */
@media (max-width: 768px) {

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.35rem; }

  /* Section spacing */
  section,
  .section,
  .section-light,
  .section-dark {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 35px;
  }

  /* Header / Navigation */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    align-items: stretch;
    gap: 0;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-overlay {
    display: none;
  }

  .nav-overlay.active {
    display: block;
  }

  .header-partner-logo {
    height: 30px;
    margin-right: 10px;
  }

  /* Hero */
  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-glass {
    padding: 25px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-small {
    padding: 35px 0 25px;
  }

  .hero-small h1 {
    font-size: 1.7rem;
  }

  /* Metrics */
  .metrics-row {
    gap: 20px;
  }

  .metric-item {
    min-width: 120px;
  }

  .metric-number {
    font-size: 2.2rem;
  }

  .metric-badge {
    padding: 18px 20px;
  }

  /* Service grid */
  .services-grid,
  .services-grid-2,
  .services-grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Process steps */
  .process-steps {
    flex-direction: column;
    gap: 25px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }

  .process-step-number {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .process-step p {
    max-width: none;
  }

  /* Forms */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 25px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer {
    padding: 50px 0 0;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom-links a:not(:last-child)::after {
    display: none;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding: 10px 0;
    font-size: 0.85rem;
  }

  /* Content split */
  .content-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-split.reverse {
    direction: ltr;
  }

  /* Zone grid */
  .zone-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .zone-map iframe {
    height: 280px;
  }

  .zone-list {
    columns: 1;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  /* Urgence banner */
  .urgence-banner-content {
    flex-direction: column;
    gap: 12px;
  }

  .urgence-phone {
    font-size: 1.2rem;
  }

  /* Communes */
  .communes-list {
    gap: 8px;
  }

  .communes-list a {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  /* Buttons */
  .btn,
  button[type="submit"],
  input[type="submit"] {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
  }

  /* Tables */
  table th,
  table td {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  /* Cookie banner */
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  /* CTA */
  .cta-section {
    padding: 50px 0;
  }

  .cta-section p {
    font-size: 1rem;
  }

  /* Scroll to top */
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  /* Emergency bar */
  .emergency-bar {
    font-size: 0.8rem;
    padding: 6px 15px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .container {
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .metrics-row {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .metric-badge {
    width: 100%;
    text-align: center;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 0 18px 20px;
  }

  .alert {
    flex-direction: column;
    gap: 8px;
  }

  .hero-small h1 {
    font-size: 1.5rem;
  }
}


/* =========================
   33. PRINT STYLES
   ========================= */

@media print {
  .emergency-bar,
  .header,
  .hamburger,
  .nav-overlay,
  .urgence-banner,
  .scroll-top,
  .cookie-banner,
  .footer-social,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    background: #f0f0f0 !important;
    color: #000 !important;
    padding: 30px 0 !important;
  }

  .hero h1,
  .hero p {
    color: #000 !important;
    text-shadow: none !important;
  }

  section,
  .section,
  .section-light,
  .section-dark {
    padding: 20px 0 !important;
    background: #fff !important;
    color: #000 !important;
  }

  .section-dark h2,
  .section-dark h3,
  .section-dark h4 {
    color: #000 !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  .service-card,
  .advantage-card,
  .card,
  .testimonial-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }

  .footer {
    background: #f0f0f0 !important;
    color: #000 !important;
    padding: 20px 0 !important;
  }

  .footer-col h4 {
    color: #000 !important;
  }

  .footer-col ul li a {
    color: #000 !important;
  }
}


/* =========================
   34. ACCESSIBILITY
   ========================= */

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #F39C12;
  outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .slide-in-left,
  .slide-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }

  .fade-in-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #F39C12;
  color: #1A252F;
  padding: 10px 20px;
  z-index: 10001;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  color: #1A252F;
}


/* =========================
   35. MISC / HELPERS
   ========================= */

/* Separator / Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
  margin: 40px 0;
}

/* Highlight text */
.highlight-text {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(192, 57, 43, 0.1));
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Image with decorative border */
.img-decorated {
  position: relative;
  display: inline-block;
}

.img-decorated::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 3px solid #F39C12;
  border-radius: 16px;
  z-index: -1;
}

/* Quote */
blockquote {
  border-left: 4px solid #F39C12;
  padding: 20px 25px;
  margin: 20px 0;
  background: #FEF5E7;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #6c757d;
}

blockquote strong {
  color: #2C3E50;
  font-style: normal;
}

/* Numbering for ordered lists in content */
.content-text ol {
  counter-reset: item;
  padding-left: 0;
}

.content-text ol li {
  counter-increment: item;
  padding: 6px 0 6px 35px;
  position: relative;
  color: #6c757d;
}

.content-text ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #C0392B;
}

/* Phone number formatting */
.phone-link {
  font-weight: 700;
  color: #C0392B;
  font-size: 1.1em;
  white-space: nowrap;
}

.phone-link:hover {
  color: #F39C12;
}

/* Guarantee badge */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: 12px;
  padding: 12px 20px;
  color: #27AE60;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Intervention rapide / fast response badge */
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #C0392B, #e74c3c);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Flex helpers */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }


/* =========================
   36. LEGAL CONTENT PAGES
   ========================= */

.legal-content {
  padding: 60px 0;
}

.legal-content h1 {
  font-size: 2.4rem;
  color: #2C3E50;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #F39C12;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: #2C3E50;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: #2C3E50;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  color: #6c757d;
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  margin: 15px 0;
  padding-left: 20px;
}

.legal-content ul li {
  padding: 5px 0;
  list-style-type: disc;
}

.legal-content ol li {
  padding: 5px 0;
}

.legal-content a {
  color: #C0392B;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #F39C12;
}

.legal-content strong {
  color: #2C3E50;
}

.legal-info-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px 30px;
  margin: 20px 0;
  border-left: 4px solid #F39C12;
}

.legal-info-card p {
  margin-bottom: 8px;
}

.legal-info-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 40px 0;
  }

  .legal-content h1 {
    font-size: 1.8rem;
  }

  .legal-content h2 {
    font-size: 1.3rem;
  }
}


/* =========================
   37. THANK YOU PAGE
   ========================= */

.thankyou-section {
  padding: 80px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thankyou-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27AE60, #2ecc71);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 3rem;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(39, 174, 96, 0.3);
}

.thankyou-icon.error {
  background: linear-gradient(135deg, #C0392B, #e74c3c);
  box-shadow: 0 8px 30px rgba(192, 57, 43, 0.3);
}

.thankyou-content h1 {
  font-size: 2.2rem;
  color: #2C3E50;
  margin-bottom: 20px;
}

.thankyou-content .thankyou-message {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 15px;
}

.thankyou-content .thankyou-delay {
  display: inline-block;
  background: rgba(243, 156, 18, 0.1);
  color: #d68910;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.thankyou-content .thankyou-delay.error {
  background: rgba(192, 57, 43, 0.08);
  color: #a93226;
}

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

  .thankyou-content h1 {
    font-size: 1.7rem;
  }

  .thankyou-icon {
    width: 80px;
    height: 80px;
    font-size: 2.4rem;
  }
}


/* =========================
   38. ZONES INTERVENTION PAGE
   ========================= */

.zones-hero-metrics {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.zones-hero-metrics .metric-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.canton-section {
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}

.canton-section:last-child {
  border-bottom: none;
}

.canton-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.canton-header h3 {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.canton-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 156, 18, 0.1);
  color: #d68910;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.canton-link {
  font-size: 0.9rem;
  color: #C0392B;
  font-weight: 600;
  transition: color 0.3s ease;
}

.canton-link:hover {
  color: #F39C12;
}

.zones-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #6c757d;
  font-size: 1.05rem;
  line-height: 1.8;
}

.zones-search-box {
  max-width: 500px;
  margin: 0 auto 40px;
}

@media (max-width: 768px) {
  .zones-hero-metrics {
    gap: 15px;
  }

  .canton-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   FIXES - Classes manquantes utilisées dans le HTML
   ============================================================ */

/* --- Honeypot anti-spam (DOIT être caché) --- */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

/* --- Service card .icon (emoji/icône) --- */
.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

/* --- Service card .price --- */
.service-card .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #F39C12;
  margin-bottom: 15px;
}

.service-card .price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: #6c757d;
}

/* --- Service card .card-link --- */
.service-card .card-link {
  color: #F39C12;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.service-card .card-link:hover {
  gap: 10px;
}

/* --- Urgence banner .phone-number --- */
.urgence-banner .phone-number {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  margin-bottom: 20px;
}

.urgence-banner .phone-number a {
  color: #ffffff;
}

/* --- Hero .hero-subtitle (pages non-ville) --- */
.hero .hero-subtitle,
.hero .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Zone summary (index.html) --- */
.zone-summary {
  background: linear-gradient(135deg, #1A252F, #2C3E50);
  color: #ffffff;
  border-radius: 12px;
  padding: 50px;
  text-align: center;
}

.zone-summary h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

.zone-summary p {
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ .faq-answer-content (alias de .faq-answer-inner) --- */
.faq-answer-content {
  padding: 0 22px 18px;
  color: #6c757d;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Form validation .error --- */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.error-message {
  color: #C0392B;
  font-size: 0.82rem;
  margin-top: 4px;
  display: block;
}

/* --- Dropdown menu --- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border-radius: 8px;
  min-width: 220px;
  padding: 8px 0;
  z-index: 100;
  list-style: none;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #2C3E50;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: #ECF0F1;
  color: #F39C12;
}

/* --- Content block (alias de content-text) --- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-block h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-block p {
  margin-bottom: 15px;
  color: #6c757d;
}

/* --- Pricing table / note --- */
.pricing-table {
  margin: 30px 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table thead th {
  background: linear-gradient(135deg, #1A252F 0%, #2C3E50 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 24px;
  text-align: left;
}

.pricing-table thead th:nth-child(2) {
  text-align: center;
}

.pricing-table tbody tr {
  transition: background 0.2s ease;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.pricing-table tbody tr:hover {
  background-color: #FFF8E1;
}

.pricing-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid #eef0f2;
  font-size: 0.95rem;
  color: #4a5568;
  vertical-align: middle;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody td:first-child {
  font-weight: 600;
  color: #2C3E50;
}

.pricing-table tbody td:nth-child(2) {
  text-align: center;
  white-space: nowrap;
}

.pricing-table tbody td:nth-child(2) strong {
  display: inline-block;
  background: linear-gradient(135deg, #F39C12, #E67E22);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 20px;
}

.pricing-table tbody td:last-child {
  font-size: 0.88rem;
  color: #6c757d;
  line-height: 1.5;
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
  margin: 0;
  padding: 16px 24px;
  background: #f8f9fa;
  border-top: 1px solid #eef0f2;
}

/* Pricing table responsive - card layout on mobile */
@media (max-width: 768px) {
  .pricing-table table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table th,
  .pricing-table td,
  .pricing-table tr {
    display: block;
  }

  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .pricing-table tbody tr {
    padding: 20px;
    margin-bottom: 0;
    border-bottom: 2px solid #eef0f2;
  }

  .pricing-table tbody tr:last-child {
    border-bottom: none;
  }

  .pricing-table tbody td {
    padding: 6px 0;
    border-bottom: none;
    text-align: left;
  }

  .pricing-table tbody td:first-child {
    font-size: 1.05rem;
    padding-bottom: 8px;
  }

  .pricing-table tbody td:nth-child(2) {
    text-align: left;
    padding-bottom: 8px;
  }

  .pricing-table tbody td:last-child {
    padding-top: 4px;
    font-size: 0.85rem;
  }

  .pricing-table tbody td::before {
    display: none;
  }
}

/* --- Autocomplete dropdown enhancements --- */
.autocomplete-item.highlighted {
  background: #FFF8E1;
  color: #2C3E50;
}

.autocomplete-item .ville-nom {
  font-weight: 600;
  display: block;
}

.autocomplete-item .ville-canton {
  font-size: 0.8rem;
  color: #6c757d;
  display: block;
}

/* --- Breadcrumb uniform style (standalone, outside hero) --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.88rem;
  color: #6c757d;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb a {
  color: #6c757d;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #F39C12;
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* Reset breadcrumb when inside hero (dark background) */
.hero .breadcrumb {
  background: transparent;
  border-bottom: none;
  color: rgba(255, 255, 255, 0.7);
}

.hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.hero .breadcrumb a:hover {
  color: #F39C12;
}

/* --- Advantages grid (non-ville) --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.advantage-card {
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.advantage-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #F39C12, #e67e22, #C0392B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: block;
}

.advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.advantage-card p {
  color: #6c757d;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: block;
    padding-left: 15px;
    background: transparent;
  }
}
