/* NutriWell Genève — "Swiss Alpine Epicure" design system (see INPUTS/DESIGN.md) */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Palette */
  --forest: #1b4332;        /* primary: Alpine Forest */
  --forest-deep: #143527;
  --sage: #2d6a4f;          /* tertiary: Herbal Sage */
  --terra: #ba5121;         /* secondary: Hearth Terracotta, darkened from #C85A28 for AA contrast with white */
  --terra-hover: #a3461c;
  --terra-bright: #c85a28;  /* decorative only (dots, glows) */
  --peach: #ffb598;
  /* Neutral scale, tinted toward limestone */
  --canvas: #faf8f5;        /* stone-0 */
  --sand: #f3f0e9;          /* stone-1 */
  --border: #e6e0d5;        /* stone-2 */
  --stone-3: #d6cec0;
  --white: #fff;
  /* Text levels */
  --ink: #14261c;           /* text-1 */
  --ink-2: #3d4842;         /* text-2 */
  --muted: #5a645e;         /* text-3 */
  --mint: #e8f0ec;
  --mint-ink: #a5d0b9;
  --blush: #fdf0ea;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 12px;
  --shadow: 0 4px 20px -2px rgba(27, 67, 50, .04), 0 2px 6px -1px rgba(27, 67, 50, .02);
  --shadow-hover: 0 12px 32px -4px rgba(27, 67, 50, .08), 0 4px 12px -2px rgba(27, 67, 50, .03);
  --shadow-terra: none;

  /* Spacing */
  --gutter: 24px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--terra); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); }
p { margin: 0 0 1em; }
figure, dl, dd { margin: 0; }

h1, h2, h3 { font-family: var(--serif); color: var(--forest); margin: 0 0 .5em; font-weight: 500; }
b, strong { font-weight: 500; }
h1 { font-size: 3.5rem; line-height: 1.14; letter-spacing: -.02em; }
h2 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--sage); }
h2 em { color: inherit; font-style: normal; font-weight: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: min(1200px, 100% - 6rem); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section-forest :focus-visible, .site-footer :focus-visible, .offer-featured :focus-visible, .contact-card-main:focus-visible { outline-color: var(--white); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font: 500 1rem/1.25 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 16px 24px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--terra); color: var(--white); box-shadow: var(--shadow-terra); }
.btn-primary:hover { background: var(--terra-hover); }
.btn-soft { background: var(--sand); color: var(--forest); border-color: var(--border); }
.btn-soft:hover { background: var(--white); border-color: var(--forest); }

/* ---------- Kickers & pills ---------- */
.kicker {
  font: 500 .875rem/1.25rem var(--sans);
  color: var(--ink-2); margin-bottom: 12px;
}
.pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border-radius: 0;
  background: transparent; border: 0;
  font: 500 .875rem/1.25 var(--sans); color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--white); object-fit: cover; }
.brand-row { display: flex; align-items: center; gap: 8px; }
.brand-name { font: 500 1.5rem/1 var(--serif); color: var(--forest-deep); letter-spacing: -.01em; }
.brand-city { font: 500 .75rem/1 var(--sans); color: var(--muted); background: transparent; padding: 4px 8px; border-radius: 2px; }
.brand-sub { display: block; margin-top: 4px; font: 400 .75rem/1 var(--sans); color: var(--muted); }

.nav { display: flex; gap: 32px; }
.nav a { position: relative; text-decoration: none; color: rgba(20, 38, 28, .82); font-weight: 400; font-size: 1rem; transition: color .15s; }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--forest); transform: translateX(-50%); opacity: 0;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; padding: 4px; border-radius: var(--r-sm); background: var(--sand); border: 1px solid var(--border); }
.lang button {
  border: 0; background: transparent; cursor: pointer;
  padding: 8px 12px; border-radius: 4px;
  font: 500 .875rem/1 var(--sans); color: var(--muted);
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--forest-deep); box-shadow: 0 1px 3px rgba(20, 38, 28, .12); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.hero-text { grid-column: span 7; }
.hero-text h1 { margin: 24px 0; }
.wavy { text-decoration: none; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--muted); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 24px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border-radius: 0;
  background: transparent; border: 0; color: var(--ink-2);
  font-size: .875rem; font-weight: 500;
}
.trust .icon { color: var(--forest); }

.hero-visual { grid-column: span 5; position: relative; }
.frame {
  position: relative; background: var(--white); padding: 16px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 10px 30px -10px rgba(27, 67, 50, .08);
}
.frame > img { width: 100%; border-radius: var(--r-sm); }
.float-badge {
  position: static; margin-top: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 0; border-radius: 0;
  background: transparent; color: var(--ink); border: 0;
  box-shadow: none;
}
.float-badge-num {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 0;
  background: transparent; color: var(--sage);
}
.float-badge-kicker { display: block; font: 400 .75rem/1.25 var(--sans); color: var(--muted); }
.float-badge-text { display: block; font-weight: 500; font-size: .875rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-sand { background: rgba(245, 242, 235, .65); border-top: 1px solid var(--border); }
.section-head { max-width: 46rem; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.125rem; margin: 16px auto 0; max-width: 40rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 32px; box-shadow: var(--shadow);
  transition: border-color .15s;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); margin-bottom: 24px; flex: none;
}
.tint-green, .tint-amber, .tint-terra, .tint-slate { background: var(--sand); color: var(--forest); }

.card-meta {
  margin: 24px 0 0 !important; padding-top: 16px; border-top: 1px solid rgba(232, 227, 218, .7);
  font-size: .875rem !important; font-weight: 500; color: var(--muted) !important;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: flex; flex-direction: column; }
.step p:not(.card-meta) { flex: 1; }
.step:hover { border-color: var(--sage); }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 24px;
  background: var(--forest-deep); color: var(--white); font: 500 1.125rem/1 var(--serif);
}
.step h3 { font-size: 1.25rem; }

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; align-items: center; }
.audience-text { grid-column: span 7; }
.audience-visual { grid-column: span 5; }
.audience-text h2 { margin-bottom: 16px; }
.personas { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.persona {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border);
}
.persona .card-icon { width: 40px; height: 40px; border-radius: var(--r-sm); margin: 0; }
.persona strong { display: block; font-size: 1rem; color: var(--forest-deep); }
.persona strong + span { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--muted); }

.frame-lg { padding: 16px; }
.photo-card { position: relative; border-radius: var(--r-sm); overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.glass-tag {
  position: absolute; left: 16px; bottom: 16px;
  padding: 4px 12px; border-radius: 9999px;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .875rem; font-weight: 500; color: var(--forest);
}
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; text-align: center; }
.metrics > div { padding: 8px; }
.metrics > div + div { border-left: 1px solid rgba(232, 227, 218, .8); }
.metrics dt { font-weight: 500; font-size: 1.25rem; color: var(--forest-deep); }
.metrics dd { font-size: .75rem; color: var(--muted); }

/* Philosophy */
.section-forest { background: var(--forest-deep); color: var(--white); overflow: hidden; padding: var(--section) 0; }
.philosophy { position: relative; max-width: 64rem; text-align: center; }
.philosophy h2 { color: var(--white); font-size: 2.5rem; margin: 32px 0 24px; }
.philosophy h2 em { color: inherit; }
.philosophy-text { font-size: 1.25rem; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 46rem; margin: 0 auto; }
.pill-dark {
  display: inline-block; margin: 0; padding: 8px 16px; border-radius: 9999px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .24);
  font: 500 .875rem/1.25 var(--sans); color: rgba(255, 255, 255, .86);
}
.pill-quote {
  display: inline-flex; align-items: center; gap: 12px; margin: 40px 0 0;
  padding: 0; border-radius: 0;
  background: transparent; border: 0;
  font: italic 400 1.25rem/1.4 var(--serif); color: var(--white);
}

/* Offers */
.offers { align-items: stretch; grid-template-columns: repeat(2, 1fr); max-width: 52rem; margin-inline: auto; }
.offer { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); }
.offer:hover { border-color: var(--forest); }
.offer h3 { font-size: 1.75rem; margin-top: 4px; }
.offer > p:not(.offer-kicker):not(.offer-badge) { margin-bottom: 0; }
.offer-kicker { margin: 0; font: 500 .875rem/1.25 var(--sans) !important; color: var(--muted) !important; }
.offer .checks { flex: 1; margin: 24px 0 32px; padding-top: 24px; border-top: 1px solid rgba(232, 227, 218, .7); }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; align-content: start; }
.checks li { position: relative; padding-left: 32px; font-size: 1rem; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.5 2.7 2.7L16.2 9.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.offer-featured {
  position: relative; background: var(--forest-deep); color: var(--white);
  border: 2px solid var(--forest-deep);
  box-shadow: var(--shadow);
}
.offer-featured:hover { border-color: var(--forest-deep); }
.offer-featured h3 { color: var(--white); }
.offer-featured > p { color: rgba(255, 255, 255, .82) !important; }
.offer-featured > .offer-badge { color: var(--peach) !important; }
.offer-featured .offer-kicker { color: rgba(255, 255, 255, .72) !important; }
.offer-featured .checks { border-top-color: rgba(255, 255, 255, .1); }
.offer-featured .checks li { color: rgba(255, 255, 255, .92); }
.offer-featured .checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb598' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.5 2.7 2.7L16.2 9.6'/%3E%3C/svg%3E");
}
.offer-badge {
  align-self: flex-start; margin: 0 0 16px; white-space: nowrap;
  font: 500 .875rem/1.4 var(--sans) !important;
}
.quote-banner {
  max-width: 52rem; margin: 48px auto 0; padding: 32px; text-align: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.quote-banner p { font-weight: 500; margin-bottom: 24px; }
.quote-banner strong { color: var(--ink); }

/* Contact */
.contact-cards { max-width: 64rem; margin: 0 auto; gap: 24px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 32px; border-radius: var(--r-md); text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: background-color .15s, border-color .15s;
}
.contact-card:not(.contact-card-main):hover { border-color: var(--stone-3); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); margin-bottom: 12px; background: var(--sand); color: var(--forest); }
.cc-label { font: 500 .875rem/1.25 var(--sans); color: var(--muted); }
.cc-value { margin-top: 4px; font-weight: 500; font-size: 1rem; color: var(--forest-deep); overflow-wrap: anywhere; }
.contact-card-main { background: var(--terra); border-color: var(--terra); color: var(--white); box-shadow: var(--shadow-terra); }
.contact-card-main:hover { background: var(--terra-hover); }
.contact-card-main .contact-icon { background: rgba(255, 255, 255, .2); color: var(--white); }
.contact-card-main .cc-label { color: var(--white); }
.contact-card-main .cc-value { color: var(--white); font-size: 1.25rem; }
.contact-area { margin: 32px 0 0; text-align: center; font: 400 .875rem/1.4 var(--sans); color: var(--muted); }

/* Footer */
.site-footer { background: var(--forest-deep); color: rgba(255, 255, 255, .78); padding: 48px 0; border-top: 1px solid rgba(27, 67, 50, .6); font-size: .875rem; }
.site-footer a { color: var(--peach); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-top p { margin: 0; }
.footer-id { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 88px; height: auto; padding: 8px; border-radius: var(--r-md); background: var(--white); flex: none; }
.footer-brand { font: 500 1.5rem/1.2 var(--serif); color: var(--white); }
.footer-brand span { margin-left: 12px; font: 400 .75rem/1 var(--sans); color: rgba(255, 255, 255, .72); }
.footer-copy { color: rgba(255, 255, 255, .72); font-size: .75rem; }
.legal { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 12px 0; }
.legal summary { padding: 4px 0; cursor: pointer; font-weight: 500; color: rgba(255, 255, 255, .85); font-size: .875rem; }
.legal summary:hover { color: var(--white); }
.legal-body { padding-top: 16px; max-width: 48rem; color: rgba(255, 255, 255, .7); line-height: 1.7; }
.legal-body strong { color: var(--white); }
.footer-note { margin: 24px 0 0; font-size: .75rem; color: rgba(255, 255, 255, .72); }

/* ---------- Section labels: plain text ---------- */
.kicker { margin-bottom: 16px; color: var(--muted); }
.pill-dark { padding: 0; border: 0; border-radius: 0; color: rgba(255, 255, 255, .72); }
.glass-tag {
  padding: 4px 8px; border-radius: 4px; border: 0;
  background: var(--white); color: var(--ink-2);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.step-num {
  display: block; align-self: flex-start; width: auto; height: auto; margin-bottom: 16px;
  border-radius: 0; background: transparent; color: var(--sage); font: 500 1.25rem/1.25 var(--serif);
}

/* Sticky mobile WhatsApp */
.sticky-wa { display: none; }

/* ---------- Tablet (768–1023) ---------- */
@media (max-width: 1023px) {
  .wrap { width: min(1200px, 100% - 4rem); }
  .nav { display: none; }
  h1 { font-size: 3rem; }
  .hero { padding: 64px 0 80px; }
  .hero-grid, .audience-grid { grid-template-columns: 1fr; }
  .hero-text, .hero-visual, .audience-text, .audience-visual { grid-column: auto; }
  .hero-visual { max-width: 520px; margin: 32px auto 0; width: 100%; }
  .audience-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 32px; }
}

/* ---------- Mobile (≤767) ---------- */
@media (max-width: 767px) {
  :root { --section: 64px; }
  .wrap { width: calc(100% - 2.5rem); }
  body { padding-bottom: 80px; }
  h1 { font-size: 2.25rem; line-height: 1.22; letter-spacing: -.01em; }
  h2, .philosophy h2 { font-size: 1.75rem; line-height: 1.3; letter-spacing: -.01em; }
  h1 br, h2 br { display: none; }
  .header-inner { height: 64px; gap: 12px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { display: none; }
  .header-cta { display: none; }
  .hero { padding: 32px 0 64px; }
  .hero-text h1 { margin: 20px 0 16px; }
  .lead { font-size: 1.125rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .section-head { margin-bottom: 40px; }
  .grid-3, .grid-4, .personas { grid-template-columns: 1fr; gap: 16px; }
  .offers { gap: 32px; }
  .card { padding: 24px; }
  .philosophy-text { font-size: 1.125rem; }
  .pill-quote { font-size: 1.125rem; }
  .quote-banner { padding: 24px; margin-top: 40px; }
  .quote-banner br { display: none; }
  .footer-brand span { display: block; margin: 4px 0 0; }
  .sticky-wa {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 20px; right: 20px; bottom: 12px; z-index: 60;
    padding: 16px; border-radius: var(--r-sm);
    background: var(--terra); color: var(--white); text-decoration: none; font-weight: 500;
    box-shadow: var(--shadow-terra);
  }
}
