/*
 * Pompe à Chaleur Ardennes - Feuille de styles principale
 * Site: pompe-a-chaleur-ardennes.com
 * Version: 1.0
 */

/* ============================================
   1. VARIABLES CSS
   ============================================ */
:root {
  /* Couleurs principales */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f59e0b;
  --danger: #ef4444;

  /* Couleurs neutres */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Ombres */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Bordures */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Typographie */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', var(--font-sans);
}

/* ============================================
   2. RESET CSS ET STYLES DE BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1400px;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

.section-title p {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   3. HEADER ET NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.header-top {
  background: var(--gray-900);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

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

.header-top-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-top-left a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-top-left a:hover {
  color: var(--secondary);
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-main {
  padding: 1rem 0;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.logo-text span {
  color: var(--primary);
}

/* Navigation principale */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-800);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--primary);
  background: var(--gray-50);
}

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-menu > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* Logo Proximitoria */
.logo-proximitoria {
  display: flex;
  align-items: center;
}

.logo-proximitoria img {
  height: 40px;
  width: auto;
}

/* Numéro urgence header */
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: background var(--transition-fast);
}

.header-phone:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.header-phone i {
  font-size: 1.25rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   4. HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-hero.svg') repeat;
  opacity: 0.1;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 3.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero p {
  font-size: 1.375rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero statistiques */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Hero avec image */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-image-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: var(--gray-900);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   5. GRILLES DE CARTES SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

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

/* ============================================
   6. CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.card-title a {
  color: var(--gray-900);
}

.card-title a:hover {
  color: var(--primary);
}

.card-text {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

/* Service card */
.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.service-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.service-card .price,
.price {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.75rem;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 1rem;
}

.service-card .card-link:hover {
  gap: 0.75rem;
}

/* Feature card */
.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
}

.feature-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1.25rem;
}

.feature-card-content h4 {
  margin-bottom: 0.5rem;
}

.feature-card-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* Pricing card */
.pricing-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
}

.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card-header {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-600);
}

.pricing-card-features {
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--gray-600);
}

.pricing-card-features li i {
  color: var(--secondary);
}

/* ============================================
   7. FORMULAIRES
   ============================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.form-label.required::after {
  content: '*';
  color: var(--danger);
  margin-left: 0.25rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control.is-valid {
  border-color: var(--secondary);
}

.form-control.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

select.form-control {
  cursor: pointer;
  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='%234b5563' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Validation messages */
.form-feedback {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-feedback.valid {
  color: var(--secondary);
}

.form-feedback.invalid {
  color: var(--danger);
}

/* Form row */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Checkbox et radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* Autocomplete dropdown */
.autocomplete-wrapper {
  position: relative;
}

.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: 300px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}

.autocomplete-results:empty {
  display: none;
}

.autocomplete-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition-fast);
}

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

.autocomplete-item:hover,
.autocomplete-item.active {
  background: var(--gray-50);
}

.autocomplete-item strong {
  color: var(--primary);
}

/* Contact form */
.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Service form container */
.service-form-container {
  max-width: 650px;
  margin: 0 auto;
}

.service-form {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.service-form .form-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

.service-form .form-header i {
  font-size: 1.125rem;
}

.service-form .form-control {
  border-width: 2px;
}

.service-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.service-form .btn {
  font-size: 1.0625rem;
  padding: 1rem 2rem;
}

/* ============================================
   8. FAQ ACCORDION
   ============================================ */
.faq-section {
  background: var(--gray-50);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  background: var(--white);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question i {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

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

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   8.5. SERVICES PAGES DESIGN
   ============================================ */

/* Services Navigation Cards */
.services-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-nav-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--gray-800);
  border: 2px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-nav-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

.service-nav-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--white);
  transition: all var(--transition-base);
}

.service-nav-card:hover .service-nav-card-icon {
  transform: scale(1.1);
}

.service-nav-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-nav-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.service-nav-card .price-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}

/* Service Detail Cards */
.service-detail-card {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-xl);
}

.service-detail-card .card-body {
  padding: 2.5rem;
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-icon i {
  font-size: 2rem;
  color: white;
}

.service-detail-title h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.service-detail-title .badge {
  font-size: 0.75rem;
}

/* Pricing Card */
.pricing-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  text-align: center;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-card-price {
  margin: 1rem 0;
}

.pricing-card-price .amount {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-card-price .currency {
  font-size: 1.25rem;
  font-weight: 500;
}

.pricing-card-features {
  text-align: left;
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.pricing-card-features li:last-child {
  margin-bottom: 0;
}

.pricing-card-features i {
  color: var(--secondary);
  font-size: 0.875rem;
}

/* Service Page Hero */
.service-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-hero.svg') repeat;
  opacity: 0.1;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero-content {
  max-width: 650px;
}

.service-hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.service-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Service Page Content */
.service-content {
  padding: 4rem 0;
}

.service-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.service-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.service-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Service Page Layout - Centered */
.service-page-content {
  max-width: 1000px;
  margin: 0 auto;
}

.service-page-content .services-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.service-page-content h2 {
  font-size: 1.875rem;
  margin-bottom: 1.25rem;
  color: var(--gray-900);
}

.service-page-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
  font-weight: 600;
}

.service-page-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

@media (max-width: 900px) {
  .service-page-content .services-grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-page-content .service-sidebar {
    order: -1;
  }
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.service-features-list li:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(5px);
}

.service-features-list li i {
  color: var(--secondary);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.service-features-list--danger li i {
  color: var(--danger);
}

/* Sidebar Sticky Card */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.service-sidebar .card {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-sidebar .card-body {
  padding: 2rem;
}

/* Stats Cards */
.service-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.service-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
}

.service-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-stat-card i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.service-stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  display: block;
}

.service-stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Responsive Services */
@media (max-width: 1024px) {
  .services-nav {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .services-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .service-nav-card {
    padding: 1.5rem 1rem;
  }

  .service-nav-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

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

  .service-detail-card .card-body {
    padding: 1.5rem;
  }

  .service-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .services-nav {
    grid-template-columns: 1fr;
  }

  .service-nav-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 1rem;
  }

  .service-nav-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin: 0;
  }

  .service-nav-card h3 {
    margin-bottom: 0.25rem;
  }
}

/* ============================================
   8.6. PROCESSUS SECTION (Comment ca marche)
   ============================================ */
.processus-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.processus-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-hero.svg') repeat;
  opacity: 0.05;
}

.processus-section .section-title h2 {
  color: var(--white);
}

.processus-section .section-title p {
  color: var(--gray-200);
}

.processus-section .section-title h2::after {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.processus-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* Ligne de connexion */
.processus-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  border-radius: var(--radius-full);
  z-index: 0;
}

.processus-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 180px;
  position: relative;
  z-index: 1;
}

.processus-step-number {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all var(--transition-base);
}

.processus-step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
}

.processus-step:hover .processus-step-number {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.processus-step-icon {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-900);
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.processus-step h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.processus-step p {
  color: var(--gray-200);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Responsive processus */
@media (max-width: 900px) {
  .processus-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .processus-grid::before {
    display: none;
  }

  .processus-step {
    flex: 0 0 calc(50% - 1rem);
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .processus-step {
    flex: 0 0 100%;
    max-width: 280px;
  }

  .processus-step-number {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
  }
}

/* ============================================
   9. FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  padding-right: 2rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: var(--gray-200);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-200);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-200);
}

.footer-contact li i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray-300);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--gray-300);
  font-size: 0.875rem;
}

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

/* ============================================
   10. BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--gray-50);
  padding: 1rem 0;
  margin-top: 80px;
}

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

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.breadcrumb-item a {
  color: var(--gray-600);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--gray-400);
}

/* ============================================
   11. BOUTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

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

/* Primary button */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

/* Secondary button */
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

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

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline-secondary:hover {
  background: var(--secondary);
  color: var(--white);
}

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

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--gray-900);
}

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

.btn-outline-danger:hover {
  background: var(--danger);
  color: var(--white);
}

/* Accent button */
.btn-accent {
  background: var(--accent);
  color: var(--gray-900);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #e89309;
  border-color: #e89309;
}

/* Danger button */
.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--gray-100);
}

/* Button with icon */
.btn i {
  font-size: 1.125em;
}

/* ============================================
   12. BADGES ET TAGS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-primary {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
}

.badge-accent {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.badge-dark {
  background: var(--gray-800);
  color: var(--white);
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--gray-200);
}

.tag-primary {
  background: var(--primary);
  color: var(--white);
}

.tag-removable {
  cursor: pointer;
}

.tag-removable i {
  font-size: 0.75rem;
}

/* Tags list */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   13. SECTION URGENCE
   ============================================ */
.urgence-section {
  background: linear-gradient(135deg, var(--danger) 0%, #b91c1c 100%);
  color: var(--white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.urgence-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-urgence.svg') repeat;
  opacity: 0.1;
}

.urgence-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.urgence-content {
  flex: 1;
  min-width: 300px;
}

.urgence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.urgence-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.urgence-section p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.urgence-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.urgence-phone-number {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 0.5rem;
  transition: all var(--transition-fast);
}

.urgence-phone-number:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  transform: scale(1.05);
}

.urgence-phone-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Urgence banner (top fixed) */
.urgence-banner {
  background: var(--danger);
  color: var(--white);
  padding: 0.75rem 0;
  text-align: center;
  font-weight: 500;
}

.urgence-banner a {
  color: var(--white);
  text-decoration: underline;
}

.urgence-banner a:hover {
  color: var(--white);
  opacity: 0.9;
}

/* ============================================
   14. STYLES PAGES VILLES
   ============================================ */
.ville-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 8rem 0 4rem;
}

.ville-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-ville.svg') repeat;
  opacity: 0.1;
}

.ville-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ville-hero-content {
  max-width: 750px;
  margin: 0 auto;
}

.ville-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ville-hero p {
  font-size: 1.375rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ville-hero .ville-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  justify-content: center;
}

.ville-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ville-meta-item i {
  font-size: 1.25rem;
  opacity: 0.8;
}

/* Ville infos section */
.ville-infos {
  padding: 4rem 0;
}

.ville-infos-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.ville-infos-main h2 {
  margin-bottom: 1.5rem;
}

.ville-infos-main p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.ville-infos-sidebar .card {
  position: sticky;
  top: 100px;
}

.ville-infos-sidebar .card-body {
  padding: 1.5rem;
}

.ville-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.ville-info-list li:last-child {
  border-bottom: none;
}

.ville-info-list li span:first-child {
  color: var(--gray-600);
}

.ville-info-list li span:last-child {
  font-weight: 600;
  color: var(--gray-800);
}

/* Communes list */
.communes-section {
  background: var(--gray-50);
  padding: 4rem 0;
}

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

.commune-item {
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.commune-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.commune-item i {
  color: var(--primary);
}

.commune-item a {
  color: var(--gray-800);
  font-weight: 500;
}

.commune-item a:hover {
  color: var(--primary);
}

.commune-item span {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-left: auto;
}

/* Commune card (link style) */
.commune-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--gray-800);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.commune-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--primary);
}

.commune-card i {
  color: var(--primary);
}

.commune-card:hover i {
  color: var(--primary-dark);
}

/* Communes list with links */
.communes-list a {
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: center;
}

.communes-list a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Communes grouped by letter */
.communes-alpha {
  margin-bottom: 2rem;
}

.communes-alpha-letter {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* ============================================
   14B. CLASSES ADDITIONNELLES PAGES VILLES
   ============================================ */

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* Ville info boxes in hero */
.ville-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  margin: 0.25rem;
  font-size: 0.9375rem;
}

.ville-info i {
  color: rgba(255, 255, 255, 0.8);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-fast);
}

.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.feature p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin: 0;
}

/* Form container */
.form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

.form-container .form-group {
  margin-bottom: 1.25rem;
}

.form-container label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-container button[type="submit"] {
  width: 100%;
  margin-top: 0.5rem;
}

/* Content text section */
.content-text {
  max-width: 800px;
}

.content-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-text h2 {
  margin-bottom: 1.5rem;
}

/* Avantages grid */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.avantage-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
}

.avantage-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.avantage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.avantage-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.avantage-item p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin: 0;
}

/* Content section and wrapper */
.content-section {
  padding: 4rem 0;
}

.content-wrapper {
  max-width: 800px;
}

.section-alt {
  background: var(--gray-50);
}

/* Responsive for ville pages additional classes */
@media (max-width: 992px) {
  .features-grid,
  .avantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid,
  .avantages-grid {
    grid-template-columns: 1fr;
  }

  .ville-info {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .form-container {
    padding: 1.5rem;
  }

  .avantage-item,
  .feature {
    padding: 1.5rem 1rem;
  }
}

/* ============================================
   15. COMPOSANTS ADDITIONNELS
   ============================================ */

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert i {
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-dark);
  border-left: 4px solid var(--secondary);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border-left: 4px solid var(--danger);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border-left: 4px solid var(--accent);
}

.alert-info {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
}

/* Testimonials */
.testimonial-card {
  padding: 2rem;
  text-align: left;
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-content {
  font-size: 1.0625rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
}

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

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
}

.table tbody tr:hover {
  background: var(--gray-50);
}

.table-striped tbody tr:nth-child(even) {
  background: var(--gray-50);
}

/* Progress bar */
.progress {
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

/* Dividers */
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 2rem 0;
}

.divider-vertical {
  width: 1px;
  height: 100%;
  background: var(--gray-200);
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   16. UTILITIES
   ============================================ */

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray-600); }
.text-white { color: var(--white); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

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

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }

/* Flex utilities */
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Background utilities */
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-900 { background-color: var(--gray-900); }

/* Border utilities */
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* Width utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* ============================================
   17. RESPONSIVE - BREAKPOINT 768px
   ============================================ */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Sections */
  section {
    padding: 3rem 0;
  }

  /* Header */
  .header-top {
    display: none;
  }

  .header-main .container {
    flex-wrap: wrap;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-menu > li > a {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .nav-menu > li.dropdown-open .nav-dropdown {
    max-height: 500px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .logo-proximitoria {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: 500px;
    padding: 6rem 0 3rem;
  }

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

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

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

  .hero-stat-number {
    font-size: 2rem;
  }

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

  .hero-image {
    order: -1;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Service grids */
  .services-grid,
  .services-grid-6,
  .services-grid-3,
  .services-grid-2 {
    grid-template-columns: 1fr;
  }

  /* Cards */
  .card-body {
    padding: 1.25rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-form {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    padding-right: 0;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-contact li {
    justify-content: center;
  }

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

  .footer-bottom-links {
    justify-content: center;
  }

  /* Breadcrumb */
  .breadcrumb {
    margin-top: 70px;
  }

  /* Urgence section */
  .urgence-section .container {
    flex-direction: column;
    text-align: center;
  }

  .urgence-section h2 {
    font-size: 1.5rem;
  }

  .urgence-phone-number {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
  }

  /* Ville pages */
  .ville-hero {
    min-height: 350px;
    padding: 6rem 0 3rem;
  }

  .ville-hero h1 {
    font-size: 1.75rem;
  }

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

  .ville-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ville-infos-grid {
    grid-template-columns: 1fr;
  }

  .ville-infos-sidebar .card {
    position: static;
  }

  .communes-list {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.9375rem;
  }

  .faq-answer-content {
    padding: 0 1rem 1rem;
  }

  /* Buttons */
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Utilities responsive */
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }

  .text-md-center { text-align: center !important; }
}

/* ============================================
   18. RESPONSIVE - BREAKPOINT 576px (Small)
   ============================================ */
@media (max-width: 576px) {
  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  /* Hero */
  .hero {
    min-height: 450px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  /* Cards */
  .service-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Urgence */
  .urgence-phone-number {
    font-size: 1.25rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Buttons */
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }

  /* Tables */
  .table th,
  .table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
  }
}

/* ============================================
   19. PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .urgence-section,
  .mobile-menu-toggle,
  .btn,
  .no-print {
    display: none !important;
  }

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

  .container {
    max-width: 100%;
    padding: 0;
  }

  section {
    padding: 1rem 0;
  }

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

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ============================================
   20. ANIMATIONS
   ============================================ */

/* Fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn var(--transition-base) ease-out;
}

/* Slide up */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp var(--transition-base) ease-out;
}

/* Slide in from left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft var(--transition-base) ease-out;
}

/* Bounce */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 1s ease infinite;
}

/* Scale on hover */
.hover-scale {
  transition: transform var(--transition-fast);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Lift on hover */
.hover-lift {
  transition: all var(--transition-fast);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FIN DU FICHIER CSS
   ============================================ */
