/* ===== Reset minimal et variables ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    line-height: 1.6;
    color: #141414;
    background: #FFFFFF;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
}

p {
    margin: 0 0 1rem;
}

button {
    font-family: inherit;
}

:root {
    --bg: #ffffff;
    --ink: #1a1a1a;
    --muted: #6b7280;
    --brand: #3C2F2F;
    --accent: #547D57;
    --paper: #F5F3EE;
    --ring: #0f766e;
    --container: 1120px;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* ===== Accessibilité ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--accent);
    color: white;
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Layout ===== */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 1rem;
    width: 100%;
}

/* ===== Header ===== */
header {
    position: sticky;
    top: 0;
    background: rgba(245, 243, 238, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
}

.bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.4px;
    color: var(--brand);
    text-decoration: none;
    display: inline-block;
}

.brand:hover {
    color: var(--accent);
}

/* Navigation améliorée */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

nav a {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

nav a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

nav a:focus-visible {
    background: var(--accent);
    color: #fff;
}

/* Menu mobile hamburger */
.nav-toggle {
    display: none;
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.nav-toggle:hover {
    background: var(--brand);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--paper), #fff);
    border-bottom: 1px solid #eee;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 1rem 0;
    color: var(--brand);
}

.hero .lead {
    color: var(--muted);
    max-width: 60ch;
    font-size: 1.125rem;
}

.tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
}

.hero-card figure {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 12px;
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
    color: #6b7280;
    font-weight: 500;
    margin: 0 0 1rem;
}

/* ===== Sections ===== */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0 0 1.5rem;
    color: var(--brand);
}

section .lead {
    color: var(--muted);
    max-width: 70ch;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hint {
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}

/* ===== Boutique ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.card figure {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

.card .body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card p {
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: auto;
}

.badge {
    font-size: 0.7rem;
    color: #fff;
    background: var(--brand);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
}

/* ===== À propos ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.about li {
    margin-bottom: 0.5rem;
    color: var(--muted);
}

.about aside {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.about aside h3 {
    color: var(--brand);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* ===== Contact ===== */
form {
    display: grid;
    gap: 1.25rem;
    max-width: 640px;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: var(--ink);
}

label .required {
    color: #dc2626;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font: inherit;
    background: #fff;
    transition: border-color 0.2s ease;
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--accent);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    outline: none;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

button[type="submit"] {
    appearance: none;
    border: 0;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    justify-self: start;
}

button[type="submit"]:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(84, 125, 87, 0.3);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* ===== FAQ ===== */
.faq-list {
    margin-top: 2rem;
}

details {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background: #fff;
    transition: all 0.2s ease;
}

details:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

details+details {
    margin-top: 1rem;
}

details[open] {
    background: var(--paper);
    border-color: var(--accent);
}

summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--brand);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    transition: transform 0.2s ease;
}

details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

details p {
    margin-top: 1rem;
    color: var(--muted);
    padding-left: 0.5rem;
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid #e5e7eb;
    background: var(--paper);
    padding: 2rem 0;
    color: #374151;
}

.foot {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.foot a {
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.foot a:hover {
    background: var(--accent);
    color: white;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    section {
        padding: 2.5rem 0;
    }

    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        z-index: 999;
        display: none;
        justify-content: center;
        align-items: center;
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    nav a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        color: white;
    }

    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: white;
        color: var(--brand);
        border: none;
        padding: 0.75rem;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1.5rem;
        line-height: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .bar {
        padding: 0.75rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .cards {
        gap: 1rem;
    }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Print ===== */
@media print {
    header {
        position: static;
    }

    .skip-link,
    .nav-toggle,
    button {
        display: none;

    }

    body {
        color: #000;
        background: #fff;
    }

    section {
        page-break-inside: avoid;
    }
}