:root {
  --ivory: #F7F4EE;
  --paper: #FFFFFF;
  --ink: #15171A;
  --muted: #6E6A64;
  --line: rgba(21, 23, 26, .12);
  --line-strong: rgba(21, 23, 26, .28);
  --accent: #7A1C1C;
  --night: #0D1B2A;
  --ok: #2F6B3F;
  --err: #A32D2D;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --px: 16px;
}
@media (min-width: 600px) { :root { --px: 32px; } }
@media (min-width: 1100px) { :root { --px: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 15px/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.1; }
em { font-style: italic; color: var(--accent); }

/* ── Nav ── */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--px); }
.logo { font-family: 'Lexend Zetta', sans-serif; font-weight: 300; font-size: 18px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; display: inline-flex; flex-direction: column; line-height: 1.2; }
.logo small { font-family: var(--sans); font-size: 9px; letter-spacing: .28em; color: var(--muted); }
.lang { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.lang button { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--muted); letter-spacing: .1em; }
.lang button.on { color: var(--ink); font-weight: 500; }

/* ── Hero ── */
.hero { display: grid; min-height: 100svh; }
.hero-photo { position: relative; height: 46svh; min-height: 300px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-panel { padding: 28px var(--px) 40px; margin-top: -60px; position: relative; }
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.hero h1 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.12; margin-bottom: 26px; }
.hero .l { display: block; }
.hero-panel > .eyebrow, .hero-panel > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 899px) {
  .nav { color: #fff; }
  .nav .logo small, .nav .lang, .nav .lang button { color: rgba(255,255,255,.75); }
  .nav .lang button.on { color: #fff; }
  .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%); }
  .hero-cap { position: absolute; z-index: 1; left: var(--px); right: var(--px); bottom: 78px; color: #fff; }
  .hero-cap .eyebrow { color: rgba(255,255,255,.8); margin-bottom: 6px; }
  .hero-cap p:last-child { margin: 0; font: 400 32px/1.08 var(--serif); }
  .hero-cap em { color: #fff; }
}

@media (min-width: 900px) {
  .hero-cap { display: none; }
  .hero h1 .l { white-space: nowrap; }
  .nav .lang { background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 999px; }
  .hero-photo { height: auto; order: 2; }
  .hero-panel { order: 1; margin: 0; padding: 120px var(--px) 56px; display: flex; flex-direction: column; justify-content: center; }
  .hero-panel > .eyebrow, .hero-panel > h1 { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .hero { grid-template-columns: minmax(440px, 560px) minmax(0, 1fr); }
}

/* ── Booking card ── */
.book { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.35); }
.book h2 { font-size: 26px; margin-bottom: 16px; }
.step { display: none; }
.step.on { display: block; animation: in .25s ease; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field { position: relative; margin-bottom: 12px; min-width: 0; }
.field label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.field textarea { width: 100%; min-height: 84px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); font: inherit; font-size: 15px; resize: vertical; }
.field input, .field select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); font-size: 15px; }
.field textarea:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,23,26,.08); }
.field.bad input, .field.bad select { border-color: var(--err); }
.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.hint a { color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .row--stack { grid-template-columns: 1fr; gap: 0; } }

.btn { display: block; width: 100%; height: 50px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; text-align: center; line-height: 50px; text-decoration: none; margin-top: 6px; transition: background .2s; }
.btn:hover { background: #000; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-out { background: none; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-out:hover { background: var(--ivory); }
.back { display: inline-flex; align-items: center; min-height: 36px; background: none; border: 0; padding: 0; margin: -6px 0 8px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.back:hover { text-decoration-color: var(--ink); }
.err { color: var(--err); font-size: 13px; min-height: 0; margin: 0 0 6px; }
.err:empty { display: none; }
.note { font-size: 12.5px; color: var(--muted); margin: 10px 0 4px; }
.route { font-size: 14px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.route b { font-weight: 500; }

.vehs { display: grid; gap: 10px; }
.veh { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 8px 14px 8px 8px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s; }
.veh img { width: 92px; height: 62px; object-fit: cover; border-radius: 6px; }
.veh-txt { display: flex; flex-direction: column; }
.veh-txt strong { font-weight: 500; font-size: 15px; }
.veh-txt small { color: var(--muted); font-size: 12.5px; }
.veh .price { font-family: var(--serif); font-size: 26px; white-space: nowrap; }
.veh.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 6px 0 12px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--ink); }
.check.bad { color: var(--err); }

#step4 h2 { margin-bottom: 10px; }
.conf-status { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: rgba(47,107,63,.08); color: var(--ok); }
.conf-status.warn { background: rgba(122,28,28,.07); color: var(--accent); }
.conf-status::before { content: '✓'; font-weight: 500; }
.conf-status.warn::before { content: '!'; }
.conf-sum { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.conf-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ivory); }
.conf-veh { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.conf-date { display: block; font-size: 14px; margin-top: 4px; }
.conf-price { font-family: var(--serif); font-size: 32px; white-space: nowrap; }
.conf-list { margin: 0; padding: 4px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.conf-list dt, .conf-list dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 14px; }
.conf-list dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 12px; }
.conf-list dd { min-width: 0; overflow-wrap: anywhere; }
.conf-list dt:nth-last-of-type(1), .conf-list dd:last-of-type { border-bottom: 0; }
.conf-new { display: flex; margin: 12px auto 0; }

/* ── Autocomplete ── */
.ac-list { display: none; position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; box-shadow: 0 12px 30px -12px rgba(0,0,0,.25); }
.ac-item { display: flex; gap: 10px; padding: 10px 12px; cursor: pointer; align-items: flex-start; }
.ac-item:hover, .ac-item.sel { background: var(--ivory); }
.ac-pin svg { width: 16px; height: 16px; margin-top: 2px; color: var(--muted); }
.ac-text { display: flex; flex-direction: column; min-width: 0; }
.ac-main { font-size: 14px; }
.ac-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Promesses ── */
.promises { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.promises > div { background: var(--ivory); padding: 22px var(--px); display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.promises .ico { grid-row: span 2; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.promises strong { font-weight: 500; }
.promises small { color: var(--muted); font-size: 13px; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(3, 1fr); } .promises > div { padding: 28px 32px; } }

/* ── Riviera ── */
.riviera { display: grid; gap: 14px; padding: 56px var(--px); }
.riviera h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.riviera p:not(.eyebrow) { color: var(--muted); max-width: 420px; margin: 0; }
.riviera img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
@media (min-width: 900px) {
  .riviera { grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; align-items: end; padding: 96px var(--px); }
  .riviera img:last-child { margin-bottom: 48px; }
}
@media (max-width: 899px) {
  .riviera { grid-template-columns: 1fr 1fr; }
  .riviera-txt { grid-column: 1 / -1; margin-bottom: 10px; }
}

/* ── Footer ── */
.foot { background: var(--night); color: rgba(255,255,255,.82); padding: 44px var(--px) 90px; display: grid; gap: 22px; font-size: 14px; }
.foot .logo small { color: rgba(255,255,255,.5); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.copy { margin: 0; font-size: 12px; color: rgba(255,255,255,.45); }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 44px; } .copy { grid-column: 1 / -1; } }

/* ── WhatsApp flottant (mobile) ── */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: #1F8B4C; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ── Modales ── */
.modal { width: min(640px, calc(100% - 32px)); max-height: 85svh; border: 0; border-radius: 14px; padding: 28px; background: var(--paper); color: var(--ink); }
.modal::backdrop { background: rgba(13,27,42,.55); }
.modal h2 { font-size: 30px; margin-bottom: 14px; }
.modal h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0 4px; }
.modal p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.modal-close { float: right; background: none; border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 12px; font-size: 12px; cursor: pointer; }

/* ── Écran d'ouverture (première visite) · animation « Espacement » en CSS pur ── */
.intro-screen { display: none; }
.intro .intro-screen { display: flex; position: fixed; inset: 0; z-index: 100; background: var(--ivory); flex-direction: column; align-items: center; justify-content: center; gap: .9em; font-size: clamp(44px, 11vw, 120px); cursor: pointer;
  -webkit-animation: intro-out .5s ease 2.7s forwards; animation: intro-out .5s ease 2.7s forwards; }
.intro-word { font-family: 'Lexend Zetta', 'Helvetica Neue', Arial, sans-serif; font-weight: 300; line-height: 1; letter-spacing: .12em; margin-right: -.12em; white-space: nowrap; color: var(--ink); }
.intro-tag { font-family: var(--sans); font-size: max(11px, .1em); letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.intro .intro-word { opacity: 0; -webkit-animation: intro-spread 1.6s cubic-bezier(.2,.7,.2,1) .3s forwards; animation: intro-spread 1.6s cubic-bezier(.2,.7,.2,1) .3s forwards; }
.intro .intro-tag { opacity: 0; -webkit-animation: intro-tag .8s cubic-bezier(.2,.7,.2,1) 1.4s forwards; animation: intro-tag .8s cubic-bezier(.2,.7,.2,1) 1.4s forwards; }
@-webkit-keyframes intro-spread { 0% { opacity: 0; letter-spacing: -.09em; margin-right: .09em; -webkit-filter: blur(10px); filter: blur(10px); } 55% { opacity: 1; } 100% { opacity: 1; letter-spacing: .12em; margin-right: -.12em; -webkit-filter: blur(0); filter: blur(0); } }
@keyframes intro-spread { 0% { opacity: 0; letter-spacing: -.09em; margin-right: .09em; filter: blur(10px); } 55% { opacity: 1; } 100% { opacity: 1; letter-spacing: .12em; margin-right: -.12em; filter: blur(0); } }
@-webkit-keyframes intro-tag { 0% { opacity: 0; letter-spacing: .18em; margin-right: -.18em; } 100% { opacity: 1; letter-spacing: .32em; margin-right: -.32em; } }
@keyframes intro-tag { 0% { opacity: 0; letter-spacing: .18em; margin-right: -.18em; } 100% { opacity: 1; letter-spacing: .32em; margin-right: -.32em; } }
@-webkit-keyframes intro-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
