/* Wax Location · site public d'une agence (4 ambiances, couleur d'accent au choix de l'agence) */
:root {
  --bg: #0f1013; --bg2: #16181d; --card: #1c1f26; --line: #2c303a; --ink: #f3f4f6; --muted: #a8adb8;
  --accent: #f5b301; --on-accent: #111; --range: rgba(245,179,1,.18); --full: #262a33;
  --title: "Archivo", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
}
body[data-theme="sable"] { --bg: #f7f2ea; --bg2: #efe7da; --card: #fffdf9; --line: #e2d8c8; --ink: #1f1b16; --muted: #5f574c; --full: #e7dfd2; }
body[data-theme="route"] { --bg: #111; --bg2: #1a1a1a; --card: #202020; --line: #353535; --ink: #fff; --muted: #b3b3b3; --full: #2b2b2b; }
body[data-theme="menthe"] { --bg: #f2f7f5; --bg2: #e6efeb; --card: #fff; --line: #d3e2db; --ink: #13221c; --muted: #4c5f57; --full: #dfe9e4; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--title); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
svg.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.2rem var(--title); text-decoration: none; min-height: 44px; min-width: 0; }
.brand img { height: 36px; width: auto; border-radius: 6px; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-actions { display: flex; gap: 8px; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer; font: 700 1rem var(--body); text-decoration: none; background: var(--accent); color: var(--on-accent); transition: transform .2s, filter .2s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: .92rem; }
.btn-full { width: 100%; }
.btn-wa { background: #1f9d55; color: #fff; }

section { padding: clamp(48px, 8vw, 92px) 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.head { margin-bottom: 24px; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: 8px; }
.hero { padding-top: clamp(48px, 9vw, 110px); background: radial-gradient(800px 380px at 90% -10%, var(--range), transparent 70%); }
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin: 0 0 12px; }
body[data-theme="sable"] .kicker, body[data-theme="menthe"] .kicker { color: var(--ink); }
.hero h1 { font-size: clamp(2.3rem, 7.5vw, 4.8rem); font-weight: 800; max-width: 16ch; overflow-wrap: anywhere; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; margin: 16px 0 0; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); padding: 8px 12px; border-radius: 99px; font-size: .92rem; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters button { min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 .92rem var(--body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.car { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.car .art { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--bg2), var(--card)); display: grid; place-items: center; font-size: 4rem; color: var(--accent); }
.car .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car .cat { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.car h3 { font-size: 1.3rem; }
.car p { margin: 0; color: var(--muted); font-size: .94rem; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; font-size: .86rem; color: var(--muted); }
.specs li { display: inline-flex; gap: 6px; align-items: center; background: var(--bg2); border-radius: 8px; padding: 4px 8px; }
.car .foot-card { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font: 800 1.6rem var(--title); }
.price small { font: 500 .85rem var(--body); color: var(--muted); }
.price .week { display: block; font: 500 .82rem var(--body); color: var(--muted); }

.book { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
.book > * { min-width: 0; }
.field { display: grid; gap: 6px; font-size: .92rem; color: var(--muted); margin-bottom: 12px; }
.field .opt { color: var(--muted); }
select, input, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; min-height: 48px; padding: 10px 12px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.cal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-top h3 { font-size: 1.15rem; text-transform: capitalize; }
.cal-top button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.cal-top button:disabled { opacity: .35; cursor: default; }
.grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.grid7 .dow { font-size: .78rem; font-weight: 700; color: var(--muted); padding: 6px 0; }
.grid7 button { min-height: 44px; min-width: 0; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; }
.grid7 button:hover:not(:disabled) { background: var(--bg2); }
.grid7 button:disabled { color: var(--muted); text-decoration: line-through; cursor: not-allowed; background: var(--full); }
.grid7 button.past:disabled { background: none; opacity: .55; }
.grid7 button.in-range { background: var(--range); border-radius: 0; }
.grid7 button.edge { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: .84rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.k-edge { background: var(--accent); } .k-range { background: var(--range); outline: 1px solid var(--line); } .k-full { background: var(--full); outline: 1px solid var(--line); }
.opts { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin: 16px 0 0; background: var(--card); }
.opts legend { font: 700 1rem var(--title); padding: 0 6px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; min-height: 44px; padding: 8px 0; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.check small { color: var(--muted); }
.recap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; position: sticky; top: 80px; }
.recap h3 { font-size: 1.35rem; margin-bottom: 8px; }
.recap .hint { color: var(--muted); margin: 0 0 8px; }
.recap dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0 14px; font-size: .95rem; }
.recap dd { margin: 0; text-align: right; }
.recap .total { font: 800 1.9rem var(--title); color: var(--ink); }
.rules { font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two > * { min-width: 0; }
.doc { border: 1px dashed var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.doc .doc-top { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.doc input[type="file"] { padding: 8px; min-height: 48px; font-size: .9rem; }
.doc .state { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.doc.ok { border-style: solid; border-color: #2f7d4f; }
.doc.ok .state { color: #3fae6b; }
body[data-theme="sable"] .doc.ok .state, body[data-theme="menthe"] .doc.ok .state { color: #1f6b3f; }
.err { color: #ff8f7a; font-size: .92rem; margin: 10px 0 0; }
body[data-theme="sable"] .err, body[data-theme="menthe"] .err { color: #b3261e; }
.fine { color: var(--muted); font-size: .82rem; margin: 14px 0 0; }
#done { outline: none; }
#done h4 { font: 800 1.35rem var(--title); display: flex; gap: 10px; align-items: center; margin: 0 0 8px; }
#done p { margin: 0 0 12px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.prose { color: var(--muted); white-space: pre-line; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font: 700 1.05rem var(--title); list-style: none; padding: 10px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .3s; }
body[data-theme="sable"] .faq-item summary::after, body[data-theme="menthe"] .faq-item summary::after { color: var(--ink); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 16px; color: var(--muted); white-space: pre-line; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 16px; }
.contact a, .contact div { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 56px; text-decoration: none; overflow-wrap: anywhere; }
.contact svg.i { color: var(--accent); font-size: 1.3rem; }
body[data-theme="sable"] .contact svg.i, body[data-theme="menthe"] .contact svg.i { color: var(--ink); }
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .recap { position: static; } }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } .top-actions .btn-ghost span { display: none; } .brand { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } html { scroll-behavior: auto; } }
