@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --night: #0d0f12;
  --night-2: #15181d;
  --night-3: #1d2128;
  --line: rgba(243, 238, 232, 0.12);
  --text: #f3eee8;
  --text-soft: #b9b3ad;
  --sunset: #ff6a2b;
  --sunset-hover: #ff8550;
  --dusk: #c7b4d9;
  --radius: 14px;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: min(1180px, 100% - 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; overflow-x: hidden; overscroll-behavior-x: none; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--sunset); color: var(--night); padding: 0.6rem 1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-primary { background: var(--sunset); color: var(--night); }
.btn-primary:hover { background: var(--sunset-hover); }
.btn-ghost { border-color: rgba(243, 238, 232, 0.55); color: var(--text); background: rgba(13, 15, 18, 0.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); background: rgba(13, 15, 18, 0.5); }
.btn:active { transform: scale(0.97); }

/* En-tête */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-solid { background: rgba(13, 15, 18, 0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }
.brand { font-family: var(--display); font-size: 1.85rem; letter-spacing: 0.02em; text-decoration: none; line-height: 1; }
.brand span { color: var(--sunset); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  text-decoration: none; font-weight: 600; padding: 0.6rem 0.85rem; border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { background: rgba(243, 238, 232, 0.08); }
.nav .lang { color: var(--text-soft); font-weight: 600; margin-left: 0.25rem; }
.nav .lang:hover { color: var(--text); }
.nav .btn { margin-left: 0.5rem; min-height: 44px; padding: 0.6rem 1.2rem; }
.nav .btn:hover { background: var(--sunset-hover); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero img { object-position: 70% 60%; animation: heroZoom 14s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 15, 18, 0.55) 0%, rgba(13, 15, 18, 0) 28%),
    linear-gradient(90deg, rgba(13, 15, 18, 0.6) 0%, rgba(13, 15, 18, 0) 55%),
    linear-gradient(0deg, var(--night) 0%, rgba(13, 15, 18, 0.7) 30%, rgba(13, 15, 18, 0) 62%);
}
.hero-content { padding-block: 7rem 4.5rem; }
.hero h1 { font-size: clamp(4.2rem, 13vw, 10.5rem); margin-bottom: 1.25rem; line-height: 0.86; }
.hero h1 span { display: block; color: var(--sunset); }
.hero-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 34rem; color: #e8e2db; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-soft); }
.hero-facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--text); }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Sections */
section { position: relative; }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { color: var(--text-soft); font-size: 1.15rem; }
.accent { color: var(--sunset); }

/* Domaine */
.domain { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.domain-text p { color: var(--text-soft); font-size: 1.15rem; }
.domain-text p:first-of-type { color: var(--text); font-size: 1.3rem; }
.domain-photo { position: relative; }
.domain-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.domain-photo figcaption { margin-top: 0.75rem; color: var(--text-soft); font-size: 0.95rem; }

/* Formules */
.rides { background: var(--night-2); }
.ride-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.ride {
  display: flex; flex-direction: column; background: var(--night-3); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ride:hover { transform: translateY(-4px); border-color: rgba(255, 106, 43, 0.5); }
.ride-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.ride-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ride:hover .ride-photo img { transform: scale(1.04); }
.ride-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.ride-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.25rem; }
.ride-meta h3 { margin: 0; }
.ride-body .ride-price { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--sunset); white-space: nowrap; }
.ride-price small { font-family: var(--body); font-size: 0.95rem; color: var(--text-soft); margin-left: 0.15rem; }
.ride-body .ride-duration { color: var(--dusk); font-weight: 600; margin-bottom: 0.9rem; }
.ride-body p { color: var(--text-soft); }
.ride-body .ride-meta p { margin: 0; }
.ride-body .ride-note { font-size: 0.95rem; color: var(--text); background: rgba(255, 106, 43, 0.12); border-radius: 8px; padding: 0.6rem 0.8rem; }
.ride-body .btn { margin-top: auto; align-self: flex-start; }

/* Bandeau machine */
.machine { display: grid; grid-template-columns: 1fr; min-height: 80vh; background: var(--night); }
.machine-photo { position: relative; min-height: 60vh; }
.machine-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.machine-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 6rem) max(1rem, calc((100vw - 1180px) / 2)); }
.machine-text > * { max-width: 32rem; }
.machine-text p { color: var(--text-soft); font-size: 1.15rem; }
.machine-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.machine-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.machine-list svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--sunset); margin-top: 0.1rem; }
.machine-list strong { display: block; color: var(--text); }
.machine-list span { color: var(--text-soft); }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; grid-auto-flow: dense; gap: 0.6rem; }
.gallery-grid button {
  position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--night-3);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; }
.gallery-grid button:hover img { transform: scale(1.05); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }
.gallery-credit { margin-top: 1.25rem; color: var(--text-soft); font-size: 0.95rem; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 9, 11, 0.96); color: var(--text);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fadeIn 0.25s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: calc(100vw - 2rem); max-height: calc(100vh - 7rem); object-fit: contain; border-radius: 6px; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(29, 33, 40, 0.85); color: var(--text); cursor: pointer;
  transition: background-color 0.2s;
}
.lb-btn:hover { background: var(--night-3); border-color: var(--text-soft); }
.lb-btn svg { width: 1.4rem; height: 1.4rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 1.25rem; left: 50%; translate: -50% 0; color: var(--text-soft); font-size: 0.95rem; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Bon à savoir */
.infos { background: var(--night-2); }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.info {
  padding: 1.75rem; border-radius: var(--radius); background: var(--night-3); border: 1px solid var(--line);
}
.info svg { width: 2rem; height: 2rem; color: var(--sunset); margin-bottom: 1rem; }
.info h3 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.info p { color: var(--text-soft); margin: 0; }

/* Réservation */
.booking { position: relative; isolation: isolate; overflow: hidden; }
.booking-bg { position: absolute; inset: 0; z-index: -1; }
.booking-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.booking-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night-2) 0%, rgba(13, 15, 18, 0.7) 40%, var(--night) 100%); }
.booking-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.booking-intro p { color: var(--text-soft); font-size: 1.15rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--sunset); margin-top: 0.2rem; }
.contact-list a { text-decoration-color: rgba(243, 238, 232, 0.35); text-underline-offset: 3px; }
.contact-list a:hover { color: var(--sunset); }
.contact-list small { display: block; color: var(--text-soft); font-size: 0.95rem; }

.form {
  background: rgba(21, 24, 29, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form h3 { font-size: 2.2rem; }
.fields { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.98rem; }
.field .hint { color: var(--text-soft); font-size: 0.9rem; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem;
  font: 400 1rem/1.4 var(--body); color: var(--text);
  background: var(--night); border: 1px solid rgba(243, 238, 232, 0.22); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  color-scheme: dark;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(243, 238, 232, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sunset); box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.3); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #ff8a8a; }
.field .error { color: #ffb0b0; font-size: 0.92rem; min-height: 0; }
.field .error:empty { display: none; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-soft); font-size: 0.98rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--sunset); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.form-actions .btn { flex: 1 1 12rem; }
.form-note { margin: 1rem 0 0; color: var(--text-soft); font-size: 0.92rem; }
.form-summary { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(255, 138, 138, 0.12); color: #ffd0d0; }
.form-summary:empty { display: none; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding-block: 3rem 6.5rem; color: var(--text-soft); }
.footer-inner { display: grid; gap: 2rem; }

.footer p { margin: 0.4rem 0 0; }
.footer a { text-underline-offset: 3px; }
.footer a:hover { color: var(--text); }
.socials { display: flex; gap: 0.6rem; }
.socials a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text); transition: background-color 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--night-3); border-color: var(--text-soft); }
.socials svg { width: 1.3rem; height: 1.3rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* Barre mobile */
.mobile-bar {
  position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.6rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(13, 15, 18, 0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { padding-inline: 0.75rem; }

/* Apparitions */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { animation: none; }
  .reveal { transform: none; transition: opacity 0.6s ease; }
  .ride:hover, .ride:hover .ride-photo img, .gallery-grid button:hover img { transform: none; }
}

/* Navigation mobile */
.menu-toggle { display: none; }

@media (max-width: 899px) {
  .nav { display: none; }
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px;
    border: 1px solid var(--line); background: rgba(13, 15, 18, 0.4); color: var(--text); cursor: pointer;
  }
  .menu-toggle svg { width: 1.5rem; height: 1.5rem; }
  .header.menu-open { background: var(--night); }
  .header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 4.5rem; left: 0; right: 0;
    padding: 0.5rem 1rem 1.5rem; background: var(--night); border-bottom: 1px solid var(--line); gap: 0.25rem;
  }
  .header.menu-open .nav a { padding: 0.9rem 0.5rem; font-size: 1.15rem; }
  .header.menu-open .nav .lang { margin: 0; }
  .header.menu-open .nav .btn { margin: 0.75rem 0 0; min-height: 52px; }
}

@media (max-width: 599px) {
  .hero img { height: 72%; object-position: 50% 50%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(13, 15, 18, 0.5) 0%, rgba(13, 15, 18, 0) 18%),
      linear-gradient(0deg, var(--night) 0%, var(--night) 30%, rgba(13, 15, 18, 0.75) 46%, rgba(13, 15, 18, 0) 62%);
  }
  .hero-content { padding-block: 6rem 1.75rem; }
  .hero h1 { margin-bottom: 0.9rem; }
  .hero-lead { font-size: 1.08rem; margin-bottom: 1.4rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .hero-actions .btn { padding-inline: 0.6rem; font-size: 0.95rem; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.1rem; font-size: 0.88rem; line-height: 1.3; }
  .hero-facts p { margin: 0; }
  .hero-facts strong { font-size: 1.45rem; margin-bottom: 0.15rem; }
}

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 26vw; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .full { grid-column: 1 / -1; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .domain { grid-template-columns: 1fr 1.15fr; }
  .ride-grid { grid-template-columns: repeat(3, 1fr); }
  .machine { grid-template-columns: 1fr 1fr; }
  .machine-photo { min-height: auto; }
  .machine-text { padding-inline: clamp(2.5rem, 5vw, 5rem); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15vw; }
  .info-grid { grid-template-columns: repeat(4, 1fr); }
  .booking-grid { grid-template-columns: 0.9fr 1.1fr; }
  .booking-intro { position: sticky; top: 7rem; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
  .footer { padding-bottom: 3rem; }
  .mobile-bar { display: none; }
}

@media (min-width: 1400px) {
  .gallery-grid { grid-auto-rows: 210px; }
}

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 150px; height: auto; border-radius: 16px; }

/* Réservation : cases à cocher */
.form-main { display: grid; gap: 1.6rem; }
.form-main > .fields, .form-main > .form-summary, .form-main > .form-actions, .form-main > .error { margin: 0; }
.form-main > .error:empty, .planner-status:empty { display: none; }
.pick { min-width: 0; }
.pick-label { font-weight: 700; margin: 0 0 0.7rem; }
.pick-label .hint { font-weight: 400; }
.pick .error { margin: 0.5rem 0 0; }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.planner-status { margin: 0; color: var(--text-soft); }

.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.15rem;
  min-height: 52px; padding: 0.7rem 0.9rem; text-align: left; cursor: pointer;
  border: 1.5px solid rgba(243, 238, 232, 0.16); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)), var(--night-3);
  color: var(--text); font: 600 1rem/1.15 var(--body);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.tile:hover:not(:disabled) { border-color: rgba(255, 106, 43, 0.75); }
.tile:active:not(:disabled) { transform: scale(0.97); }
.tile[aria-pressed="true"] {
  border-color: var(--sunset); color: var(--night);
  background: linear-gradient(135deg, #ff7a3d, var(--sunset) 55%, #f2531a);
  box-shadow: 0 8px 22px -10px rgba(255, 106, 43, 0.75);
}
.tile:disabled { cursor: default; opacity: 0.38; background: transparent; }
.tile-main { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: 0.02em; line-height: 1; }
.tile-sub { font-size: 0.88rem; font-weight: 600; color: var(--text-soft); }
.tile[aria-pressed="true"] .tile-sub { color: rgba(13, 15, 18, 0.75); }

.tick {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(243, 238, 232, 0.35); transition: background-color 0.18s, border-color 0.18s;
}
.tile[aria-pressed="true"] .tick { border-color: var(--night); background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a2b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

.ride-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.ride-tile { min-height: 78px; padding-right: 2rem; }
.people-picks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.num-tile { align-items: center; font-family: var(--display); font-weight: 400; font-size: 1.7rem; min-height: 56px; padding: 0.5rem; }


.day-strip { position: relative; margin-bottom: 1.4rem; }
.day-scroll {
  display: flex; gap: 0.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0.2rem 0.1rem 0.7rem; scrollbar-width: thin; scrollbar-color: rgba(255, 106, 43, 0.55) transparent;
}
.day-scroll::-webkit-scrollbar { height: 6px; }
.day-scroll::-webkit-scrollbar-thumb { background: rgba(255, 106, 43, 0.55); border-radius: 3px; }
.day-scroll .day-tile { flex: 0 0 80px; scroll-snap-align: start; }
.strip-nav {
  position: absolute; top: calc(50% - 0.35rem); translate: 0 -50%; z-index: 2; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--sunset); background: var(--night); color: var(--sunset);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.8); transition: opacity 0.2s, background-color 0.2s;
}
.strip-nav:hover { background: var(--sunset); color: var(--night); }
.strip-nav svg { width: 1.1rem; height: 1.1rem; }
.strip-nav.prev { left: -16px; }
.strip-nav.next { right: -16px; }
.strip-nav:disabled { opacity: 0; pointer-events: none; }
.day-tile { align-items: center; text-align: center; gap: 0.1rem; min-height: 86px; padding: 0.55rem 0.3rem; }
.day-dow { font-size: 0.82rem; font-weight: 600; color: var(--dusk); text-transform: capitalize; }
.day-month { font-size: 0.78rem; font-weight: 600; color: var(--text-soft); }
.day-num { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 0.95; }
.day-info { font-size: 0.75rem; font-weight: 600; color: var(--text-soft); }
.day-tile.is-holiday .day-dow::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--dusk); vertical-align: middle; }
.tile[aria-pressed="true"] .day-dow, .tile[aria-pressed="true"] .day-month, .tile[aria-pressed="true"] .day-info { color: rgba(13, 15, 18, 0.75); }

.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0.5rem; }
.time-tile { padding-right: 2rem; min-height: 64px; }
.time-tile .tile-main { font-size: 1.55rem; }
.time-empty { grid-column: 1 / -1; margin: 0; padding: 1rem; border: 1.5px dashed rgba(243, 238, 232, 0.16); border-radius: 12px; color: var(--text-soft); text-align: center; }

.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.btn[aria-busy="true"] svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-done { text-align: center; padding: 1.5rem 0.5rem; }
.form-done:focus { outline: none; }
.form-done > svg { width: 3.2rem; height: 3.2rem; color: var(--sunset); margin: 0 auto 1rem; }
.form-done p { color: var(--text-soft); }
.form-done #done-text { color: var(--text); font-size: 1.1rem; }
.form-done .btn { margin-top: 0.5rem; }

@media (max-width: 599px) {
  .form { padding: 1.25rem 1rem 1.5rem; }
  .ride-picks { grid-template-columns: 1fr; }
  .ride-tile { min-height: 60px; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 0.7rem; }
  .strip-nav { display: none; }
  .day-scroll .day-tile { flex-basis: 72px; }
  .day-tile { min-height: 78px; }
  .time-grid { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .time-tile { padding: 0.55rem 0.6rem; min-height: 58px; }
  .time-tile .tick { width: 16px; height: 16px; top: 0.45rem; right: 0.45rem; }
  .time-tile .tile-sub { font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tile:active:not(:disabled) { transform: none; }
}

/* Option guide (cochée et verrouillée pour le moment) */
.guide-tile { width: 100%; min-height: 64px; padding-right: 2.6rem; cursor: default; }
.guide-tile:active:not(:disabled) { transform: none; }
.guide-tile .tile-main { font-size: 1.4rem; }
.guide-note { margin: 0.55rem 0 0; font-size: 0.9rem; color: var(--text-soft); }
