:root {
  --primary: #0F4C5C;
  --primary-dark: #0C3C49;
  --accent: #E07A5F;
  --accent-soft: #F2C9BE;
  --plaster: #F3EFE6;
  --text: #1F2023;
  --muted: #7C8588;
  --border: #E5E0D6;
  --white: #FFFFFF;
  --body-font: 'Inter', sans-serif;
  --heading-font: 'Cormorant Garamond', serif;
}

/* Bouton WhatsApp flottant */
.whatsapp-floating {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
}
.whatsapp-floating a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  font-size: 24px;
}
.whatsapp-floating a:hover {
  background-color: var(--accent-soft);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--plaster);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  color: var(--primary);
  margin-bottom: 0.5em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 76, 92, 0.08);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar nav {
  display: flex;
  align-items: center;
}

.logo a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo .wordmark {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.logo .descriptor {
  font-family: var(--body-font);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.1rem;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

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

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

.nav-links .cta {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-left: 1rem;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-width: auto;
  width: auto;
}

.nav-links .cta:hover {
  background: var(--primary-dark);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apple-style scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 0.5rem;
  }
  
  .nav-links a {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .nav-links .cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 1rem;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(15, 76, 92, 0.1);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .nav-links .cta {
    margin-left: 0;
    margin-top: 1rem;
    text-align: center;
  }
  
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--plaster) 0%, rgba(243, 239, 230, 0.8) 50%, var(--plaster) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(224, 122, 95, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(15, 76, 92, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-text .sub {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 76, 92, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.primary-btn {
  background-color: var(--primary);
  color: var(--white);
}
.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 20px rgba(15, 76, 92, 0.15);
}

.primary-btn:hover::before {
  left: 100%;
}

/* Accent-coloured call-to-action buttons */
.accent-btn {
  background-color: var(--accent);
  color: var(--text);
}
.accent-btn:hover {
  background-color: var(--accent-soft);
  color: var(--text);
  transform: translateY(-2px);
}

.secondary-btn {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.secondary-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: all 0.3s ease;
  transform-origin: center;
  will-change: transform;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-image:hover::before {
  opacity: 1;
}

.hero-image:hover img {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 20px 40px rgba(15, 76, 92, 0.2);
}

/* Paint splatter effect */
.hero-image::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(224, 122, 95, 0.5);
}

.hero-image.scrolled::after {
  opacity: 1;
  transform: scale(1);
  animation: paintSplatter 0.8s ease-out;
}

@keyframes paintSplatter {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Promises */
.promises {
  background-color: var(--white);
  padding: 64px 0;
}

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

.promise-card {
  /* Base styling for promise cards */
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(15, 76, 92, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.promise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.02), rgba(15, 76, 92, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promise-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
}

.promise-card p {
  color: var(--muted);
  font-size: 0.9rem;
}


/* Hover elevation for promise cards */
.promise-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 25px rgba(15, 76, 92, 0.12);
  border-color: rgba(224, 122, 95, 0.2);
}

.promise-card:hover::before {
  opacity: 1;
}

/* Alternate background tones for promise cards to create subtle variety */
.promise-card:nth-child(odd) {
  background-color: var(--plaster);
}
.promise-card:nth-child(even) {
  background-color: var(--white);
}

/* Icons are set inside a soft accent circle for emphasis */
.promise-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

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

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

/* Réalisations */
.realisations {
  padding: 64px 0;
  background-color: var(--plaster);
}

.realisations h2 {
  margin-bottom: 1rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Filter chips for the gallery */
.chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 24px;
  background-color: transparent;
  color: var(--primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s cubic-bezier(.2,.8,.2,1);
}

/* Active chip uses the accent colour with dark text to stand out */
.chip.active {
  background-color: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}

/* On hover, chips take on a soft accent background */
.chip:hover {
  background-color: var(--accent-soft);
  color: var(--text);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  background-color: var(--white);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 76, 92, 0.08);
  position: relative;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.05), rgba(15, 76, 92, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 35px rgba(15, 76, 92, 0.15);
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item h4 {
  padding: 0.5rem 1rem 0;
  font-size: 1.1rem;
}

.gallery-item p {
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Services */
.services {
  padding: 64px 0;
  background-color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.service-card ul {
  /* Remove default bullets */
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}


@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

/* Process */
.process {
  padding: 64px 0;
  background-color: var(--plaster);
}

.process .timeline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.process .step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 2rem;
}

.process .dot {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto;
}

.process .step:before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border);
  z-index: -1;
}

.process .step:first-child:before {
  left: 50%;
}

.process .step:last-child:before {
  right: 50%;
}

.process h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .process .timeline {
    flex-direction: column;
  }
  .process .step:before {
    top: 0;
    left: 6px;
    bottom: 0;
    width: 1px;
    height: 100%;
  }
  .process .step:first-child:before {
    top: 50%;
  }
  .process .step:last-child:before {
    bottom: 50%;
  }
}

/* Zone */
.zone {
  padding: 64px 0;
  background-color: var(--white);
}


/* FAQ */
.faq {
  padding: 64px 0;
  background-color: var(--plaster);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 76, 92, 0.05);
}

.faq-item h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.faq-item p {
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Avis */
.avis {
  padding: 64px 0;
  background-color: var(--plaster);
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.avis-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.avis-card .stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.avis-card p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.avis-card .author {
  color: var(--muted);
  font-style: italic;
  font-size: 0.85rem;
}

.more-reviews {
  margin-top: 1rem;
  text-align: center;
}

.more-reviews a {
  color: var(--primary);
  text-decoration: underline;
}

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

/* Contact */
.contact {
  padding: 64px 0;
  background-color: var(--white);
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
}

.contact h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.contact label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Helper text for form sections */
.form-helper {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact input,
.contact select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  background-color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 76, 92, 0.05);
}

.contact input:focus,
.contact select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.1), 0 4px 20px rgba(15, 76, 92, 0.1);
  transform: translateY(-1px);
}

.contact input:hover,
.contact select:hover {
  border-color: rgba(224, 122, 95, 0.5);
  box-shadow: 0 4px 12px rgba(15, 76, 92, 0.08);
}

.contact .chips-select label {
  margin-right: 1rem;
  font-weight: 500;
  color: var(--primary);
}

.contact .chips-select input {
  margin-right: 0.25rem;
}

.contact .btn {
  margin-top: 1rem;
}

.contact .submit-btn {
  width: 100%;
}

/* Make next buttons full width */
.contact .next-btn {
  width: 100%;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--plaster);
  padding: 48px 0;
  font-size: 0.9rem;
}

/* Accent pill in hero */
.pill {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text);
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 24px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Step numbers in process timeline */
.process .step-number {
  width: 28px;
  height: 28px;
  line-height: 28px;
  display: inline-block;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--plaster);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 auto;
  margin-bottom: 0.5rem;
}

/* Accent underline after section headings */
.realisations h2::after,
.services h2::after,
.process h2::after,
.zone h2::after,
.faq h2::after,
.avis h2::after,
.contact h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background-color: var(--accent);
  margin-top: 0.25rem;
  border-radius: 2px;
}

/* Zone list as grid and map-pin icons */
.zone .communes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.25rem 1rem;
  list-style: none;
  margin-top: 0.5rem;
  padding: 0;
}

.zone .communes-list li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.zone .communes-list li:hover {
  color: var(--primary);
}

.location-icon {
  font-size: 1.1rem;
  margin-right: 0.75rem;
  filter: grayscale(0.3);
  transition: filter 0.2s ease;
}

.zone .communes-list li:hover .location-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

/* Floating WhatsApp button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background-color: var(--accent);
  color: var(--plaster);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.whatsapp-button:hover {
  background-color: var(--primary-dark);
}

/* -------------------------------------------- */
/* Modal styles */
/* Overlay that covers the viewport when a project is opened */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  padding: 1rem;
}

.modal-content {
  background-color: var(--plaster);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.modal-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-images img {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .modal-images img {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* Prevent background scroll when modal open */
.modal-open {
  overflow: hidden;
}

/* Ensure modal is hidden by default when the hidden attribute is present */
.modal[hidden] {
  display: none !important;
}

/* Adjust chips spacing in contact form */
.contact .chips-select label {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact .chips-select input {
  margin-right: 0.25rem;
}

/* Chip style for contact type selection */
.contact .chip-choice input {
  display: none;
}

.contact .chip-choice span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 24px;
  color: var(--primary);
  background-color: transparent;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.contact .chip-choice input:checked + span {
  background-color: var(--primary);
  color: var(--white);
}

/* Improve list spacing in services */
.service-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.service-card ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.service-card ul li::before {
  content: '\2022';
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
}

/* Ensure process timeline connectors appear underneath numbers */
.process .step:before {
  z-index: -1;
}

/* Footer layout and link styling */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: start;
  text-align: left;
}

.footer-col {
  color: var(--plaster);
  font-size: 0.9rem;
}

.brand-col .footer-brand {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--plaster);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.25rem;
}

.footer-nav a {
  color: var(--plaster);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--accent-soft);
  text-decoration: underline;
}

/* Legal links styling */
.legal-col a {
  color: var(--plaster);
  text-decoration: none;
}
.legal-col a:hover {
  color: var(--accent-soft);
  text-decoration: underline;
}

.contact-col p {
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .gallery-grid,
  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid,
  .avis-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }
}

input[type="file"] {
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background-color: var(--light);
  color: var(--dark);
  cursor: pointer;
  font-family: inherit;

  .zone .communes-list li::before {
  content: "\\2022";
  font-size: 0.8rem;
  margin-right: 0.5rem;
  color: var(--primary);
}

}
