/* Page d'accueil / message expiré / objet sans message — mobile, tient sur un écran */

:root {
    --gold: #aa8800;
    --gold-dark: #896f00;
    --ink: #2b2a26;
    --muted: #6b675d;
    --card: #fffdf8;
    --line: rgba(170, 136, 0, 0.18);
}

/* main.css centre le body sur 97vh : on gère la hauteur ici */
body.landing {
    display: block;
    height: auto;
    color: var(--ink);
}

.landing-main {
    box-sizing: border-box;
    max-width: 440px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.waiter {
    color: var(--muted);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Annule le padding de 15 % et la taille de police de main.css */
.landing .default-message,
.landing .welcome-message {
    padding: 0;
    font-size: 1rem;
    animation: rise 0.5s ease-out both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(170, 136, 0, 0.25);
}

.panel h1 {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.25;
    margin: 14px 0 8px;
    text-wrap: balance;
}

.lead {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--muted);
    margin: 0;
}

.hint {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 8px 0 0;
}

.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
}

/* Bloc boutique */
.offer {
    margin-top: 24px;
    padding: 18px 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    animation: rise 0.5s 0.15s ease-out both;
}

.offer-text {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 6px 0 14px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(170, 136, 0, 0.28);
    transition: background-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:active {
    background: var(--gold-dark);
    color: #fff;
}

/* Carte du dernier article de blog (insérée par le script de index.html) */
.blog-card {
    display: flex;
    align-items: stretch;
    margin-top: 12px;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    animation: rise 0.5s ease-out both;
}

.blog-card:hover,
.blog-card:active {
    color: inherit;
}

.blog-card-img {
    flex: 0 0 96px;
    width: 96px;
    min-height: 96px;
    object-fit: cover;
    background: #f1ede2;
}

.blog-card-body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 4px 0 6px;
}

.blog-card-more {
    font-size: 0.85rem;
    color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
    .waiter,
    .landing .default-message,
    .landing .welcome-message,
    .offer,
    .blog-card {
        animation: none;
    }
}
