/* ==========================================================================
   Sahin Construction — design du site
   ========================================================================== */

body { font-family: var(--font-body); background: var(--color-bg); overflow-x: clip; }
[hidden] { display: none !important; }
::selection { background: var(--brique); color: #fff; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.95; }
strong { font-weight: 600; }
section { position: relative; }

/* ---------- Typo commune ---------- */
.h2 { font-size: var(--step-4); max-width: 14ch; margin-bottom: var(--space-m); }
.eyebrow, .kicker {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brique); margin-bottom: var(--space-s);
}
.eyebrow::before, .kicker::before { content: ""; width: 1.6rem; height: 0.55rem; background: currentColor; flex: none; }
.eyebrow--light { color: #E7835B; }
.section-head { margin-bottom: var(--space-l); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.4rem; border: 2px solid transparent; cursor: pointer;
  font-weight: 600; font-size: var(--step-0); line-height: 1.1; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1.1rem 1.6rem; }
.btn--accent { background: var(--brique); color: #fff; }
.btn--accent:hover { background: var(--brique-fonce); }
.btn--dark { background: var(--nuit); color: var(--chaux); }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: rgba(244, 240, 232, .45); color: var(--chaux); }
.btn--ghost:hover { border-color: var(--chaux); background: rgba(244, 240, 232, .08); }
.btn--ghost-dark { border-color: var(--nuit); color: var(--nuit); background: transparent; }
.btn--ghost-dark:hover { background: var(--nuit); color: var(--chaux); }
.link-arrow { display: inline-flex; gap: .5rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brique); padding-bottom: 2px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Barre de progression ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; background: var(--brique); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-m);
  padding-inline: var(--gutter); color: var(--chaux);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .45s var(--ease), box-shadow .4s;
}
.site-header[data-scrolled] { background: rgba(244, 240, 232, .94); color: var(--nuit); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--ligne); }
.site-header[data-hidden] { transform: translateY(-100%); }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { height: 2.6rem; width: auto; }
.site-header .logo--dark { display: none; }
.site-header[data-scrolled] .logo--light { display: none; }
.site-header[data-scrolled] .logo--dark { display: block; }
@media (min-width: 900px) { .site-nav { display: flex; align-items: center; gap: var(--space-m); } }
.site-nav__list { display: flex; gap: 1.6rem; }
.site-nav__list a { text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--brique); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__phone { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; text-decoration: none; }
.site-nav__cta { padding: .7rem 1.1rem; font-size: .95rem; }

.site-header__toggle { width: 2.75rem; height: 2.75rem; border: 0; background: none; align-items: center; justify-content: center; cursor: pointer; position: relative; z-index: 2; }
.site-header__toggle-bars, .site-header__toggle-bars::before, .site-header__toggle-bars::after { display: block; width: 1.6rem; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.site-header__toggle-bars { position: relative; }
.site-header__toggle-bars::before, .site-header__toggle-bars::after { content: ""; position: absolute; left: 0; }
.site-header__toggle-bars::before { top: -7px; } .site-header__toggle-bars::after { top: 7px; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bars { background: transparent; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) and (min-width: 900px) { .site-nav__phone { display: none; } }
@media (max-width: 899px) {
  :root { --header-h: 4rem; }
  .site-header__logo img { height: 2.2rem; }
  .site-header__toggle[aria-expanded="true"] { color: var(--chaux); }
  .site-nav[data-open] {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: var(--space-xl) var(--gutter); background: var(--nuit); color: var(--chaux); gap: var(--space-l);
    animation: menuIn .45s var(--ease);
  }
  .site-nav__list { flex-direction: column; gap: .4rem; }
  .site-nav__list a { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; text-transform: uppercase; }
  .site-nav__phone { font-size: 1.8rem; color: #E7835B; }
}
@keyframes menuIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }

/* ==========================================================================
   HÉROS — panneau nuit asymétrique + photo pleine hauteur
   ========================================================================== */
.hero { min-height: 100svh; display: grid; background: var(--nuit); color: var(--chaux); overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 38%; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 30% 50%; animation: heroZoom 2.4s var(--ease) both; }
.hero__media::after { /* fondu du panneau vers la photo, pas de voile uniforme */
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--nuit) 0%, rgba(22,25,28,.7) 26%, rgba(22,25,28,0) 55%);
}
.hero__panel { position: relative; z-index: 1; display: flex; align-items: flex-end; padding: calc(var(--header-h) + var(--space-l)) var(--gutter) var(--space-xl); }
.hero__inner { max-width: 56rem; }
.hero__kicker { color: #E7835B; }
.hero__title { font-size: clamp(2.9rem, 1rem + 5.2vw, 6.4rem); line-height: .92; margin-bottom: var(--space-m); }
.hero__title .line { display: block; overflow: hidden; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; animation-delay: calc(250ms + var(--d) * 120ms); }
.hero__title .line:first-child > span { color: var(--brique); }
.hero__sub { font-size: var(--step-1); max-width: 34ch; color: rgba(244,240,232,.86); margin-bottom: var(--space-l); animation: fadeUp 1s var(--ease) .7s both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: var(--space-l); animation: fadeUp 1s var(--ease) .85s both; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: var(--step--1); color: rgba(244,240,232,.72); animation: fadeUp 1s var(--ease) 1s both; }
.hero__facts li { display: flex; align-items: center; gap: .55rem; }
.hero__facts li::before { content: ""; width: .7rem; height: .32rem; background: var(--brique); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: var(--space-l); z-index: 2; display: flex; align-items: center; gap: .8rem; color: var(--chaux); text-decoration: none; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { width: 2px; height: 4rem; background: rgba(244,240,232,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--chaux); animation: scrollCue 2.2s var(--ease-in-out) infinite; }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scrollCue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 899px) {
  .hero { min-height: auto; }
  .hero__media { position: relative; inset: auto; height: 56svh; min-height: 20rem; }
  .hero__media img { height: 118%; object-position: 18% 50%; }
  .hero__media::after { background: linear-gradient(0deg, var(--nuit) 0%, rgba(22,25,28,0) 45%), linear-gradient(180deg, rgba(22,25,28,.55) 0%, rgba(22,25,28,0) 30%); }
  .hero__panel { padding-top: 0; margin-top: -5.5rem; padding-bottom: var(--space-l); }
  .hero__ctas .btn { width: 100%; }
  .hero__scroll { display: none; }
}

/* ---------- Bandeau métiers ---------- */
.ticker { background: var(--brique); color: #fff; overflow: hidden; padding-block: 1.05rem; border-block: 1px solid rgba(0,0,0,.1); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; }
.ticker__list li { display: flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.ticker__list li::after { content: ""; width: 1.4rem; height: .55rem; margin-inline: 1.6rem; background: var(--nuit); box-shadow: 1.7rem 0 0 -0.0rem transparent; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Motif briques ---------- */
.bricks { display: grid; gap: 5px; padding-block: var(--space-l); overflow: hidden; }
.bricks__row { display: flex; gap: 5px; }
.bricks__row--offset { margin-left: -3.6vw; }
.bricks span { flex: none; width: calc((100vw - 13 * 5px) / 13); height: clamp(14px, 1.3vw, 22px); background: var(--brique); opacity: .9; }
.bricks--light span { background: var(--sable); }
.bricks--light .bricks__row:nth-child(2) span:nth-child(5n+2) { background: var(--brique); }
.js-motion .bricks span { transform: translateY(-140%); opacity: 0; transition: transform .7s var(--ease), opacity .4s; transition-delay: calc(var(--i) * 22ms); }
.js-motion .bricks.is-laid span { transform: none; opacity: .9; }
.bricks--bg { position: absolute; inset: auto 0 0; padding: 0; opacity: .14; }
.bricks--bg span { background: #000; }

/* ==========================================================================
   L'ENTREPRISE
   ========================================================================== */
.about { padding-block: var(--space-xl) var(--space-l); }
.about__grid { display: grid; gap: var(--space-l); }
.about__body { font-size: var(--step-1); line-height: 1.5; max-width: 36rem; }
.about__body p { margin-bottom: 1em; }
.about__body strong { color: var(--brique); }
.about__signature { display: flex; gap: 1rem; align-items: flex-start; margin-top: var(--space-m); padding-top: var(--space-m); border-top: 1px solid var(--ligne); max-width: 30rem; font-style: italic; color: var(--color-text-muted); }
.about__signature img { flex: none; width: 2.75rem; }
.about__figure { margin: 0; overflow: hidden; align-self: stretch; min-height: 22rem; }
.about__figure img { width: 100%; height: 110%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: var(--space-l) 0 0; border-top: 2px solid var(--nuit); }
.stats__item { padding: var(--space-m) var(--space-s) 0 0; }
.stats__item + .stats__item { padding-left: var(--space-s); border-left: 1px solid var(--ligne); }
.stats dt { font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 1; color: var(--brique); }
.stats dd { margin: .4rem 0 0; font-size: var(--step--1); color: var(--color-text-muted); max-width: 16ch; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-xl); align-items: center; }
  .about__figure { min-height: 38rem; margin-right: calc(-1 * var(--gutter)); }
}

/* Révélation d'image par rideau */
.js-motion [data-clip] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js-motion [data-clip].is-visible { clip-path: inset(0); }
.js-motion [data-clip] img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.js-motion [data-clip].is-visible img { transform: scale(1); }
.js-motion .about__figure.is-visible img { transform: none; }

/* ==========================================================================
   SAVOIR-FAIRE — liste éditoriale + scène image collante
   ========================================================================== */
.services { padding-block: var(--space-l) var(--space-xl); }
.services__list { counter-reset: s; }
.service { border-top: 1px solid var(--nuit); padding-block: var(--space-m); display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-s); }
.service:last-child { border-bottom: 1px solid var(--nuit); }
.service__img { grid-column: 1 / -1; margin: 0 0 var(--space-s); aspect-ratio: 4 / 3; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__num { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--brique); padding-top: .35rem; }
.service__title { font-size: var(--step-3); transition: color .4s var(--ease); }
.service__body { grid-column: 2; padding-top: var(--space-s); max-width: 36rem; color: var(--color-text-muted); }
.service__body p { margin-bottom: var(--space-s); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: var(--space-m); }
.tags li { font-size: .82rem; font-weight: 500; padding: .3rem .65rem; border: 1px solid var(--ligne); color: var(--nuit); background: rgba(255,255,255,.4); }
.service .link-arrow { color: var(--nuit); }
.services__stage { display: none; }

@media (min-width: 900px) {
  .services__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-xl); align-items: start; }
  .service__img { display: none; }
  .service { padding-block: var(--space-m); cursor: default; }
  .service__title { color: rgba(22,25,28,.28); }
  .service.is-active .service__title { color: var(--nuit); }
  .service__body { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s var(--ease), padding .6s var(--ease); }
  .service.is-active .service__body { max-height: 22rem; opacity: 1; padding-top: var(--space-s); }
  .services__stage { display: block; position: sticky; top: calc(var(--header-h) + 2rem); }
  .services__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nuit); }
  .services__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); clip-path: inset(0 0 0 100%); transition: opacity .2s, transform 1.2s var(--ease), clip-path .9s var(--ease); }
  .services__frame img.is-active { opacity: 1; transform: none; clip-path: inset(0); z-index: 1; }
  .services__frame img.was-active { opacity: 1; z-index: 0; clip-path: inset(0); }
  .services__counter { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--chaux); padding: .7rem 1rem; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
  .services__counter b { color: var(--brique); }
}

/* ==========================================================================
   CHANTIERS — rail horizontal piloté par le scroll
   ========================================================================== */
.work { background: var(--nuit); color: var(--chaux); }
.work__pin { padding-block: var(--space-xl) var(--space-l); overflow: hidden; }
.work__head { display: grid; gap: var(--space-s); margin-bottom: var(--space-l); }
.work__head .h2 { margin-bottom: 0; }
.work__intro { color: rgba(244,240,232,.72); max-width: 26rem; align-self: end; }
.work__hint { display: block; margin-top: .4rem; color: #E7835B; font-weight: 600; }
.work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); }
.work__viewport::-webkit-scrollbar { display: none; }
.work__track { display: flex; gap: var(--space-m); width: max-content; padding-right: var(--gutter); }
.work__card { width: min(78vw, 26rem); scroll-snap-align: start; }
.work__card figure { position: relative; margin: 0 0 var(--space-s); aspect-ratio: 3 / 4; overflow: hidden; }
.work__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work__card:hover img { transform: scale(1.04); }
.work__tag { position: absolute; left: 0; top: 0; background: var(--brique); color: #fff; padding: .4rem .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.work__card h3 { font-size: var(--step-2); margin-bottom: .35rem; }
.work__card p { color: rgba(244,240,232,.68); font-size: var(--step--1); }
.work__card--cta a { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: var(--space-m); border: 1px solid rgba(244,240,232,.25); text-decoration: none; transition: background-color .4s var(--ease); }
.work__card--cta a:hover { background: var(--brique); }
.work__card--cta img { width: 4rem; }
.work__card--cta span { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); text-transform: uppercase; line-height: 1; }
.work__bar { height: 2px; background: rgba(244,240,232,.15); margin-top: var(--space-l); }
.work__bar i { display: block; height: 100%; background: var(--brique); transform-origin: 0 50%; transform: scaleX(var(--rp, .12)); }
@media (min-width: 900px) {
  .work__head { grid-template-columns: 1fr auto; }
  .work__card { width: clamp(20rem, 27vw, 28rem); }
  .work__card:nth-child(even) { margin-top: var(--space-l); }
  .work.is-pinned .work__pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 1rem) var(--space-m); }
  .work.is-pinned .work__viewport { overflow: visible; scroll-snap-type: none; }
  .work.is-pinned .work__track { will-change: transform; transform: translate3d(var(--rx, 0), 0, 0); }
  .work.is-pinned .work__card figure { aspect-ratio: auto; height: min(52svh, 34rem); }
  .work.is-pinned .work__card--cta a { aspect-ratio: auto; height: min(52svh, 34rem); }
  .work.is-pinned .work__card:nth-child(even) { margin-top: 3rem; }
}

/* ==========================================================================
   MÉTHODE — fil à plomb
   ========================================================================== */
.method { padding-block: var(--space-xl); }
.method__grid { display: grid; gap: var(--space-l); }
.method__img { margin: var(--space-m) 0 0; aspect-ratio: 3 / 2; overflow: hidden; max-width: 32rem; }
.method__img img { width: 100%; height: 100%; object-fit: cover; }
.method .steps { position: relative; padding-left: 3.6rem; }
.steps__line { position: absolute; left: 1.15rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--ligne); }
.steps__line i { position: absolute; inset: 0; background: var(--nuit); transform-origin: 50% 0; transform: scaleY(var(--plumb, 0)); }
.steps__line b { position: absolute; left: 50%; top: calc(var(--plumb, 0) * 100%); width: 14px; height: 20px; margin-left: -7px; background: var(--brique); clip-path: polygon(20% 0, 80% 0, 100% 45%, 50% 100%, 0 45%); }
.step { position: relative; padding-bottom: var(--space-l); }
.step:last-child { padding-bottom: 0; }
.step__num { position: absolute; left: -3.6rem; top: -.2rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--chaux); border: 2px solid var(--nuit); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; z-index: 1; }
.step h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.step p { color: var(--color-text-muted); max-width: 34rem; }
@media (min-width: 900px) {
  .method__grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-xl); }
  .method__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ==========================================================================
   ENGAGEMENTS + AVIS
   ========================================================================== */
.trust { background: var(--nuit-2); color: var(--chaux); padding-block: var(--space-xl); overflow: hidden; }
.trust__grid { display: grid; gap: var(--space-l); align-items: center; }
.promises { margin-top: var(--space-m); }
.promises li { display: flex; gap: 1rem; align-items: baseline; padding-block: 1rem; border-top: 1px solid rgba(244,240,232,.15); font-size: var(--step-1); }
.promises li::before { content: ""; flex: none; width: 1.3rem; height: .55rem; background: var(--brique); transform: translateY(-.15rem); }
.review-card { background: var(--chaux); color: var(--nuit); padding: var(--space-l); position: relative; }
.review-card::before { content: ""; position: absolute; inset: -10px 10px 10px -10px; border: 2px solid var(--brique); z-index: -1; }
.review-card__stars { display: flex; gap: .3rem; margin-bottom: var(--space-m); }
.review-card__stars svg { width: 2rem; height: 2rem; fill: transparent; stroke: var(--brique); stroke-width: 1.5; transition: fill .4s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.review-card.is-visible .review-card__stars svg { fill: var(--brique); }
.review-card h3 { font-size: var(--step-3); margin-bottom: var(--space-s); }
.review-card p { color: var(--color-text-muted); margin-bottom: var(--space-m); }
.review-card .review-card__note { margin: var(--space-s) 0 0; font-size: var(--step--1); }
@media (min-width: 900px) { .trust__grid { grid-template-columns: 1.15fr 1fr; gap: var(--space-xl); } }

/* ==========================================================================
   ZONE — carte schématique
   ========================================================================== */
.zone { padding-block: var(--space-xl); }
.zone__grid { display: grid; gap: var(--space-l); align-items: center; }
.zone__text > p { max-width: 34rem; color: var(--color-text-muted); }
.zone__info { display: grid; grid-template-columns: 1fr; gap: var(--space-m); margin-top: var(--space-l); }
.zone__label { font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brique); margin-bottom: .6rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 20rem; }
.hours th, .hours td { text-align: left; padding: .35rem 0; border-bottom: 1px solid var(--ligne); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { font-weight: 600; color: var(--brique); }
.hours tr.is-today th { font-weight: 600; }
address { font-style: normal; margin-bottom: var(--space-s); }
.zone__map { margin: 0; background: var(--nuit); aspect-ratio: 1; max-width: 40rem; width: 100%; justify-self: center; }
.zone__map svg { width: 100%; height: 100%; font-family: var(--font-body); }
.map__ring { fill: none; stroke: rgba(244,240,232,.18); stroke-width: .25; stroke-dasharray: .8 1; }
.map__ring--40 { stroke: var(--brique); stroke-width: .5; stroke-dasharray: 100; stroke-dashoffset: 100; fill: rgba(196,85,43,.07); transition: stroke-dashoffset 2.2s var(--ease-in-out), fill 1s .8s; }
.map__axis { stroke: rgba(244,240,232,.07); stroke-width: .2; }
.map__km { fill: var(--brique); font-size: 2.6px; font-weight: 600; letter-spacing: .1em; }
.map__town { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(900ms + var(--i) * 70ms); }
.map__town circle { fill: var(--chaux); }
.map__town text { fill: rgba(244,240,232,.8); font-size: 2.3px; }
.map__center circle { fill: var(--brique); }
.map__center text { fill: var(--chaux); font-family: var(--font-display); font-weight: 800; font-size: 4px; text-transform: uppercase; letter-spacing: .04em; }
.map__pulse { transform-origin: center; animation: pulse 2.4s var(--ease) infinite; opacity: .5; }
@keyframes pulse { from { transform: scale(.6); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
.zone__map.is-visible .map__ring--40 { stroke-dashoffset: 0; }
.zone__map.is-visible .map__town { opacity: 1; }
html:not(.js-motion) .map__ring--40 { stroke-dashoffset: 0; }
html:not(.js-motion) .map__town { opacity: 1; }
@media (min-width: 600px) { .zone__info { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .zone__grid { grid-template-columns: 1fr 1.05fr; gap: var(--space-xl); } }

/* ==========================================================================
   DEVIS — formulaire en 3 étapes
   ========================================================================== */
.devis { background: var(--sable); padding-block: var(--space-xl); }
.devis__grid { display: grid; gap: var(--space-l); align-items: start; }
.devis__aside > p { max-width: 28rem; }
.devis__call { margin-top: var(--space-m); padding-top: var(--space-m); border-top: 2px solid var(--nuit); }
.devis__call p { margin-bottom: .2rem; font-weight: 500; }
.devis__call a { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); text-decoration: none; color: var(--brique); line-height: 1; }
.wizard { background: var(--chaux); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: 10px 10px 0 var(--nuit); }
.wizard__progress { height: 4px; background: var(--ligne); margin-bottom: 1rem; }
.wizard__progress i { display: block; height: 100%; background: var(--brique); width: 33.33%; transition: width .6s var(--ease); }
.wizard__count { font-size: var(--step--1); color: var(--color-text-muted); margin-bottom: var(--space-s); }
.wizard__count b { color: var(--nuit); }
.wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard legend { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); text-transform: uppercase; line-height: 1; margin-bottom: var(--space-m); padding: 0; }
.wizard__step.is-active { animation: stepIn .55s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.choices { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; border: 1.5px solid var(--ligne); background: #fff; font-weight: 500; transition: border-color .25s, background-color .25s, color .25s; }
.choice span::before { content: ""; flex: none; width: 1.1rem; height: .5rem; background: var(--ligne); transition: background-color .25s; }
.choice:hover span { border-color: var(--nuit); }
.choice input:checked + span { border-color: var(--nuit); background: var(--nuit); color: var(--chaux); }
.choice input:checked + span::before { background: var(--brique); }
.choice input:focus-visible + span { outline: 2px solid var(--brique); outline-offset: 2px; }
.choices--compact { grid-template-columns: 1fr 1fr; }
.choices--compact span { padding: .75rem .8rem; font-size: .95rem; }
.field { display: grid; gap: .35rem; margin-bottom: var(--space-s); }
.field label, .field__label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--ligne); background: #fff; border-radius: 0; transition: border-color .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--nuit); }
.field input[aria-invalid="true"] { border-color: var(--brique); }
.field-row { display: grid; gap: 0 var(--space-s); }
.wizard__error { color: var(--brique-fonce); font-weight: 600; font-size: .92rem; min-height: 1.2em; margin: .6rem 0 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: var(--space-m); }
.wizard__nav [data-wizard-next], .wizard__nav [data-wizard-submit] { margin-left: auto; }
.wizard__status { margin: var(--space-s) 0 0; font-weight: 600; }
.wizard__done-title { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); text-transform: uppercase; line-height: 1; margin-bottom: var(--space-s); }
.wizard__msg { white-space: pre-wrap; font-family: var(--font-body); font-size: .92rem; background: #fff; border-left: 4px solid var(--brique); padding: 1rem; margin: var(--space-s) 0 0; }
@media (min-width: 600px) { .choices { grid-template-columns: 1fr 1fr; } .field-row { grid-template-columns: 1fr 1fr; } .choices--compact { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .devis__grid { grid-template-columns: .85fr 1.15fr; gap: var(--space-xl); } .devis__aside { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: var(--space-xl); }
.faq__grid { display: grid; gap: var(--space-m); }
.faq__item { border-top: 1px solid var(--nuit); }
.faq__item:last-child { border-bottom: 1px solid var(--nuit); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.3rem 0; font-weight: 600; font-size: var(--step-1); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 1.1rem; height: 1.1rem; position: relative; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--brique); transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { padding-bottom: 1.3rem; color: var(--color-text-muted); max-width: 44rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: var(--space-xl); } }

/* ==========================================================================
   APPEL FINAL
   ========================================================================== */
.final { background: var(--brique); color: #fff; padding-block: var(--space-xl) calc(var(--space-xl) + 2rem); overflow: hidden; }
.final__inner { position: relative; z-index: 1; }
.final__title { font-size: var(--step-4); max-width: 13ch; margin-bottom: var(--space-s); }
.final p { font-size: var(--step-1); max-width: 30rem; }
.final__phone { display: inline-block; margin-block: var(--space-m); font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 1rem + 11vw, 11rem); line-height: .9; letter-spacing: .01em; color: var(--nuit); text-decoration: none; position: relative; }
.final__phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .06em; background: var(--nuit); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.final__phone:hover::after { transform: scaleX(1); }
.final__or a { font-weight: 600; color: #fff; }
.final .bricks--bg span { background: #000; }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { background: var(--nuit); color: rgba(244,240,232,.8); padding-block: var(--space-xl) var(--space-m); font-size: .95rem; }
.site-footer__grid { display: grid; gap: var(--space-l); }
.site-footer__brand img { width: 10rem; margin-bottom: var(--space-s); }
.site-footer__brand p { max-width: 22rem; }
.site-footer__title { font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #E7835B; margin-bottom: .8rem; }
.site-footer__list li { margin-bottom: .45rem; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { color: #fff; text-decoration: underline; }
.site-footer__phone { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--chaux); }
.site-footer__hours li { display: flex; justify-content: space-between; max-width: 15rem; gap: 1rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid rgba(244,240,232,.12); font-size: .85rem; color: rgba(244,240,232,.55); }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: #fff; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; } }

/* ==========================================================================
   CTA FIXE MOBILE
   ========================================================================== */
@media (max-width: 899px) {
  .sticky-cta { display: grid; grid-template-columns: 1fr 1.25fr; inset: auto 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.18); transform: translateY(110%); transition: transform .5s var(--ease); }
  .sticky-cta.is-shown { transform: none; }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.05rem .8rem calc(1.05rem + env(safe-area-inset-bottom)); font-weight: 600; text-decoration: none; }
  .sticky-cta__call { background: var(--nuit); color: var(--chaux); }
  .sticky-cta__devis { background: var(--brique); color: #fff; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(var(--space-m) + 4rem); }
}

/* ---------- Révélations ---------- */
.js-motion [data-reveal] { transition-delay: var(--delay, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__title .line > span, .hero__sub, .hero__ctas, .hero__facts { animation: none !important; }
  .ticker__track { animation: none; }
  .map__pulse { animation: none; }
}
