@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Nunito:wght@400;700;800&display=swap');

:root {
    --safran: #F8B924;
    --safran-card: #E8AC1E;
    --safran-card-dark: #D49F1A;
    --brique: #B92624;
    --brique-dark: #7A1F1C;
    --texte: #4A1B0C;
    --texte-clair: #6B2A10;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--safran);
    color: var(--texte);
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

h1, h2, h3, .brand-word {
    font-family: 'Alfa Slab One', serif;
    font-weight: 400;
    color: var(--brique);
    margin: 0;
    line-height: 1.15;
}

a {
    color: var(--brique-dark);
}

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

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.tile-divider {
    height: 26px;
    background-image: url('../img/pattern-tile.svg');
    background-repeat: repeat-x;
    background-size: 40px 40px;
    background-position: center;
    opacity: 0.8;
}

/* Splash */

html.splash-active,
html.splash-active body {
    overflow: hidden;
    height: 100%;
}

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--safran);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.splash-badge {
    position: relative;
    width: 200px;
    max-width: 55vw;
}

.splash-badge-base {
    display: block;
    width: 100%;
    height: auto;
}

.splash-badge-dancer {
    position: absolute;
    width: 20.76%;
    left: 38.22%;
    top: -10.08%;
    height: auto;
    transform-origin: 50% 94%;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--safran);
    border-bottom: 3px solid var(--brique);
    padding: 10px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-header .logo-link img {
    width: auto;
    height: 48px;
}

.site-header .wordmark {
    font-family: 'Alfa Slab One', serif;
    font-size: 15px;
    color: var(--brique);
    letter-spacing: 0.5px;
}

.btn {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    cursor: pointer;
    background: var(--brique);
    color: var(--safran);
    transition: transform 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
}

/* Hero */

.hero {
    padding: 44px 0 36px;
    text-align: center;
}

.hero .kicker {
    font-family: 'Alfa Slab One', serif;
    font-size: 13px;
    color: var(--brique-dark);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 14px;
}

.hero p {
    font-size: 16px;
    color: var(--texte-clair);
    max-width: 480px;
    margin: 0 auto 22px;
}

.hero-badge {
    width: 120px;
    margin: 0 auto 18px;
}

/* Sections generic */

section {
    padding: 36px 0;
}

.section-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 22px;
}

/* Concept highlights */

.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.highlight-card {
    background: var(--safran-card);
    border: 2px solid var(--brique);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
}

.highlight-card svg {
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
    display: block;
}

.highlight-card p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--texte);
}

/* Menu */

.recipe-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recipe-card {
    background: var(--safran-card);
    border: 2px solid var(--brique);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.recipe-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.recipe-card p {
    margin: 0;
    font-size: 13px;
    color: var(--texte-clair);
}

.recipe-price {
    font-family: 'Alfa Slab One', serif;
    font-size: 15px;
    color: var(--brique);
    white-space: nowrap;
}

/* Reservation form */

.reservation {
    background: var(--safran-card);
    border: 3px solid var(--brique);
    border-radius: 20px;
    padding: 24px 20px;
}

.field-label {
    display: block;
    font-weight: 800;
    font-size: 13px;
    color: var(--texte);
    margin: 18px 0 8px;
}

.field-label:first-of-type {
    margin-top: 0;
}

.recipe-choice {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recipe-choice label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--safran);
    border: 2px solid var(--safran-card-dark);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.recipe-choice input[type="radio"] {
    accent-color: var(--brique);
    width: 18px;
    height: 18px;
}

.recipe-choice label.selected {
    border-color: var(--brique);
}

.recipe-choice .price-tag {
    margin-left: auto;
    color: var(--brique-dark);
    font-size: 13px;
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--safran);
    border: 2px solid var(--safran-card-dark);
    border-radius: 12px;
    padding: 10px 14px;
}

.stepper span.count {
    font-family: 'Alfa Slab One', serif;
    font-size: 20px;
    color: var(--brique);
    min-width: 24px;
    text-align: center;
}

.stepper-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--brique);
    background: var(--safran-card);
    color: var(--brique);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.options-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--safran);
    border: 2px solid var(--safran-card-dark);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
}

.options-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--brique);
    border-radius: 6px;
    background: var(--safran-card);
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.options-list input[type="checkbox"]:checked {
    background: var(--brique);
}

.options-list input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid var(--safran);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.options-list .opt-name {
    flex: 1;
}

.options-list .opt-price {
    color: var(--brique-dark);
    font-weight: 700;
    font-size: 13px;
}

.total-box {
    background: var(--brique);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 20px 0;
}

.total-box .label {
    color: var(--safran);
    font-size: 13px;
    font-weight: 700;
}

.total-box .amount {
    font-family: 'Alfa Slab One', serif;
    color: var(--safran);
    font-size: 26px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
textarea,
select {
    width: 100%;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    padding: 11px 14px;
    border: 2px solid var(--safran-card-dark);
    border-radius: 10px;
    background: var(--safran);
    color: var(--texte);
}

input::placeholder,
textarea::placeholder {
    color: var(--texte-clair);
    opacity: 0.7;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brique);
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row > * {
    flex: 1;
    min-width: 0;
}

textarea {
    resize: vertical;
    min-height: 70px;
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
    padding: 14px;
}

.form-feedback {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    display: none;
}

.form-feedback.success {
    display: block;
    background: var(--safran);
    border: 2px solid var(--brique);
    color: var(--brique-dark);
}

.form-feedback.error {
    display: block;
    background: var(--brique);
    color: var(--safran);
}

/* Footer */

.site-footer {
    padding: 30px 0 40px;
    text-align: center;
    border-top: 3px solid var(--brique);
}

.site-footer p {
    margin: 4px 0;
    font-size: 13px;
    color: var(--texte-clair);
}

.site-footer .footer-brand {
    font-family: 'Alfa Slab One', serif;
    color: var(--brique);
    font-size: 16px;
    margin-bottom: 8px;
}

/* Tablet and up */

@media (min-width: 640px) {
    .hero h1 {
        font-size: 40px;
    }

    .highlights {
        grid-template-columns: repeat(4, 1fr);
    }

    .recipe-list {
        flex-direction: row;
    }

    .recipe-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .recipe-price {
        margin-top: 6px;
    }
}
