/* Fit Time Slot — site vitrine (fittimeslot.com) : thème sombre comme l'application, en bleu profond et turquoise
   (distinct du noir et orange de RYF) */
:root {
  --bg: #07121c;                /* fond des pages */
  --bg-soft: #0b1a27;           /* sections alternées */
  --card: #0f2232;              /* cartes */
  --card-2: #13293b;
  --line: #1c3448;
  --ink: #eef5f9;               /* texte */
  --ink-2: #b3c6d3;
  --muted: #8299ab;
  --teal: #2dd4bf;
  --teal-2: #14b8a6;
  --teal-soft: rgba(45, 212, 191, .12);
  --on-teal: #062a26;           /* texte sur les boutons turquoise */
  --radius: 18px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; padding: .5rem 1rem; background: var(--teal); color: var(--on-teal); border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

.v-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .v-wrap { padding: 0 28px; } }
.v-narrow { max-width: 820px; }

/* Boutons */
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.v-btn:hover { transform: translateY(-1px); }
.v-btn-primary { background: var(--teal); color: var(--on-teal); }
.v-btn-primary:hover { background: #5ee6d3; }
.v-btn-ghost { border-color: rgba(238, 245, 249, .35); color: var(--ink); background: transparent; }
.v-btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.v-btn-light { border-color: rgba(238, 245, 249, .35); color: var(--ink); background: transparent; }
.v-btn-light:hover { border-color: var(--teal); color: var(--teal); }
.v-btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.v-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.v-actions-center { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .v-btn, html { transition: none; scroll-behavior: auto; } .v-btn:hover { transform: none; } }

/* En-tête */
.v-header { position: sticky; top: 0; z-index: 5; background: rgba(7, 18, 28, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.v-header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.v-logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.v-logo svg { width: 2rem; height: 2rem; }
.v-logo .v-logo-arc { stroke: var(--ink); stroke-opacity: .55; }
.v-nav { display: none; gap: 1.4rem; margin-left: auto; }
.v-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.v-nav a:hover { color: var(--teal); }
/* Section en cours de lecture (assets/js/vitrine-scroll.js) : lien en couleur, petit trait dessous */
.v-nav a { position: relative; transition: color .2s ease; }
.v-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.45rem; height: 2px; border-radius: 2px; background: var(--teal);
  transform: scaleX(0); transition: transform .25s ease; }
.v-nav a.is-active { color: var(--teal); }
.v-nav a.is-active::after { transform: scaleX(1); }
/* Défilement doux (Lenis) : règles de la bibliothèque */
html { scroll-padding-top: 72px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.v-header .v-btn { margin-left: auto; }
@media (min-width: 900px) { .v-nav { display: flex; } .v-header .v-btn { margin-left: 0; } }

/* Accroche */
.v-hero { padding: 3rem 0 4rem; overflow: hidden;
  background: radial-gradient(60% 55% at 85% 25%, rgba(45, 212, 191, .16), transparent 70%), radial-gradient(40% 40% at 5% 0%, rgba(20, 120, 160, .18), transparent 70%), var(--bg); }
.v-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .v-hero { padding: 5rem 0 6rem; } .v-hero-grid { grid-template-columns: 1fr 1.05fr; } }
.v-kicker { margin: 0 0 .8rem; color: var(--teal); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.v-hero h1 span { color: var(--teal); }
.v-lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36rem; }
.v-hint { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.v-hero-visual { position: relative; padding-bottom: 2.5rem; }

/* Cadres des captures : fenêtre de navigateur, téléphone */
.v-browser, .v-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #111119; box-shadow: var(--shadow); border: 1px solid var(--line); }
.v-browser-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; background: var(--card-2); color: var(--muted); font-size: .78rem; }
.v-browser-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #2a465c; }
.v-browser-bar span { margin-left: .6rem; padding: .1rem .7rem; border-radius: 999px; background: var(--bg); }
.v-phone { margin: 0; width: 42%; max-width: 240px; border-radius: 30px; overflow: hidden; border: 7px solid #1a3247; background: #111119; box-shadow: var(--shadow); }
.v-hero-visual .v-phone { position: absolute; right: -2%; bottom: 0; width: 34%; }
.v-hero-visual .v-browser { margin-right: 18%; }
@media (max-width: 600px) { .v-hero-visual .v-browser { margin-right: 10%; } .v-hero-visual .v-phone { width: 38%; border-width: 5px; border-radius: 20px; } }

/* Bandeau */
.v-strip { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); }
.v-strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; padding-top: 1rem; padding-bottom: 1rem; font-weight: 600; font-size: .95rem; }
.v-strip-list span::before { content: "✓"; margin-right: .45rem; color: var(--teal); }

/* Sections */
.v-section { padding: 4.5rem 0; }
@media (min-width: 900px) { .v-section { padding: 6rem 0; } }
.v-section-soft { background: var(--bg-soft); }
.v-intro { font-size: 1.15rem; color: var(--ink-2); max-width: 44rem; margin-bottom: 2.5rem; }
.v-features { display: grid; gap: 1.2rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .v-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .v-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v-feature { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .15s ease; }
.v-feature:hover { border-color: rgba(45, 212, 191, .45); }
.v-feature p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.v-feature-icon { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1rem; border-radius: 14px; background: var(--teal-soft); color: var(--teal); }
.v-feature-icon svg { width: 1.4rem; height: 1.4rem; }

.v-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .v-split { grid-template-columns: 1.1fr 1fr; } }
.v-checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.v-checks li { position: relative; padding-left: 2.2rem; }
.v-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062a26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / .9rem no-repeat; }
.v-checks strong { display: block; }
.v-checks span { color: var(--ink-2); }
.v-phones { display: flex; justify-content: center; gap: 1rem; }
.v-phones .v-phone { width: 46%; }
.v-phone-offset { margin-top: 3rem; }

.v-steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
@media (min-width: 820px) { .v-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v-steps li { counter-increment: step; padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.v-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--teal); color: var(--on-teal); font-weight: 800; }
.v-steps strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.v-steps span { color: var(--ink-2); }

/* Tarifs */
.v-section-dark { background: radial-gradient(50% 60% at 50% 0%, rgba(45, 212, 191, .1), transparent 70%), #050d15; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v-section-dark .v-intro { color: var(--ink-2); }
.v-plans { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .v-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.v-plan { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.v-plan.is-featured { background: linear-gradient(180deg, rgba(45, 212, 191, .14), rgba(45, 212, 191, .03)), var(--card); border: 2px solid var(--teal); box-shadow: 0 30px 70px -30px rgba(45, 212, 191, .45); }
.v-plan-badge { position: absolute; top: -.8rem; left: 1.6rem; padding: .2rem .8rem; border-radius: 999px; background: var(--teal); color: var(--on-teal); font-size: .8rem; font-weight: 800; }
.v-price { margin: .2rem 0 .2rem; }
.v-price strong { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; }
.v-price span { margin-left: .3rem; color: var(--muted); }
.v-plan-who { font-weight: 600; color: var(--teal); }
.v-plan ul { list-style: none; margin: 1.2rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; font-size: .95rem; color: var(--ink-2); }
.v-plan li::before { content: "✓"; margin-right: .5rem; color: var(--teal); font-weight: 800; }
.v-extras { list-style: none; margin: 2.2rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; color: var(--ink-2); text-align: center; }
.v-extras strong { color: var(--ink); }
.v-vat { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: .88rem; }

/* Questions */
.v-faq { display: grid; gap: .8rem; margin-top: 2rem; }
.v-faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.v-faq details[open] { border-color: rgba(45, 212, 191, .4); }
.v-faq summary { position: relative; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; cursor: pointer; list-style: none; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
.v-faq details[open] summary::after { content: "–"; }
.v-faq p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--ink-2); }

/* Appel final */
.v-cta { padding: 4.5rem 0; text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgba(45, 212, 191, .18), transparent 70%), var(--bg-soft); border-top: 1px solid var(--line); }
.v-cta-inner p { max-width: 38rem; margin: 0 auto; color: var(--ink-2); font-size: 1.1rem; }

/* Pied de page */
.v-footer { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.v-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.v-footer p { margin: 0; }
.v-footer-brand strong { color: var(--ink); }
.v-footer a { color: var(--ink-2); }
.v-footer a:hover { color: var(--teal); }

/* Mentions légales */
.v-legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.v-legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.v-legal p { color: var(--ink-2); }

/* Gestion de la plateforme (fittimeslot.com/gestion/) */
.g-main { padding: 2rem 0 4rem; }
.g-tag { margin-left: .4rem; padding: .1rem .55rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: .75rem; font-weight: 700; vertical-align: middle; }
.g-logout { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.g-who { color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .g-who { display: none; } }
.g-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.g-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: .3rem; }
.g-sub, .g-muted { color: var(--muted); }
.g-sub { margin: 0; }
.g-muted { font-size: .88rem; }
.g-warn { color: #f5b14c; font-size: .88rem; font-weight: 600; }
.g-flash { padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.g-flash-success { border-color: rgba(45, 212, 191, .5); color: #9ff0e4; }
.g-flash-error { border-color: rgba(239, 83, 80, .5); color: #ffb3b1; }
.g-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.g-stat { padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.g-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--teal); }
.g-stat span { color: var(--muted); font-size: .9rem; }
.g-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.g-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.g-table th { padding: .8rem 1rem; text-align: left; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; background: var(--card); border-bottom: 1px solid var(--line); }
.g-table td { padding: .9rem 1rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.g-table tr:last-child td { border-bottom: 0; }
.g-table .num { text-align: right; }
.g-actions { text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .g-table thead { display: none; }
  .g-table, .g-table tbody, .g-table tr, .g-table td { display: block; }
  .g-table tr { padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .g-table td { padding: .35rem 1rem; border: 0; text-align: left !important; }
  .g-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
  .g-actions { text-align: left; }
}
.g-badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.g-badge-ok { background: var(--teal-soft); color: var(--teal); }
.g-badge-info { background: rgba(90, 169, 240, .15); color: #9fcbf5; }
.g-badge-danger { background: rgba(239, 83, 80, .15); color: #ffb3b1; }
.g-note, .g-empty { margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.g-card { margin-top: 1.5rem; padding: 1.5rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.g-card h2 { font-size: 1.25rem; }
.g-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.g-form input, .g-form select, .g-form textarea { width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 400; }
.g-form input:focus, .g-form select:focus, .g-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.g-form small { color: var(--muted); font-weight: 400; }
.g-grid { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-full { grid-column: 1 / -1; } }
.g-radios { margin: 0; padding: 0; border: 0; display: grid; gap: .45rem; }
.g-radios legend { padding: 0; margin-bottom: .35rem; font-weight: 600; font-size: .92rem; }
.g-radios label { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.g-radios input { width: auto; }
.g-actions-row { margin: 1.4rem 0 0; }
.g-login { max-width: 420px; margin: 3rem auto; }
.g-login .g-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.g-kv { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
.g-kv dt { color: var(--muted); }
.g-kv dd { margin: 0; }

/* Tarifs : mensuel / annuel (boutons radio + sélecteurs CSS), cinq formules */
.v-bill-input { position: absolute; opacity: 0; pointer-events: none; }
.v-billing { display: inline-flex; gap: .3rem; padding: .3rem; margin: 0 0 2rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.v-billing label { padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.v-billing label span { margin-left: .3rem; padding: .05rem .45rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: .78rem; }
#bill-annuel:checked ~ .v-billing label[for="bill-annuel"], #bill-mensuel:checked ~ .v-billing label[for="bill-mensuel"] { background: var(--teal); color: var(--on-teal); }
#bill-annuel:checked ~ .v-billing label[for="bill-annuel"] span { background: rgba(6, 42, 38, .15); color: var(--on-teal); }
#bill-annuel:focus-visible ~ .v-billing label[for="bill-annuel"], #bill-mensuel:focus-visible ~ .v-billing label[for="bill-mensuel"] { outline: 3px solid var(--teal); outline-offset: 2px; }
#bill-annuel:checked ~ .v-plans .v-price-mensuel, #bill-mensuel:checked ~ .v-plans .v-price-annuel { display: none; }
.v-pricing { text-align: center; }
.v-plans-5 { text-align: left; }
@media (min-width: 640px) { .v-plans-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .v-plans-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; } .v-plans-5 .v-plan { padding: 1.8rem 1.2rem; } }
.v-plans-5 .v-plan-who { min-height: 3em; margin-bottom: .8rem; font-size: .92rem; }
.v-plans-5 .v-price strong { font-size: 2.4rem; }
.v-price s { color: var(--muted); font-size: 1.05rem; margin-right: .2rem; }
.v-price-note { margin: 0; color: var(--muted); font-size: .85rem; }
.v-included { list-style: none; margin: 2.2rem auto 0; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; color: var(--ink-2); font-size: .95rem; }
.v-included li::before { content: "✓"; margin-right: .45rem; color: var(--teal); font-weight: 800; }
.g-badge { white-space: nowrap; }
/* Animations au défilement (assets/js/vitrine-motion.js) : seulement avec la classe « motion », jamais si l'utilisateur
   a réduit les animations. Même liste de blocs que REVEAL dans le script. */
.v-shot-wrap { perspective: 1600px; }
@media (prefers-reduced-motion: no-preference) {
  /* :where() : priorité nulle, pour que « .is-in » (apparu) l'emporte toujours */
  .motion :where(.v-hero-text > *, .v-strip-list > span, .v-section .v-kicker, .v-section h2, .v-intro, .v-features > *,
    .v-split > div:first-child > ul > li, .v-steps > li, .v-billing, .v-plans > *, .v-included, .v-extras, .v-vat,
    .v-section .v-actions, .v-faq > details, .v-cta-inner > *) {
    opacity: 0; transform: translate3d(0, 28px, 0);
    transition: opacity .7s ease, transform .85s cubic-bezier(.2, .7, .2, 1), border-color .15s ease;
    transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s;
  }
  .motion .v-hero-visual { opacity: 0; transform: translate3d(40px, 0, 0); transition: opacity .9s ease .25s, transform 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
  .motion .is-in { opacity: 1; transform: none; }
  .motion [data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
  .motion [data-tilt] .v-shot { transform-origin: 50% 100%; transform: rotateX(var(--tilt, 0deg)) scale(var(--tscale, 1)); opacity: var(--tfade, 1); will-change: transform; }
}
/* Formulaire de contact (fenêtre) */
html:has(.v-dialog[open]) { overflow: hidden; }
.v-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); color: var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.v-dialog:focus, .v-dialog:focus-visible { outline: none; }
.v-dialog::backdrop { background: rgba(3, 10, 16, .75); backdrop-filter: blur(3px); }
.v-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem .2rem; }
.v-dialog-head h2 { margin: 0; font-size: 1.45rem; }
.v-dialog-close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.v-dialog-close:hover { border-color: var(--teal); color: var(--teal); }
.v-dialog-body { padding: .4rem 1.5rem 1.5rem; }
.v-dialog-intro { margin: .3rem 0 1.1rem; color: var(--ink-2); font-size: .98rem; }
.v-form-grid { display: grid; gap: .9rem 1rem; }
@media (min-width: 560px) { .v-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v-form-grid .v-full { grid-column: 1 / -1; } }
.v-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.v-form small { color: var(--muted); font-weight: 400; }
.v-req { color: var(--teal); }
.v-form input, .v-form textarea { width: 100%; padding: .7rem .85rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem; font-weight: 400; }
.v-form textarea { resize: vertical; min-height: 7.5rem; }
.v-form input:focus, .v-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.v-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.v-form-error { margin: 1rem 0 0; padding: .75rem .95rem; border-radius: 10px; border: 1px solid rgba(239, 83, 80, .5); background: rgba(239, 83, 80, .08); color: #ffb3b1; font-size: .93rem; }
.v-form-note { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
.v-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; margin-top: 1.3rem; }
.v-dialog-actions .v-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.v-dialog-done { padding: 1rem 1.5rem 1.8rem; text-align: center; }
.v-dialog-done h3 { margin: .8rem 0 .4rem; font-size: 1.3rem; }
.v-dialog-done p { margin: 0 auto 1.4rem; max-width: 26rem; color: var(--ink-2); }
.v-done-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.g-badge-warn { background: rgba(245, 177, 76, .15); color: #f5b14c; }
.g-danger-text { color: #ffb3b1; font-size: .88rem; font-weight: 600; }
.g-stat-warn { border-color: rgba(245, 177, 76, .55); }
.g-stat-warn strong { color: #f5b14c; }
.g-of { color: var(--muted); font-size: .6em; font-weight: 600; }
/* Alertes de formule */
.g-alerts { margin-bottom: 2rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: var(--card); border: 1px solid rgba(245, 177, 76, .45); }
.g-alerts h2 { font-size: 1.1rem; margin-bottom: .7rem; }
.g-alerts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.g-alert { margin: 0; line-height: 1.5; }
p.g-alert { margin-bottom: 1.5rem; padding: .9rem 1.1rem; border-radius: 12px; background: var(--card); border: 1px solid rgba(245, 177, 76, .45); }
p.g-alert-over { border-color: rgba(239, 83, 80, .5); }
.g-alert .g-badge { margin-right: .3rem; }
.g-alert a { margin-left: .3rem; white-space: nowrap; }
/* Fiches des salles */
.g-salles { display: grid; gap: 1.2rem; }
.g-salle { padding: 1.4rem 1.5rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.g-salle-near { border-color: rgba(245, 177, 76, .55); }
.g-salle-over { border-color: rgba(239, 83, 80, .6); }
.g-salle-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .8rem; margin-bottom: 1.2rem; }
.g-salle-head h2 { font-size: 1.3rem; margin: 0 0 .15rem; }
.g-salle-tools { display: flex; align-items: center; gap: .7rem; }
.g-salle-grid { display: grid; gap: 1.2rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.g-salle-grid section { min-width: 0; }
.g-salle-grid h3 { margin: 0 0 .4rem; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.g-salle-grid p { margin: 0 0 .3rem; }
.g-salle-grid a { overflow-wrap: anywhere; }
.g-big { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.g-meter { height: 8px; margin: .35rem 0 .45rem; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.g-meter span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.g-meter-near span { background: #f5b14c; }
.g-meter-over span { background: #ef5350; }
@media (min-width: 761px) { .g-table { min-width: 1040px; } }
.v-plans-5 .v-price { white-space: nowrap; }
@media (min-width: 980px) { .v-plans-5 .v-price strong { font-size: 2rem; } .v-plans-5 .v-price s { font-size: .95rem; } .v-plans-5 .v-price span { font-size: .9rem; } }
