/* ==========================================================================
   La Cuisine — Opening Soon
   v1 statique HTML/CSS/JS
   ========================================================================== */

:root {
    --green: #9dbfae;
    --green-dark: #1e7a3a;
    --ink: #111;
    --paper: #f4f1ea;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Lekton', ui-monospace, monospace;
    color: var(--ink);
    background: #000;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Stage — plein écran avec image de fond rotative
   -------------------------------------------------------------------------- */

.stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2.5rem);
    min-height: 0;
}

.stage__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: opacity .6s ease;
}

.stage__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .22);
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Card — la « feuille verte »
   -------------------------------------------------------------------------- */

.card {
    position: relative;
    z-index: 2;
    width: clamp(260px, 80vw, 380px);
    background: var(--green) url("../img/texture-paper.jpg") center / cover no-repeat;
    border: none;
    padding: clamp(0.75rem, 2.5vw, 1.25rem) clamp(1.25rem, 4vw, 1.75rem);
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
    text-align: center;
    box-shadow: 0 12px 50px rgba(0, 0, 0, .5), 0 4px 16px rgba(0, 0, 0, .3);
}

.card__logo {
    display: block;
    width: clamp(140px, 55%, 200px);
    height: auto;
    margin: 0.9rem auto 0.5rem;
    mix-blend-mode: multiply;
}

.card__status {
    font-family: 'Azeret Mono', monospace;
    font-weight: 400;
    font-size: clamp(0.9rem, 2.6vw, 1.05rem);
    letter-spacing: .15em;
    color: #d03a2b;
    margin-top: 0.3rem;
    margin-bottom: clamp(1.1rem, 3.5vw, 1.5rem);
}

.card__menu-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(0.88rem, 2.5vw, 1rem);
    margin-bottom: clamp(0.65rem, 2.2vw, 1rem);
}

.card__menu {
    list-style: none;
    font-size: clamp(0.75rem, 2.1vw, 0.88rem);
    line-height: 1.45;
    margin-bottom: clamp(0.75rem, 2.2vw, 1.1rem);
}

.card__menu li {
    margin-bottom: .1em;
}

.card__menu-sep {
    margin: .3em 0;
    line-height: 1;
    opacity: .7;
}

.card__tagline {
    font-size: clamp(0.82rem, 2.3vw, 0.95rem);
    line-height: 1.4;
    margin-bottom: clamp(0.65rem, 2.2vw, 1rem);
}

.card__hours {
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    line-height: 1.6;
    letter-spacing: .04em;
    margin-bottom: clamp(0.65rem, 2vw, 0.9rem);
    opacity: .85;
}

.card__instagram {
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    margin-bottom: clamp(0.65rem, 2vw, 0.9rem);
    font-style: italic;
}

.card__instagram a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

.card__tagline--bold {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    padding-top: 0.5rem;
    margin-bottom: 0;
}

.card__sep {
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: clamp(1rem, 3vw, 1.25rem);
}

/* --------------------------------------------------------------------------
   Info-bar — bandeau blanc en bas de page (adresse + contact)
   -------------------------------------------------------------------------- */

.info-bar {
    background: #fff;
    color: var(--ink);
    text-align: center;
    padding: clamp(1rem, 3.5vw, 1.5rem) clamp(1rem, 4vw, 2rem);
    font-size: clamp(0.78rem, 2.2vw, 0.9rem);
    line-height: 1.6;
    letter-spacing: .01em;
}

.info-bar p + p {
    margin-top: .15rem;
}

.info-bar a {
    transition: opacity .15s ease;
}

.info-bar a:hover,
.info-bar a:focus-visible {
    opacity: .6;
    text-decoration: none;
}

.info-bar__sep {
    display: inline-block;
    margin: 0 .5em;
    opacity: .6;
}

/* Desktop : condenser sur une seule ligne si possible */
@media (min-width: 768px) {
    .info-bar {
        display: flex;
        flex-wrap: wrap;
        gap: .25rem 1.5rem;
        align-items: center;
        justify-content: center;
    }

    .info-bar p {
        margin: 0;
    }

    .info-bar p + p {
        margin-top: 0;
    }
}

/* --------------------------------------------------------------------------
   Responsive — ajustements desktop / paysage
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
    .card {
        padding: 2.5rem 2rem;
    }
}

/* Mode paysage téléphone : autoriser le scroll si la carte dépasse */
@media (max-height: 600px) and (orientation: landscape) {
    .stage {
        padding: 1.5rem;
        align-items: flex-start;
    }

    .card {
        margin: 1rem 0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stage__bg {
        transition: none;
    }
}
