:root {
    --bg: #fdf6f0;
    --surface: rgba(253, 246, 240, 0.82);
    --surface-strong: #fff9f5;
    --text: #2a0a1e;
    --muted: #7a3050;
    --accent: #c8102e;
    --accent-dark: #8c0a3a;
    --accent-2: #e85a1a;
    --accent-3: #f5a800;
    --accent-purple: #5c1a6e;
    --line: rgba(140, 10, 58, 0.14);
    --shadow: 0 20px 50px rgba(92, 26, 110, 0.12);
    --radius: 24px;
    --max-width: 1180px;
}

/* ── Homer qui court ───────────────────────────────────────────────────────── */
.homer-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 58px;
    overflow: hidden;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-dark) 35%, var(--accent) 65%, var(--accent-2) 85%, var(--accent-3) 100%);
}

.homer-runner {
    position: absolute;
    top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    filter: drop-shadow(1px 2px 0 rgba(0,0,0,0.15));
    animation: homerMove 18s linear infinite, homerFlip 18s linear infinite;
}

.homer-runner img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.homer-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    animation: textCounterFlip 18s linear infinite;
    display: inline-block;
}

/* Déplacement gauche → droite → gauche */
@keyframes homerMove {
    0%   { left: -340px; }
    50%  { left: calc(100% + 340px); }
    100% { left: -340px; }
}

/* Retournement du groupe au demi-parcours */
@keyframes homerFlip {
    0%, 49.99%  { transform: scaleX(1); }
    50%, 99.99% { transform: scaleX(-1); }
}

/* Contre-retournement du texte : toujours lisible gauche→droite */
@keyframes textCounterFlip {
    0%, 49.99%  { transform: scaleX(1); }
    50%, 99.99% { transform: scaleX(-1); }
}

body {
    padding-top: 58px;
}
/* ─────────────────────────────────────────────────────────────────────────── */



html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(92, 26, 110, 0.07), transparent 30%),
        radial-gradient(circle at right 20%, rgba(200, 16, 46, 0.07), transparent 25%),
        radial-gradient(circle at bottom center, rgba(245, 168, 0, 0.06), transparent 35%),
        linear-gradient(180deg, #fdf6f8 0%, #f5eef2 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.site-header,
.site-footer,
main {
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 1rem clamp(1.2rem, 3vw, 2rem) 0;
}

.topbar,
.brand-row,
.page-shell,
.section-shell,
.site-footer {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.topbar p {
    margin: 0;
}

.topbar a {
    text-decoration: none;
    font-weight: 700;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(135deg, rgba(92,26,110,0.06) 0%, rgba(200,16,46,0.05) 50%, rgba(232,90,26,0.04) 100%);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo {
    width: 4.4rem;
    height: 4.4rem;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(74, 36, 18, 0.16));
}

.brand strong,
.hero h1,
.page-hero h1,
.card h2,
.menu-card h2,
.news-card h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.brand strong {
    display: block;
    font-size: 1.25rem;
}

.brand small {
    color: var(--muted);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-dark) 50%, var(--accent) 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: #fff;
    transform: translateY(-1px);
}

.site-nav a.nav-admin {
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-dark) 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
}

.site-nav a.nav-admin:hover {
    background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: #fff;
}

.nav-toggle {
    display: none;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--text);
}

main {
    padding: 1.5rem 0 4rem;
}

.case-bar,
.home-hero,
.home-about,
.home-hours {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.case-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(92,26,110,0.08), rgba(200,16,46,0.08), rgba(245,168,0,0.1));
    box-shadow: var(--shadow);
}

.case-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(140, 10, 58, 0.12);
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.case-bar a:hover,
.case-bar a:focus-visible {
    transform: translateY(-1px);
    color: #fff;
    background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 60%, var(--accent-2) 100%);
}

.home-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
    margin-bottom: 1.2rem;
}

.hero-content,
.home-about article,
.home-about aside,
.hours-header,
.hours-body {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.hero-content {
    padding: clamp(1.4rem, 3.5vw, 2.4rem);
}

.hero-content h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 0.98;
    font-family: Georgia, "Times New Roman", serif;
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-dark) 40%, var(--accent) 70%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1rem;
}

.hero-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.home-about {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    margin-bottom: 1.2rem;
}

.home-about article,
.home-about aside,
.hours-header,
.hours-body {
    padding: 1.3rem;
}

.home-about h2,
.hours-header h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1.08;
    font-family: Georgia, "Times New Roman", serif;
}

.text-case {
    margin-top: 0.8rem;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(140, 10, 58, 0.15);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
}

.home-hours {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.25rem;
}

.hours-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.78rem 0;
    border-bottom: 1px solid var(--line);
}

.hours-list li:last-child {
    border-bottom: 0;
}

.hero,
.page-hero {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: stretch;
    padding: 2rem 0 1rem;
}

.hero-copy,
.hero-visual,
.card,
.page-hero {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.hero h1,
.page-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 0.95;
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-dark) 40%, var(--accent) 70%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p,
.page-hero p,
.card p,
blockquote {
    margin: 0;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 34rem;
    font-size: 1.1rem;
    color: var(--muted);
}

.eyebrow {
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 60%, var(--accent-2) 100%);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.hero-visual {
    overflow: hidden;
    min-height: 420px;
}

.hero-visual img,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-shell {
    padding-top: 1rem;
}

.intro-grid,
.features,
.contact-grid,
.testimonials-grid,
.news-list {
    display: grid;
    gap: 1.25rem;
}

.intro-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.features,
.testimonials-grid,
.news-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.card {
    padding: 1.6rem;
}

.spotlight {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), rgba(252, 231, 206, 0.8));
}

.info-card,
.accent-card {
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(244, 221, 198, 0.78));
}

.card h2,
.menu-card h2,
.news-card h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1.05;
}

.schedule-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1.25rem;
    align-items: start;
}

.section-heading {
    padding: 1rem 0;
}

.schedule-list,
.contact-form {
    display: grid;
    gap: 0.9rem;
}

.schedule-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.schedule-list li:last-child {
    border-bottom: 0;
}

.schedule-list .ferme {
    color: #c0392b;
}

.services {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--muted);
}

.page-shell {
    padding-top: 1.5rem;
}

.page-hero {
    padding: clamp(1.6rem, 4vw, 2.8rem);
}

.compact-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.menu-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.menu-card,
.gallery-card,
.news-card,
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price,
.rating {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.gallery-card {
    padding: 0;
    overflow: hidden;
}

.gallery-card figcaption {
    padding: 1rem 1.2rem 1.3rem;
    color: var(--muted);
}

.gallery-card img {
    aspect-ratio: 4 / 3;
}

.contact-form label {
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(75, 38, 20, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

blockquote {
    font-size: 1.1rem;
    color: var(--text);
}

.site-footer {
    display: grid;
    gap: 0.25rem;
    padding: 1.25rem 1rem 2.5rem;
    color: #e8c8d0;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-dark) 60%, var(--accent) 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: 2rem;
}

.site-footer p {
    margin: 0;
}

.admin-link {
    margin-top: 0.8rem !important;
    font-size: 0.75rem;
    opacity: 0.4;
}

.admin-link:hover {
    opacity: 0.8;
}

@media (max-width: 900px) {
    .hero,
    .intro-grid,
    .features,
    .schedule-section,
    .home-hero,
    .home-about,
    .home-hours,
    .menu-grid,
    .gallery-grid,
    .contact-grid,
    .testimonials-grid,
    .news-list {
        grid-template-columns: 1fr;
    }

    .brand-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-visual {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .case-bar {
        border-radius: 18px;
    }

    .case-bar a {
        width: 100%;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        align-items: flex-start;
    }

    .hero-copy,
    .page-hero,
    .card {
        padding: 1.25rem;
    }

    .hero h1,
    .page-hero h1 {
        line-height: 1;
    }

    .schedule-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .hours-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}
