/* ============================================================
   Vanille des Célèbes — Système de design
   Maison de négoce à la française, éditorial, sobre, chaud
   ============================================================ */

:root {
  /* Palette */
  --ivory: #f4efe6;
  --ivory-soft: #ebe4d6;
  --ivory-deep: #e2d9c6;
  --ink: #1a1815;
  --ink-soft: #4a453d;
  --ink-mute: #807766;
  --gold: #b08545;
  --gold-soft: #c9a572;
  --volcano: #2d3329;
  --volcano-deep: #1a1f18;
  --rule: #d8d0bf;
  --rule-soft: #e8e1d2;

  /* Typo */
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Geist", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Échelle */
  --container: 1320px;
  --gutter: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--gold); color: var(--ivory); }

/* ============ Typography ============ */

.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }
.mono  { font-family: var(--mono); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}

.eyebrow .dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}

.display-xl {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 8.5vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}
.display-l {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.display-m {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.display-s {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.italic { font-style: italic; }

.lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  text-wrap: pretty;
  max-width: 56ch;
}
.lede em { color: var(--gold); font-style: italic; }

p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 62ch;
}

.body-serif {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ============ Layout helpers ============ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.rule-soft { border-top-color: var(--rule-soft); }

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ============ Header / Nav ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--ivory) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 17px;
}
.brand-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark img { width: 36px; height: 36px; }
.brand .name {
  display: flex; flex-direction: column; line-height: 1;
}
.brand .name b {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.brand .name small {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}
.nav a {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}

.header-right {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 18px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.lang-switch button {
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink-mute);
  cursor: pointer;
}
.lang-switch button.is-active {
  background: var(--ink);
  color: var(--ivory);
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.005em;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  background: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--volcano); }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

.btn-link {
  padding: 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  border-radius: 0;
  font-size: 13.5px;
}
.btn-link:hover { border-bottom-color: var(--gold); color: var(--gold); }

.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Image placeholder ============ */

.imgph {
  position: relative;
  background: var(--ivory-soft);
  overflow: hidden;
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 14px,
      rgba(26,24,21,0.04) 14px,
      rgba(26,24,21,0.04) 15px
    );
  border: 1px solid var(--rule);
}
.imgph::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  padding: 16px;
}
.imgph.dark {
  background-color: var(--volcano-deep);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 14px,
      rgba(244,239,230,0.04) 14px,
      rgba(244,239,230,0.04) 15px
    );
  border-color: rgba(244,239,230,0.15);
}
.imgph.dark::before { color: rgba(244,239,230,0.5); }

/* ============ Footer ============ */

.site-footer {
  background: var(--volcano-deep);
  color: var(--ivory);
  padding: 80px 0 40px;
  font-family: var(--sans);
}
.site-footer a { color: var(--ivory); opacity: 0.75; transition: opacity .15s; }
.site-footer a:hover { opacity: 1; color: var(--gold-soft); }
.site-footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244,239,230,0.1);
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.5);
  font-weight: 400;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.site-footer .footer-brand-block { max-width: 360px; }
.site-footer .footer-brand-block .brand-mark { background: var(--ivory); }
.site-footer .footer-brand-block .brand-mark img { filter: invert(1); }
.site-footer .footer-brand-block .brand .name b,
.site-footer .footer-brand-block .brand .name small { color: var(--ivory); }
.site-footer .footer-brand-block .brand .name small { color: rgba(244,239,230,0.5); }
.site-footer .legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.4);
}
.site-footer p { color: rgba(244,239,230,0.65); font-size: 14px; line-height: 1.6; }

/* ============ Misc components ============ */

.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}
.spec-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.spec-list dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.spec-list dd {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}
.spec-list dd .num { font-feature-settings: "tnum"; }
.spec-list dd em { font-style: italic; color: var(--ink-soft); }

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ivory);
}
.tag.gold { border-color: var(--gold); color: var(--gold); }

/* Card */
.card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .15s ease, transform .2s ease;
}
.card:hover { border-color: var(--ink); }

/* Quote pull */
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 300;
  text-wrap: balance;
  max-width: 26ch;
}

/* Number marker */
.num-marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}

/* Marquee-ish strip (logos / chefs) */
.strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mute);
}
.strip span { white-space: nowrap; }

/* Forms */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field select, .field textarea {
  font-family: var(--serif);
  font-size: 17px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--ink-mute);
  font-style: italic;
}
.field textarea { resize: vertical; min-height: 80px; }

/* Big-letter ornament */
.ornament-amp {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 220px;
  line-height: 0.8;
  color: var(--gold);
  user-select: none;
}

/* Responsive */
@media (max-width: 900px) {
  .site-header .inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  .site-footer .grid { grid-template-columns: 1fr; gap: 40px; }
  .site-footer .legal { flex-direction: column; gap: 12px; align-items: flex-start; }
  :root { --gutter: 22px; }
}

/* Tweak overrides hook */
[data-tweak-hue] { --gold: oklch(70% 0.08 var(--tweak-hue, 70)); }

