/* Maquette 2 : clair et net. Fond blanc, texte noir, orange du logo pour les actions. */
@import "./fonts.css";

:root {
  --ink: #15171a;
  --muted: #5c6168;
  --line: #e3e5e8;
  --paper: #ffffff;
  --soft: #f5f6f7;
  --dark: #111214;
  --brand: #c2410c;        /* orange du logo assombri : texte blanc lisible dessus (contraste AA) */
  --brand-hover: #9a3412;
  --open: #1f7a3f;
  --closed: #b42318;
  --focus: #1d4ed8;
  --radius: 14px;
  --radius-sm: 10px;
  --font-head: "Wix Madefor Display", system-ui, sans-serif;
  --font-body: "Wix Madefor Text", system-ui, sans-serif;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 500; line-height: 1.15; overflow-wrap: break-word; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--paper); border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 2px solid var(--brand); border-radius: 999px; background: var(--brand); color: #fff; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { background: var(--soft); border-color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* En-tête noir : le logo est clair, il lui faut un fond sombre */
.top { position: sticky; top: 0; z-index: 20; background: var(--dark); color: #fff; }
.top__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.top__logo img { width: 150px; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: #d6d8db; text-decoration: none; font-weight: 500; padding: 8px 0; }
.top__nav a:hover { color: #fff; }
.top__account { color: #fff; border-color: #3a3d42; }
.account-page .top__account { margin-left: auto; }
.top__me + .top__account { margin-left: 0; }
.top__account:hover { background: #24262a; border-color: #fff; }

/* Accueil */
.hero { padding: 56px 0 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); margin: 12px 0 16px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.status.is-open { color: var(--open); }
.status.is-closed { color: var(--closed); }
.facts { list-style: none; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .95rem; }
.facts li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }

/* Bandes de section */
.band { padding: 72px 0; }
.band--soft { background: var(--soft); }
.section-head { margin-bottom: 32px; display: grid; gap: 8px; }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }

/* Créneaux */
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 10px; }
.slot { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: 500 1rem/1.2 var(--font-body); font-variant-numeric: tabular-nums; text-align: left; white-space: nowrap; cursor: pointer; transition: border-color .15s, background-color .15s; }
.slot:hover { border-color: var(--brand); background: #fff7f2; }

.vroomly { margin-top: 20px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.vroomly p { max-width: 40rem; }

/* Prestations */
.services { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 32px; align-items: start; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.job { width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: 500 1rem/1.2 var(--font-body); text-align: left; cursor: pointer; transition: background-color .15s; }
.job:hover { background: var(--soft); }
.job[aria-pressed="true"] { background: var(--dark); color: #fff; }
.pane { display: grid; gap: 20px; }
.pane__pitch { font-size: 1.1rem; color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ticks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); }

/* Galerie */
.gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__big { grid-row: span 2; aspect-ratio: auto !important; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Avis */
.scores { display: flex; gap: 12px; flex-wrap: wrap; }
.score { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: 10rem; }
.score:hover { border-color: var(--ink); }
.score b { font-family: var(--font-head); font-size: 1.8rem; font-weight: 500; }
.score small { font-size: 1rem; color: var(--muted); }
.score span { color: var(--muted); font-size: .9rem; }
.marquee { overflow: hidden; margin-bottom: 20px; }
.marquee__track { list-style: none; margin: 0; padding: 4px 0; display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { width: 340px; margin-right: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.review__stars { color: #b54708; letter-spacing: 2px; }
.review__text { flex: 1; }
.review__who { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: .9rem; }
.review__who b { color: var(--ink); }
.review__sample { color: var(--closed); }

/* Horaires et accès */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: stretch; }
.access .card { display: grid; gap: 20px; align-content: start; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 8px 10px 0; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hours thead th { color: var(--muted); font-weight: 500; font-size: .9rem; }
.hours tbody th { font-weight: 500; }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--brand-hover); }
.addr { font-weight: 600; }
.app { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.app:hover { border-color: var(--ink); }
.access__side { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 16px; }
.facade { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; }
.facade img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.map { width: 100%; height: 100%; min-height: 300px; border: 0; border-radius: var(--radius); }

/* Espace client */
.bookings { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.booking { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.booking__when { font-weight: 600; }
.booking__what { flex: 1; }
.booking__what small { display: block; color: var(--muted); }

/* Pied de page */
.foot { background: var(--dark); color: #d6d8db; padding: 40px 0 48px; }
.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Barre d'actions sur téléphone */
.actionbar { display: none; }

/* Fiches (prestation sur téléphone, réservation) */
.sheet { width: min(100% - 24px, 40rem); max-height: 90vh; padding: 0; border: 0; border-radius: var(--radius); color: var(--ink); }
.sheet::backdrop { background: rgb(0 0 0 / .45); }
.sheet__body { padding: 28px; display: grid; gap: 18px; position: relative; }
.sheet__body h2 { padding-right: 40px; font-size: 1.6rem; }
.sheet__body h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); font-size: 1.5rem; cursor: pointer; }
.book-form { display: grid; gap: 14px; }
.book-form label { display: grid; gap: 6px; font-weight: 500; }
.book-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.book-form input, .book-form select, .book-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9ccd1; border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: var(--paper); }
.form-msg:empty { display: none; }
.form-msg { color: var(--closed); font-weight: 500; }


/* Espace client (connexion / inscription) */
.acc { padding: 28px 0 72px; }
.acc h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin: 8px 0 24px; }
.crumbs { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; }
.crumbs a { color: var(--muted); }
.acc__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.acc__form { display: grid; gap: 14px; }
.acc__form h2, .acc__side h2 { font-size: 1.4rem; }
.acc__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin: -8px -8px 6px; }
.acc__tabs button { min-height: 48px; border: 0; border-bottom: 3px solid transparent; background: none; font: 600 1rem/1 var(--font-body); color: var(--muted); cursor: pointer; }
.acc__tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.acc__tabs button:hover { color: var(--ink); }
.pw { position: relative; display: block; }
.pw input { padding-right: 96px; }
.pw__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--soft); font: 500 .9rem/1 var(--font-body); color: var(--ink); cursor: pointer; }
.acc__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.book-form .check { display: inline-flex; grid-template-columns: none; align-items: center; gap: 8px; font-weight: 400; }
.book-form .check input { width: 18px; min-height: 18px; height: 18px; accent-color: var(--brand); }
.linkbtn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--brand-hover); font: 600 .95rem/1 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acc__switch { color: var(--muted); }
.acc__side { display: grid; gap: 16px; }
.acc__side .card { display: grid; gap: 14px; justify-items: start; }
.acc__vroomly { background: var(--soft); }
.acc__help { font-size: .95rem; }
.btn.is-loading { opacity: .7; cursor: progress; }


/* Bloc rendez-vous de l'accueil */
.devis-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.devis-band > div:first-child { max-width: 44rem; display: grid; gap: 8px; }


/* Parcours de rendez-vous (rdv.html) */
.small { font-size: .9rem; }
.opt { color: var(--muted); font-weight: 400; }
.funnel { display: grid; gap: 18px; }
.step { display: grid; gap: 14px; min-width: 0; }
.step h2 { font-size: 1.4rem; }
.field { display: grid; gap: 6px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9ccd1; border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: var(--paper); }
.plate { text-transform: uppercase; letter-spacing: .06em; font-weight: 600 !important; max-width: 16rem; }
.stepper { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: st; }
.stepper li { counter-increment: st; padding-top: 10px; border-top: 4px solid var(--line); color: var(--muted); font-weight: 600; font-size: .9rem; }
.stepper li::before { content: counter(st) ". "; }
.stepper li.is-current { border-top-color: var(--brand); color: var(--ink); }
.stepper li.is-done { border-top-color: var(--ink); color: var(--ink); }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; }
.pick:has(input:checked) { border-color: var(--brand); background: #fff7f2; }
.pick input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.days, .hours-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 8px; }
.hours-pick:empty { display: none; }
.day { min-height: 48px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: 500 .95rem/1.2 var(--font-body); color: var(--ink); cursor: pointer; }
.day:hover { border-color: var(--brand); }
.day[aria-pressed="true"], .hours-pick .slot[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.recap { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ident { display: grid; gap: 14px; }
.funnel__nav { justify-content: space-between; }
.funnel__nav [data-next] { margin-left: auto; }
.steps-mini { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* Espace client (compte.html) */
.notice { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius); background: #ecf7ef; color: #14532d; font-weight: 500; }
.mine { display: grid; gap: 16px; align-content: start; }
.booking__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.booking { flex-direction: column; align-items: flex-start; }
.history summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.history .bookings { margin-top: 8px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.badge--a_confirmer { background: #fff1e6; color: #9a3412; }
.badge--confirme { background: #e7f6ec; color: #166534; }
.badge--realise { background: #eef0f2; color: #3f4650; }
.badge--refuse, .badge--annule { background: #fdecec; color: #991b1b; }

/* Espace garage (garage.html), sur le modèle de Vroomly Pro */
.g-body { background: var(--soft); }
.g-login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.g-login__card { width: min(100%, 24rem); justify-items: stretch; }
.g-login__card h1 { font-size: 1.6rem; }
.g-login__logo { background: var(--dark); border-radius: var(--radius-sm); padding: 10px; justify-self: start; }
.g-app { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
.g-side { background: var(--dark); color: #fff; display: flex; flex-direction: column; gap: 4px; padding: 20px 12px; position: sticky; top: 0; height: 100vh; }
.g-side__logo { margin: 0 8px 20px; }
.g-side__fill { flex: 1; }
.g-nav { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); background: none; color: #d6d8db; font: 500 .98rem/1 var(--font-body); text-align: left; text-decoration: none; cursor: pointer; }
.g-nav:hover { background: #24262a; color: #fff; }
.g-nav[aria-pressed="true"] { background: #2c2f34; color: #fff; }
.g-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; }
.g-main { padding: 24px; min-width: 0; }
.g-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.g-bar__fill { flex: 1; }
.g-title { font-size: 1.35rem; margin: 0 6px; }
.g-arrow { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.g-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.g-cal-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.g-cal { display: grid; grid-template-columns: 52px repeat(6, minmax(120px, 1fr)); min-width: 780px; }
.g-cal__hours { border-right: 1px solid var(--line); }
.g-cal__corner, .g-cal__head { height: 56px; border-bottom: 1px solid var(--line); }
.g-cal__hour { height: var(--hour); padding: 4px 6px 0 0; text-align: right; font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.g-cal__day { border-right: 1px solid var(--line); min-width: 0; }
.g-cal__day:last-child { border-right: 0; }
.g-cal__head { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .85rem; color: var(--muted); text-transform: capitalize; }
.g-cal__head b { font-size: 1.1rem; color: var(--ink); }
.g-cal__day.is-today .g-cal__head b { background: var(--brand); color: #fff; border-radius: 999px; padding: 0 8px; }
.g-cal__body { position: relative; height: calc(var(--rows) * var(--hour)); background: repeating-linear-gradient(to bottom, #f1f2f4 0, #f1f2f4 var(--hour), #eceef0 var(--hour), #eceef0 calc(var(--hour) + 1px)); }
.g-cal__open { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(to bottom, var(--paper) 0, var(--paper) calc(var(--hour) - 1px), var(--line) calc(var(--hour) - 1px), var(--line) var(--hour)); }
.g-ev { position: absolute; left: 4px; right: 4px; display: grid; align-content: start; gap: 2px; padding: 6px 8px; border: 0; border-left: 4px solid; border-radius: 8px; text-align: left; font: 500 .8rem/1.25 var(--font-body); overflow: hidden; cursor: pointer; }
.g-ev b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-ev span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-ev--a_confirmer { background: #fff1e6; border-color: var(--brand); color: #7c2d12; }
.g-ev--confirme { background: #e7f6ec; border-color: #16a34a; color: #14532d; }
.g-ev--realise { background: #eef0f2; border-color: #9aa1a9; color: #3f4650; }
.g-tabs { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.g-tabs button { padding: 0 16px; }
.g-month { margin-bottom: 16px; display: grid; gap: 12px; }
.g-month__title { font-size: 1.2rem; }
.g-table-wrap { overflow-x: auto; }
.g-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--paper); }
.g-table th, .g-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.g-table th { color: var(--muted); font-weight: 500; font-size: .85rem; }
.g-body .sheet .row { margin-top: 4px; }


/* Page de démo (demo.html) */
.demo-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 12px; }
.demo-link { display: grid; gap: 6px; padding: 18px; text-align: left; text-decoration: none; color: var(--ink); font: inherit; cursor: pointer; }
.demo-link:hover { border-color: var(--brand); }


/* Ajouts : horaire proposé, jours fermés, vue Aujourd'hui, véhicules enregistrés */
.badge--propose { background: #eef2ff; color: #3730a3; }
.g-ev--propose { background: #eef2ff; border-color: #6366f1; color: #312e81; }
.proposal { width: 100%; display: grid; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: #eef2ff; color: #312e81; font-weight: 500; }
.g-cal__head { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; cursor: pointer; }
.g-cal__head:hover b { color: var(--brand); }
.g-cal__closed { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; background: repeating-linear-gradient(45deg, #f4f5f6, #f4f5f6 10px, #eceef0 10px, #eceef0 20px); color: var(--muted); font-weight: 600; font-size: .9rem; }
.g-warn { color: #9a3412; font-weight: 500; }
.g-closures { display: grid; gap: 14px; max-width: 48rem; }
.g-closure-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: end; }
.g-closure-form label { display: grid; gap: 6px; font-weight: 500; }
.g-closure-form input { min-height: 48px; padding: 10px 12px; border: 1px solid #c9ccd1; border-radius: var(--radius-sm); font: inherit; }
.g-daylist { max-width: 52rem; }
.g-dayitem { background: var(--paper); }
.g-propose { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.saved { display: grid; gap: 8px; }
.home-rdv { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px 18px; border-radius: var(--radius); background: #e7f6ec; color: #14532d; font-weight: 500; }
.home-rdv--propose { background: #eef2ff; color: #312e81; }
.home-rdv--a_confirmer { background: #fff1e6; color: #7c2d12; }


/* Pages prestations */
.h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.prest__others { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.prest__others a { color: var(--ink); }

/* Mentions légales */
.legal { padding: 48px 0 72px; }
.legal .container { width: min(100% - 32px, 46rem); margin-inline: auto; display: grid; gap: 12px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 12px; }

/* Tablette et téléphone */
@media (max-width: 59.99rem) {
  .top__nav { display: none; }
  .top__account { margin-left: auto; }
  .top__me + .top__account { margin-left: 0; }
  .hero { padding: 32px 0 48px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__photo { order: -1; aspect-ratio: 16 / 10; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pane { display: none; }
  .job[aria-pressed="true"] { background: transparent; color: var(--ink); }
  .job { border: 1px solid var(--line); background: var(--paper); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .access { grid-template-columns: minmax(0, 1fr); }
  .acc__grid { grid-template-columns: minmax(0, 1fr); }
  .g-app { grid-template-columns: minmax(0, 1fr); }
  .g-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 10px; }
  .g-side__logo { width: 100px; margin: 0 8px 0 0; }
  .g-side__fill { display: none; }
  .g-main { padding: 16px; }
  .g-closure-form { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 260px; }
}
@media (max-width: 39.99rem) {
  .band { padding: 48px 0; }
  .top__inner { min-height: 60px; }
  .top__logo img { width: 120px; }
  body:not(.account-page) .top__account:not(.top__me) { display: none; } /* la barre du bas a déjà le bouton Rendez-vous */
  .top__me { margin-left: auto; }
  .hero__cta .btn { flex: 1 1 100%; }
  .scores { width: 100%; }
  .score { flex: 1; min-width: 0; }
  .jobs, .cols, .book-form__row { grid-template-columns: minmax(0, 1fr); }
  .picks { grid-template-columns: minmax(0, 1fr); }
  .stepper li { font-size: 0; }
  .stepper li.is-current { font-size: .85rem; }
  .recap { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .recap dd { margin-bottom: 8px; }
  .slots li:nth-child(n+5) { display: none; }
  .gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
  .gallery__big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10 !important; }
  .card { padding: 20px; }
  .review { width: 290px; }
  body { padding-bottom: 72px; }
  .actionbar { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .actionbar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
  .actionbar__main { background: var(--brand); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__track [aria-hidden="true"], [data-marquee-toggle] { display: none; }
}
[data-home-rdv] { margin-top: 16px; }

/* Sur ordinateur : des boutons de site web, plus discrets (le mobile garde ses gros boutons faciles à toucher). */
@media (min-width: 60rem) {
  .btn { min-height: 42px; padding: 0 18px; border-width: 1px; border-radius: 6px; font-size: .95rem; letter-spacing: .01em; }
  .btn--small { min-height: 34px; padding: 0 12px; font-size: .88rem; }
  .btn--line { border-color: #c9ccd1; }
  .top__account { min-height: 36px; padding: 0 14px; font-size: .9rem; }
  .app { min-height: 38px; padding: 0 12px; border-radius: 6px; font-size: .95rem; }
  .hero__cta { gap: 10px; }
  .slot, .day { min-height: 42px; border-radius: 6px; }
  .job { min-height: 42px; border-radius: 6px; }
  .pick { min-height: 42px; border-radius: 6px; }
  .acc__tabs button { min-height: 42px; }
  .badge { min-height: 22px; padding: 0 8px; font-size: .8rem; border-radius: 4px; }
  .sheet__close { width: 36px; height: 36px; border-radius: 6px; font-size: 1.3rem; }
  .linkbtn { min-height: 0; }
  .g-nav { min-height: 38px; border-radius: 6px; font-size: .95rem; }
  .g-arrow { width: 34px; height: 34px; border-radius: 6px; }
}
