/*
 * Vitrine publique — charte « sombre premium ».
 * Indépendante des thèmes de l'application : palette zinc profond, accent rouge ampli utilisé avec parcimonie,
 * typographie Geist, bordures fines, dégradés discrets, vraies captures de l'appli dans des cadres.
 */
:root {
    --v-bg: #09090b;
    --v-bg-2: #0c0c0f;
    --v-surface: #121215;
    --v-surface-2: #17171b;
    --v-border: rgba(255, 255, 255, .08);
    --v-border-2: rgba(255, 255, 255, .14);
    --v-text: #ededef;
    --v-muted: #a1a1aa;
    --v-dim: #71717a;
    --v-accent: #e63b2e;
    --v-accent-2: #ff6b4a;
    --v-radius: 12px;
    --v-radius-lg: 18px;
    --v-max: 1180px;
    --v-font: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
    --v-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.vt { background: var(--v-bg); color: var(--v-text); font-family: var(--v-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.vt h1, body.vt h2, body.vt h3, body.vt h4, body.vt .msn-h, body.vt .modal-title {
    font-family: var(--v-font); text-transform: none; letter-spacing: -.03em; font-weight: 600; color: var(--v-text);
}
body.vt a { color: var(--v-text); }
body.vt .text-muted, body.vt .text-body-secondary { color: var(--v-muted) !important; }
.vt-wrap { max-width: var(--v-max); margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
.vt-nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--v-bg) 78%, transparent); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--v-border); }
.vt-nav .vt-wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.vt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; font-size: 1.05rem; color: var(--v-text) !important; }
.vt-logo img { width: 26px; height: 26px; border-radius: 7px; }
.vt-links { display: flex; gap: 22px; }
.vt-links a { color: var(--v-muted); text-decoration: none; font-size: .9rem; }
.vt-links a:hover, .vt-links a.on { color: var(--v-text); }
.vt-nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.vt-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--v-border-2); color: var(--v-text); border-radius: 8px; width: 38px; height: 38px; }
.vt-mobile { display: none; border-top: 1px solid var(--v-border); padding: 12px 24px 18px; }
.vt-mobile a { display: block; padding: 10px 0; color: var(--v-text); text-decoration: none; border-bottom: 1px solid var(--v-border); }
.vt-mobile.open { display: block; }
@media (max-width: 860px) { .vt-links, .vt-nav-cta { display: none; } .vt-burger { display: inline-flex; align-items: center; justify-content: center; } }

/* ── Boutons ── */
.vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 500; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.vt-btn.sm { height: 36px; padding: 0 14px; font-size: .875rem; border-radius: 8px; }
.vt-btn-primary { background: var(--v-accent); color: #fff !important; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px -8px color-mix(in srgb, var(--v-accent) 70%, transparent); }
.vt-btn-primary:hover { background: color-mix(in srgb, var(--v-accent) 88%, white); }
.vt-btn-ghost { background: rgba(255,255,255,.03); border-color: var(--v-border-2); color: var(--v-text) !important; }
.vt-btn-ghost:hover { background: rgba(255,255,255,.07); }
.vt-btn-light { background: #fafafa; color: #09090b !important; }
.vt-btn-light:hover { background: #fff; }

/* ── Typographie de section ── */
.vt-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--v-mono); font-size: .75rem; letter-spacing: .04em; color: var(--v-muted); text-transform: uppercase; }
.vt-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--v-accent); box-shadow: 0 0 10px var(--v-accent); }
.vt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1px solid var(--v-border-2); border-radius: 999px; font-size: .82rem; color: var(--v-muted); text-decoration: none; background: rgba(255,255,255,.02); }
.vt-pill b { background: color-mix(in srgb, var(--v-accent) 18%, transparent); color: #ffb4a8; font-weight: 500; padding: 1px 8px; border-radius: 999px; font-size: .75rem; }
.vt-h1 { font-size: clamp(2.15rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em !important; margin: 18px 0 18px; background: linear-gradient(180deg, #fff 30%, #a1a1aa); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.vt-h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.08; margin: 14px 0 14px; }
.vt-lead { font-size: 1.15rem; color: var(--v-muted); max-width: 640px; }
.vt-section { padding: 110px 0; position: relative; }
.vt-section.tight { padding: 70px 0; }
.vt-center { text-align: center; } .vt-center .vt-lead { margin-left: auto; margin-right: auto; }
.vt-divider { border-top: 1px solid var(--v-border); }

/* ── Hero ── */
.vt-hero { position: relative; padding: 96px 0 40px; overflow: hidden; }
.vt-hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(ellipse 50% 50% at 50% 0%, color-mix(in srgb, var(--v-accent) 22%, transparent), transparent 70%); pointer-events: none; }
.vt-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--v-border) 1px, transparent 1px), linear-gradient(90deg, var(--v-border) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 20%, transparent 75%); opacity: .45; pointer-events: none; }
.vt-hero .vt-wrap { position: relative; z-index: 1; }
.vt-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.vt-hero .vt-cta { justify-content: center; }
.vt-note { margin-top: 16px; font-size: .85rem; color: var(--v-dim); }

/* ── Cadres de capture ── */
.vt-frame { position: relative; border-radius: var(--v-radius-lg); border: 1px solid var(--v-border-2); background: var(--v-surface); padding: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 120px -40px color-mix(in srgb, var(--v-accent) 35%, transparent); }
.vt-frame img { display: block; width: 100%; height: auto; border-radius: 11px; border: 1px solid var(--v-border); }
.vt-frame-bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.vt-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2e; }
.vt-hero-shot { margin-top: 64px; perspective: 1600px; }
.vt-hero-shot .vt-frame { transform: rotateX(8deg); transform-origin: top center; }
.vt-phone { width: 100%; max-width: 270px; border-radius: 34px; padding: 9px; background: #0d0d10; border: 1px solid var(--v-border-2); box-shadow: 0 30px 70px -20px rgba(0,0,0,.9); }
.vt-phone img { width: 100%; border-radius: 26px; display: block; }

/* ── Chiffres ── */
.vt-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--v-border); border-radius: var(--v-radius-lg); background: var(--v-bg-2); }
.vt-stats > div { padding: 26px 24px; border-left: 1px solid var(--v-border); }
.vt-stats > div:first-child { border-left: 0; }
.vt-stats strong { display: block; font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; }
.vt-stats span { color: var(--v-muted); font-size: .9rem; }
@media (max-width: 760px) { .vt-stats { grid-template-columns: 1fr 1fr; } .vt-stats > div:nth-child(3) { border-left: 0; } .vt-stats > div:nth-child(n+3) { border-top: 1px solid var(--v-border); } }

/* ── Bloc texte + capture ── */
.vt-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.vt-split.rev { grid-template-columns: 1.25fr 1fr; }
.vt-split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .vt-split, .vt-split.rev { grid-template-columns: 1fr; gap: 40px; } .vt-split.rev > :first-child { order: 0; } }
.vt-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.vt-checks li { display: flex; gap: 12px; color: var(--v-muted); }
.vt-checks li i { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--v-surface-2); border: 1px solid var(--v-border); color: var(--v-text); font-size: .9rem; }
.vt-checks li strong { color: var(--v-text); font-weight: 500; }

/* ── Grille « bento » ── */
.vt-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.vt-tile { grid-column: span 2; position: relative; border: 1px solid var(--v-border); background: linear-gradient(180deg, var(--v-surface), var(--v-bg-2)); border-radius: var(--v-radius-lg); overflow: hidden; display: flex; flex-direction: column; min-height: 340px; }
.vt-tile.w3 { grid-column: span 3; } .vt-tile.w4 { grid-column: span 4; }
.vt-tile-body { padding: 24px 24px 0; }
.vt-tile h3 { font-size: 1.1rem; margin: 0 0 6px; }
.vt-tile p { color: var(--v-muted); font-size: .92rem; margin: 0; }
.vt-tile-img { margin-top: auto; padding: 22px 0 0 24px; }
.vt-tile-img img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: left top; border-top-left-radius: 10px; border: 1px solid var(--v-border-2); border-right: 0; border-bottom: 0; }
.vt-tile:hover { border-color: var(--v-border-2); }
.vt-tile .vt-tag { position: absolute; top: 18px; right: 18px; }
.vt-tag { font-family: var(--v-mono); font-size: .68rem; color: var(--v-muted); border: 1px solid var(--v-border-2); border-radius: 6px; padding: 2px 7px; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 960px) { .vt-bento { grid-template-columns: 1fr 1fr; } .vt-tile, .vt-tile.w3, .vt-tile.w4 { grid-column: span 2; } }

/* ── Cartes simples ── */
.vt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.vt-card { border: 1px solid var(--v-border); background: var(--v-bg-2); border-radius: var(--v-radius-lg); padding: 26px; }
.vt-card .ico { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--v-accent) 14%, transparent); color: #ff8b78; border: 1px solid color-mix(in srgb, var(--v-accent) 30%, transparent); margin-bottom: 16px; font-size: 1.05rem; }
.vt-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.vt-card p, .vt-card li { color: var(--v-muted); font-size: .92rem; }
.vt-card ul { padding-left: 18px; margin: 12px 0 0; }
@media (max-width: 960px) { .vt-cards { grid-template-columns: 1fr; } }
.vt-cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .vt-cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vt-cards.four { grid-template-columns: 1fr; } }

/* ── Tarifs ── */
.vt-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--v-border-2); border-radius: 10px; background: var(--v-bg-2); }
.vt-toggle button { border: 0; background: none; color: var(--v-muted); padding: 7px 16px; border-radius: 7px; font-size: .88rem; }
.vt-toggle button.active { background: var(--v-surface-2); color: var(--v-text); box-shadow: 0 0 0 1px var(--v-border-2); }
.vt-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.vt-price { border: 1px solid var(--v-border); background: var(--v-bg-2); border-radius: var(--v-radius-lg); padding: 28px; display: flex; flex-direction: column; }
.vt-price.hl { border-color: color-mix(in srgb, var(--v-accent) 55%, transparent); background: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--v-accent) 12%, transparent), transparent), var(--v-bg-2); }
.vt-price h3 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.vt-price .who { color: var(--v-muted); font-size: .88rem; margin: 6px 0 18px; }
.vt-price .amount { font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.vt-price .amount small { font-size: .9rem; color: var(--v-muted); font-weight: 400; letter-spacing: 0; }
.vt-price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: .92rem; color: var(--v-muted); }
.vt-price ul li { display: flex; gap: 10px; } .vt-price ul li i { color: var(--v-text); }
.vt-price .vt-btn { margin-top: auto; width: 100%; }
.vt-price .fine { font-size: .78rem; color: var(--v-dim); margin: 12px 0 0; }
@media (max-width: 960px) { .vt-prices { grid-template-columns: 1fr; } }
.vt-table { width: 100%; border-collapse: collapse; margin-top: 56px; font-size: .92rem; }
.vt-table th, .vt-table td { padding: 13px 14px; border-bottom: 1px solid var(--v-border); text-align: center; }
.vt-table th:first-child, .vt-table td:first-child { text-align: left; color: var(--v-muted); }
.vt-table thead th { color: var(--v-text); font-weight: 600; position: sticky; top: 64px; background: var(--v-bg); }
.vt-table td i.bi-check2 { color: var(--v-text); } .vt-table td .no { color: #3f3f46; }
.vt-table tr.grp td { color: var(--v-text); font-weight: 600; padding-top: 28px; border-bottom-color: var(--v-border-2); }

/* ── FAQ ── */
.vt-faq { max-width: 760px; margin: 40px auto 0; }
.vt-faq details { border-bottom: 1px solid var(--v-border); padding: 18px 0; }
.vt-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
.vt-faq summary::-webkit-details-marker { display: none; }
.vt-faq summary::after { content: '+'; color: var(--v-muted); font-size: 1.2rem; line-height: 1; }
.vt-faq details[open] summary::after { content: '–'; }
.vt-faq p { color: var(--v-muted); margin: 12px 0 0; }

/* ── Appel final ── */
.vt-final { border: 1px solid var(--v-border); border-radius: 24px; padding: 72px 32px; text-align: center; background: radial-gradient(ellipse 60% 80% at 50% 120%, color-mix(in srgb, var(--v-accent) 26%, transparent), transparent 70%), var(--v-bg-2); }

/* ── Pied de page ── */
.vt-foot { border-top: 1px solid var(--v-border); padding: 64px 0 36px; margin-top: 40px; color: var(--v-muted); font-size: .9rem; }
.vt-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.vt-foot h4 { font-size: .85rem; font-weight: 500; color: var(--v-text); margin: 0 0 14px; letter-spacing: 0; }
.vt-foot a { display: block; color: var(--v-muted); text-decoration: none; padding: 4px 0; }
.vt-foot a:hover { color: var(--v-text); }
.vt-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--v-border); font-size: .82rem; color: var(--v-dim); }
@media (max-width: 760px) { .vt-foot-grid { grid-template-columns: 1fr 1fr; } .vt-foot-grid > :first-child { grid-column: span 2; } }

/* ── Pages simples (légal, auth) ── */
.vt-prose { max-width: 760px; margin: 0 auto; }
.vt-prose h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.vt-prose p, .vt-prose li { color: var(--v-muted); }
body.vt .msn-auth { max-width: 420px; margin: 72px auto; }
body.vt .msn-card { background: var(--v-bg-2); border: 1px solid var(--v-border-2); border-radius: var(--v-radius-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
body.vt .msn-card h1 { font-size: 1.6rem; }
body.vt .btn-msn { background: var(--v-accent); color: #fff; font-family: var(--v-font); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .95rem; border-radius: 10px; height: 44px; }
body.vt .btn-msn:hover { background: color-mix(in srgb, var(--v-accent) 88%, white); color: #fff; }
body.vt .btn-ghost { border-color: var(--v-border-2); border-radius: 10px; }
body.vt .form-control, body.vt .form-select { background: var(--v-surface); border-color: var(--v-border-2); border-radius: 9px; height: 44px; }
body.vt .form-control:focus { border-color: color-mix(in srgb, var(--v-accent) 60%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v-accent) 22%, transparent); background: var(--v-surface); }
body.vt .msn-kicker { font-family: var(--v-mono); text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--v-muted); }
body.vt .msn-empty { border-color: var(--v-border-2); border-radius: var(--v-radius-lg); }

/* Apparition douce au défilement */
@media (prefers-reduced-motion: no-preference) {
    html.vt-anim .vt-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
    html.vt-anim .vt-reveal.in { opacity: 1; transform: none; }
}
.vt-chip { display: inline-flex; align-items: center; border: 1px solid var(--v-border-2); border-radius: 999px; padding: 4px 11px; font-size: .8rem; color: var(--v-muted); background: rgba(255,255,255,.02); }
