/* ==========================================================================
   HomeKeys – Serrurier Lesquin
   ========================================================================== */

/* Polices auto-hébergées (aucune requête vers Google : RGPD + performance) */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --line: rgba(255, 255, 255, .09);
  --text: #f5f2ea;
  --muted: #aaa498;
  --gold: #d9ad4c;
  --gold-light: #f6de97;
  --gold-dark: #8f6516;
  --gradient-gold: linear-gradient(135deg, #f6de97 0%, #d9ad4c 45%, #b3832c 100%);
  --cream: #f7f2e8;
  --cream-2: #efe7d7;
  --ink: #171512;
  --ink-muted: #5e574b;

  --font-title: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
[hidden] { display: none !important; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

/* Eyebrow (reprise des traits du logo) ---------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: .9rem;
  font-family: var(--font-title); font-weight: 600; font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow__line { width: 2.2rem; height: 1px; background: var(--gradient-gold); flex-shrink: 0; }
.eyebrow--left { justify-content: flex-start; }

/* Boutons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-title); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn--gold { background: var(--gradient-gold); color: #1a1407; box-shadow: 0 10px 30px -10px rgba(217, 173, 76, .65); }
/* Dégradé calculé sous la bordure transparente (sinon il se répète sur les bords) */
.btn--gold, .card--urgent, .cities li:first-child { background-origin: border-box; }
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(217, 173, 76, .85); }
.btn--ghost { border-color: rgba(246, 222, 151, .45); color: var(--gold-light); background: rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold-light); background: rgba(246, 222, 151, .08); }
.btn--dark { background: var(--ink); color: var(--gold-light); }
.btn--dark:hover { background: #000; }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: .88rem; }
.btn--block { width: 100%; }

/* Topbar ---------------------------------------------------------------- */
.topbar { background: #070707; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar p { margin: 0; }
.topbar p .pulse { display: inline-block; margin-right: .45rem; vertical-align: middle; }
.topbar strong { color: var(--text); font-weight: 600; }
.topbar__tel { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-light); font-weight: 600; text-decoration: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* Header ---------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17, 17, 17, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.header.is-scrolled { border-color: var(--line); background: rgba(17, 17, 17, .95); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__icon { width: 58px; height: auto; mix-blend-mode: lighten; }
.brand__name { font-family: var(--font-title); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: #fff; }
.brand__name span { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.8rem; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; color: #ddd8cd; padding: .4rem 0;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gradient-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }
.header__cta { display: none; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero : slider ------------------------------------------------------- */
:root { --slide-duration: 7s; }
.hero { position: relative; overflow: hidden; background: var(--bg); }
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(90vh, 840px);
  padding: 5rem 0 11rem;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.1s var(--ease), visibility 0s; }

/* Ken Burns sur l'image active */
.slide__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2;
  transform: scale(1.14); transition: transform 0s linear 1.1s;
}
.slide.is-active .slide__bg { transform: scale(1); transition: transform calc(var(--slide-duration) + 2s) cubic-bezier(.25, .1, .25, 1); }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(13, 13, 13, .55), transparent 60%),
    linear-gradient(90deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .85) 40%, rgba(10, 10, 10, .35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__content { max-width: var(--container); }
.hero .eyebrow { justify-content: flex-start; }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; max-width: 19ch; text-wrap: balance; }
.hero__lead { max-width: 56ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #d9d4c8; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; color: #e8e3d8; font-size: .93rem; font-weight: 500; }
.hero__badges li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__badges .ico { color: var(--gold); }

/* Apparition du texte en cascade à chaque changement de slide */
.slide [data-anim] { opacity: 0; }
.slide.is-active [data-anim] { animation: rise .9s var(--ease) both; animation-delay: .35s; }
.slide.is-active .hero__content > :nth-child(2) { animation-delay: .47s; }
.slide.is-active .hero__content > :nth-child(3) { animation-delay: .59s; }
.slide.is-active .hero__content > :nth-child(4) { animation-delay: .71s; }
.slide.is-active .hero__content > :nth-child(5) { animation-delay: .83s; }
.slide.is-active .eyebrow__line { animation: grow .9s var(--ease) .45s both; transform-origin: left; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Contrôles */
.slider__controls {
  position: absolute; left: 0; right: 0; bottom: 6rem; z-index: 3;
  display: flex; align-items: center; gap: 1.6rem;
}
.slider__dots { display: flex; gap: .5rem; }
.slider__dot {
  position: relative; width: 34px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  transition: width .5s var(--ease);
}
.slider__dot::before, .slider__dot span {
  content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
}
.slider__dot::before { right: 0; background: rgba(255, 255, 255, .25); transition: background-color .3s; }
.slider__dot:hover::before { background: rgba(255, 255, 255, .5); }
.slider__dot span { width: 0; background: var(--gradient-gold); }
.slider__dot.is-active { width: 76px; }
.slider__dot.is-active span { animation: fill var(--slide-duration) linear forwards; }
.hero.is-paused .slider__dot span { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

.slider__count { margin: 0; font-family: var(--font-title); font-size: .9rem; color: var(--muted); letter-spacing: .08em; }
.slider__count strong { color: var(--gold-light); font-size: 1.05rem; }
.slider__arrows { display: flex; gap: .6rem; margin-left: auto; }
.slider__arrow {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  color: var(--gold-light); background: rgba(0, 0, 0, .35); border: 1px solid rgba(246, 222, 151, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.slider__arrow:hover { background: var(--gold); border-color: var(--gold); color: #1a1407; transform: scale(1.06); }
.slider__arrow[data-dir="-1"] .ico { transform: rotate(180deg); }
.slider__toggle .ico { width: 16px; height: 16px; }
.slider__toggle .ico-play, .hero.is-stopped .slider__toggle .ico-pause { display: none; }
.hero.is-stopped .slider__toggle .ico-play { display: block; }
.hero.is-stopped .slider__dot span { animation-play-state: paused; }

/* Réassurance ----------------------------------------------------------- */
.trust { position: relative; z-index: 2; margin-top: -4rem; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #1a1a1a, #141414);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.trust__item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.5rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
  background: rgba(217, 173, 76, .1); border: 1px solid rgba(217, 173, 76, .25); color: var(--gold);
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__item strong { display: block; font-family: var(--font-title); font-size: 1rem; }
.trust__item div span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); }
.section__head h2 { text-wrap: balance; }
.section__intro { color: var(--muted); font-size: 1.05rem; }

/* Services -------------------------------------------------------------- */
.services__grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "a a f"
    "b c f"
    "d d e";
}
.services__grid > :nth-child(1) { grid-area: a; }
.services__grid > :nth-child(2) { grid-area: b; }
.services__grid > :nth-child(3) { grid-area: c; }
.services__grid > :nth-child(4) { grid-area: d; }
.services__grid > :nth-child(5) { grid-area: e; }
.services__grid > :nth-child(6) { grid-area: f; }

.card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-3);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px; isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
@media (hover: hover) { .card:hover { transform: translateY(-4px); border-color: rgba(217, 173, 76, .4); box-shadow: var(--shadow); } }
.card__body { position: relative; padding: 1.7rem; }
.card h3 { margin-bottom: .45rem; }
.card p { color: #cfc9bd; font-size: .95rem; margin: 0; }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1rem;
  background: var(--gradient-gold); color: #1a1407;
}
.card__icon svg { width: 22px; height: 22px; }

.card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.card--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, .1) 0%, rgba(10, 10, 10, .72) 42%, rgba(10, 10, 10, .97) 78%);
}
@media (hover: hover) { .card--photo:hover img { transform: scale(1.05); } }
.card--wide .card__body { max-width: 560px; }
.card--tall { min-height: 100%; }

.card--icon { background: radial-gradient(circle at 100% 0%, rgba(217, 173, 76, .14), transparent 55%), var(--bg-3); }

.card--urgent { background: var(--gradient-gold); border-color: transparent; color: var(--ink); }
.card--urgent::after {
  content: "24/7"; position: absolute; right: -.5rem; top: -1.4rem; z-index: -1;
  font-family: var(--font-title); font-weight: 800; font-size: 8.5rem; line-height: 1; color: rgba(0, 0, 0, .07);
}
.card--urgent p { color: #3b2f14; margin-bottom: 1.3rem; max-width: 52ch; }
.card--urgent .card__icon { background: var(--ink); color: var(--gold-light); }
.card--urgent .btn { align-self: flex-start; }

/* À propos (fond clair) ------------------------------------------------- */
.about { background: var(--cream); color: var(--ink); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 40% center; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(40, 30, 10, .5); }
.about__media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; z-index: -1;
  border: 1px solid rgba(169, 122, 36, .45); border-radius: var(--radius);
}
.about__media { isolation: isolate; }
.about__badge {
  position: absolute; left: -1.2rem; bottom: 2rem;
  background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow); text-align: center;
}
.about__badge strong { display: block; font-family: var(--font-title); font-size: 2rem; line-height: 1; background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__badge span { font-size: .8rem; color: #cfc9bd; letter-spacing: .04em; }
.about .eyebrow { color: var(--gold-dark); }
.about .lead { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.about p { color: var(--ink-muted); }
.checklist { display: grid; gap: .75rem; margin: 1.8rem 0; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; }
.checklist .ico { color: #fff; background: var(--gold-dark); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: .15rem; }
.signature { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--ink) !important; margin: 0; }
.about .signature .gold-text { background: linear-gradient(135deg, #b8862e, #8f6516); -webkit-background-clip: text; background-clip: text; }

/* Étapes ---------------------------------------------------------------- */
.steps { background: var(--bg); position: relative; }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; position: relative; }
.steps__list::before {
  content: ""; position: absolute; top: 2.2rem; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 173, 76, .5), transparent);
}
.step { position: relative; text-align: center; padding: 0 .6rem; }
.step__num {
  display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin: 0 auto 1.3rem; border-radius: 50%;
  background: var(--bg-2); border: 1px solid rgba(217, 173, 76, .45);
  font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; color: var(--gold-light);
  box-shadow: 0 0 0 8px var(--bg);
  position: relative;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Zone ------------------------------------------------------------------ */
.zone { background: var(--bg-2); border-block: 1px solid var(--line); }
.zone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.zone__text > p { color: var(--muted); }
.cities { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0; }
.cities li {
  padding: .4rem .85rem; border-radius: 999px; font-size: .87rem; font-weight: 500;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: #ddd8cd;
}
.cities li:first-child { background: var(--gradient-gold); color: #1a1407; border-color: transparent; font-weight: 700; }
.zone__note { font-size: .93rem; }
.zone__note a { color: var(--gold-light); font-weight: 600; }
.zone__map {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 1 / .9; box-shadow: var(--shadow); background: var(--bg-3);
}
.map-facade {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 2rem; text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 173, 76, .18), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 44px),
    var(--bg-3);
}
.map-facade__pin { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-gold); color: #1a1407; box-shadow: 0 0 0 10px rgba(217, 173, 76, .12); }
.map-facade__pin svg { width: 28px; height: 28px; }
.map-facade__address { margin: 0; color: #ddd8cd; line-height: 1.5; }
.map-facade__address strong { font-family: var(--font-title); color: var(--text); }
.map-facade__note { margin: 0; font-size: .78rem; color: var(--muted); max-width: 34ch; }
.map-facade__note a { color: var(--gold-light); }
.zone__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(1) invert(.92) contrast(.9) sepia(.25) hue-rotate(-12deg);
}

/* Engagements / avis ---------------------------------------------------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.promise {
  margin: 0; padding: 2rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
@media (hover: hover) { .promise:hover { border-color: rgba(217, 173, 76, .4); transform: translateY(-3px); } }
.promise__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(217, 173, 76, .4); color: var(--gold); margin-bottom: 1.2rem; }
.promise__icon svg { width: 22px; height: 22px; }
.promise blockquote { margin: 0 0 .5rem; font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; }
.promise figcaption { color: var(--muted); font-size: .95rem; }

.review-cta {
  margin-top: 2.2rem; display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap;
  padding: 1.6rem 2rem; border-radius: var(--radius);
  border: 1px dashed rgba(217, 173, 76, .4); background: rgba(217, 173, 76, .04);
}
.review-cta__stars { display: flex; gap: .2rem; color: var(--gold); }
.review-cta__stars svg { width: 20px; height: 20px; }
.review-cta p { margin: 0; flex: 1 1 320px; color: #d9d4c8; }

/* FAQ (fond clair) ------------------------------------------------------ */
.faq { background: var(--cream); color: var(--ink); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__head p:not(.eyebrow) { color: var(--ink-muted); margin-bottom: 1.6rem; }
.faq .eyebrow { color: var(--gold-dark); }
.faq__list { display: grid; gap: .8rem; }
.faq__item { background: #fff; border: 1px solid var(--cream-2); border-radius: var(--radius-sm); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { border-color: rgba(169, 122, 36, .35); box-shadow: 0 16px 40px -24px rgba(60, 40, 0, .35); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--font-title); font-weight: 700; font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--cream); color: var(--gold-dark);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.faq__item[open] summary .ico { transform: rotate(45deg); background: var(--gold-dark); color: #fff; }
.faq__item p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--ink-muted); }

/* Contact --------------------------------------------------------------- */
.contact { background: radial-gradient(ellipse at 0% 0%, rgba(217, 173, 76, .12), transparent 50%), var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__phone {
  display: inline-flex; align-items: center; gap: 1rem; margin: 1rem 0 2rem;
  padding: 1rem 1.6rem 1rem 1rem; border-radius: 999px; text-decoration: none;
  background: var(--bg-3); border: 1px solid rgba(217, 173, 76, .35);
  transition: border-color .3s, transform .3s var(--ease);
}
.contact__phone:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact__phone-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-gold); color: #1a1407; }
.contact__phone-icon svg { width: 24px; height: 24px; }
.contact__phone small { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.contact__phone strong { font-family: var(--font-title); font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--gold-light); letter-spacing: .02em; }
.contact__list { display: grid; gap: 1.2rem; }
.contact__list p { display: flex; gap: .9rem; margin: 0; color: var(--muted); line-height: 1.55; }
.contact__list strong { color: var(--text); font-weight: 600; }
.contact__list .ico { color: var(--gold); margin-top: .2rem; }
.contact__list a { color: var(--gold-light); }

.form {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: var(--shadow);
}
.form h3 { font-size: 1.35rem; margin-bottom: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: #ddd8cd; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .12); background: #0f0f0f; color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6a61; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 173, 76, .2); }
.field.is-invalid input { border-color: #e5484d; }
.form__hint { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.form__hint a { color: var(--gold-light); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .8rem; color: var(--muted); margin: -.2rem 0 1rem; line-height: 1.5; }
.form__legal .linklike { color: var(--gold-light); font-size: inherit; }
.form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.form__hint.is-success { color: #3ddc84; }
.form__hint.is-error { color: #ff8b8b; }

/* Footer ---------------------------------------------------------------- */
.footer { background: #080808; border-top: 1px solid var(--line); padding: 4.5rem 0 0; color: var(--muted); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__tagline { display: flex; align-items: center; gap: .8rem; font-family: var(--font-title); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer__brand p:last-child { max-width: 40ch; }
.footer h2 { font-size: .95rem; color: var(--text); margin-bottom: 1rem; letter-spacing: .02em; }
.footer ul { display: grid; gap: .55rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-light); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 1.4rem 0; font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer .footer__credit { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: var(--gold-light); }

/* Barre d'appel mobile --------------------------------------------------- */
.callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(13, 13, 13, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.callbar.is-visible { transform: none; }
.callbar .btn { padding: 1rem; font-size: 1.02rem; }

/* Modale mentions légales ----------------------------------------------- */
.modal {
  width: min(100% - 2rem, 640px); max-height: 85vh; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); color: var(--text);
}
.modal::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.modal__inner { padding: 2rem; }
.modal h2 { font-size: 1.6rem; }
.modal h3 { font-size: 1rem; color: var(--gold-light); margin: 1.4rem 0 .4rem; }
.modal p { color: var(--muted); font-size: .93rem; }
.modal a { color: var(--gold-light); }
.modal .btn { margin-top: 1rem; }

/* Animations d'apparition ----------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide.is-active [data-anim] { opacity: 1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav ul { gap: 1.3rem; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__cta { display: inline-flex; }
  .nav {
    /* absolute : le backdrop-filter du header crée le bloc conteneur */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); z-index: 99;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 2rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 1rem 0; font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { display: inline-flex; padding: 1rem; font-size: 1rem; }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a a"
      "b c"
      "f d"
      "f e";
  }
  .about__grid, .zone__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__media img { aspect-ratio: 4 / 3.2; }
  .faq__head { position: static; }
  .steps__list { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.2rem; }
  .steps__list::before { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .promise { display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; align-items: center; }
  .promise__icon { grid-row: span 2; margin: 0; }
  .promise blockquote { align-self: end; margin: 0; }
  .zone__map { aspect-ratio: 16 / 11; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: .97rem; padding-bottom: 76px; }
  .container { width: min(100% - 2rem, var(--container)); }
  .topbar__inner { justify-content: center; min-height: 36px; }
  .topbar p { font-size: .78rem; text-align: center; }
  .topbar__zone { display: none; }
  .eyebrow { letter-spacing: .16em; font-size: .72rem; gap: .7rem; }
  .eyebrow__line { width: 1.6rem; }
  .topbar__tel { display: none; }
  .brand__icon { width: 46px; }
  .brand__name { font-size: 1.25rem; }
  .header__cta span { display: none; }
  .header__cta { width: 44px; height: 44px; padding: 0; }
  .header__inner { gap: .7rem; }

  .slide { min-height: 0; padding: 3.5rem 0 9.5rem; }
  .slide__bg { object-position: 72% center; }
  .slider__controls { bottom: 5.4rem; justify-content: space-between; }
  .slider__arrows [data-dir] { display: none; }
  .slider__toggle { width: 40px; height: 40px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(10, 10, 10, .78) 0%, rgba(10, 10, 10, .88) 55%, var(--bg) 100%); }
  .hero__actions .btn { width: 100%; }
  .hero__badges { flex-direction: column; gap: .6rem; }

  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { padding: 1.1rem 1.3rem; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }

  .services__grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .card { min-height: 0; }
  /* Photo au-dessus, texte sur fond sombre : lisibilité maximale */
  .card--photo { --photo-h: 210px; }
  .card--photo img { position: relative; inset: auto; height: var(--photo-h); z-index: 0; }
  .card--photo::before { top: 0; bottom: auto; height: calc(var(--photo-h) + 1px); background: linear-gradient(180deg, transparent 55%, var(--bg-3) 100%); z-index: 1; }
  .card--photo .card__body { z-index: 2; margin-top: -2.2rem; padding-top: 0; }
  .card--tall { min-height: 0; --photo-h: 260px; }
  .card--urgent .btn { width: 100%; }

  .about__badge { left: .8rem; bottom: .8rem; padding: .8rem 1rem; }
  .about__badge strong { font-size: 1.6rem; }
  .about__media::before { display: none; }

  .steps__list { grid-template-columns: 1fr; gap: 1.2rem; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; text-align: left; padding: 0; }
  .step__num { grid-row: span 2; width: 3.4rem; height: 3.4rem; margin: 0; font-size: 1rem; box-shadow: none; }
  .step h3 { margin: .3rem 0 .2rem; }

  .review-cta { padding: 1.4rem; }
  .review-cta .btn { width: 100%; }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__phone { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__tagline { font-size: .66rem; letter-spacing: .12em; gap: .6rem; white-space: nowrap; }
  .footer__tagline .eyebrow__line { width: 1.2rem; }

  .callbar { display: block; }
}
