/* =========================================================
   DIMDAM TRAVAUX — PAGE D'ACCUEIL
   Ordre d'affichage : hero → services → histoire →
   réalisations → avis → contact → popups tarifs
   Chaque bloc contient ses propres règles responsive.
========================================================= */

:root {
  --section-space: clamp(4rem, 3rem + 5vw, 8rem);
  /* Largeur de contenu max. sur très grands écrans */
  --content-inline: max(var(--gutter), (100% - 1320px) / 2);
}

/* =========================================================
   HERO
========================================================= */

#hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  min-height: 100vh;
  min-height: 100svh; /* évite le saut dû aux barres d'adresse mobiles */
  padding: calc(var(--header-height) + clamp(2rem, 5vw, 4rem)) var(--content-inline) clamp(3.5rem, 6vw, 5rem);
  background: var(--light);
  overflow: hidden;
}

.hero-content {
  max-width: 620px;
  animation: fadeUp 0.9s ease both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.1rem, 2vw, 1.8rem);
  font-size: clamp(0.65rem, 0.6rem + 0.25vw, 0.75rem);
}

.hero-tag::before {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
  font-size: clamp(2rem, 1rem + 4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.06;
  color: var(--purple);
  overflow-wrap: break-word;
}

.hero-title em {
  color: var(--orange);
}

.hero-sub {
  max-width: 34em;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-google {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 420px;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  padding-top: clamp(1.4rem, 2.5vw, 2rem);
  border-top: 1px solid var(--orange);
  color: inherit;
  text-decoration: none;
}

.hero-google-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  background: var(--light);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  transition: background 0.2s, color 0.2s;
}

.hero-google:hover .hero-google-icon {
  background: var(--orange);
  color: var(--cream);
}

.hero-google-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero-google-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--purple);
}

.hero-google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.35rem;
  font-weight: 800;
  color: var(--purple);
}

.hero-google-rating:empty {
  display: none;
}

/* 5 étoiles grises, recouvertes d'étoiles orange selon la note */
.hero-google-stars {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #D9CFC2;
}

.hero-google-stars::before {
  content: "★★★★★";
}

.hero-google-stars span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--orange);
}

.hero-google-stars span::before {
  content: "★★★★★";
}

.hero-google:hover .hero-google-count {
  color: var(--purple);
  text-decoration: underline;
}

/* Photo + cadre décalé + badge */
.hero-photo {
  --frame-offset: clamp(0.8rem, 1.8vw, 1.6rem);
  position: relative;
  height: clamp(420px, 40vw, 580px);
  margin: 0 var(--frame-offset) var(--frame-offset) 0;
}

.hero-photo-frame {
  position: absolute;
  inset: var(--frame-offset) calc(var(--frame-offset) * -1) calc(var(--frame-offset) * -1) var(--frame-offset);
  border: 2px solid var(--orange);
  border-radius: 10px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: -18px 18px 46px rgba(28, 21, 16, 0.2);
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s ease;
}

.hero-track.is-instant {
  transition: none;
}

.hero-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-badge {
  position: absolute;
  z-index: 1;
  bottom: -1.2rem;
  left: -1.2rem;
  max-width: 200px;
  padding: 0.9rem 1.3rem;
  border-radius: 6px;
  background: var(--purple);
  color: var(--cream);
  font-size: 0.78rem;
  line-height: 1.4;
  box-shadow: 0 10px 26px rgba(28, 21, 16, 0.25);
}

.hero-photo-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--orange);
}

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

/* Tablette portrait et en dessous : une seule colonne, photo sous le texte */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-content {
    max-width: 680px;
  }

  .hero-photo {
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 520px;
  }

  .hero-photo-badge {
    left: 1rem;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .hero-btns .btn {
    flex: 1 1 100%;
    padding-inline: 1.2rem;
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
  }

  .hero-photo-badge {
    left: 0.75rem;
    bottom: -1rem;
    max-width: 170px;
    padding: 0.7rem 1rem;
    font-size: 0.72rem;
  }

  .hero-photo-badge strong {
    font-size: 0.85rem;
  }
}

/* Téléphone à l'horizontale : pas de hauteur plein écran forcée */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 0;
  }
}

/* =========================================================
   SERVICES
========================================================= */

#services {
  padding: var(--section-space) var(--content-inline) calc(var(--section-space) * 1.1);
  background: var(--warm-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
}

.service-card {
  position: relative;
  display: block;
  width: 100%;
  height: 370px;
  padding: 0;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  background: none;
  box-shadow: 0 14px 34px rgba(28, 21, 16, 0.14);
  cursor: pointer;
  text-align: left;
}

.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(43, 19, 64, 0.28) 0%, rgba(26, 12, 38, 0.95) 78%);
}

.service-card-icon {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 50%;
  width: 122px;
  height: 122px;
  transform: translateX(-50%);
  object-fit: contain;
  pointer-events: none;
}

.service-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.8rem;
}

.service-card-title,
.service-card-desc {
  display: block;
}

.service-card-title {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
}

.service-card-desc {
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.8);
}

.service-card-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.25s;
}

.service-card:hover .service-card-hint {
  gap: 0.7rem;
}

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

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

  .service-card {
    height: 330px;
  }

  .service-card-icon {
    width: 96px;
    height: 96px;
  }

  .service-card-content {
    padding: 1.5rem 1.3rem;
  }
}

/* =========================================================
   POSE DE CUISINE (service mis en avant)
========================================================= */

#cuisine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: var(--section-space) var(--content-inline);
  background: var(--purple);
  color: var(--cream);
}

#cuisine .section-title {
  color: var(--cream);
}

.cuisine-intro {
  margin-top: 1.3rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(245, 240, 230, 0.82);
}

.cuisine-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
  list-style: none;
}

.cuisine-points li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cuisine-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 800;
}

.cuisine-assure {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: rgba(245, 240, 230, 0.75);
}

.cuisine-assure strong {
  color: var(--orange);
}

.cuisine-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.cuisine-btn-main {
  background: var(--orange);
  color: var(--purple);
}

.cuisine-btn-main:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.cuisine-btn-alt {
  border: 1.5px solid rgba(245, 240, 230, 0.6);
  background: transparent;
  color: var(--cream);
}

.cuisine-btn-alt:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Photo « après » + vignette « avant » */
.cuisine-visual {
  position: relative;
  margin-bottom: 2rem;
}

.cuisine-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
}

.cuisine-avant {
  position: absolute;
  left: -1.5rem;
  bottom: -2rem;
  width: 38%;
  border: 4px solid var(--purple);
  border-radius: 8px;
  overflow: hidden;
  background: var(--purple);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.cuisine-avant img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cuisine-avant figcaption {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: var(--orange);
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  #cuisine {
    grid-template-columns: 1fr;
  }

  .cuisine-avant {
    left: 0.75rem;
  }
}

@media (max-width: 560px) {
  .cuisine-btns .btn {
    flex: 1 1 100%;
    padding-inline: 1.2rem;
  }

  .cuisine-avant {
    width: 42%;
    bottom: -1.5rem;
  }
}

/* =========================================================
   NOTRE HISTOIRE
========================================================= */

#why {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: var(--section-space) var(--content-inline);
  background: var(--light);
}

/* La hauteur suit la photo (portrait) : plus de recadrage */
.why-visual {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

.why-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1098 / 1433;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: -16px 16px 50px rgba(28, 21, 16, 0.18);
}

.why-content .section-title {
  margin-bottom: 1.5rem;
}

.why-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.why-text p + p {
  margin-top: 1.6em;
}

@media (max-width: 900px) {
  #why {
    grid-template-columns: 1fr;
  }

  .why-visual {
    max-width: 380px;
    justify-self: start;
  }
}

/* =========================================================
   RÉALISATIONS (aperçu)
========================================================= */

#realisations {
  padding: calc(var(--section-space) * 1.1) var(--content-inline) var(--section-space);
  background: var(--warm-cream);
}

.portfolio-wrapper {
  max-width: 1250px;
  margin: 0 auto;
}

.section-header--start {
  align-items: start;
}

.featured-project {
  margin-top: 3rem;
  border: 1px solid rgba(43, 19, 64, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 18px 50px rgba(28, 21, 16, 0.12);
}

.featured-project .ba-slider {
  --ba-height: clamp(280px, 45vw, 560px);
  border-radius: 0;
  box-shadow: none;
}

.project-info {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.project-title {
  margin: 0.7rem 0 0.9rem;
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--purple);
}

.project-description {
  max-width: 680px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}

.project-description + .project-description {
  margin-top: 0.8em;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.5rem;
}

.project-card {
  border: 1px solid rgba(43, 19, 64, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 12px 30px rgba(28, 21, 16, 0.08);
}

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

.project-card-content {
  padding: 1.25rem 1.35rem 1.4rem;
}

.project-card-kicker {
  margin-bottom: 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.project-card-title {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
}

.project-card-description {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted-light);
}

.portfolio-more {
  margin-top: 3rem;
  text-align: center;
}

.portfolio-more-text {
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--muted-light);
}

@media (max-width: 1100px) {
  .project-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .project-cards {
    grid-template-columns: 1fr;
  }

  .project-card-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* =========================================================
   AVIS CLIENTS
========================================================= */

#temoignages {
  padding: var(--section-space) var(--content-inline);
  background: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.testimonial-card {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 2.5vw, 2.1rem);
  border-radius: 6px;
  background: var(--cream);
  box-shadow: 0 10px 28px rgba(28, 21, 16, 0.08);
}

.testimonial-quote-mark {
  margin-bottom: 0.3rem;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.28;
}

.testimonial-stars {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--orange);
}

.testimonial-text {
  margin-bottom: 1.7rem;
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.7;
  color: #4A3E30;
}

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

.testimonial-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--purple);
  font-weight: 700;
  color: var(--cream);
}

.testimonial-name,
.testimonial-loc {
  display: block;
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple);
}

.testimonial-loc {
  font-size: 0.76rem;
  color: var(--muted-light);
}

/* =========================================================
   CONTACT
========================================================= */

#contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  padding: var(--section-space) var(--content-inline) calc(var(--section-space) * 1.1);
  background: var(--warm-cream);
}

.contact-info .section-title {
  margin-bottom: 1.5rem;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  background: var(--cream);
  color: var(--purple);
}

.contact-item-text {
  min-width: 0;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  font-weight: 700;
  color: var(--purple);
  overflow-wrap: anywhere;
}

.contact-item-text strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-item-text a {
  color: inherit;
  text-decoration: none;
}

.contact-item-text a:hover {
  color: var(--orange);
}

@media (max-width: 900px) {
  #contact {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   Formulaire de demande de devis (relié au CRM)
--------------------------------------------------------- */

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 8px;
  background: var(--light);
  box-shadow: 0 20px 50px rgba(42, 26, 65, 0.08);
}

.contact-form-title {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--purple);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-field--wide {
  grid-column: 1 / -1;
}

.contact-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
}

.contact-field label span {
  color: var(--orange);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--warm-cream);
  border-radius: 6px;
  background: var(--white, #fff);
  font: inherit;
  font-size: 1rem;
  color: var(--purple);
}

.contact-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(238, 125, 14, 0.15);
}

.contact-field .is-error {
  border-color: #B8432F;
}

.contact-form-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted-light);
}

.contact-form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.1rem 0 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.contact-consent input {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--orange);
}

.contact-consent a {
  color: var(--purple);
  font-weight: 600;
}

.contact-submit {
  width: 100%;
  justify-content: center;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-form-status {
  margin: 1rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status.is-ok {
  padding: 0.9rem 1rem;
  border-radius: 6px;
  background: #DDEBDF;
  color: #2F6B45;
}

.contact-form-status.is-error {
  padding: 0.9rem 1rem;
  border-radius: 6px;
  background: #F4DCD6;
  color: #A33A26;
}

@media (max-width: 560px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   POPUPS TARIFS (affichées au clic sur une carte service)
========================================================= */

.price-modal {
  width: min(900px, calc(100% - 2rem));
  max-width: none;
  max-height: 85vh;
  max-height: 85dvh;
  margin: auto;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 30px 80px rgba(28, 21, 16, 0.35);
}

.price-modal[open] {
  display: flex;
  flex-direction: column;
  animation: modalIn 0.35s ease;
}

.price-modal::backdrop {
  background: rgba(43, 19, 64, 0.55);
  backdrop-filter: blur(6px);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--purple);
  color: var(--cream);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  font-weight: 500;
}

.modal-header-title {
  font: inherit;
}

.modal-header-close {
  flex-shrink: 0;
  padding: 0.2rem 0.4rem;
  border: none;
  background: transparent;
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal-header-close:hover {
  opacity: 1;
}

.modal-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem;
}

.price-disclaimer {
  margin-bottom: 1.4rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--orange);
  border-radius: 2px;
  background: var(--cream);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

.price-list {
  list-style: none;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid rgba(139, 111, 71, 0.15);
}

.price-row-label {
  flex: 1 1 14rem;
  font-size: 0.92rem;
  color: var(--text);
}

.price-row-value {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--purple);
}

.price-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted-light);
}

.price-cta {
  margin-top: 1.4rem;
}

@media (max-width: 560px) {
  .modal-header,
  .modal-content {
    padding: 1rem;
  }

  .price-cta {
    width: 100%;
    padding-inline: 1rem;
  }
}

/* Mention TTC + déplacement sous chaque grille de tarifs */
.price-ttc {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------------------------------------------------------
   SEO : communes desservies + questions fréquentes
--------------------------------------------------------- */

.contact-zone {
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  background: var(--light);
}

.contact-zone-title {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-zone-list {
  display: grid;
  gap: 0.55rem;
}

.contact-zone-list dt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
}

.contact-zone-list dd {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-zone p:not(.contact-zone-title) {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

#faq {
  padding: clamp(4rem, 3rem + 4vw, 7rem) var(--gutter);
  background: var(--white);
}

#faq .section-header {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

#faq .section-tag {
  justify-content: center;
}

.faq-list {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(43, 19, 64, 0.1);
  border-radius: 8px;
  background: var(--light);
}

.faq-item summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 600px) {
  .faq-item summary {
    padding: 1rem 2.6rem 1rem 1rem;
    font-size: 0.95rem;
  }

  .faq-item summary::after {
    right: 1rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }
}

/* Lien vers la page du service, dans les popups de tarifs */
.price-more {
  display: inline-block;
  margin: 0.4rem 0 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
}

.price-more:hover {
  color: var(--orange);
}

/* Bas des popups : lien « Tout savoir » à gauche, bouton « Demander un devis » à droite */
.price-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

.price-actions .price-more {
  margin: 0;
}

.price-actions .price-cta {
  margin: 0 0 0 auto;
}

@media (max-width: 560px) {
  .price-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
  }

  .price-actions .price-cta {
    width: 100%;
    margin: 0;
  }
}
