/* =========================================================
   MeeCal — Page d'accueil
   /public/assets/css/landing.css  (chargé après meecal.css)
   ========================================================= */

.lp { background: var(--mc-bg); }
.lp-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 200; width: auto; height: auto; clip: auto; padding: 8px 14px; border-radius: var(--mc-r-sm); background: var(--mc-bg-elevated); box-shadow: var(--mc-shadow-2); }
.lp .mc-nav-links .lp-nav-cta, .lp .mc-nav-links .lp-nav-cta:hover { color: var(--mc-on-accent); }
.lp .mc-section-head .mc-lead { margin-top: 4px; }
.lp-surface { background: var(--mc-bg-elevated); }

.lp-link { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-size: var(--mc-fs-body); font-weight: 500; color: var(--mc-accent-text); }
.lp-link:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ─── HÉROS ─── */
.lp-hero { padding: clamp(72px, 10vw, 128px) 0 0; text-align: center; overflow: hidden; }
.lp-hero .mc-hero-title { margin-top: 14px; }
.lp-hero-accent { color: var(--mc-text-2); }
.lp-hero-lead { max-width: 640px; margin: 24px auto 0; }
.lp-hero-cta { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 36px; }
.lp-hero-note { margin-top: 14px; }

.lp-stage { position: relative; max-width: 1000px; margin: clamp(56px, 8vw, 88px) auto 0; padding: 0 22px clamp(56px, 8vw, 96px); text-align: left; }
.lp-stage::before {
    content: ""; position: absolute; z-index: -1; inset: 18% 6% 8%;
    background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--mc-accent) 22%, transparent), transparent 72%);
    filter: blur(48px);
}
.lp-window { overflow: hidden; background: var(--mc-bg-elevated); border-radius: 22px; box-shadow: var(--mc-shadow-3); }
.lp-window-bar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--mc-line); }
.lp-window-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--mc-line-strong); }
.lp-window-bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: var(--mc-fill); font-size: 12px; color: var(--mc-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.lp-booking { display: grid; grid-template-columns: 1fr 1.3fr; }
.lp-booking-side { display: grid; gap: 14px; align-content: start; padding: 28px; border-right: 1px solid var(--mc-line); }
.lp-room { aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 14px; border-radius: 14px; color: #fff; font-size: 13px; font-weight: 600;
    background: radial-gradient(120% 90% at 20% 10%, #3a3a42 0%, #1d1d1f 60%), #1d1d1f; }
.lp-booking-title { margin-top: 2px; font-family: var(--mc-font-display); font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.lp-booking-meta { display: flex; align-items: center; gap: 8px; font-size: var(--mc-fs-callout); color: var(--mc-text-2); }
.lp-booking-main { display: grid; gap: 18px; align-content: start; padding: 28px; }
.lp-progress { display: flex; gap: 6px; }
.lp-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--mc-line-strong); }
.lp-progress span.on { background: var(--mc-accent); }
.lp-month { font-size: var(--mc-fs-headline); font-weight: 600; letter-spacing: -.02em; }
.lp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-cal b { padding-bottom: 4px; font-size: 11px; font-weight: 600; color: var(--mc-text-3); }
.lp-cal span { height: 34px; display: grid; place-items: center; border-radius: 50%; }
.lp-cal .on { color: var(--mc-accent-text); font-weight: 600; background: var(--mc-accent-soft); }
.lp-cal .sel { color: #fff; font-weight: 600; background: var(--mc-accent); }
.lp-cal .off { color: var(--mc-text-3); }
.lp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-slots span { height: 40px; display: grid; place-items: center; border-radius: var(--mc-r-sm); border: 1.5px solid var(--mc-line); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.lp-slots .taken { color: var(--mc-text-3); border-style: dashed; text-decoration: line-through; }
.lp-slots .sel { color: #fff; background: var(--mc-accent); border-color: var(--mc-accent); }
.lp-booking-btn { height: 46px; display: grid; place-items: center; border-radius: var(--mc-r-pill); background: var(--mc-accent); color: #fff; font-weight: 500; }
.lp-toast {
    position: absolute; right: 0; bottom: clamp(24px, 4vw, 56px);
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    background: var(--mc-glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-radius: 18px; box-shadow: var(--mc-shadow-3);
}
.lp-toast > span:last-child { display: grid; gap: 1px; }
.lp-toast strong { font-size: var(--mc-fs-callout); letter-spacing: -.015em; }
.lp-toast-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mc-success); color: #fff; }
.lp-toast-icon .mc-icon { width: 18px; height: 18px; stroke-width: 2.6; }
@media (max-width: 820px) {
    .lp-booking { grid-template-columns: 1fr; }
    .lp-booking-side { border-right: 0; border-bottom: 1px solid var(--mc-line); }
    .lp-room { aspect-ratio: 16 / 6; }
    .lp-toast { position: static; margin: 16px auto 0; width: fit-content; }
}

/* ─── TYPES DE STUDIOS ─── */
.lp-studios { padding: 8px 0 24px; text-align: center; }
.lp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.lp-chips li { padding: 8px 16px; border-radius: var(--mc-r-pill); background: var(--mc-bg-elevated); box-shadow: var(--mc-shadow-1); font-size: var(--mc-fs-footnote); font-weight: 500; color: var(--mc-text); }

/* ─── ÉTAPES ─── */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lp-steps li { display: grid; gap: 10px; align-content: start; padding: 28px; background: var(--mc-bg-elevated); border-radius: var(--mc-r-xl); box-shadow: var(--mc-shadow-1); }
.lp-step-num { width: 44px; height: 44px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 50%; background: var(--mc-text); color: var(--mc-bg-elevated); font-family: var(--mc-font-display); font-size: 1.125rem; font-weight: 700; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: 1fr; } }

/* ─── BENTO ─── */
.lp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-tile { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 40px); background: var(--mc-bg); border-radius: var(--mc-r-xl); }
.lp-tile-wide { grid-column: span 2; }
.lp-tile-stat { align-content: center; }
.lp-big { font-family: var(--mc-font-display); font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; background: linear-gradient(120deg, var(--mc-text), var(--mc-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-tile-split { grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.lp-tile-split > div:first-child { display: grid; gap: 12px; }
.lp-occupancy { padding: 22px; background: var(--mc-bg-elevated); border-radius: var(--mc-r-lg); box-shadow: var(--mc-shadow-2); }
.lp-bar { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 10px; margin-top: 10px; font-size: var(--mc-fs-footnote); }
.lp-bar span { color: var(--mc-text-2); }
.lp-bar i { height: 8px; border-radius: 8px; background: var(--mc-fill-hover); overflow: hidden; }
.lp-bar b { display: block; height: 100%; border-radius: 8px; background: var(--mc-accent); }
.lp-bar em { font-style: normal; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
    .lp-bento { grid-template-columns: 1fr 1fr; }
    .lp-tile-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .lp-bento { grid-template-columns: 1fr; }
    .lp-tile-wide { grid-column: auto; }
}

/* ─── CARTES « AU QUOTIDIEN » ─── */
.lp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.lp-card { display: grid; gap: 10px; align-content: start; padding: 28px; background: var(--mc-bg-elevated); border-radius: var(--mc-r-xl); box-shadow: var(--mc-shadow-1); }
.lp-card-icon { width: 44px; height: 44px; margin-bottom: 6px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: var(--mc-accent-soft); color: var(--mc-accent); }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.lp-tags li { padding: 4px 10px; border-radius: var(--mc-r-pill); background: var(--mc-fill); font-size: var(--mc-fs-caption); font-weight: 500; color: var(--mc-text-2); }

/* ─── COMPARAISON ─── */
.lp-compare { overflow-x: auto; border-radius: var(--mc-r-xl); background: var(--mc-bg); }
.lp-compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--mc-fs-callout); }
.lp-compare th, .lp-compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--mc-line); }
.lp-compare tbody tr:last-child > * { border-bottom: 0; }
.lp-compare thead th { font-size: var(--mc-fs-footnote); font-weight: 600; color: var(--mc-text-2); }
.lp-compare th[scope="row"], .lp-compare thead th:first-child { text-align: left; font-weight: 500; color: var(--mc-text); width: 46%; }
.lp-compare thead th:first-child { color: var(--mc-text-2); font-weight: 600; }
.lp-compare .lp-us { background: color-mix(in srgb, var(--mc-accent) 7%, transparent); }
.lp-compare thead .lp-us { color: var(--mc-accent-text); }
.lp-yes, .lp-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.lp-yes { background: var(--mc-accent); color: #fff; }
.lp-yes .mc-icon { width: 15px; height: 15px; stroke-width: 2.6; }
.lp-no { color: var(--mc-text-3); }
.lp-part { font-size: var(--mc-fs-footnote); font-weight: 500; color: var(--mc-text-2); }

/* ─── TARIFS ─── */
.lp-pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; max-width: 920px; margin: 0 auto; }
.lp-plan { padding: clamp(28px, 4vw, 44px); background: var(--mc-bg); border-radius: var(--mc-r-xl); box-shadow: inset 0 0 0 2px var(--mc-accent); }
.lp-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 6px; font-family: var(--mc-font-display); font-size: 4.5rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-price span { font-size: 1.5rem; letter-spacing: -.02em; color: var(--mc-text-2); }
.lp-price small { font-family: var(--mc-font); font-size: var(--mc-fs-body); font-weight: 500; letter-spacing: -.01em; color: var(--mc-text-2); }
.lp-included { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.lp-included li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--mc-fs-callout); }
.lp-included .mc-icon { margin-top: 2px; color: var(--mc-accent); stroke-width: 2.4; }
.lp-why { padding: 28px; background: var(--mc-bg); border-radius: var(--mc-r-xl); }
.lp-why dl { margin: 16px 0 0; display: grid; }
.lp-why dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--mc-line); font-size: var(--mc-fs-callout); }
.lp-why dl > div:last-child { border-bottom: 0; }
.lp-why dt { color: var(--mc-text-2); }
.lp-why dd { margin: 0; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-why .lp-why-us dt { color: var(--mc-text); font-weight: 600; }
.lp-why .lp-why-us dd { color: var(--mc-accent-text); font-weight: 700; }
@media (max-width: 820px) { .lp-pricing { grid-template-columns: 1fr; } }

/* ─── FAQ ─── */
.lp-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.lp-faq-list { border-top: 1px solid var(--mc-line); }
.lp-faq-list details { border-bottom: 1px solid var(--mc-line); }
.lp-faq-list summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 0; cursor: pointer; list-style: none;
    font-size: var(--mc-fs-headline); font-weight: 600; letter-spacing: -.02em; line-height: 1.35;
}
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary:focus-visible { box-shadow: var(--mc-focus); border-radius: var(--mc-r-xs); }
.lp-faq-icon { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--mc-fill); color: var(--mc-text-2); transition: transform var(--mc-dur-2) var(--mc-ease-out), background-color var(--mc-dur-1) var(--mc-ease); }
.lp-faq-icon .mc-icon { width: 16px; height: 16px; }
.lp-faq-list details[open] .lp-faq-icon { transform: rotate(45deg); background: var(--mc-accent-soft); color: var(--mc-accent-text); }
.lp-faq-list details p { padding: 0 48px 22px 0; font-size: var(--mc-fs-body); line-height: 1.55; color: var(--mc-text-2); }
@media (max-width: 860px) { .lp-faq { grid-template-columns: 1fr; } }

/* ─── GARANTIES ─── */
.lp-trust { padding: 0 0 clamp(64px, 9vw, 120px); }
.lp-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.lp-trust-item { display: grid; gap: 8px; align-content: start; }
.lp-trust-item .mc-headline { margin-bottom: 4px; font-size: var(--mc-fs-body); }
@media (max-width: 960px) { .lp-trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-trust-grid { grid-template-columns: 1fr; } }

/* ─── APPEL FINAL (toujours sombre) ─── */
.lp-final { padding: clamp(80px, 12vw, 160px) 0; text-align: center; background: #000; color: #f5f5f7; }
.lp-final .mc-display { max-width: 820px; margin: 0 auto; color: #f5f5f7; }
.lp-final .mc-lead { max-width: 560px; margin: 20px auto 0; color: #a1a1a6; }
.lp-btn-light { background: #f5f5f7; color: #1d1d1f; }
.lp-btn-light:hover { background: #fff; }
.lp-link-light { color: #7d9fff; }
.lp-reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 28px; font-size: var(--mc-fs-footnote); color: #a1a1a6; }
.lp-reassure span { display: inline-flex; align-items: center; gap: 8px; }
.lp-reassure span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #6e6e73; margin-left: -16px; margin-right: 8px; }

/* ─── PIED DE PAGE ─── */
.lp-footer { padding: 32px 0 40px; background: var(--mc-bg); border-top: 1px solid var(--mc-line); }
.lp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.lp-footer ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.lp-footer ul a { font-size: var(--mc-fs-footnote); color: var(--mc-text-2); }
.lp-footer ul a:hover { color: var(--mc-text); }

/* Révélation : décalage léger entre éléments voisins */
.lp-steps .mc-reveal:nth-child(2), .lp-cards .mc-reveal:nth-child(3n+2) { transition-delay: .08s; }
.lp-steps .mc-reveal:nth-child(3), .lp-cards .mc-reveal:nth-child(3n) { transition-delay: .16s; }
