/* ============================================================
   Viaisa Table — Provencal French Kitchen
   Visual identity: faience (Provencal glazed ceramic) palette,
   olive grove + Marseille blue, honey ochre used with restraint.
   Display: Fraunces (optical old-style serif). Body: Inter Tight.
   ============================================================ */

:root {
  --ink:    #20302a;   /* deep olive-black */
  --olive:  #3d5a3f;   /* olive grove green (primary) */
  --olive-2:#33513a;
  --bleu:   #2e5e7e;   /* Marseille faience blue (secondary) */
  --bleu-2: #244b66;
  --ochre:  #c1843a;   /* Provencal honey ochre (accent, restrained) */
  --ochre-soft:#dcae6e;
  --paper:  #f2ede1;   /* warm limestone */
  --lin:    #e7dec9;   /* linen panel */
  --lin-2:  #ded3ba;
  --line:   #d2c6a8;   /* hairline on paper */
  --cream-text:#f5f0e4;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 19px;               /* older audience: >=18px */
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ochre); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }

/* --- eyebrow / french label --- */
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--ochre);
  letter-spacing: .04em;
}
.kicker {
  display: inline-block;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 12px;
  font-weight: 600;
  color: var(--bleu);
}

/* ===========  FAIENCE TILE (signature motif)  =========== */
.tile {
  --t: 18px;
  display: inline-block;
  width: var(--t); height: var(--t);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.45), transparent 45%),
    repeating-linear-gradient(45deg, var(--ochre) 0 4px, var(--ochre-soft) 4px 8px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  vertical-align: middle;
}
.tile--bleu { background:
    linear-gradient(135deg, rgba(255,255,255,.5), transparent 45%),
    repeating-linear-gradient(45deg, var(--bleu) 0 4px, #3d7398 4px 8px); }
.tile-row { display: inline-flex; gap: 5px; align-items: center; }

/* ===========  NAVBAR  =========== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242,237,225,.86);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.navbar.scrolled { box-shadow: 0 8px 30px -18px rgba(32,48,42,.5); background: rgba(242,237,225,.95); }
.nav-container {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.nav-logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display);
  font-size: 25px; font-weight: 600; font-style: italic;
  color: var(--ink); letter-spacing: -0.015em;
}
.nav-logo:hover { color: var(--ink); }
.nav-logo .leaf { font-style: normal; font-size: 22px; }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--ink); font-size: 16px; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 2px; background: var(--ochre);
  transition: width .28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 26px; color: var(--ink); padding: 6px;
}

/* ===========  HERO  =========== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% 10%, rgba(46,94,126,.16), transparent 55%),
    linear-gradient(160deg, var(--olive) 0%, var(--olive-2) 55%, var(--ink) 100%);
  color: var(--cream-text);
  overflow: hidden;
}
.hero-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
  padding: 86px 28px 92px;
}
.hero-copy { max-width: 560px; }
.hero .eyebrow { color: var(--ochre-soft); }
.hero-rule {
  display: flex; align-items: center; gap: 12px; margin: 18px 0 6px;
}
.hero-rule .ln { height: 1px; width: 54px; background: rgba(245,240,228,.45); }
.hero h1 {
  font-size: clamp(42px, 5.6vw, 74px);
  color: var(--cream-text);
  font-weight: 400;
  margin: 14px 0 22px;
  line-height: 1.04;
}
.hero h1 em {
  font-style: italic; font-weight: 400;
  color: var(--ochre-soft);
  display: block;
}
.hero-lead {
  font-size: 20px; line-height: 1.7;
  color: rgba(245,240,228,.86);
  max-width: 500px; margin-bottom: 34px;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ochre); color: #2a1c08;
  padding: 17px 34px; border-radius: 2px;
  font-family: var(--body); font-weight: 600; font-size: 17px;
  letter-spacing: .01em;
  box-shadow: 0 14px 34px -14px rgba(193,132,58,.8);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-hero .arw { transition: transform .25s var(--ease); }
.btn-hero:hover { background: var(--ochre-soft); color: #2a1c08; transform: translateY(-2px); box-shadow: 0 20px 42px -16px rgba(193,132,58,.9); }
.btn-hero:hover .arw { transform: translateX(5px); }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.6);
}
.hero-figure::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 1px solid var(--ochre-soft); border-radius: 3px;
  z-index: -1; opacity: .65;
}
.hero-figcap {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(32,48,42,.78); backdrop-filter: blur(4px);
  color: var(--cream-text); padding: 9px 15px; border-radius: 2px;
  font-family: var(--display); font-style: italic; font-size: 15px;
  border-left: 3px solid var(--ochre);
}

/* ===========  SECTION SHELL  =========== */
.section { padding: 96px 28px; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .marker { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 400; line-height: 1.1; margin: 12px 0 14px;
}
.section-head h2 em { font-style: italic; color: var(--olive); }
.section-head p { font-size: 19px; color: rgba(32,48,42,.78); line-height: 1.7; }

/* ===========  RECIPES  =========== */
.recipes { background: var(--paper); }
.recipes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.recipe-card {
  background: #fbf8f0;
  border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px -28px rgba(32,48,42,.45);
  border-color: var(--ochre-soft);
}
.recipe-figure { position: relative; overflow: hidden; }
.recipe-figure img {
  width: 100%; height: 230px; object-fit: cover;
  transition: transform .6s var(--ease);
}
.recipe-card:hover .recipe-figure img { transform: scale(1.05); }
.recipe-index {
  position: absolute; top: 14px; left: 14px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(32,48,42,.82); backdrop-filter: blur(4px);
  color: var(--cream-text); padding: 7px 12px 7px 10px; border-radius: 2px;
  font-family: var(--display); font-style: italic; font-size: 15px;
}
.recipe-time {
  position: absolute; top: 14px; right: 14px;
  background: rgba(251,248,240,.95); color: var(--ink);
  padding: 6px 12px; border-radius: 2px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.4);
}
.recipe-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.recipe-body h3 {
  font-size: 25px; font-weight: 500; margin-bottom: 6px; line-height: 1.18;
}
.recipe-fr {
  font-family: var(--display); font-style: italic;
  color: var(--bleu); font-size: 16px; margin-bottom: 14px;
}
.recipe-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 14px; color: rgba(32,48,42,.62);
  font-weight: 500; margin-bottom: 14px;
}
.recipe-desc { font-size: 17px; color: rgba(32,48,42,.82); line-height: 1.62; margin-bottom: 20px; flex: 1; }
.btn-expand {
  align-self: flex-start;
  background: none; border: 1px solid var(--olive);
  color: var(--olive);
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 2px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-expand .chev { transition: transform .3s var(--ease); display: inline-block; }
.btn-expand:hover { background: var(--olive); color: var(--cream-text); }
.recipe-details.active + .btn-expand .chev,
.btn-expand[aria-expanded="true"] .chev { transform: rotate(180deg); }
.recipe-details {
  display: none;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--line);
  animation: glaze .4s var(--ease);
}
.recipe-details.active { display: block; }
@keyframes glaze { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.recipe-details h4 {
  font-size: 14px; font-family: var(--body); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--bleu); margin: 18px 0 11px;
  display: flex; align-items: center; gap: 9px;
}
.recipe-details h4:first-child { margin-top: 0; }
.recipe-details ul, .recipe-details ol { padding-left: 22px; font-size: 17px; line-height: 1.75; }
.recipe-details li { margin-bottom: 7px; }
.recipe-details ol li::marker { color: var(--ochre); font-weight: 700; }

/* ===========  SHAPEON / WELLNESS  =========== */
.shapeon {
  position: relative;
  background:
    radial-gradient(110% 90% at 15% 5%, rgba(193,132,58,.12), transparent 55%),
    linear-gradient(165deg, var(--bleu) 0%, var(--bleu-2) 60%, var(--ink) 100%);
  color: var(--cream-text);
}
.shapeon--bottom {
  background:
    radial-gradient(110% 90% at 85% 5%, rgba(193,132,58,.12), transparent 55%),
    linear-gradient(165deg, var(--olive) 0%, var(--olive-2) 55%, var(--ink) 100%);
}
.shapeon .section-head h2 { color: var(--cream-text); }
.shapeon .section-head h2 em { color: var(--ochre-soft); }
.shapeon .section-head p { color: rgba(245,240,228,.84); }
.shapeon-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(245,240,228,.12);
  border: 1px solid rgba(245,240,228,.22);
  color: var(--ochre-soft);
  padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}

.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1060px; margin: 0 auto 44px; align-items: stretch;
}
.product-card {
  background: rgba(245,240,228,.06);
  border: 1px solid rgba(245,240,228,.16);
  border-radius: 5px; padding: 32px 26px 30px;
  text-align: center; position: relative;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,240,228,.4);
  box-shadow: 0 30px 50px -28px rgba(0,0,0,.6);
}
.product-card.featured {
  background: rgba(245,240,228,.1);
  border-color: var(--ochre);
  box-shadow: 0 0 0 1px var(--ochre), 0 28px 50px -28px rgba(0,0,0,.6);
}
.product-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ochre); color: #2a1c08;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; white-space: nowrap;
}
.product-label {
  font-family: var(--body); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ochre-soft); margin-bottom: 14px;
}
.product-img { width: 152px; height: 188px; object-fit: contain; margin: 6px auto 18px; }
.product-bottles { font-family: var(--display); font-size: 28px; font-weight: 500; margin-bottom: 12px; color: var(--cream-text); }
.product-price-old { color: rgba(245,240,228,.5); font-size: 15px; text-decoration: line-through; margin-bottom: 4px; }
.product-price { font-size: 40px; font-weight: 600; color: var(--ochre-soft); line-height: 1; margin-bottom: 6px; font-family: var(--display); }
.product-price span { font-size: 15px; font-weight: 400; color: rgba(245,240,228,.7); font-family: var(--body); }
.product-total { font-size: 15px; color: rgba(245,240,228,.88); font-weight: 600; margin-bottom: 6px; }
.product-savings { font-size: 14px; font-weight: 600; color: #8fd39a; margin-bottom: 10px; }
.product-shipping { font-size: 14px; color: rgba(245,240,228,.78); margin-bottom: 22px; }
.btn-order {
  display: block; width: 100%; margin-top: auto;
  background: var(--ochre); color: #2a1c08;
  padding: 15px 18px; border-radius: 2px;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn-order:hover { background: var(--ochre-soft); color: #2a1c08; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(193,132,58,.8); }
.product-card.featured .btn-order { box-shadow: 0 12px 26px -12px rgba(193,132,58,.8); }

.trust-badges {
  display: flex; justify-content: center; align-items: center;
  gap: 34px; flex-wrap: wrap; margin: 12px auto 0; max-width: 760px;
}
.trust-badges img { height: 46px; width: auto; opacity: .82; filter: brightness(0) invert(1); }
.guarantee {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  background: rgba(245,240,228,.06); border: 1px solid rgba(245,240,228,.16);
  border-radius: 6px; padding: 24px 32px; max-width: 720px; margin: 36px auto 0;
}
.guarantee img { width: 78px; height: 78px; flex-shrink: 0; }
.guarantee p { color: rgba(245,240,228,.9); font-size: 16px; margin: 0; text-align: left; }
.guarantee strong { color: var(--ochre-soft); }

/* ===========  ABOUT / OUR KITCHEN  =========== */
.about { background: var(--lin); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  max-width: 1080px; margin: 0 auto;
}
.about-figure { position: relative; }
.about-figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 56px -30px rgba(32,48,42,.55); }
.about-figure::after {
  content: ""; position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid var(--ochre); border-radius: 4px; z-index: -1; opacity: .55;
}
.about-copy h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 400; margin: 14px 0 18px; line-height: 1.1; }
.about-copy h2 em { font-style: italic; color: var(--olive); }
.about-copy p { font-size: 18px; color: rgba(32,48,42,.85); line-height: 1.74; margin-bottom: 16px; }
.about-values {
  display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.about-value { flex: 1; min-width: 130px; }
.about-value h4 { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--bleu); margin-bottom: 4px; }
.about-value p { font-size: 16px; margin: 0; color: rgba(32,48,42,.72); }

/* ===========  FOOTER  =========== */
.footer { background: var(--ink); color: rgba(245,240,228,.78); padding: 72px 28px 34px; }
.footer .container { max-width: var(--maxw); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.5fr; gap: 52px; margin-bottom: 44px; }
.footer-logo { font-family: var(--display); font-style: italic; font-size: 27px; font-weight: 600; color: var(--cream-text); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 16px; color: rgba(245,240,228,.66); line-height: 1.65; max-width: 320px; }
.footer h4 { color: var(--ochre-soft); font-family: var(--body); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 16px; font-weight: 700; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(245,240,228,.7); font-size: 16px; }
.footer-links a:hover { color: var(--ochre-soft); }
.footer-company p { color: rgba(245,240,228,.7); font-size: 15px; line-height: 1.72; }
.footer-company strong { color: var(--cream-text); }
.footer-disclaimer { border-top: 1px solid rgba(245,240,228,.12); padding-top: 26px; margin-bottom: 20px; }
.footer-disclaimer p { color: rgba(245,240,228,.5); font-size: 13.5px; line-height: 1.7; max-width: 1080px; }
.footer-bottom { border-top: 1px solid rgba(245,240,228,.08); padding-top: 20px; text-align: center; }
.footer-bottom p { color: rgba(245,240,228,.48); font-size: 13.5px; margin: 0; }

/* ===========  LEGAL PAGES  =========== */
.legal-main { max-width: 880px; margin: 70px auto 90px; padding: 0 28px; }
.legal-main h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 400; margin-bottom: 10px; }
.legal-main h2 { font-size: clamp(23px, 3vw, 29px); font-weight: 500; color: var(--olive); margin: 38px 0 14px; }
.legal-main h3 { font-size: 21px; font-weight: 500; margin: 18px 0 10px; }
.legal-main p { margin-bottom: 15px; font-size: 18px; color: var(--ink); }
.legal-main ul, .legal-main ol { margin: 14px 0 14px 30px; }
.legal-main li { margin-bottom: 9px; font-size: 18px; }
.legal-main a { color: var(--bleu); text-decoration: underline; }
.legal-main a:hover { color: var(--ochre); }
.legal-main strong { color: var(--ink); font-weight: 700; }
.legal-meta { color: rgba(32,48,42,.62); font-style: italic; margin-bottom: 34px; font-family: var(--display); }
.fda-box { background: #fff8e1; border-left: 5px solid #f4a261; padding: 26px; border-radius: 6px; margin-bottom: 34px; }
.fda-box h2 { margin-top: 0; color: #9a6a12; }
.fda-box p { margin-bottom: 0; }
.company-contact-box {
  background: rgba(61,90,63,.07);
  border-left: 4px solid var(--ochre);
  padding: 26px; border-radius: 6px; margin-top: 26px;
}
.company-contact-box h3 { margin-top: 0; color: var(--olive); }
.company-contact-box p { margin-bottom: 6px; }

/* ===========  RESPONSIVE  =========== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 64px 28px 70px; }
  .hero-figure { max-width: 460px; }
  .recipes-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-figure { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  body { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    background: var(--paper); flex-direction: column;
    padding: 26px 28px; gap: 16px; align-items: flex-start;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(32,48,42,.5);
    transform: translateY(-160%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .section { padding: 70px 22px; }
  .recipes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .guarantee { flex-direction: column; text-align: center; }
  .guarantee p { text-align: center; }
}

/* ===========  REDUCED MOTION  =========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .recipe-card:hover { transform: none; }
  .recipe-card:hover .recipe-figure img { transform: none; }
  .product-card:hover, .btn-hero:hover, .btn-order:hover { transform: none; }
}
