/* ==========================================================
   Thème — modifiez ces variables pour personnaliser le site
   ========================================================== */
:root {
  /* Palette « Terre d'Ébène » : ivoire, terracotta, or et brun ébène */
  --bg: #f7f1e8;
  --surface: #fffaf3;
  --text: #2a1c14;
  --muted: #7a6656;
  --border: #eadfce;
  --accent: #a3462a;          /* terracotta */
  --accent-text: #fffaf3;
  --accent-soft: #f3e1d3;
  --gold: #b8862f;
  --ebony: #2a1c14;
  --ebony-text: #f7f1e8;
  --success: #3f7a4a;
  --success-soft: #e4efdf;
  --danger: #a8321f;
  --danger-soft: #f8e2dc;
  --info-soft: #f1e7d6;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(42 28 20 / .05), 0 8px 24px rgb(42 28 20 / .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110d;
    --surface: #211812;
    --text: #f4ebde;
    --muted: #b3a08c;
    --border: #3a2c22;
    --accent: #e0835c;
    --accent-text: #1a0f0a;
    --accent-soft: #3b2418;
    --gold: #d9a752;
    --ebony: #0f0b08;
    --ebony-text: #f4ebde;
    --success: #7cc08a;
    --success-soft: #1e3123;
    --danger: #f08a77;
    --danger-soft: #3d1f19;
    --info-soft: #2c2117;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; padding-block: 24px 48px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
code { background: var(--accent-soft); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- En-tête ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.search { flex: 1 1 220px; }
.search input { width: 100%; }
.header-actions { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.header-actions a { text-decoration: none; font-weight: 500; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--accent-text); font-size: .75rem; font-weight: 700; }
.cat-nav { display: flex; gap: 4px; overflow-x: auto; padding-block: 0 8px; scrollbar-width: none; }
.cat-nav a { white-space: nowrap; text-decoration: none; padding: 6px 12px; border-radius: 999px; color: var(--muted); font-size: .925rem; }
.cat-nav a:hover, .cat-nav a.active { background: var(--accent-soft); color: var(--accent); }

/* ---------- Formulaires & boutons ---------- */
input, select, textarea { font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
input[type=number] { max-width: 90px; }
label { display: grid; gap: 4px; font-size: .9rem; font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent); padding: 10px 20px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: filter .15s; }
.btn:hover { filter: brightness(1.08); color: var(--accent-text); }
.btn-small { padding: 6px 12px; font-size: .875rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-block { width: 100%; margin-top: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .875rem; }
.link-btn:hover { color: var(--danger); }
.stack { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.span-2 { grid-column: span 2; }
.radio-list { display: grid; gap: 8px; }
.radio, .checkbox { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.radio { border: 1px solid var(--border); border-radius: 8px; padding: 12px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.checkbox { margin: 12px 0 4px; font-size: .9rem; }

/* ---------- Messages ---------- */
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; background: var(--info-soft); }
.flash ul { margin: 0; padding-left: 18px; }
.flash-success { background: var(--success-soft); color: var(--success); }
.flash-error { background: var(--danger-soft); color: var(--danger); }

/* ---------- Accueil ---------- */
.hero { background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border: 1px solid var(--border); border-radius: calc(var(--radius) * 2); padding: clamp(32px, 6vw, 72px); margin-bottom: 40px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 16ch; }
.hero p { max-width: 50ch; color: var(--muted); font-size: 1.1rem; }
section { margin-bottom: 48px; }
.section-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.cat-tile:hover { border-color: var(--accent); }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; border-top: 1px solid var(--border); padding-top: 32px; }
.perks div { display: grid; gap: 2px; }
.perks span { color: var(--muted); font-size: .9rem; }

/* ---------- Grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow); }
.card-media, .thumb, .admin-thumb { text-decoration: none; }
.card-media { position: relative; aspect-ratio: 1; display: block; background: var(--bg); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; align-content: start; }
.card-body h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.card-body h3 a { text-decoration: none; }
.card-body form { margin-top: 4px; }
.price { font-weight: 700; margin: 0; }
.price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.price-lg { font-size: 1.6rem; }
.tag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.price .tag { position: static; vertical-align: middle; }
.tag-sale { background: var(--accent); color: var(--accent-text); }
.tag-out { background: var(--text); color: var(--bg); left: auto; right: 10px; }
.ph { display: grid; place-items: center; aspect-ratio: 1; font-family: var(--font-display); font-size: 4rem; color: hsl(var(--h) 35% 35%); background: linear-gradient(135deg, hsl(var(--h) 45% 88%), hsl(calc(var(--h) + 40) 45% 80%)); }

/* ---------- Catalogue ---------- */
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.catalog-head h1 { margin-bottom: 0; }
.sort-form label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.sort-form select { width: auto; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; background: var(--surface); }
.pagination a.active { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.empty { text-align: center; padding: 64px 16px; }

/* ---------- Fiche produit ---------- */
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); margin-bottom: 56px; }
.product-media { border-radius: calc(var(--radius) * 1.5); overflow: hidden; border: 1px solid var(--border); background: var(--surface); align-self: start; }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stock { font-weight: 600; color: var(--success); }
.stock-low { color: var(--accent); }
.stock-out { color: var(--danger); }
.add-form { display: flex; align-items: end; gap: 12px; margin: 20px 0 28px; }
.description { color: var(--muted); border-top: 1px solid var(--border); padding-top: 20px; }

/* ---------- Panier / commande ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-bottom: 24px; }
.cart-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px; }
.cart-item + .cart-item { border-top: 1px solid var(--border); }
.thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; display: block; }
.thumb img, .thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 1.6rem; }
.cart-item-info { display: grid; }
.cart-item-info a { text-decoration: none; }
.line-total { min-width: 80px; text-align: right; }
.summary, .form-card, .auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.summary { position: sticky; top: 130px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 12px; }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--border); padding-top: 10px; }
.summary-items { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: .9rem; }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; }
.summary address { font-style: normal; color: var(--muted); }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.order-head h1 { margin-bottom: 0; }
.auth-card { max-width: 420px; margin: 24px auto; }

/* ---------- Tableaux & statuts ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { color: var(--muted); font-weight: 500; font-size: .825rem; text-transform: uppercase; letter-spacing: .03em; }
.table .num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.table-wrap .table td:first-child, .table-wrap .table th:first-child { padding-left: 16px; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--info-soft); white-space: nowrap; }
.status-new { background: var(--accent-soft); color: var(--accent); }
.status-shipped, .status-delivered, .status-paid { background: var(--success-soft); color: var(--success); }
.status-cancelled { background: var(--danger-soft); color: var(--danger); }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding-block: 32px 16px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 4px 0 0; }

/* ==========================================================
   Administration
   ========================================================== */
.admin-body { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-nav { background: var(--surface); border-right: 1px solid var(--border); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav .logo { padding: 0 12px 16px; font-size: 1.15rem; }
.admin-nav a { padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 500; }
.admin-nav a:hover, .admin-nav a.active { background: var(--accent-soft); color: var(--accent); }
.admin-nav .spacer { flex: 1; }
.admin-main { padding: 28px clamp(16px, 3vw, 40px); min-width: 0; }
.admin-main h1 { font-family: var(--font); font-size: 1.6rem; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-toolbar h1 { margin: 0; }
.admin-toolbar form { display: flex; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat strong { display: block; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.admin-thumb { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; }
.admin-thumb img, .admin-thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 1.1rem; }
.chip-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.chip-filter a { padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: .875rem; background: var(--surface); }
.chip-filter a.active { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.inline-form { display: flex; gap: 8px; align-items: center; }
.current-image { width: 140px; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .product, .cart-layout, .two-col { grid-template-columns: 1fr; }
  .summary { position: static; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); padding: 10px; }
  .admin-nav .logo { padding: 8px 12px; }
  .admin-nav .spacer { display: none; }
  .admin-nav a { white-space: nowrap; }
}
@media (max-width: 560px) {
  .header-actions { gap: 12px; font-size: .925rem; }
  .search { order: 3; flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .cart-item { grid-template-columns: 56px 1fr auto; }
  .thumb { width: 56px; height: 56px; }
  .cart-item .qty-form { grid-column: 2; }
  .add-form { flex-wrap: wrap; }
}

/* ==========================================================
   Vitrine cosmétiques — accueil, bandeau, catégories illustrées
   ========================================================== */
.topbar { background: var(--ebony); color: var(--ebony-text); font-size: .825rem; text-align: center; padding: 7px 16px; letter-spacing: .02em; }
.logo { letter-spacing: .01em; }
.logo span { color: var(--accent); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--gold); margin: 0 0 10px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; text-decoration: none; color: var(--accent); }

.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.5); overflow: hidden; margin-bottom: 56px; min-height: 480px; }
.hero-split .hero-text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.hero-split h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; margin-bottom: 18px; }
.hero-split h1 em { color: var(--accent); font-style: italic; }
.hero-split p.lead { color: var(--muted); font-size: 1.1rem; max-width: 44ch; margin: 0 0 26px; }
.hero-split .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-split .hero-media { position: relative; min-height: 320px; }
.hero-split .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 20px; bottom: 20px; background: rgb(255 250 243 / .92); color: #2a1c14; border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-weight: 600; backdrop-filter: blur(4px); }

.cat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; display: block; background: var(--ebony); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(20 12 8 / .75), rgb(20 12 8 / 0) 55%); }
.cat-card span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.cat-card:hover { color: #fff; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--ebony); color: var(--ebony-text); border-radius: calc(var(--radius) * 1.5); overflow: hidden; }
.story img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.story .story-text { padding: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 56px) clamp(28px, 5vw, 56px) 0; }
.story h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
.story p { color: rgb(244 235 222 / .8); }
.story .btn { margin-top: 10px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.values div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.values strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.values span { color: var(--muted); font-size: .9rem; }
.values .ico { font-size: 1.4rem; margin-bottom: 8px; display: block; }

.card-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.card-media img { transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.product-info .card-cat { margin-bottom: 8px; }
.description p { margin: 0 0 10px; }
.description strong { color: var(--text); }

@media (max-width: 960px) {
  .cat-cards { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-split, .story { grid-template-columns: 1fr; }
  .hero-split .hero-media { min-height: 300px; order: -1; }
  .story .story-text { padding: 28px 22px; }
  .story img { min-height: 260px; }
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .values { grid-template-columns: 1fr; }
}

/* Photos produits : cadrage carré quel que soit le format de l'image */
.card-media { overflow: hidden; }
.card-media img, .card-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   Accueil premium
   ========================================================== */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
html, body { overflow-x: clip; } /* 100vw inclut la barre de défilement : évite un défilement horizontal */
.block { margin-bottom: clamp(56px, 8vw, 96px); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; margin-bottom: 32px; }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.eyebrow-light { color: #e9c27a; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; border-radius: 999px; }
.btn-glass { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgb(255 255 255 / .24); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1d130c; }
.btn-gold:hover { color: #1d130c; }

/* Hero plein écran */
.hero-full { position: relative; min-height: clamp(560px, 86vh, 820px); margin-top: -24px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #2a1c14; }
/* Desktop : texte sur fond ébène à gauche, photo pleine hauteur à droite, fondu entre les deux */
.hero-full .hero-bg { position: absolute; top: 0; bottom: 0; left: 48%; width: 52%; height: 100%; object-fit: cover; object-position: center 30%; animation: heroZoom 18s ease-out both; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #1d130c 0%, #1d130c 48%, rgb(29 19 12 / 0) 62%); }
.hero-full::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 20% 30%, rgb(184 134 47 / .22), transparent 55%); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: min(600px, 46%); padding-block: 64px; }
.hero-copy h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; margin-bottom: 22px; letter-spacing: -.01em; color: #fff; }
.hero-copy h1 em { color: #e9c27a; font-style: italic; }
.hero-copy .lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgb(255 248 238 / .86); max-width: 50ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 44px 0 0; padding-top: 26px; border-top: 1px solid rgb(255 255 255 / .2); flex-wrap: wrap; }
.hero-stats dt { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1; }
.hero-stats dd { margin: 6px 0 0; font-size: .85rem; color: rgb(255 248 238 / .7); max-width: 16ch; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.reveal { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Bandeau défilant */
.marquee { background: var(--accent); color: var(--accent-text); overflow: hidden; padding: 14px 0; margin-bottom: clamp(56px, 8vw, 96px); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.1rem; white-space: nowrap; font-style: italic; }
.marquee span::before { content: "✦"; margin-right: 48px; font-style: normal; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Catégories : compteurs */
.cat-card span small { display: block; font-family: var(--font); font-size: .8rem; font-weight: 500; opacity: .85; margin-top: 4px; }

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Rituel */
.ritual { background: var(--accent-soft); padding: clamp(56px, 8vw, 96px) 0; margin-bottom: clamp(56px, 8vw, 96px); }
.ritual-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.ritual-step { text-align: center; position: relative; }
.step-num { font-family: var(--font-display); font-size: 3.4rem; color: var(--accent); opacity: .45; line-height: 1; display: block; margin-bottom: 10px; }
.step-img { display: block; width: min(220px, 70%); aspect-ratio: 1; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; border: 6px solid var(--surface); box-shadow: var(--shadow); }
.step-img img, .step-img .ph { width: 100%; height: 100%; object-fit: cover; }
.ritual-step h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.ritual-step p { color: var(--muted); max-width: 32ch; margin: 0 auto 12px; }
.step-product { font-size: .9rem; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* Ingrédients */
.ingredients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ingredient { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.ingredient:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ingredient-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ingredient-media img, .ingredient-media .ph { width: 100%; height: 100%; object-fit: cover; }
.origin-chip { position: absolute; left: 12px; top: 12px; background: rgb(255 250 243 / .92); color: #2a1c14; font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.ingredient-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ingredient-body h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 0; }
.ingredient-body p { color: var(--muted); font-size: .92rem; margin: 0 0 6px; flex: 1; }

/* Promo */
.promo { display: grid; grid-template-columns: 1fr 1fr; background: var(--ebony); color: var(--ebony-text); border-radius: calc(var(--radius) * 1.5); overflow: hidden; margin-bottom: clamp(56px, 8vw, 96px); }
.promo-media { min-height: 360px; position: relative; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.promo-text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; }
.promo-text p { color: rgb(244 235 222 / .8); }
.promo-text .promo-price { font-family: var(--font-display); font-size: 2rem; color: #fff; margin: 4px 0 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo-price s { font-size: 1.1rem; opacity: .6; }
.promo-price .tag { position: static; }

.signature { font-family: var(--font-display); font-style: italic; color: #e9c27a !important; font-size: 1.1rem; }

/* Avis */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--gold); letter-spacing: 3px; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; flex: 1; }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; font-size: .9rem; }
.testimonial small { color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); font-weight: 700; flex: none; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery a { aspect-ratio: 1; overflow: hidden; border-radius: 8px; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery a:hover img { transform: scale(1.06); filter: brightness(.9); }

/* Newsletter */
.newsletter { background: var(--accent); color: var(--accent-text); padding: clamp(48px, 7vw, 80px) 0; margin-bottom: -48px; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
.newsletter h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: inherit; margin-bottom: 8px; }
.newsletter p { opacity: .85; margin: 0; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; border-radius: 999px; padding: 13px 20px; background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .4); color: inherit; }
.newsletter-row input::placeholder { color: inherit; opacity: .65; }
.newsletter-row .btn { border-radius: 999px; padding-inline: 24px; }
.newsletter .checkbox { opacity: .85; font-size: .82rem; margin-top: 12px; }
.newsletter .checkbox a { color: inherit; }

/* Pied de page enrichi */
.site-footer { background: var(--ebony); color: var(--ebony-text); border-top: 0; padding-top: 64px; }
.site-footer a { color: rgb(244 235 222 / .78); text-decoration: none; }
.site-footer a:hover { color: #e9c27a; }
.site-footer .muted { color: rgb(244 235 222 / .6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-grid h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #e9c27a; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-brand .logo { color: #fff; font-size: 1.5rem; }
.footer-brand p { color: rgb(244 235 222 / .65); font-size: .92rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.payments { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.payments span { border: 1px solid rgb(255 255 255 / .2); border-radius: 6px; padding: 3px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; color: rgb(244 235 222 / .8); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ingredients { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-full { min-height: 0; align-items: flex-end; }
  .hero-full .hero-bg { left: 0; width: 100%; height: 420px; bottom: auto; object-position: center 25%; }
  .hero-full::before { background: linear-gradient(180deg, rgb(29 19 12 / 0) 0, rgb(29 19 12 / 0) 240px, #1d130c 420px); }
  .hero-copy { max-width: 640px; padding-block: 330px 44px; }
}
@media (max-width: 760px) {
  .ritual-steps, .testimonials, .promo, .newsletter-inner { grid-template-columns: 1fr; }
  .promo-media { min-height: 240px; }
  .newsletter-row { flex-direction: column; }
}
@media (max-width: 480px) {
  .ingredients { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-full .hero-bg, .reveal, .marquee-track { animation: none; }
}
