/* ==========================================================
   Les Ruchers des Terres blanches — maquette
   Structure pensée pour un thème WordPress + WooCommerce
   ========================================================== */

:root {
  --bg: #fbf7ef;
  --surface: #ffffff;
  --tint: #f4ecdc;
  --ink: #1d1a16;
  --muted: #6b6357;
  --line: #e7dcc7;
  --honey: #e8961c;
  --honey-hover: #d38410;
  --on-honey: #1d1a16;
  --dark: #1b1813;
  --dark-ink: #f5eee2;
  --dark-muted: #b9ae9c;
  --dark-line: #34302a;
  --shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 10px 30px -12px rgba(40, 30, 10, .18);
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14120f; --surface: #1d1a16; --tint: #19160f; --ink: #f3ece0; --muted: #a99f8f;
    --line: #2f2a23; --honey: #f2a93b; --honey-hover: #f6b958; --dark: #0f0d0a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14120f; --surface: #1d1a16; --tint: #19160f; --ink: #f3ece0; --muted: #a99f8f;
  --line: #2f2a23; --honey: #f2a93b; --honey-hover: #f6b958; --dark: #0f0d0a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
p { margin: 0 0 1em; }
svg { flex-shrink: 0; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--honey); color: var(--on-honey); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

/* ---------- Eyebrows & sections ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--honey); margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow { align-items: flex-start; }
.eyebrow::before { content: ""; flex: 0 0 22px; height: 2px; margin-top: .62em; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: rgba(255,255,255,.92); }
.hero .eyebrow::before { background: var(--honey); }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tinted { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; }
.note { color: var(--muted); font-size: .9rem; margin-top: 2rem; text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-honey { background: var(--honey); color: var(--on-honey); }
.btn-honey:hover { background: var(--honey-hover); box-shadow: 0 8px 20px -8px rgba(232, 150, 28, .65); transform: translateY(-1px); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: #1d1a16; transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { border-color: var(--honey); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .35s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.main-nav { display: flex; gap: .3rem; margin-left: auto; }
.main-nav a {
  position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted);
  padding: .5rem .75rem; border-radius: 8px; transition: color .25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 2px; border-radius: 2px;
  background: var(--honey); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; gap: .5rem; align-items: center; }
.main-nav + .header-actions { margin-left: .5rem; }

.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--honey); color: var(--on-honey);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

.burger { display: none; }
.burger span { display: block; width: 18px; height: 1.7px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 4px; }
.burger { gap: 0; align-content: center; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: heroZoom 14s var(--ease) both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,12,8,.55) 0%, rgba(15,12,8,.2) 55%, rgba(15,12,8,0) 100%),
    linear-gradient(180deg, rgba(15,12,8,.1) 0%, rgba(15,12,8,.3) 45%, rgba(15,12,8,.85) 100%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content { position: relative; padding: 8rem 0 5rem; max-width: 1180px; }
.hero-content > * { max-width: 760px; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-content > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Atouts ---------- */
.assets-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.assets-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.asset { display: flex; gap: .9rem; align-items: flex-start; padding: 1.8rem 1.4rem; }
.asset + .asset { border-left: 1px solid var(--line); }
.asset svg { width: 28px; height: 28px; fill: none; stroke: var(--honey); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.asset strong { display: block; font-weight: 600; font-size: .95rem; }
.asset span { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }

/* ---------- Split / collage ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split-text p { color: var(--muted); font-size: 1.04rem; }
.split-text em { color: var(--ink); font-style: italic; }
.collage { position: relative; padding-bottom: 12%; padding-left: 8%; }
.collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.collage-main img { aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.collage-side { position: absolute; left: 0; bottom: 0; width: 42%; border: 6px solid var(--bg); transition: border-color .35s var(--ease); }
.collage-side img { aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }

/* ---------- Boutique ---------- */
.filters { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: .5rem 1.1rem; font-size: .9rem; font-weight: 500; cursor: pointer; color: var(--muted);
  transition: all .25s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--honey); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), opacity .3s var(--ease);
}
.product:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--honey) 40%, var(--line)); }
.product.is-hidden { display: none; }
.product-media { position: relative; aspect-ratio: 4/4.2; overflow: hidden; background: var(--tint); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.tag {
  position: absolute; top: .8rem; left: .8rem; background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink); font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px;
}
.product-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.product-body p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .6rem; }
.price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }

/* ---------- Engagements ---------- */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.feature { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature figcaption { padding: 1.5rem 1.6rem 1.7rem; }
.feature figcaption p { color: var(--muted); margin: 0; }

/* ---------- Conférences (section sombre, fixe dans les 2 modes) ---------- */
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .section-lead, .section-dark p { color: var(--dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--dark-ink); }
.talks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.6rem; }
.talk { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 1.8rem; }
.talk-num { font-family: var(--serif); color: var(--honey); font-size: 1.05rem; display: block; margin-bottom: 1.2rem; }
.talk p { margin: 0; }
.yt {
  margin-top: 4.5rem; display: grid; grid-template-columns: .9fr 1.3fr; gap: 2.5rem; align-items: center;
  padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, #24201a, #17140f); border: 1px solid var(--dark-line);
}
.badge { display: inline-block; background: rgba(242, 169, 59, .14); color: var(--honey); font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.inline-form input {
  flex: 1 1 200px; padding: .82rem 1.1rem; border-radius: 999px; border: 1px solid var(--dark-line);
  background: #110f0b; color: var(--dark-ink); transition: border-color .25s var(--ease);
}
.inline-form input::placeholder { color: #807666; }
.inline-form input:focus { outline: none; border-color: var(--honey); }
.inline-form .btn-honey { color: #1d1a16; }
.inline-form .form-msg { flex-basis: 100%; }
.videos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; }
.video {
  position: relative; border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  background: #000; min-height: 140px; text-align: left;
}
.video:first-child { grid-row: span 2; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .8s var(--ease), opacity .4s var(--ease); }
.video:hover img { transform: scale(1.05); opacity: .55; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); }
.play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: var(--honey); display: grid; place-items: center; transition: transform .35s var(--ease);
}
.play svg { width: 22px; height: 22px; fill: #1d1a16; margin-left: 3px; }
.video:hover .play { transform: scale(1.1); }
.video-title { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: .9rem; color: #fff; font-weight: 600; font-size: .95rem; }

/* ---------- Actualités ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.news-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-item img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.news-body { padding: 1.4rem 1.5rem 1.6rem; }
.news-body .date { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--honey); margin-bottom: .6rem; }
.news-body h3 { font-size: 1.18rem; }
.news-body p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info > p { color: var(--muted); }
.coords { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1rem; }
.coords li { display: flex; gap: .9rem; align-items: flex-start; }
.coords svg { width: 22px; height: 22px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.coords a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease), color .25s var(--ease); word-break: break-word; }
.coords a:hover { border-color: var(--honey); color: var(--honey); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 240px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .95rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px color-mix(in srgb, var(--honey) 22%, transparent);
}
.form-msg { margin: .9rem 0 0; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: #3f8f4f; }
.form-msg.err { color: #c2412d; }
.section-dark .form-msg.ok { color: #7fcf8d; }

/* ---------- Footer ---------- */
.cta-band + .site-footer, main:has(> .cta-band:last-child) + .site-footer { border-top: 1px solid var(--dark-line); }
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 3.5rem 0 1.6rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--dark-line); }
.footer-brand { display: flex; gap: .9rem; align-items: center; }
.footer-brand .brand-mark { color: var(--dark-ink); }
.footer-brand p { margin: 0; font-size: .92rem; line-height: 1.5; }
.footer-brand strong { color: var(--dark-ink); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer-nav a { text-decoration: none; font-size: .92rem; transition: color .25s var(--ease); }
.footer-nav a:hover { color: var(--honey); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; font-size: .82rem; }

/* ---------- Panier ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 8, 5, .45); z-index: 80; opacity: 0; transition: opacity .35s var(--ease); }
.overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90;
  background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer-foot { padding: 1.3rem 1.5rem 1.6rem; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.total strong { font-family: var(--serif); font-size: 1.4rem; }
.empty { color: var(--muted); text-align: center; padding: 3rem 0; }
.line { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "img name price" "img qty remove"; gap: .45rem .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-img { grid-area: img; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--tint); border: 1px solid var(--line); align-self: start; }
.line-name { grid-area: name; }
.line-price { grid-area: price; }
.line .qty { grid-area: qty; justify-self: start; }
.line .remove { grid-area: remove; }
.line-name { font-weight: 600; font-size: .95rem; }
.line-price { font-weight: 600; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 32px; height: 30px; border: 0; background: transparent; cursor: pointer; font-size: 1.05rem; transition: background-color .2s; }
.qty button:hover { background: var(--tint); }
.qty span { min-width: 26px; text-align: center; font-size: .9rem; font-weight: 600; }
.remove { border: 0; background: none; padding: 0; color: var(--muted); font-size: .84rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; justify-self: end; align-self: center; }
.remove:hover { color: var(--ink); }

/* ---------- Modale & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 1.2rem; background: rgba(10,8,5,.5); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-open { opacity: 1; }
.modal-box { background: var(--surface); border-radius: calc(var(--radius) + 4px); padding: 2rem; max-width: 440px; box-shadow: var(--shadow); transform: translateY(14px) scale(.98); transition: transform .4s var(--ease); }
.modal.is-open .modal-box { transform: none; }
.modal-box p { color: var(--muted); }
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 99; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: .8rem 1.3rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  transition: opacity .3s var(--ease), transform .35s var(--ease); box-shadow: var(--shadow); white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apparitions au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Chiffres clés (tuiles) ---------- */
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.facts li {
  display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 1rem 1.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.fact-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .55rem;
  background: color-mix(in srgb, var(--honey) 15%, transparent); }
.fact-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fact-label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact-value { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.intro-side .facts { margin: 0; }

/* ---------- Accueil ---------- */
.section-compact { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-text p { color: var(--muted); font-size: 1.04rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; max-width: none; margin-bottom: 2rem; }
.section-head-row h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); white-space: nowrap;
  border-bottom: 1.5px solid var(--honey); padding-bottom: 2px; transition: color .25s var(--ease), gap .3s var(--ease); }
.link-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { color: var(--honey); gap: .7rem; }
.cta-band { background: var(--dark); color: var(--dark-ink); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band h2 { color: var(--dark-ink); margin-bottom: .4rem; }
.cta-band p { color: var(--dark-muted); margin: 0; max-width: 560px; }

/* ---------- En-têtes de page ---------- */
.page-head { background: var(--tint); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 760px; text-wrap: balance; }
.page-lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0; }
.page-head.has-media { color: #fff; background: #1b1813; padding: clamp(5rem, 12vw, 8rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-head-media { position: absolute; inset: 0; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: heroZoom 14s var(--ease) both; }
.page-head-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,8,.15), rgba(15,12,8,.8)); }
.page-head-inner { position: relative; }
.page-head.has-media h1 { color: #fff; }
.page-head.has-media .page-lead { color: rgba(255,255,255,.88); }
.page-head.has-media .eyebrow { color: rgba(255,255,255,.92); }
.page-head.has-media .eyebrow::before { background: var(--honey); }
.page-head-inner > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
.page-head-inner > :nth-child(2) { animation-delay: .1s; }
.page-head-inner > :nth-child(3) { animation-delay: .2s; }
.section-shop { padding-top: 2.5rem; }
.section-first { padding-top: clamp(3rem, 7vw, 5.5rem); }
.shop-info { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 2rem; }
.shop-info li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 500; }
.shop-info svg { width: 20px; height: 20px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bandeau contact & paires de boutons ---------- */
.btn-pair { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.contact-band { background: var(--tint); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.contact-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.contact-band h2 { margin-bottom: .4rem; }
.contact-band p:last-child { color: var(--muted); margin: 0; }
.contact-band a:not(.btn) { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--honey); }
.split-text .link-arrow { margin-top: .4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .assets-grid { grid-template-columns: repeat(2, 1fr); }
  .asset:nth-child(3) { border-left: 0; }
  .asset:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1100px) {
  .burger { display: inline-grid; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.2rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a { padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a::after { display: none; }
  .main-nav a.is-active { color: var(--honey); font-weight: 600; }
  .header-actions, .main-nav + .header-actions { margin-left: auto; }
  .split, .contact, .yt, .intro { grid-template-columns: 1fr; }
  .cta-band-inner, .contact-band-inner { flex-direction: column; align-items: flex-start; }
  .talks, .news { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.02rem; }
  .products { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .product-body { padding: .8rem .8rem .9rem; }
  .product-body h3 { font-size: 1rem; margin-bottom: .2rem; }
  .product-body p { display: none; }
  .product-media { aspect-ratio: 1; }
  .tag { top: .5rem; left: .5rem; font-size: .68rem; padding: .22rem .55rem; }
  .product-foot { flex-direction: column; align-items: stretch; gap: .55rem; padding-top: .35rem; }
  .price { font-size: 1.08rem; }
  .product-foot .btn-sm { width: 100%; padding: .55rem .5rem; }
  .facts { gap: .5rem; margin-top: 1.5rem; }
  .facts li { padding: .85rem .6rem .9rem; align-items: center; text-align: center; }
  .fact-ico { width: 32px; height: 32px; margin-bottom: .4rem; }
  .fact-label { font-size: .62rem; letter-spacing: .08em; }
  .fact-value { font-size: .8rem; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 0; }
  .hero-lead { font-size: 1.02rem; }
  .hero .eyebrow { letter-spacing: .1em; }
  .hero-cta { flex-wrap: nowrap; }
  .hero-cta .btn { flex: 1 1 auto; padding-inline: .7rem; white-space: nowrap; font-size: .9rem; }
  .collage { padding-bottom: 18%; }
  .talks { gap: .8rem; }
  .talk { padding: 1.3rem; }
  .talk-num { margin-bottom: .6rem; }
  .asset { flex-direction: column; gap: .45rem; padding: 1rem .7rem; }
  .asset svg { width: 22px; height: 22px; }
  .asset strong { font-size: .85rem; line-height: 1.3; }
  .asset span { font-size: .78rem; }
  .collage-main img, .collage-side img { aspect-ratio: 4/3.2; }
  .collage { padding-bottom: 14%; }
  .collage-side { width: 38%; }
  .btn-pair { flex-direction: column; align-items: stretch; }
  /* Carrousels horizontaux sur téléphone */
  .scroller {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; grid-template-rows: none;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    gap: .8rem; margin-inline: -1.25rem; padding: 0 1.25rem .3rem; scroll-padding-inline: 1.25rem; scrollbar-width: none;
  }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > * { scroll-snap-align: start; }
  .videos.scroller { grid-auto-columns: 78%; }
  .videos.scroller .video, .videos.scroller .video:first-child { grid-row: auto; grid-column: auto; min-height: 200px; }
  .news-item img, .feature img { aspect-ratio: 16/10; }
  .news-body, .feature figcaption { padding: 1.1rem 1.2rem 1.3rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
  .hero-content { padding: 6rem 0 3.5rem; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================
   Pages du site complet
   ========================================================== */
.narrow { max-width: 760px; }
.center-block { text-align: center; }
.center-block .btn-pair { margin-top: 2rem; }
.big-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.4rem;
  background: color-mix(in srgb, var(--honey) 15%, transparent); }
.big-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.center-block .page-lead { margin-inline: auto; }
.empty-state { color: var(--muted); grid-column: 1 / -1; text-align: center; padding: 3rem 0; }

/* Liens dans les titres de cartes */
.product-link { text-decoration: none; transition: color .25s var(--ease); }
.product-link:hover { color: var(--honey); }
.product-media, .news-item > a { display: block; }
.soon { font-size: .82rem; font-weight: 600; color: var(--muted); }
.soon-lg { font-size: 1rem; margin: 1rem 0; }

/* Fil d'Ariane */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s var(--ease), border-color .25s var(--ease); }
.crumbs a:hover { color: var(--honey); border-color: var(--honey); }

/* Fiche produit */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product-page-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tint); box-shadow: var(--shadow); }
.product-page-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-page-media .tag { top: 1rem; left: 1rem; font-size: .82rem; padding: .35rem .8rem; }
.product-page-price { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin: 0 0 1.4rem; display: flex; align-items: baseline; gap: .8rem; }
.product-page-price span { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--muted); }
.product-page-info .add { margin: .6rem 0 1.8rem; }
.product-points { list-style: none; padding: 1.4rem 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.product-points li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.product-points svg { width: 20px; height: 20px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Texte riche */
.prose { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.8em 0 .6em; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--honey); text-underline-offset: 3px; }
.prose a:hover { color: var(--honey); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--honey); }
.prose-sm { font-size: .94rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-warn { background: color-mix(in srgb, var(--honey) 14%, transparent); color: var(--ink); padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; }

/* Article */
.article { max-width: 780px; }
.article .date { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--honey); margin-bottom: .8rem; }
.article-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin: 1rem 0 2.2rem; box-shadow: var(--shadow); }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.article-next { text-decoration: none; text-align: right; font-weight: 600; max-width: 340px; transition: color .25s var(--ease); }
.article-next small { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.article-next:hover { color: var(--honey); }
.news-list { grid-template-columns: repeat(3, 1fr); }

/* Professionnels */
.presta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.presta {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.7rem 1.6rem;
  display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.presta:hover { border-color: color-mix(in srgb, var(--honey) 40%, var(--line)); box-shadow: var(--shadow); }
.presta-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.presta-head .h3 { font-size: 1.3rem; margin: 0; }
.presta-tarif { font-size: .85rem; font-weight: 600; color: var(--honey); white-space: nowrap; }
.presta > p { color: var(--muted); }
.presta-actions { margin-top: auto; padding-top: .8rem; }
.presta-actions .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pro-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.pro-note { display: flex; gap: .9rem; padding: 1.2rem 1.3rem; border-radius: var(--radius); background: var(--tint); }
.pro-note svg { width: 24px; height: 24px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.pro-note strong { display: block; font-size: .95rem; }
.pro-note span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.pro-band { background: var(--surface); border-block: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.pro-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.pro-band h2 { margin-bottom: .4rem; }
.pro-band p:last-child { color: var(--muted); margin: 0; max-width: 620px; }

/* Vidéos */
.video-soon { cursor: default; }
.video-soon .video-title small { display: block; font-weight: 500; font-size: .78rem; color: rgba(255,255,255,.75); margin-top: .15rem; }
.video.is-playing { cursor: default; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.video.is-playing::after { display: none; }
.videos-all { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1rem; }
.videos-all .video { aspect-ratio: 16/9; min-height: 0; }
.yt-text .btn { margin-top: 1rem; }

/* Panier : mode de remise */
.ship { border: 0; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .5rem; }
.ship legend { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
.ship-opt { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.ship-opt:hover { border-color: var(--honey); }
.ship-opt:has(input:checked) { border-color: var(--honey); background: color-mix(in srgb, var(--honey) 8%, transparent); }
.ship-opt input { accent-color: var(--honey); margin-top: .25rem; }
.ship-opt strong { display: block; font-size: .92rem; }
.ship-opt small { display: block; color: var(--muted); font-size: .82rem; }
.ship-opt.is-disabled { opacity: .5; cursor: not-allowed; }
.ship-opt.is-disabled:hover { border-color: var(--line); }
.secure { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }
.secure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Pied de page */
.footer-brand a { text-decoration: none; transition: color .25s var(--ease); }
.footer-brand a:hover { color: var(--honey); }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--honey); }

@media (max-width: 1100px) {
  .product-page { grid-template-columns: 1fr; }
  .pro-band-inner { flex-direction: column; align-items: flex-start; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pro-notes { grid-template-columns: 1fr; }
  .presta-grid.scroller { grid-auto-columns: 84%; }
  .news-list { grid-template-columns: 1fr; }
  .videos-all { grid-template-columns: 1fr 1fr; }
  .article-next { text-align: left; }
}
