/* Denia Taxi Moto Paris, v2. Fond noir, encre ivoire, le rouge de la moto. Un seul motif : le D de Denia (bord gauche droit, bord droit rond). */
@font-face {
  font-family: "Hanken Grotesk";
  src: url(assets/fonts/hanken-grotesk-latin.woff2) format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --surface: #17171a;
  --surface-2: #26262a;
  --ink: #f4f3ef;
  --muted: #a8a6a0;
  --accent: #d92b21;      /* aplats et boutons */
  --accent-t: #ff6b5e;    /* le même rouge, en texte sur fond noir */
  --accent-ink: #ffffff;
  --night: #17171a;
  --night-2: #26262a;
  --on-night: #f4f3ef;
  --on-night-muted: #a8a6a0;
  --wa: #1fa855;

  --step-small: clamp(0.875rem, 0.86rem + 0.08vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.6rem, 0.9rem + 4.4vw, 5rem);

  --m: clamp(16px, 3.2vw, 44px);
  --gap: clamp(88px, 11vw, 168px);
  --d: 4px 28px 28px 4px;       /* tuile en D */
  --d-btn: 6px 999px 999px 6px;  /* bouton en D */
  --r: 10px;                     /* champs */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; border-radius: 0; text-align: inherit; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-t); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -80px; z-index: 60; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: var(--d-btn); }
.skip:focus { top: 10px; }

.wrap { max-width: 1400px; margin-inline: auto; padding-inline: var(--m); }
h1 { font-size: var(--step-display); font-weight: 500; letter-spacing: -0.05em; line-height: 0.94; }
h2 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
h3 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 30em; margin-top: 18px; }
.note { font-size: var(--step-small); color: var(--muted); }

/* Le D, en masque d'image */
.dshape { overflow: hidden; border-radius: 6px 9999px 9999px 6px; background: var(--surface); }
.dshape img { width: 100%; height: 100%; object-fit: cover; }

/* Boutons : un seul dessin, le D */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px 12px 24px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; font-size: var(--step-body); line-height: 1.15; text-decoration: none; text-align: center;
  border-radius: var(--d-btn);
  transition: background .2s var(--ease), color .2s var(--ease), translate .15s var(--ease), padding .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); padding-right: 36px; }
.btn:active { translate: 0 2px; }
.btn-small { min-height: 44px; padding: 8px 22px 8px 18px; }
.btn-big { min-height: 60px; font-size: var(--step-lead); }
.btn-line { background: var(--surface-2); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--accent-ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: var(--accent-ink); }

/* ───────── Barre haute ───────── */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); height: var(--top-h); }
.top.scrolled { background: var(--surface); }
.top-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 500; font-size: var(--step-body); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.dmark { width: 17px; height: 24px; background: var(--accent); border-radius: 2px 12px 12px 2px; }
.top-nav { display: flex; gap: 26px; font-size: var(--step-small); font-weight: 500; }
.top-nav a { text-decoration: none; padding: 12px 0; }
.top-nav a:hover, .top-tel:hover { color: var(--accent-t); }
.top-tel { font-weight: 500; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; padding: 12px 0; }

/* ───────── Première vue ───────── */
.hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: stretch; padding-top: clamp(20px, 3vw, 44px); padding-bottom: clamp(28px, 4vw, 56px); }
.hero-text { grid-column: 1 / span 7; align-self: center; }
.hero-say { max-width: 32em; font-size: var(--step-lead); line-height: 1.3; margin: 20px 0 28px; }
.hero-side { grid-column: 8 / -1; margin-left: clamp(0px, 3vw, 48px); position: relative; min-height: 520px; max-height: 780px; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { object-position: 62% 50%; }
.msg { position: absolute; left: -40px; bottom: 36px; width: min(340px, 78%); background: var(--surface-2); border-radius: var(--d); padding: 16px 20px 18px 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .5); }
.msg-head { display: flex; align-items: center; gap: 8px; font-size: var(--step-small); font-weight: 500; }
.msg-head svg { width: 20px; height: 20px; fill: var(--wa); }
.msg-text { margin: 10px 0; padding: 12px 14px; background: var(--bg); border-radius: 4px 16px 16px 16px; font-size: var(--step-small); line-height: 1.4; }
.msg-foot { font-size: var(--step-small); color: var(--accent-t); }

.trip { background: var(--surface); border-radius: var(--d); padding: 20px; display: grid; gap: 14px; }
.trip-places { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 8px; align-items: end; }
.field { position: relative; min-width: 0; }
.field label, .ask label { display: block; font-size: var(--step-small); font-weight: 500; margin: 0 0 6px 2px; }
.field input, .ask textarea {
  width: 100%; min-width: 0; min-height: 56px; padding: 14px;
  background: var(--bg); border: 2px solid var(--bg); border-radius: var(--r);
  font-size: max(16px, var(--step-body)); font-weight: 500; line-height: 1.2;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s;
}
.field input::placeholder, .ask textarea::placeholder { color: var(--muted); font-weight: 400; }
.field input:hover { border-color: var(--surface-2); }
.field input:focus, .ask textarea:focus { border-color: var(--ink); outline: none; }
.field input.ok { border-color: var(--ink); }
input[type="date"], input[type="time"] { font-variant-numeric: tabular-nums; }
.swap { width: 48px; height: 56px; border-radius: var(--r); background: var(--surface-2); display: grid; place-items: center; transition: background .2s, rotate .35s var(--ease); }
.swap svg { width: 22px; height: 22px; fill: currentColor; rotate: 90deg; }
.swap:hover { background: var(--ink); color: var(--bg); }
.swap:active { rotate: 180deg; }
.sug {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 25;
  background: var(--surface-2); border-radius: var(--r); padding: 6px; max-height: 320px; overflow: auto;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .6); /* taste-skill-ignore : menu flottant */
}
.sug li { padding: 11px 12px; border-radius: 6px; cursor: pointer; line-height: 1.25; font-weight: 500; }
.sug li small { display: block; font-size: var(--step-small); font-weight: 400; color: var(--muted); }
.sug li[aria-selected="true"], .sug li:hover { background: var(--bg); }
.sug .sug-h { font-size: var(--step-small); font-weight: 400; color: var(--muted); cursor: default; padding: 8px 12px 4px; }
.sug .sug-h:hover { background: none; }

.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button, .days button {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--surface-2);
  font-size: var(--step-small); font-weight: 500; white-space: nowrap; text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease), translate .15s;
}
.quick button:hover, .days button:hover { background: var(--ink); color: var(--bg); }
.quick button:active, .days button:active { translate: 0 1px; }
.days button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.trip-when { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: end; }
.days { display: flex; gap: 6px; height: 56px; align-items: center; }

.trip-res { display: flex; align-items: center; gap: 20px; min-height: 76px; padding: 2px; }
.trip-price { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: var(--accent-t); white-space: nowrap; font-variant-numeric: tabular-nums; }
.trip-price.wait { opacity: .35; }
.trip-line { max-width: 26em; line-height: 1.35; }
.trip-line b { font-weight: 500; }
.trip-line.err { font-weight: 600; }
.trip-go { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-go .btn { flex: 1 1 220px; }
#trip-wa { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* ───────── L'essentiel : la bande noire ───────── */
.facts { background: var(--night); color: var(--on-night); padding: clamp(28px, 4vw, 52px) 0; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 32px; }
.facts li { position: relative; padding-left: 26px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 12px; height: 17px; background: var(--accent); border-radius: 2px 9px 9px 2px; }
.facts b { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.facts span { display: block; margin-top: 8px; color: var(--on-night-muted); }

/* ───────── Tarifs : deux champs bord à bord ───────── */
.tarifs { display: grid; grid-template-columns: 58fr 42fr; }
.tarifs-main { background: var(--bg); padding: clamp(56px, 7vw, 104px) clamp(20px, 4vw, 64px) clamp(56px, 7vw, 104px) max(var(--m), calc((100vw - 1400px) / 2 + var(--m))); }
.tarifs-side { background: var(--accent); color: var(--accent-ink); padding: clamp(56px, 7vw, 104px) max(var(--m), calc((100vw - 1400px) / 2 + var(--m))) clamp(56px, 7vw, 104px) clamp(20px, 4vw, 64px); }
.grid { width: 100%; border-collapse: collapse; margin: 36px 0 16px; font-variant-numeric: tabular-nums; }
.grid th, .grid td { padding: 15px 10px; text-align: right; font-weight: 400; white-space: nowrap; }
.grid thead th { font-size: var(--step-small); font-weight: 500; vertical-align: bottom; padding-bottom: 12px; }
.grid[data-now="0"] thead th:nth-child(2), .grid[data-now="1"] thead th:nth-child(3), .grid[data-now="2"] thead th:nth-child(4) { font-weight: 600; }
.grid td { color: var(--muted); }
.grid[data-now="0"] td:nth-child(2), .grid[data-now="1"] td:nth-child(3), .grid[data-now="2"] td:nth-child(4) { color: var(--ink); }
.grid thead small { display: block; font-weight: 400; color: var(--muted); font-size: inherit; }
.grid th:first-child { text-align: left; padding-left: 14px; white-space: normal; font-weight: 500; }
.grid tbody tr:nth-child(odd) { background: var(--surface); }
.grid tbody tr th:first-child { border-radius: 4px 0 0 4px; }
.grid tbody tr td:last-child { border-radius: 0 20px 20px 0; padding-right: 20px; }
.grid thead th:last-child { padding-right: 20px; }
.grid[data-now="0"] td:nth-child(2), .grid[data-now="1"] td:nth-child(3), .grid[data-now="2"] td:nth-child(4) { font-weight: 600; }
.tarifs-side h3 { margin-bottom: 14px; }
.tarifs-side h3 + dl { margin-bottom: 44px; }
.tarifs-side dl > div { display: grid; gap: 4px; padding: 12px 0; }
.tarifs-side dt { font-weight: 500; }
.tarifs-side dt small { display: block; font-size: var(--step-small); font-weight: 400; opacity: .85; }
.tarifs-side dd { font-variant-numeric: tabular-nums; opacity: .92; }

/* ───────── Déroulé : quatre champs, le même billet qui avance ───────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.stepf { display: flex; flex-direction: column; min-height: min(78svh, 680px); padding: clamp(24px, 2.6vw, 40px); }
.s1 { background: var(--bg); } .s2 { background: var(--surface); } .s3 { background: var(--surface-2); } .s4 { background: var(--accent); color: var(--accent-ink); }
.steps h2 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; max-width: 12em; }
.ticket { margin: auto 0; width: min(100%, 280px); background: var(--bg); color: var(--ink); border-radius: var(--d); padding: 16px 18px 18px; font-size: var(--step-small); transition: translate .15s var(--ease); }
.s1 .ticket { background: var(--surface); }
.stepf:hover .ticket { translate: 0 -6px; }
.tk-state { font-weight: 600; padding-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.tk-state::before { content: ""; width: 9px; height: 13px; background: var(--accent); border-radius: 2px 7px 7px 2px; }
.tk-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.tk-row span { color: var(--muted); }
.tk-row b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.tk-new b { color: var(--accent-t); }
.tk-total { margin: 10px -18px -18px; padding: 12px 18px; background: var(--ink); color: var(--bg); border-radius: 0 0 28px 4px; }
.tk-total span { color: inherit; }
.clause { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; max-width: 14em; }

/* ───────── Sections courantes ───────── */
.refs, .pros, .faq { padding-top: var(--gap); }

/* Références */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { min-width: 0; background: var(--surface); border-radius: var(--d); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 24px; }
.tile-head { grid-column: span 3; aspect-ratio: auto; background: var(--accent); color: var(--accent-ink); place-items: start; }
.tile-head h2 { max-width: 9em; }
.tile-link { background: var(--surface-2); color: var(--on-night); place-items: end start; text-decoration: none; align-content: end; transition: background .2s var(--ease); }
.tile-link:hover { background: var(--accent); color: var(--accent-ink); }
.tile-link span { display: block; color: var(--on-night-muted); font-size: var(--step-small); }
.tile-link:hover span { color: inherit; }
.tile-link b { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.lg { width: auto; max-width: 78%; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.lg-psg { height: 104px; } .lg-dior { height: 44px; } .lg-cdg { height: 84px; } .lg-af { height: 26px; } .lg-accor { height: 28px; }

/* Denia : panneau sombre */
.about { padding: var(--gap) clamp(10px, 1.6vw, 20px) 0; }
.about-in { background: var(--night); color: var(--on-night); border-radius: var(--d); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: clamp(28px, 4.4vw, 64px); overflow: hidden; }
.about-left { grid-column: 1 / span 6; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vw, 56px); }
.about-left h2 { max-width: 8em; }
.about-photo { width: min(100%, 520px); aspect-ratio: 1 / 1; margin-bottom: calc(-1 * clamp(28px, 4.4vw, 64px) - 8%); border-radius: 6px 9999px 0 0; }
.about-photo img { object-position: 30% 50%; }
.about-right { grid-column: 8 / -1; display: grid; gap: 36px; align-content: center; justify-items: start; }
.about-right p { margin-top: 10px; color: var(--on-night-muted); max-width: 30em; }
.dlist { margin-top: 12px; display: grid; gap: 8px; }
.dlist li { position: relative; padding-left: 24px; }
.dlist li::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 10px; height: 14px; background: var(--accent); border-radius: 2px 7px 7px 2px; }

/* Trajets professionnels */
.pros { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: stretch; }
.pros-text { grid-column: 1 / span 7; }
.pros-photo { grid-column: 8 / -1; margin-left: clamp(0px, 3vw, 48px); min-height: 420px; }
.rows { margin-top: 32px; display: grid; gap: 6px; }
.rows button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 72px; padding: 14px 24px 14px 18px; background: var(--surface); border-radius: var(--d);
  transition: background .2s var(--ease), color .2s var(--ease), padding .25s var(--ease);
}
.rows button > span { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.rows small { display: block; margin-top: 4px; font-size: var(--step-small); font-weight: 400; letter-spacing: 0; line-height: 1.35; color: var(--muted); }
.rows b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; flex-shrink: 0; max-width: 46%; }
.rows button:hover { background: var(--ink); color: var(--bg); padding-left: 26px; }
.rows button:hover small { color: inherit; }
.rows-pick button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.rows-pick button[aria-checked="true"] small { color: inherit; }

/* Balades */
.balades { margin-top: var(--gap); background: var(--surface); padding: clamp(56px, 7vw, 104px) 0; }
.balades .rows button { background: var(--bg); }
.balades .rows button:hover { background: var(--ink); color: var(--bg); }
.balades .rows-pick button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.balades-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: stretch; }
.bal-photo { grid-column: 1 / span 5; min-height: 480px; }
.bal-text { grid-column: 7 / -1; }
.bal-say { margin-top: 22px; font-weight: 500; }
.route { margin: 12px 0 26px; display: flex; flex-wrap: wrap; gap: 6px 0; line-height: 1.5; }
.route li { display: inline-flex; align-items: center; }
.route li + li::before { content: ""; width: 14px; height: 2px; background: var(--ink); margin: 0 9px; opacity: .35; }
.route li.ph { font-weight: 600; color: var(--accent-t); }
.route.go li { animation: pop .4s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.balades .note { margin-top: 18px; max-width: 38em; }

/* Questions */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.faq h2 { grid-column: 1 / span 4; position: sticky; top: calc(var(--top-h) + 28px); }
.faq-list { grid-column: 5 / -1; display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--d); transition: background .2s var(--ease), color .2s var(--ease); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding: 16px 26px 16px 22px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
  border-radius: var(--d);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 16px 3px no-repeat, linear-gradient(currentColor, currentColor) center / 3px 16px no-repeat; transition: rotate .3s var(--ease); } /* taste-skill-ignore : deux barres pleines dessinent le plus */
.faq details[open] { background: var(--accent); color: var(--accent-ink); }
.faq details[open] summary::after { rotate: 135deg; }
.faq details:not([open]) summary:hover { background: var(--surface-2); }
.faq details p { padding: 0 26px 24px 22px; max-width: 52ch; }

/* Fin : le premier pas, déjà ouvert */
.end { margin-top: var(--gap); background: var(--accent); color: var(--accent-ink); padding: clamp(56px, 8vw, 120px) 0; }
.end-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.end-text { grid-column: 1 / span 6; }
.end-text h2 { font-size: var(--step-display); line-height: 0.94; max-width: 7em; }
.end-text p { margin-top: 22px; font-size: var(--step-lead); line-height: 1.3; max-width: 22em; }
.ask { grid-column: 8 / -1; background: var(--bg); color: var(--ink); border-radius: var(--d); padding: 22px; display: grid; gap: 12px; }
.ask textarea { background: var(--surface); border-color: var(--surface); resize: vertical; min-height: 104px; line-height: 1.35; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; }
.seg button { min-height: 44px; border-radius: 999px; text-align: center; font-weight: 500; transition: background .2s var(--ease), color .2s var(--ease); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }

/* Pied */
.footer { background: var(--bg); color: var(--on-night); padding: clamp(48px, 6vw, 88px) 0 calc(32px + env(safe-area-inset-bottom)); }
.mark { display: flex; align-items: flex-end; gap: 0.06em; font-size: clamp(5.5rem, 21vw, 19rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.74; }
.mark i { display: block; width: 0.56em; height: 0.72em; background: var(--accent); border-radius: 0.03em 0.36em 0.36em 0.03em; flex-shrink: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: clamp(40px, 5vw, 72px); font-weight: 500; }
.footer-cols ul { display: grid; gap: 4px; align-content: start; }
.footer-cols a { display: inline-block; padding: 8px 0; text-decoration: none; }
.footer-cols a:hover { color: var(--accent-t); }
.legal { margin-top: 48px; font-size: var(--step-small); color: var(--on-night-muted); max-width: 64em; }

/* ───────── Barre d'action (téléphone) et bulle (ordinateur) ───────── */
.dock { display: none; }
.bubble {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 35;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28); /* taste-skill-ignore : la bulle flotte au-dessus de la page */
  transition: scale .2s var(--ease), translate .3s var(--ease), opacity .3s;
}
.bubble svg { width: 32px; height: 32px; fill: #fff; }
.bubble.off { translate: 0 120px; opacity: 0; pointer-events: none; }
.bubble:hover { scale: 1.08; }
.bubble:active { scale: .96; }

/* ───────── Mouvement ───────── */
.js .rv { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--dl, 0ms); }
.js .rv.in { opacity: 1; translate: 0 0; }
.js .hero-photo { animation: shutter 1.1s var(--ease) both; }
.js .hero-photo img { animation: settle 1.4s var(--ease) both; }
@keyframes shutter { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { scale: 1.12; } to { scale: 1; } }
@supports (animation-timeline: view()) {
  .pros-photo img, .bal-photo img { animation: drift linear both; animation-timeline: view(); }
  @keyframes drift { from { scale: 1.14; translate: 0 -3%; } to { scale: 1.02; translate: 0 3%; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; translate: 0 0; transition: none; }
  .js .hero-photo, .js .hero-photo img, .pros-photo img, .bal-photo img, .route.go li, #trip-wa { animation: none; }
  .btn, .rows button { transition: none; }
}

/* ───────── Tablette ───────── */
@media (max-width: 1080px) {
  .top-nav { display: none; }
  .hero-text { grid-column: 1 / span 8; }
  .hero-side { grid-column: 9 / -1; min-height: 0; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .tarifs { grid-template-columns: 1fr; }
  .tarifs-main, .tarifs-side { padding-inline: var(--m); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stepf { min-height: 440px; }
  .about-left { grid-column: 1 / span 6; }
  .about-right { grid-column: 7 / -1; }
  .pros-text { grid-column: 1 / span 8; }
  .pros-photo { grid-column: 9 / -1; }
  .bal-photo { grid-column: 1 / span 4; }
  .bal-text { grid-column: 5 / -1; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-head { grid-column: 1 / -1; padding-bottom: 40px; }
  .pros-photo { grid-column: 9 / -1; margin-left: 0; }
  .faq { display: block; }
  .faq h2 { position: static; margin-bottom: 32px; }
  .end-text { grid-column: 1 / span 6; }
  .ask { grid-column: 7 / -1; }
}

/* ───────── Petite tablette : la première vue s'empile ───────── */
@media (max-width: 900px) {
  .hero { display: block; }
  .hero-side { margin: 28px 0 0; min-height: 0; max-height: none; }
  .hero-photo { position: static; aspect-ratio: 16 / 10; }
  .msg { position: relative; left: auto; bottom: auto; width: min(420px, 92%); margin: -56px 0 0 0; }
}

/* ───────── Téléphone ───────── */
@media (max-width: 760px) {
  :root { --top-h: 60px; --d: 4px 22px 22px 4px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .top-in { gap: 10px; }
  .top-tel { display: none; }
  .top .btn-small { min-height: 44px; }

  .hero { padding-top: 14px; padding-bottom: 28px; }
  .hero-say { font-size: var(--step-body); line-height: 1.4; margin: 14px 0 18px; }
  .trip { padding: 14px; gap: 12px; }
  .trip-places { grid-template-columns: 1fr; position: relative; }
  .swap { position: absolute; right: 8px; top: calc(50% + 4px); translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); }
  .swap svg { rotate: 0deg; }
  .trip-places .field input { padding-right: 60px; }
  .trip-when { grid-template-columns: 1fr 1fr; }
  .days { grid-column: 1 / -1; height: auto; }
  .days button { flex: 1; }
  .trip-res { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; }
  .trip-go .btn { flex: 1 1 100%; }
  .btn-big { min-height: 56px; }
  .hero-side { margin-top: 24px; }
  .hero-photo { aspect-ratio: 5 / 4; }

  .facts ul { grid-template-columns: 1fr; gap: 22px; }
  .tarifs-main, .tarifs-side { padding-block: 56px; }
  .grid { margin-top: 26px; }
  .grid th, .grid td { padding: 13px 4px; font-size: var(--step-small); }
  .grid th:first-child { padding-left: 10px; }
  .grid tbody tr td:last-child, .grid thead th:last-child { padding-right: 12px; }
  .grid thead small { font-size: 13px; }
  .tarifs-side .btn { width: 100%; }

  .steps { grid-template-columns: 1fr; }
  .stepf { min-height: 0; padding: 28px var(--m) 32px; gap: 20px; }
  .ticket { margin: 0; }
  .stepf:hover .ticket { translate: none; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile { padding: 16px; }
  .tile-head { grid-column: 1 / -1; padding: 22px 18px 28px; }
  .tile:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
  .lg-psg { height: 56px; } .lg-dior { height: 30px; } .lg-cdg { height: 54px; } .lg-af { height: 17px; } .lg-accor { height: 18px; }

  .about { padding-inline: 8px; }
  .about-in { display: flex; flex-direction: column; padding: 28px 18px 0; }
  .about-right { margin-top: 28px; gap: 26px; order: 2; }
  .about-right .btn { width: 100%; }
  .about-left { display: contents; }
  .about-photo { order: 3; width: 100%; margin: 36px 0 0; aspect-ratio: 1 / 0.7; }

  .pros, .balades-in { display: block; }
  .pros-photo { margin-top: 24px; min-height: 0; aspect-ratio: 5 / 3; }
  .rows { margin-top: 24px; }
  .rows button { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; }
  .rows b { text-align: left; max-width: none; }
  .rows-pick button { flex-direction: row; align-items: center; }
  .rows button:hover { padding-left: 18px; }
  .balades { padding: 56px 0; }
  .bal-photo { min-height: 0; aspect-ratio: 5 / 3; margin-bottom: 28px; }
  .bal-text .btn { width: 100%; }

  .faq summary { min-height: 64px; padding: 14px 18px 14px 16px; }
  .faq details p { padding: 0 18px 20px 16px; }

  .end { padding: 56px 0 64px; }
  .end-in { display: block; }
  .ask { margin-top: 28px; padding: 16px; }
  .ask .btn { width: 100%; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols a { padding: 11px 0; }

  .bubble { width: 54px; height: 54px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .bubble svg { width: 29px; height: 29px; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; gap: 8px;
    background: var(--night); color: var(--on-night);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px;
    transition: translate .3s var(--ease);
  }
  .dock.off { translate: 0 110%; }
  .dock p { flex: 1; min-width: 0; line-height: 1.15; }
  .dock p b { display: block; font-size: var(--step-lead); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock p span { display: block; font-size: var(--step-small); color: var(--on-night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock-tel { width: 52px; height: 52px; border-radius: 50%; background: var(--night-2); display: grid; place-items: center; flex-shrink: 0; }
  .dock-tel svg { width: 22px; height: 22px; fill: currentColor; }
  .dock .btn { flex-shrink: 0; min-height: 52px; padding: 10px 24px 10px 18px; }
  .dock .btn:hover { background: var(--accent); color: var(--accent-ink); padding-right: 24px; }
}
@media (max-width: 360px) {
  .dock p span { display: none; }
  .dock .btn { padding: 10px 18px 10px 14px; }
}
