/* Site vitrine : en-tête collant avec bouton devis, accueil aux vagues du camion,
   puis sections pleine largeur qui alternent crème / blanc / sauge. Charte claire unique. */
:root {
  color-scheme: light;
  --bg: #f5f4f0;
  --surface: #ffffff;
  --fg: #2b2e27;
  --muted: #676d60;
  --line: #dedcd3;
  --orange: #fd6941;
  --orange-dark: #d9481f;
  --sage: #7f8c6d;
  --sage-dark: #56614a;
  --sage-soft: #e6e9df;
  --ink-on: #ffffff;
  --font-display: "Outfit", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gutter { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1120px; margin: 0 auto; position: relative; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-weight: 800; font-size: clamp(30px, 4.5vw, 44px); }
h2 em, h1 em { font-style: normal; color: var(--orange); }
.kicker { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-dark); margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 19px; max-width: 58ch; margin: 14px 0 0; }

.mark { display: block; background: var(--orange); -webkit-mask: url("/assets/logo.png") no-repeat left center / contain; mask: url("/assets/logo.png") no-repeat left center / contain; }
.badge-mark { display: block; background: var(--orange); -webkit-mask: url("/assets/badge.png") no-repeat center / contain; mask: url("/assets/badge.png") no-repeat center / contain; }

.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 26px; font-family: var(--font-display); font-weight: 600; font-size: 18px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.btn-orange { background: var(--orange); color: var(--ink-on); box-shadow: 0 5px 0 var(--orange-dark); }
.btn-orange:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--orange-dark); }
.btn-line { background: var(--surface); color: var(--fg); border-color: var(--sage); }
.btn-line:hover { border-color: var(--sage-dark); }
.btn b { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* En-tête */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(245 244 240 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .inner { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.site-head .mark { width: 150px; aspect-ratio: 640 / 181; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.site-head .btn { padding: 10px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--orange-dark); }
@media (max-width: 860px) { .nav { display: none; } .site-head .btn { margin-left: auto; } }

/* Accueil */
.hero { position: relative; overflow: hidden; padding-block: 56px 120px; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.waves .o { fill: var(--orange); } .waves .s { fill: var(--sage); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 260px; } }
.hero h1 { font-weight: 800; font-size: clamp(38px, 7vw, 72px); letter-spacing: -0.015em; max-width: 13ch; }
.hero .lead { font-size: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--sage-dark); font-weight: 500; font-size: 15px; }
.trust li::before { content: "✓ "; color: var(--orange); font-weight: 700; }
.seal { width: 240px; aspect-ratio: 1; justify-self: center; background: var(--surface); border-radius: 50%; position: relative; box-shadow: 0 14px 40px rgb(60 60 40 / .14); }
.seal .badge-mark { position: absolute; inset: 0; }
@media (max-width: 899px) { .seal { display: none; } .hero { padding-bottom: 110px; } .waves { top: auto; height: 90px; } }
@media (prefers-reduced-motion: no-preference) { .seal .badge-mark { animation: spin 50s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

section.band { padding-block: 80px; }
.band-white { background: var(--surface); }
.band-sage { background: var(--sage-dark); color: var(--ink-on); }
.band-sage .kicker { color: #dfe5d4; }
.band-sage .lead { color: #e8ece0; }

/* Présentation */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.about p { margin: 16px 0 0; max-width: 60ch; }
.values { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.values li { background: var(--bg); border-radius: 14px; padding: 18px 20px; border-left: 4px solid var(--orange); }
.values b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.values span { color: var(--muted); font-size: 15px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.service .chip { width: 44px; height: 8px; border-radius: 4px; }
.service h3 { font-size: 22px; font-weight: 600; }
.service ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
.service a.more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--orange-dark); text-decoration: none; }
.service a.more:hover { text-decoration: underline; }

/* Étapes devis */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: etape; }
.steps li { counter-increment: etape; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); border-radius: 16px; padding: 22px; }
.steps li::before { content: counter(etape); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--ink-on); font-family: var(--font-display); font-weight: 800; margin-bottom: 12px; }
.steps b { display: block; font-family: var(--font-display); font-size: 20px; }
.steps span { color: #e3e8db; font-size: 15px; }
.band-sage .btn-orange { margin-top: 32px; }

/* Réalisations */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 36px; grid-auto-flow: dense; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--sage-soft); display: flex; flex-direction: column; min-width: 0; }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px 12px; font-size: 14px; font-weight: 500; color: var(--fg); background: var(--bg); }
.shot > a { aspect-ratio: 4 / 5; overflow: hidden; }
.ba { grid-column: span 2; }
@media (max-width: 560px) { .ba { grid-column: auto; } }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--fg); }
.ba-side { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.tag { position: absolute; top: 10px; left: 10px; background: rgb(43 46 39 / .82); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.tag-after { background: var(--orange); }
.insta-card { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--bg); border-radius: 18px; padding: 26px 28px; }
.insta-card p { margin: 0; max-width: 52ch; }
.insta-card b { font-family: var(--font-display); font-size: 22px; display: block; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; }
.review { margin: 0; background: var(--surface); border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.review .stars { color: var(--orange); letter-spacing: 3px; font-size: 18px; }
.review p { margin: 10px 0 0; font-family: var(--font-display); font-size: 21px; line-height: 1.3; }
.reviews-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; flex-direction: column; background: var(--bg); border-radius: 14px; padding: 16px 20px; }
.contact-list small { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span { font-family: var(--font-display); font-weight: 600; font-size: 20px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--orange-dark); }

footer { background: var(--fg); color: #d9dbd3; font-size: 14px; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer a { color: #fff; }

/* Bouton devis flottant sur téléphone */
.float-cta { display: none; }
@media (max-width: 700px) {
  .float-cta { display: flex; position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 25; justify-content: center; }
  footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Zone d'intervention */
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.towns li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.towns li:first-child { background: var(--orange); border-color: var(--orange); color: var(--ink-on); font-weight: 600; }
#zone .lead a { color: var(--orange-dark); font-weight: 600; }
.shot.wide { grid-column: 1 / -1; }
.shot.wide > a { aspect-ratio: 21 / 9; }
@media (max-width: 560px) { .shot.wide > a { aspect-ratio: 4 / 3; } }
.ba-3 .ba-pair { grid-template-columns: 1fr 1fr 1fr; }
.ba-3 .ba-side { aspect-ratio: 9 / 16; }
.ba-land .ba-side { aspect-ratio: 1 / 1; }
.tag-mid { background: var(--sage-dark); }
.shot.land { grid-column: span 2; }
.shot.land > a { aspect-ratio: 8 / 5; }
@media (max-width: 560px) { .shot.land { grid-column: auto; } .shot.land > a { aspect-ratio: 4 / 3; } }
.ba .ba-pair { flex: 1; }
.ba-land .ba-side { aspect-ratio: auto; min-height: 220px; }
.more-btn { margin: 22px auto 0; display: flex; }
.city-shot { margin: 18px 0 0; border-radius: 16px; overflow: hidden; background: var(--bg); }
.city-shot img { width: 100%; display: block; }
.city-shot figcaption { padding: 10px 14px; font-size: 14px; }
.prose a { color: var(--orange-dark); font-weight: 600; }
