/* Landing plein écran, sans scroll — fond blanc + halo doré radial (centre page), CTA premium doré */

html:has(body.landing-page--fullscreen) {
    height: 100%;
    overflow: hidden;
}

body.landing-page--fullscreen {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.landing-page--fullscreen {
    font-family: "DM Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.landing-page--fullscreen .landing-main--fullscreen {
    margin: 0;
    padding: 0;
    min-height: 0;
}

/* Fond blanc + dégradé radial (ellipse large) : apogée au centre, halo doré lisible sans bandeau brutal */
.landing-splash {
    position: relative;
    min-height: 100dvh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1.5rem 2rem;
    box-sizing: border-box;
    background-color: #ffffff;

    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #0f172a;
}

.landing-splash-inner {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    width: 100%;
    text-align: center;
}

/* Compte à rebours seul, entre titre et CTA */
.landing-timer-only {
    margin: 0.5rem 0 1.15rem;
    text-align: center;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.landing-timer-only span {
    color: #64748b;
}

/* Titre : DM Sans (comme le reste du site) + accents sur les leviers de sens */
.landing-splash-title {
    margin: 0 0 0.5rem;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: clamp(1.55rem, 4.8vw, 2.85rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.035em;
    color: #0c1222;
}

.landing-splash-title__block {
    display: block;
}

.landing-splash-title__block:first-child {
    font-weight: 600;
    font-size: 0.88em;
    letter-spacing: -0.03em;
    color: #334155;
    margin-bottom: 0.2rem;
}

.landing-splash-title__block--payoff {
    font-weight: 700;
    color: #0f172a;
    text-wrap: balance;
}

.landing-splash-title__years {
    display: inline;
    font-weight: 700;
}

.landing-splash-title__years-inner {
    background: linear-gradient(120deg, #9a6b2d 0%, #c9a227 35%, #e8c547 55%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    padding: 0 0.02em;
}

/* Encadré doré + léger angle (anciennement sur le prix) */
.landing-splash-title__today {
    display: inline-block;
    font-style: normal;
    font-weight: 700;
    margin: 0 0.08em;
    padding: 0.1em 0.4em 0.14em;
    font-size: 0.92em;
    line-height: 1.05;
    vertical-align: middle;
    border-radius: 0.22em;
    background: linear-gradient(165deg, rgba(5, 5, 5, 0.98) 0%, rgba(112, 112, 112, 0.95) 100%);
    box-shadow:
        0 0 0 1px rgba(67, 67, 67, 0.35),
        0 2px 12px rgba(0, 0, 0, 0.12);
    color: #ffffff;
    transform: rotate(2.5deg);
    transform-origin: 50% 55%;
}

.landing-splash-title__price {
    display: inline;
    white-space: nowrap;
}

/* Souligné bleu italique (ancien style « aujourd’hui ») */
.landing-splash-title__price-inner {
    display: inline;
    margin-left: 0.06em;
    font-style: italic;
    font-weight: 700;
    font-size: 1.05em;
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 0.07em;
    text-underline-offset: 0.12em;
    text-decoration-color: rgb(0, 0, 0);
}

.landing-splash-title::after {
    content: "";
    display: block;
    width: min(4.5rem, 18vw);
    height: 3px;
    margin: 1rem auto 0;
    border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
    .landing-splash-title__today {
        transform: none;
    }
}

.landing-splash-baseline {
    margin: 0 0 2rem;
    font-size: clamp(0.95rem, 2.8vw, 1.125rem);
    line-height: 1.55;
    color: #475569;
    font-weight: 400;
}

.landing-splash-baseline strong {
    color: #0f172a;
    font-weight: 600;
}

/* Barre haute discrète */
.landing-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    padding-top: max(1rem, env(safe-area-inset-top));
}

.landing-topbar-logo {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.landing-topbar-logo:hover {
    color: #2563eb;
    text-decoration: none;
}

.landing-topbar-actions {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.landing-topbar-actions a {
    color: #64748b;
    text-decoration: none;
}

.landing-topbar-actions a:hover {
    color: #0f172a;
    text-decoration: underline;
}

/* CTA premium : pill, or / champagne, reflet léger + libellé + prix compacts */
.landing-cta-premium {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.85rem 1.85rem 0.75rem;
    border-radius: 9999px;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #1a1408;
    border: 1px solid rgba(255, 236, 180, 0.65);
    background: linear-gradient(
        145deg,
        #f0d78c 0%,
        #e8c86a 18%,
        #fff8e7 42%,
        #d4a84b 55%,
        #c9a227 78%,
        #a67c1a 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.25) inset,
        0 2px 4px rgba(0, 0, 0, 0.15) inset,
        0 4px 24px rgba(212, 168, 75, 0.45),
        0 8px 40px rgba(0, 0, 0, 0.25);
}

.landing-cta-premium:hover {
    color: #1a1408;
    text-decoration: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.35) inset,
        0 2px 4px rgba(0, 0, 0, 0.12) inset,
        0 6px 32px rgba(244, 220, 140, 0.55),
        0 12px 48px rgba(0, 0, 0, 0.3);
}

.landing-cta-premium:active {
    transform: scale(0.98);
}

.landing-cta-premium--disabled {
    cursor: default;
    opacity: 0.55;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.landing-cta-premium--disabled .landing-cta-premium__shine {
    display: none;
}

.landing-cta-premium--disabled:active {
    transform: none;
}

.landing-cta-premium__stack {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.2;
}

.landing-cta-premium__title {
    font-size: 1em;
    font-weight: 700;
}

.landing-cta-premium__prices {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.72rem;
    opacity: 0.88;
}

.landing-cta-premium__was {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    font-weight: 500;
    opacity: 0.72;
}

.landing-cta-premium__now {
    font-weight: 700;
    font-size: 1.00rem;
}

/* Reflet qui traverse lentement (effet « rare / premium ») */
.landing-cta-premium__shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: landing-shine 3.5s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.85;
}

@keyframes landing-shine {
    0%, 100% {
        background-position: 130% 0;
    }
    50% {
        background-position: -30% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-cta-premium__shine {
        animation: none;
        opacity: 0.35;
    }

    .landing-cta-premium:active {
        transform: none;
    }
}

.landing-splash-social {
    margin: 1.75rem 0 0;
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    line-height: 1.45;
    color: #64748b;
    font-weight: 400;
}

.landing-splash-social strong {
    color: #334155;
    font-weight: 600;
}
