:root {
    --cream: #f9f4ec;
    --sand: #f0e7d8;
    --ink: #2b2a27;
    --muted: #5f5b53;
    --green: #2f5d50;
    --green-dark: #234639;
    --terracotta: #b4532f;
    --terracotta-dark: #8f4024;
    --line: #e2d7c5;
    --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 1.0625rem/1.7 var(--sans);
}

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

a { color: var(--green); }

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }
section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.alt { background: var(--sand); }

.skip {
    position: absolute;
    left: -999px;
    background: var(--ink);
    color: #fff;
    padding: .5rem 1rem;
    z-index: 20;
}
.skip:focus { left: 0; top: 0; }

/* En-tête */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(249, 244, 236, .95);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
}
.brand {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.2;
}
.brand small {
    display: block;
    font: .75rem var(--sans);
    color: var(--muted);
}
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--terracotta); }

/* Boutons */
.btn {
    display: inline-block;
    padding: .8rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--terracotta);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { color: var(--terracotta); }
.btn-ghost:hover { background: var(--sand); }

/* Accueil */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0; }
.hero .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.eyebrow {
    color: var(--terracotta);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.hero h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); margin-bottom: 1.25rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero-address { font-size: .95rem; color: var(--muted); }
.hero img { width: 100%; border-radius: 10rem 10rem .75rem .75rem; aspect-ratio: 4 / 5; object-fit: cover; }

/* Listes et cartes */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.tags li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 2rem;
    padding: .35rem 1rem;
    font-size: .95rem;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: .75rem; padding: 1.5rem; }
.card-price { font-family: var(--serif); font-size: 2.25rem; color: var(--green); line-height: 1.2; margin-bottom: .5rem; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }

/* Questions fréquentes */
details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: .6rem; color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--green-dark); color: #f3ede2; padding: 2.5rem 0 5rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin-bottom: .35rem; }

/* Bouton d'appel mobile */
.call-bar { display: none; }

@media (max-width: 52rem) {
    .site-nav { display: none; }
    .hero .wrap, .two-cols, .cards { grid-template-columns: 1fr; }
    .hero img { max-height: 32rem; border-radius: .75rem; }
    .call-bar {
        display: block;
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        z-index: 10;
        text-align: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    }
}
