:root {
  --bg: #fdf8f4;
  --cream: #f5ebe3;
  --soft: #f4e8e1;
  --line: #e8dad1;
  --rose: #c08479;
  --rose-dark: #a26a60;
  --rose-light: #ecd3cc;
  --brown: #3e2c26;
  --text: #4a3832;
  --muted: #8c7a72;
  --gold: #c4a06a;
  --white: #fff;
  --radius: 14px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Parisienne', cursive;
  --shadow: 0 10px 30px -12px rgba(62, 44, 38, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--brown); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.script { font-family: var(--script); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.lead { font-size: 1.12rem; color: var(--text); }
.link { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.small.link { font-size: .88rem; }

/* Bandeau + en-tête */
.announce { background: var(--brown); color: var(--cream); text-align: center; font-size: .82rem; letter-spacing: .06em; padding: 8px 16px; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 8px 0 0; }
.logo { justify-self: center; display: block; }
.logo img { width: 112px; height: auto; }
.logo-text { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--brown); cursor: pointer; border-radius: 50%; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.cart-link { justify-self: end; }
.cart-count { position: absolute; top: 4px; right: 2px; background: var(--rose); color: #fff; font-size: .7rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; font-weight: 500; padding: 0 4px; }
.menu-toggle { visibility: hidden; }
.main-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 32px; padding: 6px 16px 12px; }
.main-nav a { text-decoration: none; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); padding: 4px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-color: var(--rose); color: var(--rose-dark); }
.admin-bar { background: var(--gold); color: var(--brown); text-align: center; font-size: .85rem; padding: 6px; }

@media (max-width: 760px) {
  .menu-toggle { visibility: visible; }
  .logo img { width: 84px; }
  .main-nav { display: none; flex-direction: column; align-items: center; gap: 0; padding: 0 0 12px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; width: 100%; text-align: center; border: 0; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font: 400 .92rem var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }
.btn-block { width: 100%; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-size: .95rem; }
.flash-success { background: #e9f2e6; color: #355a2c; }
.flash-error { background: #f8e3df; color: #8a2f22; }
.flash-info { background: var(--soft); color: var(--brown); }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: 32px 0 64px; }
.section-soft { background: var(--cream); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-script { color: var(--rose); font-size: 1.9rem; margin: 0 0 -6px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--rose-dark); margin-bottom: 16px; }
.page-hero { background: var(--cream); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .2em; }
.page-title { text-align: center; margin: 16px 0 32px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream), var(--bg)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 48px 0 72px; }
.hero-text h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-tag { position: absolute; left: -24px; bottom: 32px; background: var(--white); color: var(--rose); font-size: 2rem; padding: 6px 22px; border-radius: 999px; box-shadow: var(--shadow); }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 48px; }
  .hero-media { order: -1; max-width: 420px; margin: auto; width: 100%; }
  .hero-tag { left: 8px; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
}

/* Puces catégories */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.chip { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; background: var(--white); }
.chip:hover, .chip-active { background: var(--brown); color: var(--cream); border-color: var(--brown); }

/* Grille produits */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.card { text-decoration: none; display: block; }
.card-img { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s; }
.card-img-alt { opacity: 0; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-img-alt { opacity: 1; }
.card-body { padding: 12px 4px 0; text-align: center; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price { margin: 0; color: var(--brown); font-weight: 400; }
.price .from { font-size: .8rem; color: var(--muted); margin-right: 4px; }
.price s, .product-price s { color: var(--muted); margin-left: 6px; font-size: .9em; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--white); color: var(--brown); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.badge-sold { background: var(--brown); color: var(--cream); }
.badge-sale { background: var(--rose); color: #fff; }
.badge-draft { left: auto; right: 10px; background: var(--gold); }
.empty { padding: 48px 0; }

/* À propos */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media img { border-radius: var(--radius) var(--radius) 200px 200px; aspect-ratio: 4/5; object-fit: cover; width: 100%; max-width: 460px; margin: auto; box-shadow: var(--shadow); }
@media (max-width: 800px) { .about-split { grid-template-columns: 1fr; gap: 32px; text-align: center; } }

/* Fiche produit */
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 8px 0 24px; }
.breadcrumb a { text-decoration: none; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } }
.gallery { position: sticky; top: 24px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4/5; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: 0 0 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs button.active { border-color: var(--rose); }
.gallery-thumbs img { aspect-ratio: 4/5; object-fit: cover; }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.product-price { font-size: 1.6rem; font-family: var(--serif); color: var(--brown); margin-bottom: 0; }
.option-group { border: 0; padding: 0; margin: 0 0 18px; }
.option-group legend { font-weight: 400; margin-bottom: 8px; font-size: .95rem; }
.req { color: var(--rose-dark); }
.option { display: inline-flex; margin: 0 8px 8px 0; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .9rem; transition: all .15s; }
.option em { font-style: normal; color: var(--muted); }
.option input:checked + span { border-color: var(--brown); background: var(--brown); color: var(--cream); }
.option input:checked + span em { color: var(--rose-light); }
.option input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.buy-form { margin: 24px 0; display: grid; gap: 12px; }
.buy-row { display: flex; gap: 12px; }
.qty input, .qty-input { width: 76px; height: 100%; min-height: 48px; text-align: center; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--white); }
.qty-input { min-height: 36px; width: 64px; }
.stock-note { color: var(--rose-dark); font-size: .9rem; margin: 0; }
.sold-box { background: var(--cream); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.product-tabs details { border-top: 1px solid var(--line); }
.product-tabs details:last-child { border-bottom: 1px solid var(--line); }

/* Accordéons */
details summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-family: var(--serif); font-size: 1.25rem; color: var(--brown); position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.4rem; color: var(--rose); }
details[open] summary::after { content: '−'; }
details .prose { padding-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq { margin-bottom: 32px; }

.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose a { color: var(--rose-dark); }
.page-content h2:first-child { margin-top: 0; }

/* Panier */
.cart { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .cart { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; }
.cart-name { font-family: var(--serif); font-size: 1.25rem; color: var(--brown); text-decoration: none; }
.cart-line-info p { margin: 2px 0; }
.cart-actions { display: flex; gap: 16px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.cart-line-total { font-weight: 400; color: var(--brown); }
.cart-summary { background: var(--cream); border-radius: var(--radius); padding: 28px; position: sticky; top: 24px; }
.cart-summary h2 { font-size: 1.6rem; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 400; color: var(--brown); }
.free-hint { background: var(--white); border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: 10px 0; }
.thanks-box { background: var(--cream); border-radius: var(--radius); padding: 20px 24px; text-align: left; margin: 24px 0; }

/* Formulaires */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--brown); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--bg); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--rose-light); border-color: var(--rose); }
.cart-summary .field textarea { background: var(--white); }

/* Réassurance + pied de page */
.reassurance { border-top: 1px solid var(--line); background: var(--bg); }
.reassurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; text-align: center; }
.reassurance-grid div { display: grid; gap: 2px; }
.reassurance-grid span { font-size: .88rem; color: var(--muted); }
.r-icon { font-size: 1.5rem !important; color: var(--rose) !important; }
@media (max-width: 760px) { .reassurance-grid { grid-template-columns: repeat(2, 1fr); } }
.site-footer { background: var(--brown); color: var(--cream); padding: 56px 0 24px; }
.site-footer h4 { color: var(--cream); font-size: 1.2rem; }
.site-footer a { display: block; text-decoration: none; color: #e5d6cd; font-size: .92rem; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #bba89f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; }
.footer-brand .script { color: var(--rose-light); font-size: 2rem; }
.socials { display: flex; gap: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #bba89f; text-align: center; }
