/* Polices hébergées localement : aucun appel à un service tiers */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --night: #0A120F;
  --night-2: #0F1C16;
  --forest: #132A20;
  --silver: #E4E7E0;
  --silver-2: #AEB7AD;
  --paper: #F4EFE3;
  --paper-2: #ECE5D4;
  --card: #FBF8F1;
  --ink: #15201A;
  --muted: #56605A;
  --gold: #C99A33;
  --gold-2: #E8C66A;
  --emerald: #127C55;
  --line: #DCD3BF;
  --line-dark: #2A3D33;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -0.005em; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 2px;
  font: 500 14px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-gold { background: var(--gold); color: var(--night); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--night); }
.btn-line { background: transparent; color: var(--silver); border-color: rgba(228, 231, 224, .45); }
.btn-line:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-dark { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.btn-dark:hover { background: var(--night); color: var(--gold-2); border-color: var(--night); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 13px; }

/* Ornement */
.ornament { width: 220px; height: 24px; margin: 0 auto; color: var(--gold); }
.ornament-left { margin: 0; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(10, 18, 15, .96); border-bottom: 1px solid var(--line-dark); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { width: auto; height: 42px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: 0.2em; color: var(--silver); }
.nav-toggle {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line-dark); border-radius: 2px;
  background: transparent; color: var(--silver); font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.nav { display: none; width: 100%; flex-direction: column; padding-bottom: 18px; }
.nav.is-open { display: flex; }
.nav a:not(.btn) {
  display: flex; align-items: center; min-height: 46px; color: var(--silver-2); text-decoration: none;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line-dark);
}
.nav a:not(.btn):hover { color: var(--gold-2); }
.nav .btn { margin-top: 16px; align-self: flex-start; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav { display: flex; width: auto; flex-direction: row; align-items: center; gap: 30px; padding: 0; }
  .nav a:not(.btn) { border: 0; min-height: 44px; font-size: 13px; }
  .nav .btn { margin: 0; }
}

/* Hero */
.hero {
  position: relative; text-align: center; color: var(--silver);
  background: radial-gradient(120% 90% at 50% 30%, #16291F 0%, #0A120F 55%, #050907 100%);
  padding: 44px 0 64px; overflow: hidden;
}
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { inset: 12px; border: 1px solid rgba(210, 164, 60, .38); }
.hero::after { inset: 18px; border: 1px solid rgba(210, 164, 60, .16); }
@media (min-width: 768px) { .hero { padding: 64px 0 88px; } .hero::before { inset: 22px; } .hero::after { inset: 30px; } }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(560px, 88vw); height: auto; }
.hero h1 { margin-top: 28px; font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 500; color: #F3EFE5; max-width: 20ch; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { margin-top: 18px; color: var(--silver-2); max-width: 38em; font-size: 18px; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-info {
  list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-size: 15px; color: var(--silver-2);
}
.hero-info li { display: flex; align-items: center; gap: 10px; }
.hero-info svg { color: var(--gold); flex-shrink: 0; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.section-head .ornament { margin-top: 18px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.dark { background: var(--night-2); color: var(--silver); }
.dark .section-head p { color: var(--silver-2); }
.dark h2, .dark h3 { color: #F3EFE5; }

/* Boutique */
.shop-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .shop-grid { grid-template-columns: 7fr 5fr; gap: 56px; } }
.shop-text h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.shop-text .ornament { margin: 20px 0 0; }
.shop-text p { margin-top: 20px; color: var(--muted); font-size: 18px; }
.shop-text .btn { margin-top: 30px; }
.frame { position: relative; margin: 0; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(244, 239, 227, .6); pointer-events: none; }
.frame-main { aspect-ratio: 16 / 10; }
.shop-photos { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 720px) { .shop-photos { grid-template-columns: 1fr 1fr; } }
.shop-photos .frame { aspect-ratio: 16 / 9; }

/* Engagements */
.promises { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .promises-grid { grid-template-columns: repeat(4, 1fr); } }
.promises-grid li { padding: 30px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises-grid li:nth-child(2n) { border-right: 0; }
@media (min-width: 960px) {
  .promises-grid li { padding: 38px 20px; border-bottom: 0; border-right: 1px solid var(--line); }
  .promises-grid li:nth-child(2n) { border-right: 1px solid var(--line); }
  .promises-grid li:last-child { border-right: 0; }
}
.promises-grid svg { color: var(--forest); }
.promises-grid strong { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; }
.promises-grid span { font-size: 14px; color: var(--muted); }

/* Produits */
.products { display: grid; gap: 24px; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.product {
  text-align: center; padding: 36px 26px 34px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .015); display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: border-color .3s, transform .3s;
}
.product:hover { border-color: rgba(210, 164, 60, .6); transform: translateY(-3px); }
.medallion { width: 220px; height: 250px; }
.product h3 { font-size: 30px; margin-top: 8px; }
.product p { color: var(--silver-2); font-size: 16px; flex-grow: 1; }
.product a { color: var(--gold-2); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.product a:hover { color: #F3EFE5; }

/* Qualité suisse */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 34px; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps::before { content: ""; position: absolute; top: 48px; left: 12.5%; right: 12.5%; border-top: 1px dashed var(--gold); }
}
.steps li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.step-icon {
  width: 96px; height: 96px; border-radius: 50%; background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper);
}
.steps h3 { font-size: 26px; margin-top: 6px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 24ch; }

/* Le CBD */
.cbd-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .cbd-grid { grid-template-columns: 5fr 6fr; gap: 64px; } }
.cbd-text h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.cbd-text .ornament { margin: 20px 0 0; }
.cbd-text p { margin-top: 18px; color: var(--silver-2); font-size: 18px; }
.cbd-text p strong { color: #F3EFE5; font-weight: 500; }
.cbd-panel { border: 1px solid var(--line-dark); padding: 28px; }
@media (min-width: 768px) { .cbd-panel { padding: 34px 38px; } }
.molecule { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); }
.molecule svg { width: 100%; max-width: 380px; height: auto; }
.molecule figcaption { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--silver-2); }
.ratio { margin-top: 26px; }
.ratio-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ratio-row b { font-family: var(--serif); font-size: 24px; font-weight: 600; color: #F3EFE5; }
.ratio-row span { font-size: 14px; color: var(--silver-2); }
.ratio-row .thc { color: var(--gold-2); }
.bar { height: 14px; background: #1C2E25; border-radius: 999px; overflow: hidden; }
.bar-cbd { background: linear-gradient(90deg, #1A8A60, #3FA67D); width: 100%; height: 100%; }
.bar-thc { background: var(--gold-2); width: 2%; min-width: 7px; height: 100%; border-radius: 999px; }
.ratio-row + .bar + .ratio-row { margin-top: 22px; }
.precautions { margin-top: 26px; border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; }
.precautions h3 { font-size: 22px; }
.precautions ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--silver-2); font-size: 15px; }
.precautions li + li { margin-top: 4px; }

/* Infos pratiques */
.info-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .info-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.info-text h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.info-text .ornament { margin: 20px 0 0; }
.info-text > p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.info-list { margin: 28px 0 30px; display: grid; gap: 0; }
.info-list div { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 2px; }
.info-list div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .info-list div { grid-template-columns: 120px 1fr; gap: 16px; } }
.info-list dt { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.info-list dd { margin: 0; }
.muted { color: var(--muted); font-size: 15px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--forest);
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.map-card { border: 1px solid var(--line); background: var(--card); }
.map-card svg { width: 100%; height: auto; }
.map-card p { padding: 14px 20px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.map-label { font-family: var(--serif); font-style: italic; font-size: 17px; fill: var(--muted); }
.map-tag { font-family: var(--serif); font-weight: 600; font-size: 19px; fill: var(--ink); }
.map-tag-sub { font-family: var(--sans); font-size: 13px; fill: var(--muted); }
.info-photo { margin-top: 24px; aspect-ratio: 16 / 7; }

/* Pied de page */
.site-footer { background: var(--night); color: var(--silver-2); padding: 64px 0 34px; }
.site-footer a { color: var(--silver-2); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 30em; font-size: 15px; }
.footer-col h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 36px; align-items: center; font-size: 15px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; font-size: 13px; color: #87918A; }

/* Vérification de majorité */
.age-gate {
  border: 1px solid rgba(210, 164, 60, .5); padding: 0; max-width: min(460px, calc(100vw - 32px));
  background: var(--night); color: var(--silver); box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.age-gate::backdrop { background: rgba(5, 9, 7, .82); backdrop-filter: blur(6px); }
.age-content { padding: 34px 28px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.age-content img { width: 220px; height: auto; }
.age-content h2 { font-size: 30px; color: #F3EFE5; }
.age-content p { color: var(--silver-2); font-size: 15px; }
.age-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Pages légales */
.legal { padding: 56px 0 88px; }
.legal-inner { max-width: 800px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal .updated { color: var(--muted); font-size: 15px; margin-top: 10px; }
.legal h2 { font-size: clamp(1.6rem, 2.8vw, 2rem); margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal p, .legal ul, .legal dl { margin-top: 14px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal dl { display: grid; gap: 10px; }
.legal dl div { display: grid; gap: 2px; }
@media (min-width: 640px) { .legal dl div { grid-template-columns: 220px 1fr; gap: 16px; } }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal .callout { background: var(--paper-2); border-left: 3px solid var(--gold); padding: 16px 20px; }
.legal .todo { background: #FFF1BF; padding: 0 4px; }
