/* Coming soon — forêt / lieux insolites, brand-first */

:root {
    --cs-ink: #f4efe8;
    --cs-ink-soft: rgba(244, 239, 232, 0.82);
    --cs-ink-mute: rgba(244, 239, 232, 0.55);
    --cs-accent: #ff385c;
    --cs-display: "Syne", "Segoe UI", sans-serif;
    --cs-body: "Instrument Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body.cs {
    min-height: 100dvh;
    background: #0c0a0b;
    color: var(--cs-ink);
    font-family: var(--cs-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.cs-hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    isolation: isolate;
    overflow: hidden;
}

.cs-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #12180f;
    background-image: var(--cs-hero);
    background-size: cover;
    background-position: center 45%;
    transform: scale(1.06);
    animation: cs-drift 24s ease-in-out infinite alternate;
    will-change: transform;
}

.cs-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8, 12, 8, 0.28) 0%, rgba(8, 12, 8, 0.18) 38%, rgba(8, 12, 8, 0.72) 70%, rgba(8, 12, 8, 0.94) 100%),
        linear-gradient(90deg, rgba(8, 12, 8, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.cs-hero__content {
    position: relative;
    z-index: 2;
    width: min(42rem, 100%);
    padding:
        max(2.5rem, env(safe-area-inset-top))
        max(1.5rem, env(safe-area-inset-right))
        max(3.25rem, env(safe-area-inset-bottom))
        max(1.5rem, env(safe-area-inset-left));
}

.cs-brand-block {
    margin: 0 0 1.85rem;
    animation: cs-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-brand {
    margin: 0 0 0.65rem;
    line-height: 0;
}

.cs-brand__logo {
    display: block;
    height: clamp(3rem, 9vw, 4.25rem);
    width: auto;
    max-width: min(15rem, 78vw);
    /* Logo full blanc */
    filter:
        brightness(0) invert(1)
        drop-shadow(0 2px 16px rgba(0, 0, 0, 0.45));
}

.cs-slogan {
    margin: 0;
    max-width: 22rem;
    font-family: var(--cs-body);
    font-size: clamp(0.95rem, 2.4vw, 1.08rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--cs-ink-soft);
}

.cs-headline {
    margin: 0 0 0.9rem;
    font-family: "Instrument Serif", "Times New Roman", serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2.35rem, 9.5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--cs-ink);
    animation: cs-rise 0.95s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-lead {
    margin: 0 0 1.75rem;
    max-width: 24rem;
    font-size: clamp(1.02rem, 2.6vw, 1.18rem);
    font-weight: 400;
    line-height: 1.45;
    color: var(--cs-ink-soft);
    animation: cs-rise 1s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-meta {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cs-ink-mute);
    animation: cs-rise 1.05s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cs-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cs-drift {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .cs-hero__media {
        animation: none;
        transform: scale(1.04);
    }
    .cs-brand-block,
    .cs-headline,
    .cs-lead,
    .cs-meta {
        animation: none;
    }
}

@media (min-width: 900px) {
    .cs-hero {
        align-items: center;
    }

    .cs-hero__content {
        padding-left: clamp(2.5rem, 8vw, 6rem);
        padding-bottom: max(4rem, env(safe-area-inset-bottom));
    }
}
