/* Écran : vitrine — site public (lot M7) : en-tête et pied du site, accueil (accroche, formule mise en avant, formules,
   étapes, points forts, avant / après, avis, zone, FAQ, appel final), page d'avis, harmonisation des autres pages
   publiques (titres, écrans de confirmation). Réutilise les tokens de app.css ; les seuls tokens ajoutés sont préfixés
   --vt- (typographie de vitrine, étoiles, couture).
   Signature visuelle : la « couture » (surpiqûre en pointillés, comme sur une sellerie) — contour intérieur de la
   formule mise en avant, fil qui relie les trois étapes, anneau des écrans de confirmation. Rien d'autre n'est décoré.
   Mouvement : seul le prix de la formule change en réponse à un choix de taille (fondu court), coupé si l'appareil
   demande moins d'animations. */

:root {
    --vt-display: 700 clamp(38px, 8.6vw, 64px)/1.04 var(--font);
    --vt-h2: 700 clamp(28px, 5.2vw, 40px)/1.1 var(--font);
    --vt-lead: 400 clamp(17px, 2.3vw, 21px)/1.45 var(--font);
    --vt-track: -0.022em;
    --vt-track-tight: -0.03em;
    --vt-star: #c77700;                                   /* ≥ 3:1 sur #fff et #f2f2f7 (élément graphique) */
    --vt-stitch: color-mix(in srgb, var(--brand) 55%, transparent);
    --vt-radius-feature: 28px;
    --vt-lift: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 48px -18px rgba(0, 0, 0, .22);
    --vt-on-white-brand: color-mix(in srgb, var(--brand) 82%, #000);   /* texte de marque sur bouton blanc */
}
@media (prefers-color-scheme: dark) {
    :root {
        --vt-star: #ffcc00;
        --vt-stitch: color-mix(in srgb, var(--brand) 70%, transparent);
        --vt-lift: 0 0 0 .5px rgba(255, 255, 255, .1);
    }
}

/* ---------- Accès clavier ---------- */

.public .skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--elevated); color: var(--brand-text); padding: 10px 14px; border-radius: var(--radius-sm); box-shadow: var(--shadow-float); }
.public .skip-link:focus { left: max(8px, env(safe-area-inset-left)); }
.public main:focus { outline: none; }

/* ---------- En-tête du site ---------- */

.site-nav { gap: 2px; }
.site-nav a.site-nav__link { display: none; align-items: center; gap: 6px; min-height: var(--hit); padding: 0 10px; border-radius: var(--radius-sm); color: var(--label); font: var(--t-sub); text-decoration: none; }
.site-nav a.site-nav__link[aria-current] { color: var(--brand-text); }
.site-nav a.site-nav__account { display: inline-flex; min-width: var(--hit); justify-content: center; padding: 0 8px; }
.site-nav__account .icon { width: 20px; height: 20px; }
.site-nav__account span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-nav .site-nav__cta { margin-left: 4px; }
.site-nav__cta-long { display: none; }
@media (min-width: 420px) {
    .site-nav__cta-long { display: inline; }
    .site-nav__cta-short { display: none; }
}
@media (min-width: 760px) {
    .site-nav a.site-nav__link { display: inline-flex; }
    .site-nav__account .icon { display: none; }
    .site-nav__account span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 380px) { .logo__text { font-size: 15px; } }
@media (hover: hover) and (pointer: fine) { .site-nav a.site-nav__link:hover { background: var(--fill); text-decoration: none; } }

/* ---------- Pied du site ---------- */

.site-footer { margin-top: 0; padding-top: 32px; background: var(--bg); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.site-footer__brand strong { font: var(--t-headline); }
.site-footer__brand p { font: var(--t-sub); margin-top: 4px; max-width: 26em; }
.site-footer__col { display: flex; flex-direction: column; }
.site-footer__title { font: 600 13px/18px var(--font); color: var(--label); margin: 0 0 2px; }
.site-footer__col a, .site-footer__col span { display: flex; align-items: center; min-height: var(--hit); font: var(--t-sub); color: var(--label-2); overflow-wrap: anywhere; }
.site-footer__col a { color: var(--brand-text); }
.site-footer__legal { margin-top: 16px; padding-top: 16px; border-top: var(--hairline) solid var(--separator); line-height: 1.8; }
.site-footer__legal a { display: inline-block; padding: 4px 0; }
@media (min-width: 800px) {
    .site-footer__inner { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
    .site-footer__col a, .site-footer__col span { min-height: 32px; }
}

/* ---------- Contrastes du site public (AA) ----------
   Liens dans un texte : soulignés (jamais la couleur seule). Boutons gris par défaut (texte teinte sur remplissage
   gris) : en clair, texte teinte assombri pour atteindre 4,5:1 (4,3:1 avant) ; bouton destructif gris idem. */
.public main :is(p, li, .section__foot, .footnote, .field__hint, .alert) a:not(.btn):not(.item):not(.pro-link):not(.vt-proof__rating):not(.vt-google__link),
.public .auth__foot a, .public .legal-doc a {
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
}
@media not (prefers-color-scheme: dark) {
    .public .btn:not(.btn--brand, .btn--success, .btn--white, .btn--tinted, .btn--plain, .btn--danger, .btn--gray, .vt-cta__btn, .vt-cta__call) { color: var(--vt-on-white-brand); }
    .public .btn.btn--danger:not(.btn--plain) { color: color-mix(in srgb, var(--red) 82%, #000); }
}

/* ---------- Titres des autres pages publiques (même langage que la vitrine) ---------- */

.public :is(.bk-head h1, .account__head h1, .legal-head h1, .auth__head h1, .done-hero h1, .error-page h1) { letter-spacing: var(--vt-track); text-wrap: balance; }
.public .pro-hero h1 { letter-spacing: var(--vt-track); }
.public .done-hero h1 { font: 700 clamp(28px, 6vw, 34px)/1.15 var(--font); letter-spacing: var(--vt-track); }
/* Écrans de confirmation (réservation, devis, avenant, paiement, déplacement) : la pastille reçoit l'anneau cousu */
.public .done-hero__check { position: relative; }
.public .done-hero__check::after {
    content: ""; position: absolute; inset: -7px; border-radius: 50%;
    border: 1.5px dashed color-mix(in srgb, currentColor 45%, transparent); pointer-events: none;
}
.public .done-hero__check:not([class*="--"])::after { border-color: color-mix(in srgb, var(--green) 55%, transparent); }

/* ---------- Structure des sections de l'accueil ---------- */

.home > main { background: var(--bg); }
.vt-section { padding: 56px 0; }
.vt-section--plain { background: var(--surface); }
@media (min-width: 900px) { .vt-section { padding: 88px 0; } }
.vt-head { max-width: 44em; margin: 0 0 28px; }
.vt-head h2 { font: var(--vt-h2); letter-spacing: var(--vt-track); text-wrap: balance; margin: 0; }
.vt-head p { font: var(--vt-lead); color: var(--label-2); margin: 10px 0 0; }
.vt-foot { font: var(--t-foot); color: var(--label-2); margin: 12px 0 0; }
@media (min-width: 900px) { .vt-head { margin-bottom: 40px; } }

/* ---------- Accroche ---------- */

.vt-hero { padding: 28px 0 48px; }
.vt-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.vt-hero h1 { font: var(--vt-display); letter-spacing: var(--vt-track-tight); text-wrap: balance; max-width: 11.5em; }
.vt-hero__lead { font: var(--vt-lead); color: var(--label-2); margin: 16px 0 24px; max-width: 30em; }
.vt-hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.vt-hero__actions .btn { white-space: normal; }
@media (min-width: 480px) { .vt-hero__actions { display: flex; flex-wrap: wrap; } .vt-hero__actions .btn { min-width: 190px; } }
.vt-proof { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font: var(--t-sub); color: var(--label-2); }
.vt-proof li { display: flex; align-items: center; min-height: var(--hit); gap: 8px; }
.vt-proof__rating { display: inline-flex; align-items: center; gap: 6px; color: var(--label); min-height: var(--hit); }
.vt-proof__rating strong { font-weight: 600; }
.vt-proof__next .dot { color: var(--green); }
@media (min-width: 960px) {
    .vt-hero { padding: 64px 0 88px; }
    .vt-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
    .vt-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
}

.stars { display: inline-flex; gap: 1px; color: var(--vt-star); flex: none; }
.stars svg { display: block; }

/* ---------- Formule mise en avant (la couture) ---------- */

.vt-feature {
    position: relative; isolation: isolate;
    padding: 28px 24px 24px; border-radius: var(--vt-radius-feature);
    background: var(--surface); box-shadow: var(--vt-lift);
}
.vt-feature::before {
    content: ""; position: absolute; inset: 9px; z-index: -1; pointer-events: none;
    border: 1.5px dashed var(--vt-stitch); border-radius: calc(var(--vt-radius-feature) - 9px);
}
@media (min-width: 700px) { .vt-feature { padding: 36px 36px 32px; } }
.vt-feature__badge {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 12px;
    border-radius: var(--radius-pill); background: var(--brand-tinted); color: var(--brand-text); font: 600 13px/18px var(--font);
}
.vt-feature__badge .icon { width: 14px; height: 14px; }
.vt-feature__name { font: 700 clamp(26px, 5vw, 30px)/1.15 var(--font); letter-spacing: var(--vt-track); }
.vt-feature__pitch { font: var(--t-body); color: var(--label-2); margin: 8px 0 0; line-height: 1.45; }
.vt-feature__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: 20px 0 4px; }
.vt-feature__from { font: var(--t-body); color: var(--label-2); }
.vt-feature__price strong { font: 700 clamp(48px, 12vw, 60px)/1 var(--font); letter-spacing: var(--vt-track-tight); font-variant-numeric: tabular-nums; }
.vt-feature__vat { font: var(--t-sub); color: var(--label-2); }
.vt-feature__for { flex-basis: 100%; font: var(--t-sub); color: var(--label-2); margin-top: 6px; min-height: 20px; }
.vt-feature__price--text { font: var(--t-title2); letter-spacing: var(--vt-track); }
.vt-feature__price.is-changing strong { animation: vt-price 220ms var(--ease-out); }
@keyframes vt-price { from { opacity: .2; transform: translateY(4px); } }

.vt-sizes { border: 0; margin: 14px 0 0; padding: 0; min-width: 0; }
/* Choix de la taille (tous les styles, [data-feature-sizes]) : visible dès le premier affichage quand JavaScript est
   actif (classe « js » posée en tête de page), sans attendre que home.js le révèle — l'accroche ne bouge pas (lot Q4) ;
   sans JavaScript, il reste masqué (hidden) */
.js [data-feature-sizes][hidden] { display: block !important; }
.vt-sizes__legend { padding: 0; margin: 0 0 8px; font: var(--t-foot); color: var(--label-2); }
.vt-sizes__list { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-size { position: relative; }
.vt-size input { position: absolute; opacity: 0; pointer-events: none; }
.vt-size span {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill);
    background: var(--fill); color: var(--label); font: 500 15px/20px var(--font); cursor: pointer; user-select: none; -webkit-user-select: none;
    transition: background-color var(--t-fast) var(--ease-std), color var(--t-fast) var(--ease-std);
}
.vt-size span::after { content: ""; position: absolute; inset: -4px -2px; }
.vt-size input:checked + span { background: var(--label); color: var(--surface); }
.vt-size input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.vt-feature__list { list-style: none; margin: 20px 0 0; padding: 0; font: var(--t-sub); }
.vt-feature__list li { position: relative; display: flex; gap: 10px; padding: 9px 0; }
.vt-feature__list li + li::before { content: ""; position: absolute; top: 0; left: 28px; right: 0; border-top: var(--hairline) solid var(--separator); }
.vt-feature__list .icon { flex: none; color: var(--green); margin-top: 1px; }
.vt-feature__meta { display: flex; align-items: center; gap: 6px; font: var(--t-sub); color: var(--label-2); margin: 12px 0 20px; }
.vt-feature__meta .icon { width: 16px; height: 16px; }
.vt-feature .btn { white-space: normal; }

/* ---------- Formules : tableau simple ---------- */

.vt-compare { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: thin; }
.vt-compare:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.vt-table { width: 100%; min-width: 100%; border-collapse: separate; border-spacing: 0; font: var(--t-sub); }
.vt-table--2, .vt-table--1 { min-width: 0; }
.vt-table--3 { min-width: 560px; }
.vt-table--4, .vt-table--5, .vt-table--6 { min-width: 760px; }
.vt-table th, .vt-table td { padding: 14px 10px; text-align: left; vertical-align: top; border-top: var(--hairline) solid var(--separator); }
.vt-table thead th, .vt-table thead td, .vt-table tfoot td { border-top: 0; }
.vt-table th[scope="row"] {
    width: 26%; min-width: 92px; font: 600 15px/20px var(--font); color: var(--label);
    position: sticky; left: 0; z-index: 1; background: var(--surface);
}
.vt-table__plan { vertical-align: bottom !important; padding-bottom: 12px !important; }
.vt-table__name { display: block; font: 700 clamp(17px, 2.4vw, 20px)/1.2 var(--font); letter-spacing: -0.01em; color: var(--label); }
/* Badge de la formule mise en avant (texte libre de l'entreprise) : étiquette à coins arrondis, pas une pilule — sur
   téléphone il passe souvent sur deux lignes dans une colonne étroite (« Notre / recommandation »), lignes équilibrées */
.vt-table__badge {
    display: inline-block; max-width: 100%; margin-top: 6px; padding: 2px 8px; border-radius: var(--radius-xs);
    background: var(--brand); color: var(--on-brand); font: 600 12px/16px var(--font); text-wrap: balance; overflow-wrap: break-word;
}
@media (max-width: 420px) { .vt-table__badge { padding: 2px 6px; font-size: 11px; line-height: 14px; } }
.vt-cell small, .vt-table__price small { display: block; color: var(--label-2); font: var(--t-foot); margin-top: 2px; }
.vt-cell__mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); color: var(--green); vertical-align: -5px; margin-right: 6px; }
.vt-cell__mark .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.vt-cell__state { font-weight: 600; color: var(--label); }
/* « Au choix » (À la carte) : simple état, pas un lien — jamais la teinte, réservée à ce qui se touche */
.vt-cell--choice .vt-cell__state { color: var(--label); font-weight: 500; }
.vt-cell__none { color: var(--label-2); }
.vt-cell__dur { color: var(--label-2); }
.vt-price { display: inline-flex; align-items: baseline; gap: 4px; }
.vt-price small { display: inline; margin: 0; font: var(--t-sub); color: var(--label-2); }
.vt-price strong { font: 700 28px/1.1 var(--font); letter-spacing: var(--vt-track-tight); }
.vt-price--text { font: 600 17px/22px var(--font); color: var(--label); }
.vt-table .is-featured { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.vt-table thead .is-featured { border-radius: 18px 18px 0 0; }
.vt-table tfoot .is-featured { border-radius: 0 0 18px 18px; }
.vt-table tfoot td { padding-top: 16px; padding-bottom: 16px; }
.vt-table tfoot .btn { white-space: normal; min-height: var(--hit); }
@media (min-width: 700px) { .vt-table th, .vt-table td { padding: 16px 18px; } .vt-table th[scope="row"] { width: 22%; } }
@media (max-width: 420px) {
    .vt-table th, .vt-table td { padding: 12px 8px; }
    .vt-table th[scope="row"] { min-width: 84px; font-size: 14px; }
    .vt-cell__mark { margin-right: 2px; }
    .vt-price strong { font-size: 24px; }
}

/* Tarifs détaillés (repliés) */
.vt-details { margin-top: 32px; }
.vt-details > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px;
    border-radius: var(--radius); background: var(--bg); color: var(--label); font: var(--t-headline);
    cursor: pointer; list-style: none; user-select: none; -webkit-user-select: none;
}
.vt-details > summary::-webkit-details-marker { display: none; }
.vt-details > summary::after {
    content: ""; flex: none; width: 9px; height: 9px; border: solid var(--brand-text); border-width: 2px 2px 0 0;
    transform: rotate(135deg) translate(-2px, 2px); transition: transform var(--t-fast) var(--ease-out);
}
.vt-details[open] > summary::after { transform: rotate(-45deg) translate(-1px, 2px); }
.vt-details__body { padding-top: 20px; margin-top: 0; }
.vt-details .group, .vt-details .table-wrap { background: var(--bg); box-shadow: none; }
.vt-details .price-grid th[scope="row"] { background: transparent; }
.home-tarifs__extra { margin-top: 20px; }
@media (hover: hover) and (pointer: fine) { .vt-details > summary:hover { background: var(--fill-2); } }

/* ---------- Comment ça marche : trois étapes reliées par la couture ---------- */

.vt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; counter-reset: none; }
.vt-step { position: relative; padding-left: 60px; }
.vt-step__num {
    position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); color: var(--brand-text); font: 700 17px/1 var(--font); box-shadow: inset 0 0 0 1.5px var(--brand);
}
.vt-step:not(:last-child)::after {
    content: ""; position: absolute; left: 19px; top: 48px; bottom: -22px; border-left: 1.5px dashed var(--vt-stitch);
}
.vt-step h3 { font: var(--t-title3); letter-spacing: -0.01em; margin: 8px 0 6px; }
.vt-step p { font: var(--t-body); color: var(--label-2); margin: 0; line-height: 1.45; max-width: 26em; }
@media (min-width: 800px) {
    .vt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
    .vt-step { padding-left: 0; padding-top: 60px; }
    .vt-step:not(:last-child)::after { left: 52px; right: -24px; top: 20px; bottom: auto; border-left: 0; border-top: 1.5px dashed var(--vt-stitch); }
}

/* ---------- Pourquoi nous ---------- */

.vt-reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 32px; }
@media (min-width: 640px) { .vt-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vt-reasons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vt-reason { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
.vt-reason__icon { grid-row: span 2; }
.vt-reason h3 { margin-top: 0 !important; }
@media (min-width: 640px) { .vt-reason { display: block; } .vt-reason h3 { margin-top: 14px !important; } }
.vt-reason__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tinted); color: var(--brand-text); }
.vt-reason h3 { font: var(--t-headline); margin: 14px 0 4px; }
.vt-reason p { font: var(--t-sub); color: var(--label-2); margin: 0; line-height: 1.45; }

/* ---------- Avant / après ---------- */

.vt-ba { max-width: 880px; }
.vt-ba .ba { border-radius: 22px; }
.vt-ba .ba-seg { margin-top: 12px; }
.vt-ba .ba input[type=range]:focus-visible { opacity: 0; }
.vt-ba .ba:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Avis ---------- */

.vt-google { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 28px; }
.vt-google__score { margin: 0; }
.vt-google__score strong { font: 700 64px/1 var(--font); letter-spacing: var(--vt-track-tight); }
.vt-google__meta p { margin: 4px 0 0; font: var(--t-sub); color: var(--label-2); }
.vt-google__link { display: inline-flex; align-items: center; min-height: var(--hit); font: var(--t-sub); font-weight: 600; }
.vt-google__attr { flex-basis: 100%; margin: 0; font: var(--t-cap); color: var(--label-2); }
.vt-reviews {
    position: relative; list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.vt-reviews::-webkit-scrollbar { display: none; }
/* Bandeau qui défile de côté (téléphone) : focalisable au clavier (tabindex, flèches ; home.js le retire quand il ne
   déborde pas), contour à l'intérieur (le bandeau touche les bords de l'écran) */
.vt-reviews:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
@media (min-width: 700px) {
    .vt-reviews { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); overflow: visible; }
}
.vt-review { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; padding: 20px; border-radius: 20px; background: var(--bg); }
.vt-review__rating { margin: 0 0 10px; }
.vt-review__text { margin: 0; flex: 1; }
.vt-review__text p { margin: 0; font: var(--t-body); line-height: 1.45; color: var(--label); }
.vt-review__author { margin: 14px 0 0; font: var(--t-headline); }
.vt-review__author a { color: var(--label); text-decoration: underline; text-decoration-color: var(--separator); text-underline-offset: 3px; }
.vt-review__meta { margin: 2px 0 0; font: var(--t-foot); color: var(--label-2); }
.vt-note { margin-top: 20px; font: var(--t-foot); color: var(--label-2); }
.vt-note > summary { display: inline-flex; align-items: center; min-height: var(--hit); cursor: pointer; color: var(--brand-text); }
.vt-note p { margin: 4px 0 0; max-width: 60em; line-height: 1.5; }
.vt-note p + p { margin-top: 8px; }

/* ---------- Zone d'intervention ---------- */

.vt-zone { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; }
.vt-zone__map {
    height: min(320px, 60vw); min-height: 220px; border-radius: 22px; overflow: hidden; background: var(--fill);
    position: relative; isolation: isolate;
}
.vt-zone__map.is-unavailable { display: none; }
.vt-zones { list-style: none; margin: 20px 0 0; padding: 0; }
.vt-zones li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; }
.vt-zones li + li { border-top: var(--hairline) solid var(--separator); }
.vt-zones__name { flex: 1; min-width: 0; font: var(--t-body); }
.vt-zones__name small { display: block; font: var(--t-foot); color: var(--label-2); }
.vt-zones strong { font: 600 17px/22px var(--font); white-space: nowrap; }
.vt-zones__out .vt-zones__name { padding-left: 24px; color: var(--label-2); }
.vt-zones__out strong { color: var(--label-2); font-weight: 400; }
.vt-zones__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--vt-zone, var(--brand)); }
.vt-zones__dot--0 { --vt-zone: var(--green); }
.vt-zones__dot--1 { --vt-zone: var(--blue); }
.vt-zones__dot--2 { --vt-zone: var(--orange); }
.vt-zones__dot--3 { --vt-zone: var(--purple); }
.vt-zones__dot--4 { --vt-zone: var(--teal); }
.vt-zones__dot--5 { --vt-zone: var(--pink); }
.vt-zone__flat { font: var(--vt-lead); margin: 0; }
@media (min-width: 900px) {
    .vt-zone { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "head head" "map list" "map foot"; align-items: start; }
    .vt-zone > .vt-head { grid-area: head; }
    .vt-zone__map { grid-area: map; height: 380px; }
    .vt-zones { grid-area: list; margin-top: 0; }
    .vt-zone > .vt-foot { grid-area: foot; }
    .vt-zone--flat { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
}
/* Entreprise qui reçoit dans ses locaux (mobile_service = 0) : adresse, itinéraire, horaires (_shared/shop.php) */
.vt-shop { max-width: 40em; }
.vt-shop__address { font: var(--vt-lead); font-style: normal; margin: 0; }
.vt-shop__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.vt-shop__hours { margin: 32px 0 0; }
.vt-shop__title { font: var(--t-headline); margin: 0 0 8px; }
.vt-shop__hours dl { margin: 0; }
.vt-shop__hours dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 16px; min-height: 44px; align-items: center; padding: 8px 0; }
.vt-shop__hours dl > div + div { border-top: var(--hairline) solid var(--separator); }
.vt-shop__hours dt { font: var(--t-body); }
.vt-shop__hours dd { margin: 0; font: var(--t-body); color: var(--label-2); font-variant-numeric: tabular-nums; }
.vt-zone__map .leaflet-container, .vt-zone__map.leaflet-container { font: var(--t-foot); }
/* Attribution de la carte des zones (© OpenStreetMap, obligatoire et lisible), la même pour tous les styles de
   l'accueil : fond presque opaque et liens de couleur fixe, jamais ceux du thème (texte ≥ 4,5:1 même sur une tuile
   noire ou blanche, tests/themes_all_ui.js). Écartée du coin : l'arrondi de la carte (jusqu'à 35 px) ne coupe plus la
   fin de « OpenStreetMap ». Un style sombre règle --vt-map-attr-bg / -ink / -link (Showroom). */
.vt-zone__map .leaflet-control-attribution {
    margin: 0 8px 8px 0; padding: 1px 7px; border-radius: 8px; font: 400 12px/16px var(--font);
    background: var(--vt-map-attr-bg, rgba(255, 255, 255, .9)); color: var(--vt-map-attr-ink, #3a3a3c);
}
.vt-zone__map .leaflet-control-attribution a[href] { color: var(--vt-map-attr-link, #0a5a8a); text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) {
    /* Classique (grille .vt-zone) : carte assombrie comme celles des autres pages (travel.css, absent de l'accueil allégé) */
    .vt-zone .vt-zone__map .leaflet-tile-pane { filter: brightness(.62) invert(1) contrast(1.05) hue-rotate(200deg) saturate(.35) brightness(.9); }
    .vt-zone .vt-zone__map { --vt-map-attr-bg: rgba(28, 28, 30, .92); --vt-map-attr-ink: #c7c7cc; --vt-map-attr-link: #6fb6e8; }
}
.vt-zone__label { background: var(--surface); color: var(--label); border: 0; border-radius: var(--radius-pill); padding: 2px 8px; font: 600 12px/16px var(--font); box-shadow: var(--shadow-float); white-space: nowrap; }
.vt-zone__label::before { display: none; }

/* ---------- FAQ ---------- */

.vt-faq__list { max-width: 820px; }
.vt-faq__list { border-top: var(--hairline) solid var(--separator); }
.vt-faq__item { border-bottom: var(--hairline) solid var(--separator); }
.vt-faq__item > summary {
    position: relative; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 14px 36px 14px 0;
    font: 600 17px/22px var(--font); cursor: pointer; list-style: none;
}
.vt-faq__item > summary::-webkit-details-marker { display: none; }
.vt-faq__item > summary::before, .vt-faq__item > summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--brand-text);
    transition: transform var(--t-fast) var(--ease-out);
}
.vt-faq__item > summary::after { transform: rotate(90deg); }
.vt-faq__item[open] > summary::after { transform: rotate(0deg); }
.vt-faq__item p { margin: 0; padding: 0 36px 20px 0; font: var(--t-body); line-height: 1.5; color: var(--label-2); max-width: 44em; }
.vt-faq__item p a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Appel final ---------- */

.vt-cta { background: var(--brand); color: var(--on-brand); padding: 64px 0; }
.vt-cta__inner h2 { font: var(--vt-h2); letter-spacing: var(--vt-track); margin: 0; color: inherit; text-wrap: balance; }
.vt-cta__inner p { font: var(--vt-lead); margin: 10px 0 24px; color: var(--on-brand); max-width: 32em; }
.vt-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-cta .btn { min-width: 200px; }
.vt-cta__btn { background: #fff; color: var(--vt-on-white-brand); }
.vt-cta__call { background: transparent; color: var(--on-brand); box-shadow: inset 0 0 0 1.5px var(--on-brand); }
.vt-cta .btn:focus-visible { outline-color: #fff; }
@media (max-width: 479px) { .vt-cta__actions { display: grid; } .vt-cta .btn { min-width: 0; } }
@media (min-width: 900px) { .vt-cta { padding: 88px 0; } }

/* ---------- Encart « Vous êtes un professionnel ? » (accueil Classique) ----------
   Ici et non dans pro.css : l'accueil allégé (manifeste « lean ») ne charge pas les feuilles des autres pages. */
.home-pro { margin-top: 40px; }
.home-pro__card {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px;
    background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.home-pro__card > div { flex: 1 1 18em; min-width: 0; }
.home-pro__card h2 { font: var(--t-headline); margin: 0 0 2px; }
.home-pro__card p { font: var(--t-sub); color: var(--label-2); margin: 0; }
@media (max-width: 499px) { .home-pro__card .btn { width: 100%; } }
.home .home-pro { margin-top: 0; padding-top: 40px; padding-bottom: 48px; }

/* ---------- Page d'avis (/avis/{id}/{jeton}) ---------- */

.rv-page { padding-top: 24px; padding-bottom: 48px; }
.rv-head { margin: 8px 0 24px; }
.rv-head h1 { font: 700 clamp(28px, 6vw, 34px)/1.15 var(--font); letter-spacing: var(--vt-track); text-wrap: balance; }
.rv-head p { font: var(--t-body); color: var(--label-2); margin: 8px 0 0; }
.rv-stars { border: 0; margin: 0; padding: 12px 16px 16px; min-width: 0; }
.rv-stars legend { padding: 0; font: var(--t-foot); color: var(--label-2); margin-bottom: 6px; float: left; width: 100%; }
.rv-stars__row { clear: both; display: flex; gap: 2px; }
.rv-star { position: relative; }
.rv-star input { position: absolute; opacity: 0; pointer-events: none; }
.rv-star > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--label-2); cursor: pointer; border-radius: 12px; }
.rv-star svg { width: 36px; height: 36px; }
.rv-star path { fill: transparent; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: fill var(--t-fast) var(--ease-std); }
.rv-star input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: -2px; }
/* Étoiles jusqu'à la note choisie (ordre du document 1 → 5 : flèches du clavier dans le sens de l'affichage) ;
   non choisies : contour en label-2 (≥ 4,5:1), jamais une étoile pâle illisible */
.rv-star:has(input:checked) > span, .rv-star:has(~ .rv-star input:checked) > span { color: var(--vt-star); }
.rv-star:has(input:checked) path, .rv-star:has(~ .rv-star input:checked) path { fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
    .rv-stars__row .rv-star:hover > span, .rv-stars__row .rv-star:has(~ .rv-star:hover) > span { color: var(--vt-star); }
}
.rv-stars__value { margin: 6px 0 0; font: var(--t-sub); color: var(--label-2); min-height: 20px; }
.rv-form .field-error { margin: 6px 16px 0; }
.rv-form .choice__title { display: block; }
.rv-submit { margin-top: 20px; }
.rv-done { background: var(--surface); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-card); }
.rv-done .done-hero__check { margin-bottom: 16px; }
.rv-done h1 { font: 700 clamp(26px, 6vw, 30px)/1.2 var(--font); letter-spacing: var(--vt-track); }
.rv-done p { margin: 10px auto 0; max-width: 30em; color: var(--label-2); }
.rv-done .btn { margin-top: 20px; }

/* ---------- Thèmes de l'accueil (lot Q5, lib/themes.php) : éléments communs à tous les thèmes ---------- */

/* Aperçu d'un style depuis la gestion (« /?apercu=1 ») : jamais sur la page publiée */
.theme-preview-pill {
    position: fixed; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 300; margin: 0; padding: 6px 12px;
    border-radius: var(--radius-pill); background: #fff; color: #000; font: 600 13px/18px var(--font);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35); pointer-events: none;
}
/* Logo envoyé (souvent foncé) sur l'en-tête ou le pied sombre d'un thème : posé sur une plaque blanche */
.logo__img--plate { background: #fff; border-radius: 8px; padding: 3px 6px; box-sizing: content-box; }
/* « Pause des animations » (partiel _shared/motion_toggle.php, WCAG 2.2.2) : bouton discret à bascule, couleur du texte
   autour ; affiché dès le premier écran quand JavaScript est actif (comme le choix de la taille : rien ne bouge quand
   home.js arrive). En pause (classe is-motion-paused sur <html>, posée en tête de page) : pastille teintée, icône
   « lecture ». Jamais affiché si l'appareil demande moins d'animations : rien ne bouge alors. */
.vt-motion {
    display: inline-flex; align-items: center; gap: 8px; min-height: var(--hit); margin: 12px 0 0; padding: 0 14px 0 12px;
    border: 0; border-radius: var(--radius-pill); background: transparent; color: inherit; font: 500 14px/1.2 var(--font);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 40%, transparent); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.js .vt-motion[hidden] { display: inline-flex !important; }
.vt-motion__icon { position: relative; width: 10px; height: 12px; flex: none; }
.vt-motion__icon::before, .vt-motion__icon::after { content: ""; position: absolute; top: 0; width: 3px; height: 12px; border-radius: 1px; background: currentColor; }
.vt-motion__icon::before { left: 1px; }
.vt-motion__icon::after { right: 1px; }
.is-motion-paused .vt-motion { background: color-mix(in srgb, currentColor 16%, transparent); }
.is-motion-paused .vt-motion__icon::before { left: 1px; width: 10px; border-radius: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.is-motion-paused .vt-motion__icon::after { display: none; }
@media (hover: hover) and (pointer: fine) { .vt-motion:hover { background: color-mix(in srgb, currentColor 10%, transparent); } }
@media (prefers-reduced-motion: reduce) { .vt-motion, .js .vt-motion[hidden] { display: none !important; } }

/* ---------- Accessibilité : mouvement, contraste ---------- */

@media (prefers-reduced-motion: reduce) {
    .vt-feature__price.is-changing strong { animation: none; }
    .vt-details > summary::after, .vt-faq__item > summary::after { transition: none; }
}
@media (prefers-contrast: more) {
    .vt-feature { box-shadow: 0 0 0 1px var(--separator-opaque); }
    .vt-review, .vt-details > summary { box-shadow: inset 0 0 0 1px var(--separator-opaque); }
    :root { --vt-stitch: var(--brand); }
}
@media print {
    .vt-cta, .vt-zone__map, .site-nav { display: none !important; }
}
