/* Yuminote — design tokens (voir BRAND.md) */
:root {
    --teal: #2e6e6a;
    --teal-dark: #234f4c;
    --terracotta: #c15c3a;
    --terracotta-dark: #a64c2e;
    --cream: #f4efe4;
    --surface: #fbf8f1;
    --ink: #2c2820;
    --taupe: #8b8474;
    --hairline: #e7decb;

    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-script: 'Dancing Script', 'Segoe Script', cursive;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius: 14px;
    --maxw: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

.script {
    font-family: var(--font-script);
    color: var(--terracotta);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 16px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease,
    transform 0.05s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--terracotta);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
}

.btn-ghost {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--hairline);
}

.btn-ghost:hover {
    background: #fff;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244, 239, 228, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hairline);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand svg {
    width: 34px;
    height: 34px;
}

.brand .name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
}

.brand .name .y {
    color: var(--teal);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--taupe);
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--ink);
}

/* Hero */
.hero {
    padding: 46px 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
}

.hero .script {
    font-size: 30px;
    line-height: 1;
}

.hero h1 {
    font-size: 44px;
    margin-top: 4px;
}

.hero h1 .accent {
    color: var(--terracotta);
}

.hero p.lead {
    font-size: 18px;
    color: #6e675a;
    max-width: 30em;
    margin: 18px 0 26px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Recipe card visual */
.recipe-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 14px;
    max-width: 380px;
    margin: 0 auto;
}

.recipe-card .photo {
    height: 168px;
    border-radius: 12px;
    background: #fde7dd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.recipe-card .photo .fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-card h3 {
    font-size: 20px;
    margin: 14px 4px 0;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 4px 4px;
}

.chip {
    font-size: 13px;
    padding: 4px 11px;
    border-radius: 20px;
}

.chip-warm {
    background: #fff0d6;
    color: #8a5a12;
}

.chip-green {
    background: #e6f2ea;
    color: #2f6b49;
}

.chip-coral {
    background: #fde7dd;
    color: #993c1d;
}

/* Sections */
.section {
    padding: 54px 0;
}

.section-head {
    text-align: center;
    max-width: 40em;
    margin: 0 auto 34px;
}

.section-head .script {
    font-size: 26px;
}

.section-head h2 {
    font-size: 32px;
    margin-top: 4px;
}

.section-head p {
    color: var(--taupe);
    margin: 12px 0 0;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 24px;
}

.card .ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.card h3 {
    font-size: 20px;
}

.card p {
    color: #6e675a;
    margin: 8px 0 0;
    font-size: 15px;
}

.ic-teal {
    background: #e6ead9;
    color: var(--teal);
}

.ic-coral {
    background: #fde7dd;
    color: var(--terracotta);
}

.ic-warm {
    background: #fff0d6;
    color: #b07a16;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    counter-reset: step;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step .num {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--cream);
    font-family: var(--font-serif);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    font-size: 19px;
}

.step p {
    color: #6e675a;
    margin: 4px 0 0;
    font-size: 15px;
}

/* Devices / stores band */
.band {
    background: var(--teal);
    color: var(--cream);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
}

.band h2 {
    color: var(--cream);
    font-size: 30px;
}

.band p {
    color: #dfe3d2;
    max-width: 34em;
    margin: 12px auto 22px;
}

.stores {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--cream);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
}

.store small {
    display: block;
    opacity: 0.75;
    font-size: 11px;
}

/* Final CTA */
.cta {
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    font-size: 34px;
}

.cta p {
    color: var(--taupe);
    margin: 12px 0 24px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--hairline);
    padding: 26px 0;
}

.footer-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    color: var(--taupe);
    font-size: 14px;
}

.footer-row .brand .name {
    font-size: 18px;
}

/* Tablet */
@media (min-width: 680px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 52px;
    }

    .footer-row {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .hero {
        padding: 70px 0 40px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Bandeau « inscriptions fermées » */
.closed-banner {
    background: var(--terracotta);
    color: var(--cream);
    border-bottom: 1px solid var(--terracotta-dark);
}

.closed-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.closed-badge {
    flex: none;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 5px 14px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.closed-inner p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    min-width: 0;
    flex: 1;
}

.closed-inner strong {
    font-weight: 600;
}

/* Aperçu : cadres d'appareil */
.shots {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    justify-items: center;
}

.device {
    margin: 0;
    width: 100%;
    max-width: 250px;
}

.device-phone .shot {
    position: relative;
    aspect-ratio: 9 / 19;
    border-radius: 30px;
    border: 8px solid #24211c;
    background: linear-gradient(160deg, #fbf8f1, #efe7d6);
    overflow: hidden;
    box-shadow: 0 18px 40px -18px rgba(44, 40, 32, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Encoche */
.device-phone .shot::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 15px;
    background: #24211c;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

/* Placeholder (visible tant que la capture n'est pas fournie) */
.device-phone .shot::before {
    content: attr(data-label);
    position: absolute;
    color: var(--taupe);
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 15px;
}

.device-phone img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shots-note {
    text-align: center;
    color: var(--taupe);
    font-size: 13px;
    margin: 20px 0 0;
}

/* Liens légaux du pied de page */
.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--taupe);
}

.footer-links a:hover {
    color: var(--ink);
}

@media (min-width: 680px) {
    .shots {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}
