/* ============================================================
   Kayden Couverture — components.css
   Boutons, hero, index services, slider, FAQ, formulaire…
   ============================================================ */

/* ---------- Boutons ---------- */
.btn {
  --btn-pad: 0.85rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-pad);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 50px;
  border: 1.5px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow 0.35s var(--ease), transform 0.2s var(--ease);
  will-change: transform;
}

/* Micro-interaction : les CTA reprennent le langage de survol du site
   (les cartes, tuiles et liens se soulèvent) — léger lift + profondeur */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--gold:hover,
  .btn--phone:hover { box-shadow: 0 12px 26px -12px rgba(234, 166, 35, 0.75); }
  .btn--dark:hover { box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.55); }
}

.btn:active { transform: scale(0.97); }

.btn--lg { --btn-pad: 1.05rem 2.1rem; font-size: var(--step-0); }
.btn--block { width: 100%; }

/* Texte bleu nuit plutôt que blanc : le blanc sur or ne donnait que 2,10:1,
   le bleu nuit atteint 8,8:1 — et se marie mieux à l'or. */
.btn--gold {
  background: var(--or);
  color: var(--anthracite-deep);
  border-color: var(--or);
}
.btn--gold:hover { background: var(--or-bright); border-color: var(--or-bright); }

.btn--gold-outline {
  background: transparent;
  color: var(--or-light);
  border-color: var(--or-light);
}
.btn--gold-outline:hover { background: var(--or-light); color: var(--anthracite-deep); }

.btn--dark {
  background: var(--anthracite);
  color: var(--blanc);
  border-color: var(--anthracite);
}
.btn--dark:hover { background: var(--or); border-color: var(--or); color: var(--anthracite-deep); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover { background: var(--blanc); color: var(--anthracite-deep); border-color: var(--blanc); }

.btn--phone {
  background: var(--or);
  color: var(--anthracite-deep);
  border-color: var(--or);
  --btn-pad: 0.6rem 1.15rem;
}
.btn--phone:hover { background: var(--or-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(5rem, 12vh, 8rem);
  overflow: hidden;
  color: var(--blanc);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  /* La photo est déjà lumineuse : on renforce seulement la matière des
     tuiles, sans pousser la luminosité (qui dégraderait le contraste). */
  filter: saturate(1.1) contrast(1.05);
}

/* Voile du hero — calibré sur la photo réelle, pas à l'estime.
   Mesures de luminance de l'image (0 = noir, 1 = blanc) :
     bande de ciel   (y 25-50 %) : moyenne 0,27 à 0,41, pointes à 0,95
     bande de toiture(y 50-100 %) : moyenne 0,03 à 0,04
   Le ciel est ~12x plus clair que la toiture, et le titre tombe dessus.
   D'où un voile bleu nuit concentré sur le haut, qui s'efface sur la
   toiture — celle-ci garde sa chaleur et sa matière.
   La lueur dorée est posée EN PREMIER, donc AU-DESSUS du bleu : le soleil
   reste chaud au lieu d'être éteint par le voile. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* 1. lueur dorée sur le couchant — posée par-dessus le bleu */
    radial-gradient(42% 34% at 80% 34%, rgba(255, 190, 92, 0.34), rgba(255, 190, 92, 0.11) 55%, transparent 78%),
    /* 2. scrim latéral : soutenu à gauche sous le texte, il s'ouvre à droite
          pour laisser le soleil traverser */
    linear-gradient(100deg,
      rgba(14, 28, 39, 0.66) 0%,
      rgba(14, 28, 39, 0.58) 34%,
      rgba(14, 28, 39, 0.34) 58%,
      rgba(14, 28, 39, 0.12) 80%,
      rgba(14, 28, 39, 0.06) 100%),
    /* 3. teinte bleu nuit d'ensemble : marquée sur le ciel, discrète sur la
          toiture dont on garde la matière et la chaleur */
    linear-gradient(180deg,
      rgba(14, 28, 39, 0.34) 0%,
      rgba(14, 28, 39, 0.30) 40%,
      rgba(38, 71, 98, 0.14) 62%,
      rgba(48, 89, 122, 0.10) 80%,
      rgba(14, 28, 39, 0.36) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

/* Scrim local : nappe bleu nuit douce, calée derrière le bloc de texte.
   Le voile général suffit sur la toiture ; c'est le titre, posé sur la
   bande de ciel claire, qui a besoin de ce renfort. */
.hero__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16% 26% -14% -12%;
  background: radial-gradient(
    closest-side ellipse at 32% 44%,
    rgba(14, 28, 39, 0.46) 0%,
    rgba(14, 28, 39, 0.34) 52%,
    rgba(14, 28, 39, 0.12) 80%,
    rgba(14, 28, 39, 0) 100%
  );
  pointer-events: none;
}

.hero__eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or-light);
  margin-bottom: 1.3rem;
}

.hero__title {
  font-size: var(--step-5);
  font-weight: 400;
  /* 14ch : le titre reste dans les deux tiers gauche, là où le scrim est
     soutenu — la droite de la photo (le couchant) reste dégagée. */
  max-width: 14ch;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero__sub {
  margin-top: 1.6rem;
  font-size: var(--step-1);
  max-width: 46ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.5rem, 4vh, 2.6rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.hero__zone {
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--or-light), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--or-light);
  animation: scrollDot 2.2s var(--ease) infinite;
}

/* ---------- Réassurance (bande premium) ---------- */
.reassurance {
  position: relative;
  background:
    radial-gradient(90% 140% at 50% -30%, rgba(234, 166, 35, 0.16), transparent 60%),
    linear-gradient(180deg, #30597a 0%, var(--anthracite-deep) 100%);
  border-top: 1px solid rgba(234, 166, 35, 0.4);
  border-bottom: 1px solid var(--line-dark);
}

.reassurance__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  padding-block: 1.6rem;
}

.reassurance__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}

/* Filet doré qui se déploie en tête de chaque tuile au survol */
.reassurance__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--or), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.reassurance__item:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 166, 35, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}
.reassurance__item:hover::before { transform: scaleX(1); }
.reassurance__item:hover .reassurance__ico { color: var(--or-light); border-color: rgba(255, 209, 102, 0.6); }

.reassurance__ico {
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--or-light);
  background: radial-gradient(circle at 32% 26%, rgba(255, 209, 102, 0.24), rgba(234, 166, 35, 0.06));
  border: 1px solid rgba(234, 166, 35, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.reassurance__ico svg { width: 20px; height: 20px; }

.reassurance__txt { display: flex; flex-direction: column; line-height: 1.18; }
.reassurance__txt strong {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
}
.reassurance__txt span { font-size: 0.76rem; letter-spacing: 0.05em; color: var(--text-on-dark-soft); }

@media (max-width: 980px) {
  .reassurance__list { grid-template-columns: repeat(3, 1fr); padding-block: 1.8rem; }
}
@media (max-width: 600px) {
  .reassurance__list { grid-template-columns: 1fr 1fr; }
  /* 5 tuiles sur 2 colonnes laisse la dernière seule sur sa ligne :
     on l'étire pleine largeur plutôt que de la laisser orpheline. */
  .reassurance__item:last-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .reassurance__list { grid-template-columns: 1fr; }
  .reassurance__item:last-child { grid-column: auto; }
}

/* ---------- Index services ---------- */
.services__list {
  display: flex;
  flex-direction: column;
}

.service {
  border-top: 1px solid var(--line-dark);
}
.service:last-child { border-bottom: 1px solid var(--line-dark); }

.service__btn {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  text-align: left;
  padding: 1.5rem 0.5rem;
  transition: padding var(--dur) var(--ease);
}

.service__num {
  font-family: var(--font-title);
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.service__name {
  display: block;
  font-family: var(--font-title);
  font-size: var(--step-2);
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease);
}

.service__desc {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--text-on-dark-soft);
  max-width: 42ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), margin var(--dur) var(--ease);
}

.service.is-active .service__num { color: var(--or); transform: translateX(2px); }
.service.is-active .service__name { color: var(--or-light); }
.service.is-active .service__btn { padding-left: 1rem; }
.service.is-active .service__desc { max-height: 8rem; opacity: 1; }

.service__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--or-light);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), margin var(--dur) var(--ease);
}
.service.is-active .service__more { max-height: 2.5rem; opacity: 1; }
.service__more span { transition: transform var(--dur) var(--ease); }
.service__btn:hover .service__more span { transform: translateX(4px); }

.service__img { display: none; }

.services__stage {
  position: sticky;
  top: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--anthracite-soft);
}

.services__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease);
}

.services__stage.is-changing img { opacity: 0; }

.services__stage-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: rgba(14, 28, 39, 0.7);
  backdrop-filter: blur(6px);
  color: var(--blanc);
  font-size: var(--step--1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--line-dark);
}

/* ---------- Slider avant / après ---------- */
.ba {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.ba__layer {
  position: absolute;
  inset: 0;
}

.ba__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba__before {
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  will-change: clip-path;
}

.ba__tag {
  position: absolute;
  top: 1rem;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  background: rgba(14, 28, 39, 0.66);
  color: var(--blanc);
  backdrop-filter: blur(4px);
}
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background: var(--or-light);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}

.ba__handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--or);
  border: 2px solid var(--blanc);
  display: grid;
  place-items: center;
}

.ba__handle-knob::before,
.ba__handle-knob::after {
  content: "";
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  position: absolute;
}
.ba__handle-knob::before { border-right: 7px solid var(--blanc); left: 9px; }
.ba__handle-knob::after { border-left: 7px solid var(--blanc); right: 9px; }

.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 48px; height: 200px; border: none; background: transparent; cursor: ew-resize; }

.ba.is-demo .ba__handle,
.ba.is-demo .ba__before { transition: left 1.1s var(--ease), clip-path 1.1s var(--ease); }

.ba__layer img { transition: opacity 0.25s var(--ease); }
.ba.is-switching .ba__layer img { opacity: 0; }

/* ---------- Galerie de paires avant/après ---------- */
.ba-gallery__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.ba-gallery__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-on-dark-soft);
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), transform 0.2s var(--ease);
}
.ba-gallery__btn:hover { border-color: rgba(234, 166, 35, 0.5); color: var(--text-on-dark); transform: translateY(-1px); }
.ba-gallery__btn .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
}
.ba-gallery__btn.is-active {
  border-color: var(--or);
  background: rgba(234, 166, 35, 0.14);
  color: var(--text-on-dark);
}
.ba-gallery__btn.is-active .num { background: var(--or); color: var(--anthracite-deep); }
/* Sur fond clair (pages où la galerie est posée sur un bloc paper/blanc) */
.block--light .ba-gallery__btn, .block--paper .ba-gallery__btn {
  color: var(--text-soft);
  border-color: var(--line);
  background: var(--blanc);
}
.block--light .ba-gallery__btn:hover, .block--paper .ba-gallery__btn:hover { color: var(--text); }
.block--light .ba-gallery__btn.is-active, .block--paper .ba-gallery__btn.is-active { color: var(--text); }

.proof__note {
  text-align: center;
  color: var(--text-on-dark-soft);
  font-size: var(--step--1);
  margin-top: 1.5rem;
}

/* ---------- Galerie réalisations full-bleed (showcase) ---------- */
.showcase {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 6vw, 5rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.showcase__row {
  display: flex;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  width: max-content;
  will-change: transform;
}
.showcase__row--ltr { animation: showcaseLtr 52s linear infinite; }
.showcase__row--rtl { animation: showcaseRtl 64s linear infinite; }
.showcase:hover .showcase__row { animation-play-state: paused; }

.shot {
  position: relative;
  flex: 0 0 auto;
  width: clamp(300px, 33vw, 520px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.85);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 11, 9, 0.85) 0%, rgba(13, 11, 9, 0.15) 50%, transparent 75%);
}
.shot__cap { position: absolute; left: 1.15rem; right: 1.15rem; bottom: 1.05rem; z-index: 1; }
.shot__tag { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--or-light); }
.shot__title { display: block; margin-top: 0.2rem; font-family: var(--font-title); font-size: 1.15rem; color: var(--blanc); letter-spacing: -0.01em; }

@keyframes showcaseLtr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes showcaseRtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.proof__cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Engagements ---------- */
.engagements {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.engagements li {
  position: relative;
  padding-left: 1.1rem;
}

.engagements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 3px;
  height: 1.4rem;
  background: var(--or);
}

.engagements__title {
  display: block;
  font-family: var(--font-title);
  font-size: var(--step-1);
  color: var(--text);
}

.engagements__text {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.artisan__content .btn--dark { margin-top: 2.2rem; }

/* ---------- Carte interactive de la zone d'intervention ---------- */
.zone__map-wrap {
  margin: 2.4rem auto 0;
  max-width: 1040px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.zone__map {
  width: 100%;
  height: clamp(380px, 56vh, 540px);
  background: var(--paper);
}
.zone__map .leaflet-container {
  font-family: var(--font-body);
  background: var(--paper);
}
.zone__map .leaflet-control-attribution {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.82);
}
.zone__map .leaflet-control-zoom a {
  color: var(--anthracite);
}
.zone-map__pin span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--or-light);
  border: 2px solid var(--anthracite-deep);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.zone-map__pin--major span {
  background: var(--or);
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(234, 166, 35, 0.28), 0 2px 6px rgba(0, 0, 0, 0.45);
}
.zone-map__pin--home span {
  background: var(--or);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(234, 166, 35, 0.35), 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Étiquettes permanentes des villes-repères : lisibles sur fond de carte
   clair, sans la bulle Leaflet par défaut. */
.zone__map .leaflet-tooltip.zone-map__label {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(48, 89, 122, 0.18);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(14, 28, 39, 0.16);
  color: var(--anthracite);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 1px 7px;
  white-space: nowrap;
}
.zone__map .leaflet-tooltip.zone-map__label::before { display: none; }
.zone__map .leaflet-tooltip.zone-map__label--home {
  background: var(--anthracite-deep);
  border-color: var(--or);
  color: var(--or-light);
  font-size: 0.72rem;
}

@media (max-width: 600px) {
  .zone__map { height: 320px; }
  /* Sur petit écran, seules les grandes villes gardent leur étiquette
     lisible : on réduit sans jamais tronquer. */
  .zone__map .leaflet-tooltip.zone-map__label { font-size: 0.6rem; padding: 0 5px; }
}

/* ---------- Vérificateur de zone ---------- */
.zone-check {
  margin-top: 2.4rem;
  margin-inline: auto;
  max-width: 480px;
  text-align: left;
}

.zone-check__label {
  display: block;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--text-on-dark-soft);
  margin-bottom: 0.6rem;
}

.zone-check__row {
  display: flex;
  gap: 0.6rem;
}

.zone-check__input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: var(--blanc);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.zone-check__input::placeholder { color: rgba(255, 255, 255, 0.5); }
.zone-check__input:focus {
  outline: none;
  border-color: var(--or-light);
  background: rgba(255, 255, 255, 0.13);
}

.zone-check__hint {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.zone-check__result {
  margin-top: 1rem;
  min-height: 1.4em;
  font-size: var(--step--1);
  color: var(--or-light);
}
.zone-check__result:empty { margin-top: 0; min-height: 0; }
.zone-check__result.is-neutral { color: var(--text-on-dark-soft); }
.zone-check__result.is-loading { color: var(--text-on-dark-soft); }
.zone-check__result a { color: var(--or-light); text-decoration: underline; text-underline-offset: 2px; }

/* Résultat positif / négatif : pastille ✓ / ✕ + détail */
.zone-check__result.is-yes,
.zone-check__result.is-no {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.zone-check__result.is-yes {
  color: #eaf6ec;
  background: rgba(76, 138, 99, 0.16);
  border-color: rgba(76, 138, 99, 0.45);
}
.zone-check__result.is-no {
  color: var(--text-on-dark);
  background: rgba(178, 86, 47, 0.16);
  border-color: rgba(178, 86, 47, 0.45);
}
.zone-check__result.is-yes::before,
.zone-check__result.is-no::before {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.zone-check__result.is-yes::before { content: "✓"; background: #4c8a63; color: #fff; }
.zone-check__result.is-no::before { content: "✕"; background: #b5562f; color: #fff; }
.zone-check__result strong { font-weight: 600; }
.zone-check__detail {
  flex-basis: 100%;
  padding-left: calc(26px + 0.6rem);
  font-size: 0.78rem;
  color: var(--text-on-dark-soft);
}

.zone .btn--gold-outline { margin-top: 2rem; }

/* ---------- FAQ ---------- */
.faq__card {
  margin-top: 2.2rem;
  background: var(--blanc-casse);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.faq__card p { margin-bottom: 1rem; color: var(--text-soft); }

.faq__list { display: flex; flex-direction: column; }

[data-faq-item] {
  border-bottom: 1px solid var(--line);
}

[data-faq-item] summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-family: var(--font-title);
  font-size: var(--step-1);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
[data-faq-item] summary::-webkit-details-marker { display: none; }
[data-faq-item] summary:hover { color: var(--or); }

.faq__chev {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 2px;
  background: var(--or);
  transition: transform var(--dur) var(--ease);
}
.faq__chev::before { left: 0; transform: translateY(-50%) rotate(45deg); }
.faq__chev::after { right: 0; transform: translateY(-50%) rotate(-45deg); }
[data-faq-item][open] .faq__chev::before { transform: translateY(-50%) rotate(-45deg); }
[data-faq-item][open] .faq__chev::after { transform: translateY(-50%) rotate(45deg); }

.faq__panel {
  overflow: hidden;
  color: var(--text-soft);
}
.faq__panel p { padding-bottom: 1.4rem; max-width: 60ch; }

/* ---------- Formulaire contact ---------- */
.contact__coords {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact__coords li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.2rem;
}

.contact__coord-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__coords a,
.contact__coords li > span:last-child {
  color: var(--text-on-dark);
  transition: color var(--dur) var(--ease);
}
.contact__coords a:hover { color: var(--or-light); }

.contact__phone {
  font-family: var(--font-title);
  font-size: var(--step-2);
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.field {
  position: relative;
  margin-bottom: 1.1rem;
}

.field__input {
  width: 100%;
  padding: 1.5rem 1.1rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--blanc);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field__input--area { resize: vertical; min-height: 110px; }

/* Champ « select » (Service souhaité) — aligné sur les autres champs */
.field--select { position: relative; }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field__select:required:invalid { color: var(--text-on-dark-soft); } /* placeholder non choisi */
.field__select option { color: #1b3550; }
.field__select option[value=""][disabled] { display: none; }
/* le label reste en position « flottante » (le select a toujours une valeur visuelle) */
.field--select .field__label {
  transform: translateY(-0.7rem);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--or-light);
}
.field__caret {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-on-dark-soft);
  border-bottom: 2px solid var(--text-on-dark-soft);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.field--select:focus-within .field__caret { border-color: var(--or-light); }

.btn.is-loading,
.btn:disabled { opacity: 0.6; cursor: progress; }

.field__label {
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  color: var(--text-on-dark-soft);
  pointer-events: none;
  transition: transform 0.25s var(--ease), font-size 0.25s var(--ease), color 0.25s var(--ease);
}

.field__input:focus {
  outline: none;
  border-color: var(--or-light);
  background: rgba(255, 255, 255, 0.1);
}

.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-0.7rem);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--or-light);
}

.contact-form .btn { margin-top: 0.5rem; }

.contact-form__note {
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--text-muted);
  text-align: center;
}

.contact-form__status {
  margin-top: 0.8rem;
  text-align: center;
  font-size: var(--step--1);
  color: var(--or-light);
  min-height: 1.2em;
}

/* ---------- Bouton flottant ---------- */
.floating-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 54px;
  height: 54px;
  padding: 0;
  background: var(--or);
  color: var(--blanc);
  border-radius: 50%;
  font-weight: 500;
  font-size: var(--step--1);
  box-shadow: 0 12px 30px -8px rgba(234, 166, 35, 0.7);
  transform: translateY(150%);
  transition: transform 0.5s var(--ease), opacity 0.25s var(--ease), width 0.3s var(--ease), border-radius 0.3s var(--ease);
}
/* Le libellé « Appeler » reste dans le DOM pour l'accessibilité (lecteurs d'écran),
   masqué visuellement : le bouton rond « icône seule » gêne beaucoup moins la
   lecture du contenu qui défile derrière lui qu'une pastille large avec texte. */
.floating-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.floating-call.is-visible { transform: translateY(0); }
.floating-call.is-pulse { animation: floatPulse 1.6s var(--ease) 1; }
/* Estompé pendant le défilement actif : encore moins de gêne sur le texte qu'on traverse */
.floating-call.is-scrolling { opacity: 0.5; }
@media (hover: hover) {
  .floating-call:hover { opacity: 1; }
}

/* ---------- Bouton « Retour en haut » (desktop) ---------- */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 32, 53, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 209, 102, 0.4);
  color: var(--or-light);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--or); color: var(--blanc); border-color: var(--or); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }
/* Sur mobile/tablette, le bouton flottant « Appeler » prend le relais */
@media (max-width: 1024px) { .to-top { display: none; } }

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--anthracite-deep);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  /* « safe center » : centré verticalement, mais bascule en haut sans rogner
     le sommet si le contenu dépasse (petits écrans) */
  justify-content: safe center;
  gap: 2.5rem;
  /* padding-haut augmenté : un peu d'air entre le header et les liens du menu */
  padding: 7.25rem var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.mobile-menu__nav a {
  font-family: var(--font-title);
  font-size: var(--step-3);
  color: var(--text-on-dark);
  transition: color var(--dur) var(--ease);
}
.mobile-menu__nav a:hover { color: var(--or-light); }

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 2rem;
}
/* Cible tactile : le lien e-mail ne faisait que 27 px de haut. */
.mobile-menu__mail {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text-on-dark-soft);
}
.mobile-menu__hours { font-size: var(--step--1); color: var(--text-muted); }

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open { overflow: hidden; }

/* ---------- Responsive composants ---------- */
@media (max-width: 1024px) {
  .floating-call { display: inline-flex; }

  .service__img {
    display: block;
    width: 100%;
    height: clamp(200px, 45vw, 320px);
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
  }
  .service { border: none; }
  .service:last-child { border: none; }
  .service__btn { padding-block: 0 1.5rem; align-items: flex-start; }
  .service.is-active .service__btn { padding-left: 0.5rem; }
  .services__stage { display: none; }
  .service__desc { max-height: 8rem; opacity: 1; margin-top: 0.5rem; }
  .service__more { max-height: 2.5rem; opacity: 1; margin-top: 0.6rem; }
  .service { padding-top: 2rem; }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 108px;
    padding-bottom: clamp(1.75rem, 5vh, 2.5rem);
    justify-content: flex-start;
  }

  /* Mobile : le texte prend toute la largeur, le scrim ne peut donc pas être
     latéral comme sur grand écran.
     Mesures sur la photo mobile : la bande de couchant (y 17-33 %) monte à
     0,90 de luminance quand la toiture reste à 0,03. Le titre tombe sur cette
     bande : le voile bleu y est donc soutenu, puis se relâche dès la toiture
     — qui garde sa chaleur sur les deux tiers bas de l'écran. */
  .hero__veil {
    background:
      radial-gradient(80% 22% at 62% 26%, rgba(255, 190, 92, 0.30), rgba(255, 190, 92, 0.10) 55%, transparent 80%),
      linear-gradient(180deg,
        rgba(14, 28, 39, 0.58) 0%,
        rgba(14, 28, 39, 0.68) 22%,
        rgba(14, 28, 39, 0.62) 40%,
        rgba(14, 28, 39, 0.30) 52%,
        rgba(48, 89, 122, 0.16) 70%,
        rgba(14, 28, 39, 0.42) 100%);
  }

  /* Scrim local : pleine largeur sur mobile, adossé au bloc de texte. */
  .hero__inner::before {
    inset: -8% -12% -10% -12%;
    background: radial-gradient(
      closest-side ellipse at 50% 40%,
      rgba(14, 28, 39, 0.34) 0%,
      rgba(14, 28, 39, 0.20) 60%,
      rgba(14, 28, 39, 0) 100%
    );
  }

  /* Le bloc principal occupe l'espace et centre son contenu ; le pied de hero
     passe DANS LE FLUX -> plus aucun chevauchement avec les CTA, à toute hauteur. */
  .hero__inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero__foot {
    position: static;
    margin-top: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero__zone { white-space: normal; }
  .hero__scroll { flex-direction: row; align-self: flex-start; }
  .hero__scroll-line { width: 36px; height: 1px; }
  .hero__scroll-line::after { top: 0; left: -50%; width: 50%; height: 100%; }

  /* CTA du hero : empilés pleine largeur sur mobile — évite que le bouton
     principal ne se scinde en trois lignes dans une pastille surdimensionnée */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .engagements { grid-template-columns: 1fr; }

  .ba { aspect-ratio: 4 / 3; }

  .zone-check__row { flex-direction: column; }
  .zone-check__input { border-radius: var(--radius-sm); }
  .zone-check__row .btn { width: 100%; }
}

/* Légende et indice de la carte — sans eux, les deux tailles de pastilles
   ne veulent rien dire et rien n'annonce les communes masquées au zoom
   d'ensemble. */
.zone__map .zone-map__legend {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(48, 89, 122, 0.16);
  box-shadow: 0 2px 10px rgba(14, 28, 39, 0.18);
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--text);
}
.zone__map .zone-map__legend span { display: flex; align-items: center; gap: 0.45rem; }
.zone__map .zone-map__legend .dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--or-light);
  border: 2px solid var(--anthracite-deep);
}
.zone__map .zone-map__legend .dot--major { width: 12px; height: 12px; background: var(--or); }
.zone__map .zone-map__legend .dot--home {
  width: 13px; height: 13px; background: var(--or); border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(234, 166, 35, 0.45);
}

.zone__map .zone-map__hint {
  max-width: 190px;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 28, 39, 0.86);
  color: var(--or-light);
  font-size: 0.66rem;
  line-height: 1.35;
  box-shadow: 0 2px 10px rgba(14, 28, 39, 0.3);
}

@media (max-width: 600px) {
  .zone__map .zone-map__legend { font-size: 0.6rem; padding: 0.4rem 0.5rem; }
  .zone__map .zone-map__hint { max-width: 140px; font-size: 0.6rem; }
}

/* Champ piège anti-robots : invisible et hors du parcours clavier, mais
   pas display:none — certains robots ignorent les champs masqués ainsi. */
.pot-de-miel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
