/* =========================================================
   E.I Karl DELARUELLE — Plombier Chauffagiste
   Feuille de styles principale (mobile first)
   ========================================================= */

/* ---------- 1. Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Variables ---------- */
:root {
  /* Couleurs de marque */
  --c-black: #16181c;
  --c-anthracite: #21252b;
  --c-anthracite-2: #2a2f37;
  --c-steel: #6b7480;
  --c-steel-light: #a7aeb8;
  --c-orange: #d9661d;
  --c-orange-dark: #b34f13;
  --c-orange-light: #f0995f;
  --c-white: #ffffff;
  --c-offwhite: #f7f6f3;
  --c-offwhite-2: #efece6;
  --c-line: #e6e3dd;
  --c-line-dark: #383d45;
  --c-success: #2f8a4e;

  /* Texte */
  --text-body: #2c2f34;
  --text-muted: #5b6169;
  --text-on-dark: #f3f2ef;
  --text-on-dark-muted: #b7bcc4;

  /* Typographie */
  --font-heading: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rythme / rayons / ombres */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-s: 0 2px 8px rgba(22, 24, 28, 0.08);
  --shadow-m: 0 8px 24px rgba(22, 24, 28, 0.12);
  --shadow-l: 0 16px 48px rgba(22, 24, 28, 0.18);
  --container: 1180px;

  --header-h: 68px;
}

/* ---------- 3. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--c-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input,
textarea,
select {
  font: inherit;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-black);
}

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

/* Accessibilité : focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--c-orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

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

/* ---------- 4. Utilitaires de mise en page ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section {
  padding-block: 64px;
}
#services {
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.65)),
    url("../images/backgrounds/services-bg.jpg") center / cover no-repeat;
}
.section--tight {
  padding-block: 40px;
}
.section--dark {
  background: var(--c-anthracite);
  color: var(--text-on-dark);
}
.section--dark h2,
.section--dark h3 {
  color: var(--c-white);
}
.section--offwhite {
  background: var(--c-offwhite);
}
.section-head {
  max-width: 620px;
  margin-bottom: 36px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange-dark);
  margin-bottom: 10px;
}
.section--dark .eyebrow {
  color: var(--c-orange-light);
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section--dark .section-head p {
  color: var(--text-on-dark-muted);
}

/* ---------- 5. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  min-height: 48px;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: var(--shadow-s);
}
.btn-primary:hover {
  background: var(--c-orange-dark);
}
.btn-dark {
  background: var(--c-black);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
}
.btn-outline {
  background: transparent;
  color: var(--c-black);
  border: 1.5px solid var(--c-line);
}
.btn-outline:hover {
  border-color: var(--c-orange);
  color: var(--c-orange-dark);
}
.section--dark .btn-outline,
.hero .btn-outline,
.cta-band .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.section--dark .btn-outline:hover,
.hero .btn-outline:hover,
.cta-band .btn-outline:hover {
  border-color: var(--c-orange-light);
  color: var(--c-orange-light);
}
.btn-light {
  background: #fff;
  color: var(--c-black);
}
.btn-light:hover {
  background: var(--c-offwhite);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

/* ---------- 6. En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #ffffff;
  border-bottom: 1px solid var(--c-line);
  height: var(--header-h);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-s);
}
.header-inner {
  max-width: 1440px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--c-black);
}
.brand-role {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-orange-dark);
  font-weight: 600;
}

.main-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--c-white);
  padding: 20px 20px 100px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 400;
}
.main-nav.is-open {
  transform: translateX(0);
}
.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.main-nav a {
  display: block;
  padding: 14px 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--c-black);
  border-bottom: 1px solid var(--c-line);
}
.main-nav a[aria-current="page"] {
  color: var(--c-orange-dark);
}
.nav-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-call {
  display: none;
  padding: 10px 16px;
  min-height: 40px;
  font-size: 0.85rem;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  flex-shrink: 0;
}
.nav-toggle:hover {
  background: var(--c-offwhite);
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (min-width: 1440px) {
  .main-nav {
    position: static;
    inset: auto;
    transform: none;
    background: none;
    padding: 0;
    overflow: visible;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }
  .main-nav a {
    border-bottom: none;
    padding: 9px 10px;
    font-size: 0.87rem;
    border-radius: var(--radius-s);
    white-space: nowrap;
  }
  .main-nav a:hover {
    background: var(--c-offwhite);
    color: var(--c-orange-dark);
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: none;
  }
  .header-call {
    display: inline-flex;
  }
}

/* ---------- 7. Barre d'action mobile (fixe) ---------- */
.mobile-actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1px;
  background: var(--c-line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-actionbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.mobile-actionbar a svg {
  width: 20px;
  height: 20px;
}
.mobile-actionbar .ma-call {
  background: var(--c-black);
  color: #fff;
}
.mobile-actionbar .ma-quote {
  background: var(--c-orange);
  color: #fff;
}
body {
  padding-bottom: 64px;
}
@media (min-width: 1440px) {
  .mobile-actionbar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  background: var(--c-anthracite);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-inner {
  position: relative;
  padding-block: 32px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
@media (min-width: 900px) {
  .hero-inner {
    padding-block: 64px 72px;
    gap: 32px;
  }
}

/* ---------- 9. Bandeau de confiance ---------- */
.trust-bar {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  padding-block: 22px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--c-orange);
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .trust-list {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }
  .trust-item {
    white-space: nowrap;
  }
}

/* ---------- 10. Cartes Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1050px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
  border-color: transparent;
}
.service-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-offwhite-2);
}
.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.service-card:hover .service-photo img {
  transform: scale(1.05);
}
.service-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  flex-grow: 1;
}
.service-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-orange-dark);
}
.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}
.service-card:hover .service-link svg {
  transform: translateX(3px);
}

/* ---------- 11. À propos / Karl ---------- */
.about-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.about-photo {
  aspect-ratio: 4/5;
  background: var(--c-offwhite-2);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-values {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
@media (min-width: 560px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}
.value-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.value-item svg {
  width: 22px;
  height: 22px;
  color: var(--c-orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.value-item h4 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}
.value-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- 12. Réalisations ---------- */
.rs-showcase {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--c-offwhite-2);
}
@media (min-width: 700px) {
  .rs-showcase {
    aspect-ratio: 21 / 9;
  }
}
.rs-track {
  position: absolute;
  inset: 0;
}
.rs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.rs-slide.is-active {
  opacity: 1;
}
.rs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rs-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 45%);
  pointer-events: none;
}
.rs-dots {
  position: absolute;
  bottom: 20px;
  left: 24px;
  display: flex;
  gap: 6px;
  z-index: 1;
}
.rs-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.25s ease, background 0.25s ease;
}
.rs-dot.is-active {
  width: 18px;
  border-radius: 4px;
  background: #fff;
}
.rs-overlay {
  position: absolute;
  bottom: 16px;
  right: 20px;
  z-index: 1;
}
.rs-overlay .btn {
  box-shadow: var(--shadow-m);
}

/* ---------- 13. Avis clients ---------- */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  padding: 30px;
  margin-bottom: 30px;
}
.reviews-score-big {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--c-black);
  line-height: 1;
}
.reviews-score-col .stars {
  display: flex;
  gap: 3px;
  color: var(--c-orange);
  margin: 8px 0 6px;
}
.reviews-score-col .stars svg {
  width: 20px;
  height: 20px;
}
.reviews-score-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.reviews-summary .btn {
  margin-left: auto;
}
.reviews-cta {
  text-align: center;
}
.reviews-page-card {
  max-width: 480px;
  margin-inline: auto;
  text-align: center;
}
.reviews-page-card .reviews-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reviews-page-card .stars {
  justify-content: center;
}
.reviews-page-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 18px 0 26px;
}

/* ---------- 14. Zone d'intervention ---------- */
.zone-checker {
  max-width: 760px;
  margin-inline: auto;
}
.zone-checker-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.zone-input-wrap {
  position: relative;
  flex: 1 1 260px;
}
.zone-input-wrap label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.zone-input-wrap input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-s);
  font-size: 1rem;
  background: #fff;
}
.zone-input-wrap input:focus-visible {
  border-color: var(--c-orange);
}
.zone-suggestions {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-m);
  max-height: 260px;
  overflow-y: auto;
}
.zone-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--c-line);
}
.zone-suggestion:last-child {
  border-bottom: none;
}
.zone-suggestion:hover,
.zone-suggestion:focus-visible {
  background: var(--c-offwhite);
  color: var(--c-orange-dark);
}
.zone-checker .btn {
  flex-shrink: 0;
}
.zone-help {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.zone-result {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  font-size: 0.94rem;
  line-height: 1.5;
}
.zone-result a {
  font-weight: 600;
  text-decoration: underline;
}
.zone-result--ok {
  background: rgba(47, 138, 78, 0.1);
  border: 1px solid rgba(47, 138, 78, 0.3);
  color: #1e6a3c;
}
.zone-result--out {
  background: #fdece0;
  border: 1px solid rgba(217, 102, 29, 0.35);
  color: var(--c-orange-dark);
}
.zone-result--warn {
  background: var(--c-offwhite);
  border: 1px solid var(--c-line);
  color: var(--text-muted);
}
.zone-map {
  margin-top: 26px;
  height: 340px;
  border-radius: var(--radius-l);
  border: 1px solid var(--c-line);
  overflow: hidden;
  z-index: 1;
}
@media (min-width: 700px) {
  .zone-map {
    height: 420px;
  }
}

/* ---------- 15. Bandeau CTA final ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--c-orange-dark), var(--c-orange));
  color: #fff;
  border-radius: var(--radius-l);
  padding: 40px 26px;
  text-align: center;
  margin-inline: 20px;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .cta-band p {
    max-width: none;
    white-space: nowrap;
  }
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta-band .btn-primary {
  background: var(--c-black);
}
.cta-band .btn-primary:hover {
  background: #000;
}
@media (min-width: 700px) {
  .cta-band {
    margin-inline: auto;
    max-width: var(--container);
  }
}

/* ---------- 16. Pied de page ---------- */
.site-footer {
  background: var(--c-black);
  color: var(--text-on-dark-muted);
  padding-block: 60px 0;
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 44px;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
  }
  .footer-col {
    padding-left: 28px;
    border-left: 1px solid var(--c-line-dark);
  }
}
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-lockup .brand-mark {
  width: 40px;
  height: 40px;
}
.footer-brand .brand-name {
  color: #fff;
  font-size: 1.15rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 32ch;
}
.footer-col h4 {
  position: relative;
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--c-orange);
}
.footer-col ul {
  display: grid;
  gap: 12px;
}
.footer-col a,
.footer-col li {
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-col a {
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col svg {
  width: 16px;
  height: 16px;
  color: var(--c-orange-light);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}
.footer-hours-row span:first-child {
  color: var(--text-on-dark-muted);
}
.footer-hours-row span:last-child {
  color: #fff;
  font-weight: 500;
}
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer-payments span {
  border: 1px solid var(--c-line-dark);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.76rem;
}
.footer-insurance {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  border-top: 1px solid var(--c-line-dark);
  padding-block: 20px;
}
.footer-insurance svg {
  width: 16px;
  height: 16px;
  color: var(--c-orange-light);
  flex-shrink: 0;
}
.footer-bottom {
  padding-block: 22px;
  border-top: 1px solid var(--c-line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer-legal-links a:hover {
  color: #fff;
}
@media (max-width: 719px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* ---------- 17. Pages "stub" (en construction) ---------- */
.stub-hero {
  background: var(--c-anthracite);
  color: #fff;
  padding-block: 64px;
  text-align: center;
}
.stub-hero .eyebrow {
  color: var(--c-orange-light);
  justify-content: center;
}
.stub-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}
.stub-body {
  padding-block: 56px;
  text-align: center;
}
.stub-card {
  max-width: 560px;
  margin-inline: auto;
  background: var(--c-offwhite);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  padding: 36px 28px;
}
.stub-card svg {
  width: 40px;
  height: 40px;
  color: var(--c-orange);
  margin-inline: auto;
  margin-bottom: 16px;
}
.stub-card p {
  color: var(--text-muted);
  margin-block: 14px 22px;
}
.stub-card .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ---------- 18. Pages légales ---------- */
.legal-content {
  padding-block: 48px 72px;
}
.legal-content .container {
  max-width: 800px;
}
.legal-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin-bottom: 8px;
}
.legal-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
  margin-bottom: 20px;
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 10px;
}
.legal-content p,
.legal-content li {
  color: var(--text-body);
  font-size: 0.96rem;
  margin-bottom: 10px;
}
.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}
.placeholder-tag {
  display: inline-block;
  background: #fdece0;
  color: var(--c-orange-dark);
  border: 1px dashed var(--c-orange);
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 0.85em;
  font-weight: 600;
}

/* ---------- 19. Formulaire de contact ---------- */
.contact-hero-lead {
  color: var(--text-on-dark-muted);
  max-width: 56ch;
  margin-inline: auto;
  margin-top: 14px;
  font-size: 1.02rem;
}
.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (min-width: 960px) {
  .form-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 32px;
  }
}

.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  padding: 26px 20px;
}
@media (min-width: 640px) {
  .form-card {
    padding: 36px;
  }
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}
.form-fieldset legend {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-black);
  padding: 0;
  margin-bottom: 16px;
  width: 100%;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 10px;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}
@media (min-width: 560px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid-span-2 {
    grid-column: 1 / -1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-grid .form-group {
  margin-bottom: 0;
}
.form-group label,
.form-group-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-black);
}
.req {
  color: var(--c-orange-dark);
}
.form-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-s);
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--text-body);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--c-orange);
}
.form-group input:invalid[data-touched="true"],
.form-group select:invalid[data-touched="true"],
.form-group textarea:invalid[data-touched="true"] {
  border-color: #c94a3b;
}

.form-error {
  display: none;
  color: #c94a3b;
  font-size: 0.82rem;
  font-weight: 500;
}
.form-error.is-visible {
  display: block;
}

.urgent-check {
  position: relative;
  display: inline-flex;
}
.urgent-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.urgent-check span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.urgent-check svg {
  width: 18px;
  height: 18px;
}
.urgent-check input:checked + span {
  background: #fdece0;
  border-color: var(--c-orange);
  color: var(--c-orange-dark);
}
.urgent-check input:focus-visible + span {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}

.photo-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px dashed var(--c-line);
  border-radius: var(--radius-m);
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.photo-upload:hover {
  border-color: var(--c-orange);
  background: var(--c-offwhite);
}
.photo-upload svg {
  width: 30px;
  height: 30px;
  color: var(--c-orange);
  flex-shrink: 0;
}
.photo-upload span {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.photo-upload strong {
  color: var(--c-black);
  font-size: 0.95rem;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.photo-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-preview-item button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(22, 24, 28, 0.75);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-preview-item button svg {
  width: 14px;
  height: 14px;
}
.photo-preview-item .photo-size {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 24, 28, 0.65);
  color: #fff;
  font-size: 0.65rem;
  text-align: center;
  padding: 2px 0;
}

.form-consent {
  margin-bottom: 22px;
}
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--c-orange);
}
.consent-check span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.consent-check a {
  color: var(--c-orange-dark);
  font-weight: 600;
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.form-submit-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-m);
  margin-bottom: 22px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-alert--success {
  background: rgba(47, 138, 78, 0.1);
  border: 1px solid rgba(47, 138, 78, 0.3);
  color: #1e6a3c;
}
.form-alert--error {
  background: #fdece0;
  border: 1px solid rgba(217, 102, 29, 0.35);
  color: var(--c-orange-dark);
}

.form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-sidebar-card {
  background: var(--c-anthracite);
  color: var(--text-on-dark);
  border-radius: var(--radius-l);
  padding: 26px 22px;
}
.form-sidebar-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.form-sidebar-card > p {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.5;
}
.form-sidebar-card .btn {
  margin-bottom: 10px;
}
.form-sidebar-card .btn:last-child {
  margin-bottom: 0;
}
.form-sidebar-card--muted {
  background: var(--c-offwhite);
  color: var(--text-body);
}
.form-sidebar-card--muted h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.form-steps {
  display: grid;
  gap: 12px;
}
.form-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-steps svg {
  width: 18px;
  height: 18px;
  color: var(--c-success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 20. Toast de copie e-mail ---------- */
.email-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 12px);
  background: var(--c-black);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-s);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-l);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2000;
  max-width: calc(100vw - 40px);
}
.email-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1240px) {
  .email-toast {
    bottom: 24px;
  }
}

/* ---------- 21. Pages de prestations détaillées ---------- */
.rubric-intro p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-body);
}
.rubric-intro strong {
  color: var(--c-orange-dark);
}

.service-detail-list {
  display: grid;
  gap: 18px;
}
.service-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 26px;
}
.service-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fdece0;
  color: var(--c-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-detail-icon svg {
  width: 26px;
  height: 26px;
}
.service-detail-item h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-detail-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (min-width: 700px) {
  .service-detail-item {
    padding: 30px 32px;
  }
  .service-detail-item h2 {
    font-size: 1.2rem;
  }
}
.service-detail-item--simple {
  align-items: center;
}
.service-detail-item--simple p {
  color: var(--c-black);
  font-weight: 600;
  font-size: 1rem;
}

.process-steps {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.service-detail-sublist {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.service-detail-sublist li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.service-detail-sublist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-orange);
}

/* ---------- 22. Réalisations ---------- */
.realisations-list {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.realisation-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px) {
  .realisation-block {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .realisation-block--reverse {
    flex-direction: row-reverse;
  }
}

/* Carrousel photo */
.realisation-gallery {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .realisation-gallery {
    flex: 0 0 340px;
    max-width: 340px;
    margin: 0;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.rg-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--c-line);
  background: var(--c-offwhite-2);
}

.rg-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.rg-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.rg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(22, 24, 28, 0.55);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.rg-arrow:hover {
  background: rgba(22, 24, 28, 0.8);
}
.rg-arrow:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 2px;
}
.rg-arrow--prev {
  left: 10px;
}
.rg-arrow--next {
  right: 10px;
}
.rg-arrow svg {
  width: 16px;
  height: 16px;
}
.rg-arrow--prev svg {
  transform: scaleX(-1);
}

.rg-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(22, 24, 28, 0.55);
  color: var(--c-white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rg-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.rg-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--c-line);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.rg-dot.is-active {
  width: 18px;
  border-radius: 4px;
  background: var(--c-orange);
}

.realisation-text {
  flex: 1 1 auto;
  min-width: 0;
}
.realisation-category {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-orange-dark);
  margin-bottom: 8px;
}
.realisation-text h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.realisation-text p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 11px;
}
.realisation-text ul {
  list-style: disc;
  padding-left: 19px;
  margin: 3px 0 14px;
  display: grid;
  gap: 6px;
}
.realisation-text li {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.55;
}
