:root {
  --prestation-bg: #f5f2ea;
  --prestation-surface: #fbf9f5;
  --prestation-ink: #1e1a16;
  --prestation-muted: #5e7d6e;
  --prestation-green: #274438;
  --prestation-green-deep: #17352b;
  --prestation-sage: #94bba9;
  --prestation-stone: #d9d0c5;
  --prestation-cta: #c96b3b;
  --prestation-cta-hover: #ac5128;
  --prestation-radius: 8px;
  --prestation-shadow: 0 18px 42px rgba(30, 26, 22, 0.12);
  --prestation-hero-image: url("/img/Mes_prestations/Peintre_Gironde_prestations.webp");
}

.page-peinture-interieure {
  --prestation-hero-image: url("/img/Mes_prestations/Peinture-interieur-le-teich.webp");
}

.page-peinture-exterieure,
.page-ravalement-facade {
  --prestation-hero-image: url("/img/Mes_prestations/peinture-exterieure-arcachon-volets-01-2026.webp");
}

.page-pose-papier-peint {
  --prestation-hero-image: url("/img/Mes_prestations/pose-papier-peint-bordeaux-salon-hero-01-2026.webp");
}

.page-traitement-humidite {
  --prestation-hero-image: url("/img/Mes_prestations/traitement-humidite-cave-bordeaux-01-2026.webp");
}

.page-beton-cire {
  --prestation-hero-image: url("/img/Mes_prestations/Peintre_batiment_lege-cap-ferret.webp");
}

.page-prestation {
  background: var(--prestation-bg);
  color: var(--prestation-ink);
}

.prestation-hero {
  min-height: clamp(430px, 62vh, 680px);
  display: flex;
  align-items: flex-end;
  padding: clamp(4rem, 8vw, 7rem) 6%;
  background-color: var(--prestation-green);
  background-image: var(--prestation-hero-image);
  background-position: center;
  background-size: cover;
  position: relative;
}

.prestation-hero-inner {
  width: min(760px, 100%);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(251, 249, 245, 0.7);
  border-radius: var(--prestation-radius);
  background: rgba(251, 249, 245, 0.82);
  box-shadow: var(--prestation-shadow);
  backdrop-filter: blur(6px);
}

.prestation-hero .s-label {
  color: var(--prestation-cta);
  margin-bottom: 0.8rem;
}

.prestation-hero h1 {
  max-width: 12ch;
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 0.98;
  color: var(--prestation-green-deep);
}

.prestation-hero h1 em {
  color: var(--prestation-cta);
  font-style: italic;
}

.prestation-hero-sub {
  max-width: 620px;
  margin: 0 0 1.6rem;
  color: var(--prestation-ink);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

.prestation-hero-cta,
.cta-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--prestation-cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--prestation-cta-hover);
}

.btn-outline {
  border: 1px solid rgba(39, 68, 56, 0.35);
  color: var(--prestation-green-deep);
  background: rgba(251, 249, 245, 0.7);
}

.prestation-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem 6%;
  background: var(--prestation-green-deep);
  color: #fbf9f5;
  font-size: 0.88rem;
}

.prestation-reassurance span {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(251, 249, 245, 0.18);
  border-radius: 999px;
}

.prestation-intro,
.prestation-avantages,
.prestation-process,
.prestation-gallery,
.prestation-zones,
.prestation-faq,
.prestation-cta {
  padding: clamp(3rem, 6vw, 5.5rem) 6%;
}

.prestation-intro-inner,
.prestation-avantages-inner,
.prestation-process-inner,
.prestation-gallery-inner,
.prestation-zones-inner,
.prestation-faq-inner,
.prestation-cta-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-prestation h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--prestation-green-deep);
}

.page-prestation h3 {
  color: var(--prestation-green);
}

.page-prestation p {
  font-size: clamp(1rem, 1.08vw, 1.1rem);
  line-height: 1.78;
  color: rgba(30, 26, 22, 0.92);
}

.avantages-grid,
.process-grid,
.gallery-grid,
.faq-grid,
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.avantage-card,
.process-card,
.faq-item,
.zone-card {
  padding: 1.35rem;
  border: 1px solid rgba(39, 68, 56, 0.12);
  border-radius: var(--prestation-radius);
  background: var(--prestation-surface);
  box-shadow: 0 10px 28px rgba(30, 26, 22, 0.06);
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--prestation-radius);
  background: var(--prestation-surface);
  box-shadow: 0 12px 30px rgba(30, 26, 22, 0.08);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption,
.gallery-caption {
  padding: 0.85rem 1rem;
  color: var(--prestation-muted);
  font-size: 0.92rem;
}

.prestation-processus,
.prestation-galerie {
  padding: clamp(3rem, 6vw, 5.5rem) 6%;
}

.prestation-processus-inner,
.prestation-galerie-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.processus-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.processus-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(39, 68, 56, 0.12);
  border-radius: 12px;
  background: var(--prestation-surface);
  box-shadow: 0 12px 30px rgba(30, 26, 22, 0.08);
}

.processus-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: var(--prestation-green-deep);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.processus-body h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.18rem, 1.5vw, 1.42rem);
  line-height: 1.25;
  color: var(--prestation-green-deep);
}

.processus-body p {
  margin: 0;
}

.galerie-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

.galerie-item {
  margin: 0;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 16px;
  background: var(--prestation-surface);
  box-shadow: 0 18px 42px rgba(30, 26, 22, 0.12);
}

.galerie-item:nth-child(n + 2) {
  display: none;
}

.galerie-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.galerie-caption {
  margin: 0;
  padding: 1rem 1.15rem;
  background: #fff;
  color: var(--prestation-green-deep);
  font-weight: 700;
}

.prestation-cta {
  background: var(--prestation-green-deep);
  color: #fbf9f5;
}

.prestation-cta h2,
.prestation-cta h3 {
  color: #fbf9f5;
}

@media (max-width: 720px) {
  .prestation-hero {
    min-height: 560px;
    padding: 7rem 1rem 1rem;
    background-position: center top;
  }

  .prestation-hero-inner {
    padding: 1.1rem;
  }

  .prestation-hero h1 {
    max-width: 11ch;
  }

  .prestation-hero-cta a {
    width: 100%;
  }
}
