/* Vitaélix — static site styles */
:root {
  --green: #314516;
  --green-dark: #24340f;
  --brown: #3b2d22;
  --gold: #a8833f;
  --gold-light: #c9a565;
  --cream: #f8f5ec;
  --sage: #dfe5d3;
  --ink: #1d1d1b;
  --muted: #6b6b66;
  --line: #e7e2d4;
  --white: #fff;
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--sage { background: var(--sage); }
.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 1.2em;
}
.eyebrow {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .8em;
}
.lead { font-size: 1.12rem; color: #3a3a36; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 0;
  font: 700 .85rem/1.2 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn small { font-size: .72rem; font-weight: 400; letter-spacing: .02em; text-transform: none; opacity: .9; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #94722f; }
.btn--outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn--sm { padding: 8px 18px; font-size: .75rem; }
.link-arrow { font-weight: 700; font-size: .9rem; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 1.65rem; letter-spacing: .01em; }
.logo-name sup { font-size: .45em; top: -1.1em; }
.logo-sub { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--brown) url("img/hero.jpg") center right / cover no-repeat;
  color: var(--white);
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero .container { padding-top: 70px; padding-bottom: 70px; }
.hero-text { max-width: 520px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.35;
  margin-bottom: .7em;
}
.hl {
  background: var(--gold);
  color: var(--white);
  padding: 0 .3em;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.rotator { display: inline-block; transition: opacity .35s ease; }
.rotator.is-fading { opacity: 0; }
.hero p { font-weight: 700; font-size: 1.05rem; max-width: 420px; margin-bottom: 2em; }
.hero-mobile-img { display: none; }

@media (max-width: 1000px) {
  .hero { background-image: none; min-height: 0; display: block; }
  .hero .container { padding-top: 48px; padding-bottom: 40px; }
  .hero-mobile-img { display: block; width: 100%; aspect-ratio: 900 / 768; object-fit: cover; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--brown); color: var(--white); padding: 70px 0 60px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 860px;
}
.page-hero p { max-width: 760px; opacity: .92; font-size: 1.05rem; margin: 0; }
.page-hero .eyebrow { color: var(--gold-light); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Benefit tiles ---------- */
.tile {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--gold);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(59, 45, 34, .08); }
.tile-title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 18px; }
.icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg { width: 32px; height: 32px; }

/* ---------- Testimonials ---------- */
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
}
.reviews-track > * { scroll-snap-align: start; }
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 10px; }
.review-title { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; margin-bottom: .6em; }
.review blockquote { margin: 0 0 1.2em; font-family: var(--serif); font-style: italic; font-size: .95rem; line-height: 1.7; color: #33332f; }
.review-author { margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--green); }
.review-author span { display: block; font-weight: 400; color: var(--muted); }
.reviews-grid { columns: 3 320px; column-gap: 22px; }
.reviews-grid .review { break-inside: avoid; margin-bottom: 22px; border: 1px solid var(--line); }

/* ---------- Process steps ---------- */
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 12px;
}
.step h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; }
.step p { margin: 0; color: #3a3a36; }

/* ---------- Trust band ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.trust .grid { align-items: center; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: .95rem; }
.trust-item svg { width: 34px; height: 34px; color: var(--gold); flex: none; }
.disclaimer { font-size: .78rem; color: var(--muted); text-align: center; max-width: 900px; margin: 34px auto 0; line-height: 1.6; }

/* ---------- Ingredients ---------- */
.ingredient {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
}
.ingredient h2 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.7rem; margin-bottom: .2em; }
.ingredient .latin { font-style: italic; color: var(--muted); margin-bottom: 1.2em; }
.facts { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 700; text-align: right; color: var(--green); }
.ingredient h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .5em; }
.ingredient-body > div + div { margin-top: 1.4em; }
.ingredient-body p:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4em; }
.chip { font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--sage); color: var(--green); text-decoration: none; }
@media (max-width: 760px) { .ingredient { grid-template-columns: 1fr; gap: 20px; padding: 24px; } }

.points { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 1.6em; }
.point { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green); }
.point svg { width: 26px; height: 26px; color: var(--gold); }

/* Composition table */
.compo { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.compo th, .compo td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compo th { background: var(--green); color: var(--white); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.compo td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }

/* ---------- Benefit blocks ---------- */
.benefit {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 0; }
.benefit .icon-circle { width: 84px; height: 84px; }
.benefit .icon-circle svg { width: 42px; height: 42px; }
.benefit h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; margin-bottom: .2em; }
.benefit h3 { font-size: .95rem; color: var(--gold); margin-bottom: .7em; }
.benefit b, .benefit strong { color: var(--green); }
@media (max-width: 560px) { .benefit { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Feature list (pourquoi) ---------- */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.25rem; display: flex; gap: 12px; align-items: flex-start; }
.feature h3 svg { width: 24px; height: 24px; color: var(--gold); flex: none; margin-top: 3px; }
.feature p { margin: 0; color: #3a3a36; }
.badge-line { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 46px 0 6px; }
.badge-line span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; padding: 10px 22px; border-radius: 999px; background: var(--gold); color: var(--white); }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } }
.offer {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.offer--best { border: 2px solid var(--gold); box-shadow: 0 14px 30px rgba(168, 131, 63, .15); }
.offer-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.offer h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.35rem; margin-bottom: .2em; }
.offer-qty { color: var(--muted); font-size: .9rem; margin-bottom: 1em; }
.offer-price { font-family: var(--serif); font-size: 2.2rem; color: var(--green); line-height: 1; }
.offer-day { font-size: .85rem; color: var(--muted); margin: 6px 0 14px; }
.offer ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: .88rem; }
.offer li { padding: 6px 0; border-top: 1px dashed var(--line); }
.offer li.save { color: var(--gold); font-weight: 700; }
.offer .btn { margin-top: auto; }
.order-box {
  margin-top: 46px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.order-box h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; }
.order-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) { .order-box { grid-template-columns: 1fr; } }

/* ---------- FAQ / accordions ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--gold);
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: #3a3a36; }
.faq-group { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 46px 0 6px; }
.faq-group:first-child { margin-top: 0; }

/* ---------- Prose (legal, blog) ---------- */
.prose { font-size: 1rem; }
.prose h2 { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .9rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.prose a { word-break: break-word; }

.blog-card { display: grid; grid-template-columns: 280px 1fr; gap: 28px; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; }
.blog-card > div { padding: 26px 26px 26px 0; }
.blog-card h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; }
@media (max-width: 680px) { .blog-card { grid-template-columns: 1fr; } .blog-card > div { padding: 0 24px 24px; } }

/* Quote list (programme) */
.quote { font-family: var(--serif); font-style: italic; background: var(--white); border-left: 3px solid var(--gold); padding: 18px 22px; margin: 0 0 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.advantage { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.advantage .eyebrow { margin-bottom: .3em; }
.advantage h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; }
.advantage p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage); padding: 60px 0 0; font-size: .88rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding-bottom: 50px; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.35rem; margin-bottom: .9em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.contact-line svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.contact-line em { display: block; font-size: .82rem; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.payments span { background: var(--white); border-radius: 4px; padding: 5px 9px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: var(--green); }
.footer-bottom { background: var(--green); color: var(--white); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 14px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
