/* ==========================================================================
   HostInSmart — identité « Le direct » (proposition de marque)
   --------------------------------------------------------------------------
   Idée : « en direct » = sans intermédiaire ET en ce moment même.
   Système : le POINT (une personne, une date, un paiement) et la LIGNE DROITE
   entre deux points. Vert = direct. Corail = détour (frais, intermédiaire).
   Une seule famille de caractères + une mono pour les chiffres et les adresses.
   CSS autonome (préfixe hv-), mobile-first, sans dépendance Tailwind.
   ========================================================================== */

.hv {
    --ink: #0E1F18;            /* Encre : texte, boutons, sections graves */
    --go: #16DB7C;             /* Vert direct : la couleur de la marque */
    --paper: #FAF7F0;          /* Papier : fond */
    --sand: #EFE9DC;           /* Sable : surfaces secondaires */
    --detour: #FF6B4A;         /* Corail : le détour (frais, intermédiaire) */
    --detour-ink: #C5401F;     /* Corail lisible en petit texte */
    --white: #ffffff;
    --soft: rgba(14, 31, 24, .68);
    --line: rgba(14, 31, 24, .14);
    --r: 10px;                 /* rayon unique des surfaces ; seul le point est rond */
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --font: 'Bricolage Grotesque', 'Satoshi-Variable', system-ui, -apple-system, sans-serif;
    --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
:where(.hv) *, :where(.hv) *::before, :where(.hv) *::after { box-sizing: border-box; }
:where(.hv) img { max-width: 100%; display: block; }
:where(.hv) a { color: inherit; text-decoration: none; }
:where(.hv) :is(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
:where(.hv) button { font: inherit; cursor: pointer; color: inherit; }

.hv-wrap { width: min(1200px, 100% - 44px); margin-inline: auto; }
.hv-sec { padding: clamp(70px, 10vw, 140px) 0; position: relative; }
.hv-sec--ink { background: var(--ink); color: var(--paper); --soft: rgba(250, 247, 240, .72); --line: rgba(250, 247, 240, .2); }
.hv-sec--sand { background: var(--sand); }

/* ------------------------------------------------------------ Typographie */
.hv-h1, .hv-h2, .hv-h3 { font-weight: 800; letter-spacing: -.04em; line-height: .98; }
.hv-h1 { font-size: clamp(2.6rem, 5.7vw, 5.1rem); }
/* Le bandeau au-dessus du titre : « Nous créons » */
.hv-beam { display: inline-block; margin-bottom: clamp(12px, 1.4vw, 18px); padding: .3em .62em .34em; border-radius: var(--r); background: var(--go); color: var(--ink); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.75rem); letter-spacing: -.035em; line-height: 1; }
.hv-h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); max-width: 18ch; }
.hv-h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.035em; line-height: 1.02; }
.hv-p { font-size: clamp(1.05rem, 1.45vw, 1.2rem); font-weight: 450; max-width: 46ch; }
.hv-note { font-size: .95rem; color: var(--soft); max-width: 52ch; }
.hv-small { font-size: .84rem; color: var(--soft); max-width: 62ch; }
.hv-mono { font-family: var(--mono); letter-spacing: -.01em; }
.hv-head { margin-bottom: clamp(40px, 6vw, 80px); }
.hv-head .hv-p { margin-top: 20px; }
/* le mot souligné par la ligne directe */
.hv-u { background: linear-gradient(var(--go), var(--go)) 0 92% / 0 .14em no-repeat; transition: background-size .9s var(--ease) .3s; padding-bottom: .04em; }
.is-in .hv-u, .hv-u.is-in { background-size: 100% .14em; }

/* ------------------------------------------------------------ Le point */
.hv-dot { display: inline-block; flex: none; width: .62em; height: .62em; border-radius: 50%; background: var(--go); position: relative; vertical-align: .04em; }
.hv-dot--live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: hvLive 1.9s ease-out infinite; }
@keyframes hvLive { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(3.1); opacity: 0; } }
.hv-dot--ink { background: var(--ink); }
.hv-dot--detour { background: var(--detour); }
.hv-dot--off { background: none; box-shadow: inset 0 0 0 2px currentColor; }

/* ------------------------------------------------------------ Logotype : le « i » est une personne, sa tête est le point */
.hv-logo { display: inline-block; font-weight: 800; font-size: 1.42rem; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.hv-logo i { font-style: normal; position: relative; }
.hv-logo i::before { content: ''; position: absolute; left: 50%; top: .05em; width: .25em; height: .25em; margin-left: -.125em; border-radius: 50%; background: var(--go); }

/* ------------------------------------------------------------ Boutons et liens */
.hv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 17px 24px; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1rem; line-height: 1; transition: transform .25s var(--spring), background .25s, color .25s; }
.hv-btn:hover { background: var(--go); color: var(--ink); transform: translateY(-3px); }
.hv-btn:hover .hv-dot { background: var(--ink); }
.hv-btn--go { background: var(--go); color: var(--ink); }
.hv-btn--go .hv-dot { background: var(--ink); }
.hv-btn--go:hover { background: var(--paper); }
.hv-btn--sm { padding: 12px 16px; font-size: .92rem; white-space: nowrap; }
.hv-link { font-weight: 700; background: linear-gradient(var(--go), var(--go)) 0 100% / 100% 3px no-repeat; padding-bottom: 5px; transition: background-size .3s var(--ease); }
.hv-link:hover { background-size: 100% 100%; }

/* ------------------------------------------------------------ Révélations */
.hv [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.hv [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Nav */
.hv-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(20px, 4vw, 44px); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s; }
.hv-nav.is-stuck { box-shadow: 0 1px 0 var(--line); }
.hv-nav__links { display: none; gap: 30px; font-weight: 600; font-size: .95rem; }
.hv-nav__links a { background: linear-gradient(var(--go), var(--go)) 0 100% / 0 3px no-repeat; padding-bottom: 5px; transition: background-size .3s var(--ease); }
.hv-nav__links a:hover { background-size: 100% 3px; }
.hv-nav__end { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: .95rem; }
.hv-nav__login { display: none; }
@media (min-width: 940px) { .hv-nav__links { display: flex; } .hv-nav__login { display: inline; } }
@media (max-width: 939px) { .hv-nav__end { gap: 10px; } .hv-nav .hv-btn--sm { padding: 11px 13px; gap: 8px; } }
@media (max-width: 380px) { .hv-nav { padding-inline: 14px; } .hv-nav .hv-logo { font-size: 1.24rem; } .hv-nav .hv-btn--sm { font-size: .86rem; padding-inline: 11px; } }

/* menus déroulants de l'en-tête : langue (écran large), menu (petit écran) */
.hv-pop { position: relative; }
.hv-pop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; padding: 9px 6px; border-radius: 6px; user-select: none; }
.hv-pop > summary::-webkit-details-marker { display: none; }
.hv-pop--lang > summary::after { content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.hv-pop--lang[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.hv-pop__panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; display: grid; gap: 2px; padding: 8px; background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line), 0 24px 44px -20px rgba(14, 31, 24, .45); z-index: 60; }
.hv-pop__panel a { padding: 11px 12px; border-radius: 6px; font-weight: 600; }
.hv-pop__panel a:hover { background: var(--sand); }
.hv-pop__panel a[aria-current] { background: var(--ink); color: var(--paper); }
.hv-pop__langs { display: flex; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.hv-pop__langs a { flex: 1; text-align: center; padding: 9px 0; font: 500 .82rem var(--mono); }
.hv-burger { display: block; width: 22px; height: 11px; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; }
.hv-pop--lang { display: none; }
@media (min-width: 940px) { .hv-pop--lang { display: block; } .hv-pop--menu { display: none; } }

/* ------------------------------------------------------------ HERO */
.hv-hero { padding: clamp(30px, 5vw, 70px) 0 clamp(40px, 6vw, 80px); }
.hv-hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hv-hero__grid { grid-template-columns: 1fr 1.05fr; } }
.hv-hero .hv-p { margin-top: 24px; }
.hv-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.hv-hero .hv-small { margin-top: 24px; }
.hv-h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: hvWord .8s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 80ms); }
@keyframes hvWord { to { opacity: 1; transform: none; } }

/* le plateau vert : la couleur de la marque porte le produit */
.hv-plateau { position: relative; background: var(--go); border-radius: calc(var(--r) * 2); padding: clamp(22px, 3.4vw, 48px); }
.hv-win { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 50px -28px rgba(14, 31, 24, .55); }
.hv-win__bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(14, 31, 24, .1); font: 500 12px/1.2 var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; }
.hv-win__bar span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.hv-win__bar span:last-child { opacity: .5; }
.hv-win__view { position: relative; aspect-ratio: 3 / 2.05; overflow: hidden; background: var(--white); container-type: size; }
.hv-win__view > img { position: absolute; top: 0; left: 0; width: 100%; height: auto; will-change: transform; }

/* scène : un voyageur réserve, le propriétaire est payé */
.hv-scene { --dur: 13s; }
.hv-scene.play .hv-scene__page { animation: hvScenePage var(--dur) var(--ease) infinite; }
@keyframes hvScenePage { 0%, 14% { transform: translateY(0); } 26%, 92% { transform: translateY(-13.5%); } 100% { transform: translateY(0); } }
.hv-cursor { position: absolute; left: 46%; top: 104%; width: 26px; height: 26px; z-index: 4; opacity: 0; }
.hv-scene.play .hv-cursor { animation: hvCursor var(--dur) var(--ease) infinite; }
@keyframes hvCursor {
    0%, 26% { left: 46%; top: 104%; opacity: 0; }
    29% { opacity: 1; }
    38%, 41% { left: 76%; top: var(--cy, 62%); opacity: 1; transform: scale(1); }
    42.5% { transform: scale(.8); }
    44% { transform: scale(1); }
    50% { left: 76%; top: var(--cy, 62%); opacity: 1; }
    54%, 100% { left: 80%; top: calc(var(--cy, 62%) + 7%); opacity: 0; }
}
.hv-click { position: absolute; left: 76%; top: var(--cy, 62%); width: 16px; height: 16px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--go); z-index: 3; opacity: 0; }
.hv-scene.play .hv-click { animation: hvClick var(--dur) ease-out infinite; }
@keyframes hvClick { 0%, 42% { opacity: 0; transform: scale(.4); } 43% { opacity: .9; transform: scale(1); } 50% { opacity: 0; transform: scale(8); } 100% { opacity: 0; } }
.hv-confirm { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(250, 247, 240, .93); opacity: 0; pointer-events: none; }
.hv-confirm p { font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.3rem); letter-spacing: -.04em; line-height: 1; text-align: center; transform: translateY(14px); }
.hv-confirm p small { display: block; font: 500 .42em/1.3 var(--mono); letter-spacing: 0; margin-top: 12px; color: var(--soft); }
.hv-scene.play .hv-confirm { animation: hvConfirm var(--dur) var(--ease) infinite; }
.hv-scene.play .hv-confirm p { animation: hvConfirmP var(--dur) var(--ease) infinite; }
@keyframes hvConfirm { 0%, 46% { opacity: 0; } 50%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes hvConfirmP { 0%, 47% { transform: translateY(14px); } 53%, 100% { transform: none; } }
.hv-toast { position: absolute; z-index: 6; background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 13px 18px; opacity: 0; transform: translateY(26px); max-width: min(290px, 82%); box-shadow: 0 24px 40px -20px rgba(14, 31, 24, .7); }
.hv-toast small { display: flex; align-items: center; gap: 8px; font: 500 12px/1.3 var(--mono); opacity: .8; }
.hv-toast strong { display: block; margin-top: 3px; font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.hv-toast--booking { left: -3%; top: 16%; }
.hv-toast--pay { right: -3%; bottom: 10%; }
.hv-toast--pay strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 6px 0 4px; }
.hv-scene.play .hv-toast--booking { animation: hvToast var(--dur) var(--ease) infinite; }
.hv-scene.play .hv-toast--pay { animation: hvToast2 var(--dur) var(--ease) infinite; }
@keyframes hvToast { 0%, 53% { opacity: 0; transform: translateY(26px); } 58%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes hvToast2 { 0%, 62% { opacity: 0; transform: translateY(26px); } 67%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-14px); } }
@media (max-width: 640px) {
    .hv-scene { --cy: 46%; padding-bottom: 150px; }
    .hv-scene .hv-win__view { aspect-ratio: 1 / .9; }
    .hv-toast { max-width: 86%; }
    .hv-toast--booking { left: 12px; top: auto; bottom: 86px; }
    .hv-toast--pay { right: 12px; bottom: 14px; }
}

/* ------------------------------------------------------------ La ligne directe (le signe de la marque) */
.hv-direct { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(12px, 2vw, 26px); align-items: center; padding: clamp(40px, 6vw, 70px) 0 0; font-weight: 700; }
.hv-direct__who { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(.95rem, 1.6vw, 1.2rem); white-space: nowrap; }
.hv-direct__lines { display: grid; gap: 14px; min-width: 0; }
.hv-direct__detour { display: flex; align-items: center; gap: 12px; color: var(--detour-ink); font: 500 clamp(.72rem, 1.2vw, .88rem)/1.2 var(--mono); }
.hv-direct__detour i { flex: 1; min-width: 12px; border-top: 2px dashed var(--detour); }
.hv-direct__detour b { font-weight: 500; text-align: center; }
.hv-direct__go { position: relative; height: 8px; border-radius: 8px; background: var(--go); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.hv-direct.play .hv-direct__go { transform: scaleX(1); }
.hv-direct__go em { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper); opacity: 0; }
.hv-direct.play .hv-direct__go em { animation: hvTravel 3.6s var(--ease) 1.6s infinite; }
@keyframes hvTravel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 78% { left: 100%; opacity: 1; } 90%, 100% { left: 100%; opacity: 0; } }
.hv-direct__lines p { font-size: clamp(.92rem, 1.5vw, 1.15rem); }
.hv-direct__lines p small { font-weight: 500; color: var(--soft); font-size: .85em; }
@media (max-width: 640px) {
    .hv-direct { grid-template-columns: 1fr 1fr; row-gap: 16px; }
    .hv-direct__who:last-child { justify-self: end; }
    .hv-direct__lines { grid-column: 1 / -1; order: 3; }
    .hv-direct__detour b { font-size: .68rem; }
}

/* ------------------------------------------------------------ Les trois choses, en ligne (arrêts cliquables) */
.hv-three { padding-top: clamp(48px, 7vw, 90px); }
.hv-three__lead { text-wrap: balance; font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.3rem); letter-spacing: -.035em; line-height: 1.05; margin-bottom: clamp(26px, 4vw, 44px); }
.hv-three__line { position: relative; display: grid; gap: 0 clamp(20px, 3vw, 44px); }
.hv-three__line::before { content: ''; position: absolute; left: 9px; top: 0; bottom: 0; width: 6px; border-radius: 6px; background: var(--go); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) .1s; }
.hv-three.play .hv-three__line::before { transform: none; }
.hv-three__line a { position: relative; display: block; padding: 0 0 28px 46px; }
.hv-three__line a:last-child { padding-bottom: 0; }
.hv-three__line a::before { content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--paper); transform: scale(0); transition: transform .5s var(--spring), background .25s; transition-delay: calc(var(--n) * .28s + .25s); }
.hv-three.play .hv-three__line a::before { transform: scale(1); }
.hv-three__line a:hover::before { background: var(--go); transform: scale(1.3); transition-delay: 0s; }
.hv-three__line strong { display: block; font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: -.035em; line-height: 1.05; }
.hv-three__line strong::after { content: ' ↓'; display: inline-block; margin-left: .25em; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--spring); }
.hv-three__line a:hover strong::after { opacity: 1; transform: none; }
.hv-three__line span { display: block; margin-top: 8px; color: var(--soft); font-weight: 450; max-width: 30ch; }
@media (min-width: 760px) {
    .hv-three__line { grid-template-columns: repeat(3, 1fr); }
    .hv-three__line::before { left: 0; right: 0; top: 9px; bottom: auto; width: auto; height: 6px; transform: scaleX(0); transform-origin: left; }
    .hv-three__line a, .hv-three__line a:last-child { padding: 46px 0 4px; }
    .hv-three__line a::before { top: 0; }
}
.hv-sec--tight { padding-top: clamp(40px, 6vw, 80px); }
.hv [id] { scroll-margin-top: 84px; }

/* ------------------------------------------------------------ Pour qui */
.hv-who { display: grid; gap: 22px clamp(30px, 6vw, 90px); align-items: start; margin-bottom: clamp(50px, 7vw, 100px); }
@media (min-width: 920px) { .hv-who { grid-template-columns: 1fr 1fr; } }
.hv-who .hv-note { margin-top: 16px; }

/* ------------------------------------------------------------ Trois choses */
.hv-thing { display: grid; gap: 30px clamp(30px, 6vw, 90px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 2px solid var(--ink); }
@media (min-width: 920px) { .hv-thing { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .hv-thing--flip > :first-child { order: 2; } }
/* les colonnes ne s'élargissent jamais au-delà de l'écran (onglets défilants, longues adresses) */
.hv-thing > *, .hv-hero__grid > *, .hv-who > *, .hv-addr > *, .hv-calc > *, .hv-start > * { min-width: 0; }
.hv-thing .hv-p { margin-top: 18px; }
.hv-thing .hv-note { margin-top: 14px; }

/* le site : choix du style */
.hv-tabs { display: flex; gap: 6px 24px; font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -.02em; overflow-x: auto; scrollbar-width: none; padding: 2px 22px 14px; margin: 0 -22px; }
.hv-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 920px) { .hv-tabs { flex-wrap: wrap; overflow: visible; } }
.hv-tab { flex: none; position: relative; background: none; border: 0; padding: 0 0 7px; color: var(--soft); transition: color .3s; }
.hv-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--go); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hv-tab.is-on { color: var(--ink); }
.hv-tab.is-on::after { transform: scaleX(1); }
.hv-stage .hv-win { box-shadow: 0 0 0 2px var(--ink); }
.hv-stage .hv-win__view { aspect-ratio: 16 / 10; }
.hv-stage .hv-win__view > img { opacity: 0; transition: opacity .6s var(--ease); }
.hv-stage .hv-win__view > img.is-on { opacity: 1; animation: hvScroll var(--scroll, 16s) ease-in-out 1s infinite alternate; }
@keyframes hvScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
.hv-stage__cap { margin-top: 14px; color: var(--soft); }

/* le calendrier : chaque jour est un point */
.hv-cal { max-width: 500px; }
.hv-cal__month { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: 14px; }
.hv-cal__month small { font: 500 12px var(--mono); color: var(--soft); letter-spacing: .28em; }
.hv-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.hv-cal__grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font: 500 clamp(.78rem, 1.3vw, .95rem) var(--mono); color: var(--soft); transition: background .4s var(--ease), color .4s, transform .5s var(--spring); transition-delay: var(--dl, 0s); }
.hv-cal.play .hv-cal__grid span[data-c] { transform: scale(1.06); color: var(--ink); }
.hv-cal.play .hv-cal__grid span[data-c="a"] { background: var(--sand); box-shadow: inset 0 0 0 2px var(--ink); }
.hv-cal.play .hv-cal__grid span[data-c="b"] { background: var(--ink); color: var(--paper); }
.hv-cal.play .hv-cal__grid span[data-c="s"] { background: var(--go); }
.hv-cal__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .9rem; font-weight: 600; }
.hv-cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.hv-cal__legend i { width: 14px; height: 14px; border-radius: 50%; }

/* le paiement */
.hv-pay { max-width: 520px; }
.hv-pay div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--n) * .25s + .2s); }
.hv-pay.play div { opacity: 1; transform: none; }
.hv-pay span { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.hv-pay span small { display: block; font: 500 .8rem var(--mono); color: var(--soft); }
.hv-pay b { font: 500 clamp(1.3rem, 2.4vw, 1.8rem) var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.hv-pay div:last-child { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; }

/* ------------------------------------------------------------ Ce qu'on ne fait pas */
.hv-cols { display: grid; gap: 34px clamp(30px, 5vw, 70px); }
@media (min-width: 860px) { .hv-cols { grid-template-columns: repeat(3, 1fr); } }
.hv-cols h3 { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.03em; line-height: 1.1; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 2px solid currentColor; }
.hv-cols p { font-weight: 450; font-size: 1.05rem; color: var(--soft); }

/* ------------------------------------------------------------ Le lien */
.hv-talk { display: flex; flex-direction: column; gap: clamp(14px, 2.6vw, 30px); max-width: 1000px; }
.hv-talk small { display: block; font: 500 12px var(--mono); color: var(--soft); margin-bottom: 6px; }
.hv-talk p { font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; max-width: 20ch; }
.hv-talk .l { font-weight: 300; }
.hv-talk .r { font-weight: 800; align-self: flex-end; text-align: right; }
.hv-talk .hv-u { white-space: nowrap; }
.hv-talk figure { align-self: flex-end; width: min(46%, 420px); background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 2px var(--ink); }
.hv-talk figure img { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; object-position: top; }
.hv-talk figcaption { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font: 500 12px var(--mono); border-top: 2px solid var(--ink); }
@media (max-width: 700px) { .hv-talk figure { width: 80%; } }

/* ------------------------------------------------------------ L'adresse */
.hv-addr { display: grid; gap: 30px clamp(30px, 6vw, 80px); align-items: center; }
@media (min-width: 920px) { .hv-addr { grid-template-columns: 1fr 1fr; } }
.hv-addr .hv-p { margin-top: 22px; }
.hv-addr .hv-note { margin-top: 16px; }
.hv-addr__url { display: flex; align-items: center; gap: .4em; font: 500 clamp(.95rem, 2.3vw, 1.85rem)/1.1 var(--mono); letter-spacing: -.04em; white-space: nowrap; background: var(--white); border-radius: var(--r); padding: clamp(22px, 4vw, 44px); box-shadow: 0 0 0 2px var(--ink); overflow: hidden; }
.hv-addr__url span::after { content: '▍'; margin-left: .05em; color: var(--go); animation: hvCaret 1s steps(1) infinite; }
@keyframes hvCaret { 50% { opacity: 0; } }

/* ------------------------------------------------------------ Le calcul (ticket de caisse) */
.hv-calc { display: grid; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (min-width: 940px) { .hv-calc { grid-template-columns: 1fr minmax(330px, 420px); } }
.hv-calc .hv-p { margin-top: 18px; }
.hv-calc__q { display: block; margin-top: clamp(30px, 5vw, 50px); font-weight: 700; }
.hv-calc__amount { font-weight: 800; font-size: clamp(3.2rem, 8vw, 5.6rem); letter-spacing: -.055em; line-height: 1; margin: 6px 0 28px; font-variant-numeric: tabular-nums; }
/* le curseur : un point sur une ligne */
.hv-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none; background: linear-gradient(90deg, var(--go) var(--p, 25%), var(--sand) var(--p, 25%)); }
.hv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--paper); cursor: grab; transition: transform .25s var(--spring); }
.hv-range::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
.hv-range::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--ink); cursor: grab; }
.hv-range__scale { display: flex; justify-content: space-between; margin-top: 16px; font: 500 12px var(--mono); color: var(--soft); }
.hv-ticket-wrap { filter: drop-shadow(0 26px 30px rgba(14, 31, 24, .2)); }
.hv-ticket { background: var(--white); color: var(--ink); padding: 26px 24px 42px; font: 500 .9rem/1.5 var(--mono); transform: rotate(1.6deg); transition: transform .6s var(--spring);
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.hv-ticket:hover { transform: rotate(0deg) scale(1.02); }
.hv-ticket__head { text-align: center; letter-spacing: .16em; padding-bottom: 14px; border-bottom: 1.5px dashed currentColor; margin-bottom: 14px; }
.hv-ticket dl { display: grid; gap: 7px; }
.hv-ticket dl div { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.hv-ticket dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hv-ticket__sep { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.hv-ticket__total { margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed currentColor; }
.hv-ticket__total dd { font-family: var(--font); font-weight: 800; font-size: 2rem; letter-spacing: -.04em; line-height: 1; background: var(--go); padding: 4px 8px; border-radius: 6px; }
.hv-ticket__total.bump dd { animation: hvBump .4s var(--spring); }
@keyframes hvBump { 50% { transform: scale(1.1); } }
.hv-ticket__foot { margin-top: 10px; text-align: right; font-size: .82rem; color: var(--soft); }
.hv-calc__note { margin-top: clamp(36px, 5vw, 60px); }
@media (max-width: 480px) { .hv-ticket { font-size: .78rem; padding-inline: 18px; } }

/* ------------------------------------------------------------ Démarrer */
.hv-start { display: grid; gap: 24px 60px; align-items: end; }
@media (min-width: 920px) { .hv-start { grid-template-columns: 1.4fr 1fr; } }
.hv-start__steps { display: grid; gap: 4px; font-weight: 800; font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -.05em; line-height: .96; }
.hv-start__steps span { display: flex; align-items: flex-start; gap: .3em; }
.hv-start__steps .hv-dot { width: .3em; height: .3em; margin-top: .34em; }

/* ------------------------------------------------------------ Tarifs */
.hv-menu { max-width: 940px; }
.hv-dish { padding: 26px 0; border-top: 2px solid var(--ink); position: relative; }
.hv-dish:last-child { border-bottom: 2px solid var(--ink); }
.hv-dish__top { display: flex; align-items: baseline; gap: 14px; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.04em; line-height: 1; }
.hv-dish__top h3 { font: inherit; letter-spacing: inherit; }
.hv-dish__top span { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-6px); min-width: 20px; }
.hv-dish__top b { font: 500 .9em var(--mono); letter-spacing: -.05em; white-space: nowrap; }
.hv-dish__top b small { font: 500 .5em var(--font); letter-spacing: 0; color: var(--soft); }
.hv-dish__sub { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 12px; align-items: baseline; }
.hv-dish__sub p { max-width: 58ch; font-weight: 450; color: var(--soft); }
.hv-dish__sub p strong { color: var(--ink); font-weight: 700; }
.hv-dish--pick { background: var(--sand); margin-inline: -20px; padding-inline: 20px; border-radius: var(--r); border-top-color: transparent; }
.hv-dish--pick + .hv-dish { border-top-color: transparent; }
.hv-dish__tag { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-weight: 700; font-size: .95rem; }

/* ------------------------------------------------------------ Questions */
.hv-faq { max-width: 940px; }
.hv-faq details { border-top: 2px solid var(--ink); }
.hv-faq details:last-child { border-bottom: 2px solid var(--ink); }
.hv-faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-weight: 700; font-size: clamp(1.2rem, 2.1vw, 1.6rem); letter-spacing: -.03em; line-height: 1.15; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.hv-faq summary::-webkit-details-marker { display: none; }
.hv-faq summary::after { content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); transition: background .3s, transform .45s var(--spring), box-shadow .3s; }
.hv-faq details[open] summary::after { background: var(--go); box-shadow: none; transform: scale(1.5); }
.hv-faq p { padding: 0 0 26px; max-width: 62ch; font-weight: 450; font-size: 1.05rem; color: var(--soft); }

/* ------------------------------------------------------------ Dernier mot */
.hv-final { background: var(--go); padding: clamp(80px, 13vw, 180px) 0; }
.hv-final h2 { font-weight: 800; font-size: clamp(2.9rem, 9.4vw, 8.4rem); letter-spacing: -.055em; line-height: .9; max-width: 11ch; }
.hv-final h2 .hv-dot { width: .32em; height: .32em; vertical-align: .16em; margin-right: .06em; }
.hv-final__row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: clamp(30px, 5vw, 56px); font-weight: 600; }
.hv-final .hv-btn:hover { background: var(--paper); }

.hv-foot { background: var(--ink); color: var(--paper); padding: 40px 0 30px; }
.hv-foot .hv-wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { .hv-foot .hv-wrap { grid-template-columns: 1fr auto; align-items: end; } }
.hv-foot__brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.hv-foot p { font: 500 .85rem var(--mono); opacity: .75; }
.hv-foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; font-size: .95rem; }
.hv-foot__links a { transition: color .2s; }
.hv-foot__links a:hover { color: var(--go); }
.hv-foot .hv-foot__legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(250, 247, 240, .16); opacity: .55; }

/* ------------------------------------------------------------ Barre mobile */
.hv-dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 8px 8px 8px 18px; transform: translateY(150%); transition: transform .5s var(--ease); }
.hv-dock.is-on { transform: none; }
.hv-dock > span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
@media (min-width: 760px) { .hv-dock { display: none; } }

/* ------------------------------------------------------------ Accessibilité mouvement */
@media (prefers-reduced-motion: reduce) {
    .hv *, .hv *::before, .hv *::after { animation: none !important; transition: none !important; }
    .hv [data-reveal], .hv-h1 .w, .hv-pay div { opacity: 1 !important; transform: none !important; }
    .hv-toast { opacity: 1; transform: none; }
    .hv-direct__go { transform: none; }
    .hv-u { background-size: 100% .14em; }
}
