/* Épaviste 64 — DA reprise d'erem-reno.fr (Montserrat, bande bleue arrondie, formes de couleur, pilules, avis pastel) */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --navy: #141518;
  --blue: #1E2026;
  --blue-2: #3A3E48;
  --orange: #EA7317;
  --orange-d: #C95E0C;
  --gold: #F6B92B;
  --gold-l: #F8D98F;
  --ink: #17181C;
  --text: #4A5361;
  --line: #E6E2DA;
  --p1: #FBF1E2;
  --p2: #EEF0F3;
  --p3: #FDEBDD;
  --p4: #F2F0EA;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.22; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin-bottom: 20px; }
h3 { font-size: 1.02rem; }
.hl { color: var(--orange); }
p + p { margin-top: 12px; }

.wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }
.center { text-align: center; }
.intro { max-width: 640px; margin: -6px auto 44px; }
.kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: var(--white); font-weight: 700; font-size: .9rem; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--orange); transition: background .2s, transform .2s, color .2s; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--p1); border-color: var(--p1); color: var(--navy); }
.btn-out { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-out:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-line:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Bandeau + en-tête */
.top { background: var(--orange); color: var(--white); text-align: center; font-size: .78rem; font-weight: 700; padding: 7px 16px; }
.top a { text-decoration: underline; }
.head { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--white); }
.head-in { display: flex; align-items: center; gap: 24px; height: 68px; padding: 0 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; letter-spacing: .02em; color: var(--white); }
.logo-mark { width: 38px; height: 38px; border-radius: 50% 50% 50% 8px; background: var(--orange); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.logo small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.nav { display: flex; gap: 26px; font-size: .85rem; font-weight: 500; margin-left: 28px; margin-right: auto; }
.nav a { opacity: .88; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-color: var(--gold); }
.head-tel { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: .9rem; }
.burger { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px; }
.burger svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Hero */
.hero { background: var(--blue); color: rgba(255,255,255,.88); border-bottom-right-radius: 140px; padding: 56px 0 84px; }
.hero-in { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: center; max-width: 1060px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold); }
.hero p { font-size: .95rem; max-width: 560px; }
.hero .kicker { color: var(--gold); }
.stars { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .84rem; font-weight: 600; color: var(--white); }
.stars b { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.hero-sm { padding: 48px 0 70px; border-bottom-right-radius: 110px; }
.hero-sm .hero-in { grid-template-columns: 1fr 300px; }

/* Images ornées de formes */
.deco { position: relative; isolation: isolate; }
.deco img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; }
.deco::before, .deco::after { content: ""; position: absolute; z-index: 2; pointer-events: none; }
.deco-hero::before { width: 120px; height: 120px; border-radius: 50%; background: var(--orange); left: -24px; bottom: 30px; mix-blend-mode: multiply; opacity: .95; }
.deco-hero::after { width: 90px; height: 90px; border-radius: 0 0 0 90px; background: var(--gold); right: -14px; top: 38%; }
.deco-a img { aspect-ratio: 1/1.05; }
.deco-a::before { width: 110px; height: 110px; border-radius: 0 0 0 110px; background: var(--gold); right: 0; top: 0; border-top-right-radius: 18px; }
.deco-a::after { width: 120px; height: 120px; border-radius: 0 120px 0 0; background: var(--orange); left: 0; bottom: 0; border-bottom-left-radius: 18px; opacity: .9; }
.deco-b img { aspect-ratio: 1/1.15; }
.deco-b::before { width: 130px; height: 130px; border-radius: 0 130px 0 0; background: var(--blue-2); left: 0; bottom: 0; border-bottom-left-radius: 18px; opacity: .88; }
.deco-b::after { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); right: -18px; top: -18px; }
.deco-c img { aspect-ratio: 6/5; }
.deco-c::before { width: 120px; height: 120px; border-radius: 0 120px 0 0; background: var(--gold); left: 0; bottom: 0; border-bottom-left-radius: 18px; opacity: .92; }

/* Sections */
.sec { padding: 84px 0; }
.sec-tight { padding: 56px 0; }
.sec-cream { background: var(--p4); }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.split > figure { max-width: 340px; justify-self: end; width: 100%; }
.split-left { grid-template-columns: 1fr 1.4fr; }
.split-left > figure { justify-self: start; }
.split + .split { margin-top: 84px; }

/* Chiffres */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -42px; position: relative; z-index: 3; }
.fact { background: var(--white); border-radius: 16px; padding: 22px 20px; box-shadow: 0 10px 30px rgba(20,21,24,.08); text-align: center; }
.fact b { display: block; font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.fact b .hl { font-size: 1.6rem; }
.fact span { font-size: .8rem; }

/* Pourquoi */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin: 46px 0 10px; text-align: center; }
.why svg { width: 36px; height: 36px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 12px; }
.why h3 { margin-bottom: 8px; }
.why p { font-size: .87rem; }

/* Onglets pilules */
.tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--p2); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.tablist button { border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 700; color: var(--blue); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.tablist button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.panel { margin-bottom: 24px; min-height: 130px; }
.panel[hidden] { display: none; }
.panel-t { font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: 8px; }
.checks { list-style: none; display: grid; gap: 7px; font-size: .9rem; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* Cartes véhicules */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); box-shadow: 0 6px 20px rgba(20,21,24,.05); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card span { padding: 14px 18px 18px; font-size: .84rem; line-height: 1.5; }
.card b { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
.card em { font-style: normal; }

/* Galerie */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-auto-rows: 220px; gap: 12px; }
.gallery figure { border-radius: 16px; overflow: hidden; position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery a { display: block; height: 100%; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

.gallery figcaption { pointer-events: none; }
.gallery.grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; }
.gallery.grid figure:first-child { grid-row: auto; }
.affiche img { border-radius: 18px; width: 100%; }

/* Agrandissement des photos */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lb::backdrop { background: rgba(20,21,24,.9); }
.lb-in { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px; }
.lb img { max-width: min(1000px, 100%); max-height: calc(100vh - 130px); width: auto; height: auto; border-radius: 12px; }
.lb p { color: var(--white); font-weight: 600; font-size: .9rem; text-align: center; margin-top: 12px; }
.lb button { position: fixed; background: rgba(255,255,255,.14); color: var(--white); border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; font-family: inherit; }
.lb button:hover { background: var(--orange); }
.lb .lb-x { top: 14px; right: 14px; }
.lb .lb-p { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-n { right: 14px; top: 50%; transform: translateY(-50%); }

/* Citation */
.quote { background: var(--blue); color: rgba(255,255,255,.75); text-align: center; padding: 64px 0; border-radius: 0 120px 0 120px; }
.quote .st { color: var(--gold); letter-spacing: 3px; }
.quote blockquote { color: var(--white); font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; line-height: 1.4; max-width: 820px; margin: 14px auto 16px; }
.quote p { font-size: .85rem; }

/* Avis pastel */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { border-radius: 18px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.review:nth-child(4n+1) { background: var(--p1); }
.review:nth-child(4n+2) { background: var(--p2); }
.review:nth-child(4n+3) { background: var(--p3); }
.review:nth-child(4n+4) { background: var(--p4); }
.review .st { color: var(--orange); letter-spacing: 2px; font-size: .9rem; }
.review p { font-size: .9rem; color: var(--ink); flex: 1; }
.review footer { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.review footer i { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .85rem; flex: none; }
.review footer b { color: var(--ink); display: block; }
.g-score { display: inline-flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px 8px 10px; font-size: .85rem; margin-bottom: 34px; }
.g-score b { font-size: 1.3rem; color: var(--ink); }
.g-score .st { color: var(--gold); letter-spacing: 2px; }
.g-logo { width: 34px; height: 34px; border-radius: 50%; background: var(--p2); display: grid; place-items: center; font-weight: 800; color: var(--blue); }

/* Zones */
.zones { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.zones span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.zones span.main { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Carte + infos */
.map { display: grid; grid-template-columns: 1.4fr 1fr; border-radius: 0 0 90px 0; overflow: hidden; }
.map-frame { position: relative; min-height: 340px; background: var(--p2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card { background: var(--blue); color: rgba(255,255,255,.88); padding: 34px 32px 44px; font-size: .9rem; }
.map-card h3 { color: var(--white); margin-bottom: 14px; font-size: 1.15rem; }
.map-card p + p { margin-top: 8px; }
.map-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.22); margin: 18px 0; }
.map-card strong { color: var(--white); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; margin-top: 24px; }
.step { background: var(--white); border-radius: 18px; padding: 28px 24px; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: .88rem; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: .92rem; }

/* Formulaire */
.form { background: var(--white); border-radius: 22px; padding: 32px; box-shadow: 0 14px 40px rgba(20,21,24,.08); display: grid; gap: 14px; }
.form label { font-size: .8rem; font-weight: 700; color: var(--ink); display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; font-size: .92rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--p4); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; background: var(--white); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form small { font-size: .76rem; }

/* CTA final */
.cta { background: var(--orange); color: var(--white); border-top-left-radius: 120px; padding: 64px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0 0 6px; }
.cta a.tel { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--white); }

/* Pied */
.foot { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 30px; font-size: .85rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h3 { color: var(--white); font-size: .9rem; margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot a:hover { color: var(--gold); }
.foot-bot { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .76rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Bouton d'appel mobile + WhatsApp flottant */
.callbar { display: none; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Accessibilité */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Apparition discrète */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 1140px) {
  .nav { gap: 18px; margin-left: 10px; font-size: .8rem; }
  .head-tel .num { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; font-size: .9rem; position: absolute; top: 68px; left: 0; right: 0; background: var(--blue); flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .burger { display: block; margin-left: auto; }
  .head-tel .num { display: none; }
  .head-in { padding: 0 16px; }
  .hero-in, .hero-sm .hero-in, .split, .split-left { grid-template-columns: 1fr; gap: 40px; }
  .hero-in > figure { max-width: 300px; }
  .split > figure { justify-self: start; max-width: 320px; }
  .hero { border-bottom-right-radius: 70px; padding: 40px 0 70px; }
  .facts, .why { grid-template-columns: 1fr 1fr; }
  .cards, .reviews, .steps { grid-template-columns: 1fr 1fr; }
  .gallery, .gallery.grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .quote { border-radius: 0 60px 0 60px; padding: 52px 0; }
  .map { grid-template-columns: 1fr; border-radius: 0 0 60px 0; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 26px; }
  .sec { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .top { display: none; }
  .head-tel .btn { display: none; }
  .reviews, .steps, .form-2 { grid-template-columns: 1fr; }
  .cards { gap: 10px; }
  .card em { display: none; }
  .card span { padding: 10px 12px 12px; }
  .card b { font-size: .86rem; margin: 0; }
  .gallery.grid { grid-auto-rows: 130px; gap: 8px; }
  .gallery.grid figure:nth-child(n+5) { display: block; }
  .gallery.grid figcaption { display: none; }
  .wa-float { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .lb .lb-p, .lb .lb-n { top: auto; bottom: 14px; transform: none; }
  .why { gap: 26px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery figure:first-child { grid-row: span 1; }
  .gallery figure:nth-child(n+5) { display: none; }
  .reviews .review:nth-child(n+5) { display: none; }
  .reviews.all .review:nth-child(n+5) { display: flex; }
  .cta { border-top-left-radius: 60px; }
  .callbar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 60; }
  .callbar a { display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--orange); color: var(--white); font-weight: 700; border-radius: 999px; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2); flex: 1; }
  .callbar a.wa { flex: none; width: 52px; padding: 0; background: #25D366; }
  .callbar svg { width: 18px; height: 18px; fill: currentColor; }
  .callbar a.wa svg { width: 24px; height: 24px; }
}
