:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #2b2a26;
  --muted: #6b675e;
  --line: #e7e1d6;
  --green: #2f4a3a;
  --green-ink: #ffffff;
  --rose: #b4566a;
  --rose-soft: #f6e8ea;
  --radius: 14px;
  --wrap: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin-bottom: .6em; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Bandeau info ---------- */
.topbar { background: var(--green); color: var(--green-ink); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar-links { display: flex; gap: 18px; }
@media (max-width: 560px) { .topbar .wrap > span { display: none; } .topbar .wrap { justify-content: center; } .topbar-links { gap: 14px; font-size: .82rem; } }

/* ---------- En-tête / menu ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--sans); font-weight: 400; font-size: 1.6rem; letter-spacing: .06em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo small { display: block; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); font-size: .98rem; border-radius: 999px; }
.nav a:hover { background: var(--rose-soft); }
.nav a[aria-current="page"] { color: var(--rose); font-weight: 500; }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 12px 16px; }
  .nav a { border-radius: 10px; padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--green); color: var(--green-ink) !important; text-decoration: none; font-weight: 500; border: 1px solid var(--green); cursor: pointer; font: 500 1rem var(--sans); }
.btn:hover { background: #24392d; }
.btn.ghost { background: transparent; color: var(--green) !important; }
.btn.ghost:hover { background: var(--rose-soft); }
.btn.light { background: #fff; color: var(--green) !important; border-color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4em; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,22,.05) 20%, rgba(20,28,22,.72) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 56px; width: 100%; }
.hero h1, .hero .eyebrow { color: #fff; }
.hero p { font-size: 1.15rem; max-width: 56ch; color: rgba(255,255,255,.92); }
.hero.small { min-height: 340px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }

/* ---------- Cartes collections (cliquables) ---------- */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.collection { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; aspect-ratio: 4 / 5; background: #ddd; }
.collection img { width: 100%; height: 100%; object-fit: cover; }
.collection .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); color: #fff; }
.collection .label strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.collection .label span { font-size: .92rem; opacity: .95; }
.collection:hover img { filter: brightness(1.06); }
.collection:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
@media (max-width: 920px) { .collections { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .collections { gap: 12px; } .collection .label strong { font-size: 1.25rem; } .collection .label { padding: 12px; } }

/* ---------- Galerie photos (format unique 4:5) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-flow: dense; gap: 16px; }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.wide button { aspect-ratio: auto; height: 100%; }
.gallery-title { font-size: 1.6rem; margin: 40px 0 16px; scroll-margin-top: 96px; }
.gallery-title span { font-family: var(--sans); font-size: .95rem; color: var(--muted); font-weight: 400; margin-left: 8px; }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: #ddd; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: .95rem; margin-top: 8px; color: var(--muted); }
.gallery figcaption strong { color: var(--ink); font-weight: 500; display: block; }
@media (max-width: 480px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery figure.wide button { aspect-ratio: 8 / 5; height: auto; } }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.subnav a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); font-size: .95rem; }
.subnav a:hover { border-color: var(--rose); color: var(--rose); }
.block + .block { margin-top: 64px; }
.block h2 { scroll-margin-top: 96px; }

/* ---------- Atouts ---------- */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 4px; }
.feature span { color: var(--muted); font-size: .95rem; }
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- Deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Infos pratiques ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; }
.hours tr:last-child td { border-bottom: 0; }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Livraison ---------- */
.delivery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
#map { min-height: 440px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; background: #e9eee8; }
.towns { columns: 2; list-style: none; padding: 0; margin: 0 0 1em; }
.towns li { padding: 5px 0 5px 22px; position: relative; break-inside: avoid; }
.towns li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.towns li.home::before { background: var(--green); }
.pill { display: inline-block; background: var(--rose-soft); color: var(--rose); border-radius: 999px; padding: 4px 12px; font-size: .9rem; font-weight: 500; margin: 0 6px 6px 0; }
@media (max-width: 820px) { .delivery { grid-template-columns: 1fr; } #map { min-height: 340px; } }

/* ---------- Bandeau appel à l'action ---------- */
.cta { background: var(--green); color: #fff; border-radius: var(--radius); padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 .2em; }
.cta p { margin: 0; opacity: .9; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .92rem; font-weight: 500; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Visionneuse photo ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); }
dialog.lightbox::backdrop { background: rgba(15,18,16,.85); }
dialog.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; }
dialog.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
dialog.lightbox .close { position: fixed; top: 14px; right: 18px; background: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; }

/* ---------- WhatsApp ---------- */
.btn.wa { background: #1f8f4e; border-color: #1f8f4e; display: inline-flex; align-items: center; gap: 8px; color: #fff !important; }
.btn.wa:hover { background: #18773f; }
.wa-bubble { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff; text-decoration: none; font-weight: 500; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.wa-bubble svg { width: 26px; height: 26px; }
.wa-bubble:hover { background: #1fbd5a; }
@media (max-width: 560px) { .wa-bubble span { display: none; } .wa-bubble { padding: 14px; } }
.cta-phones { margin-top: .6em !important; }
.cta-phones a { color: #fff; font-weight: 500; }
.big-phone { font-size: 1.15rem; }
.free { background: var(--rose-soft); color: var(--rose); padding: 10px 14px; border-radius: 10px; margin-bottom: 1.2em; }
.towns li.crema::before { background: #6b5ea8; }

/* ---------- Pied de page ---------- */
.footer { background: #23271f; color: #d9d6cd; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin: 0 0 .6em; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 3px 0; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #a9a59a; }
@media (max-width: 820px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer .cols { grid-template-columns: 1fr; } section { padding: 52px 0; } .cta { padding: 28px; } }

/* Le site n'utilise volontairement aucune animation. */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.form-note { margin: 0; font-size: .92rem; color: var(--muted); }
.form label small { font-weight: 400; color: var(--muted); }
