/* ===== La Fôret — design system ===== */
:root {
  --green-dark:  #1f3d2b;
  --green-mid:   #2f5a3f;
  --green-light: #b8d8b8;
  --green-soft:  #eaf3ea;
  --pink-light:  #f7d4d4;
  --pink-soft:   #fdebeb;
  --bg:          #fbfcf9;
  --fg:          #14241a;
  --muted:       #5a6b5f;
  --white:       #ffffff;
  --radius:      14px;
  --shadow-md:   0 8px 24px rgba(31,61,43,0.12);
  --shadow-lg:   0 20px 50px rgba(31,61,43,0.25);
}

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

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--green-dark);
}

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

/* ===== Image frames (crop, never overflow) ===== */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-soft);
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}
.frame.ratio-4-5 { aspect-ratio: 4/5; }
.frame.ratio-4-3 { aspect-ratio: 4/3; }
.group:hover .frame img { transform: scale(1.05); }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,252,249,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31,61,43,0.08);
}
.header-inner {
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--green-dark);
  font-family: "Playfair Display", serif;
  font-size: 26px; font-weight: 700;
}
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--fg); opacity: .8; transition: color .2s, opacity .2s; }
.nav a:hover { color: var(--green-dark); opacity: 1; }
@media (max-width: 720px) { .nav { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, opacity .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--green-mid); }
.btn-accent  { background: var(--pink-light); color: var(--green-dark); box-shadow: var(--shadow-md); }
.btn-accent:hover { background: var(--pink-soft); }
.btn-ghost   { color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn svg { width: 18px; height: 18px; }

/* ===== Hero ===== */
.hero { position: relative; }
.hero-frame {
  position: relative;
  height: 78vh; min-height: 480px;
  overflow: hidden;
}
.hero-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(31,61,43,0.55), rgba(31,61,43,0.35) 40%, rgba(31,61,43,0.85));
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-inner { max-width: 640px; color: var(--white); }
.chip {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: var(--pink-light); color: var(--green-dark);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7vw, 84px);
  color: var(--white);
}
.hero p { margin-top: 22px; font-size: 18px; color: rgba(255,255,255,0.92); max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Sections ===== */
section.block { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--green-mid);
}
.section-head h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); }

/* ===== Menu grid ===== */
.grid-3 {
  display: grid; gap: 32px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.dish h3 { margin-top: 18px; font-size: 24px; }
.dish p  { margin-top: 6px; color: var(--muted); }

/* ===== About ===== */
.about-bg { background: var(--green-soft); }
.split {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.about-text h2 { font-size: clamp(32px, 4vw, 52px); }
.about-text > p { margin-top: 22px; font-size: 17px; color: #2c3a31; }
.hours { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.hour-row { display: flex; gap: 12px; align-items: flex-start; }
.hour-row svg { width: 20px; height: 20px; color: var(--green-mid); flex-shrink: 0; margin-top: 4px; }
.hour-row .day { font-weight: 600; color: var(--green-dark); }
.hour-row .time { font-size: 14px; color: var(--muted); }

/* ===== Contact ===== */
.contact { background: var(--green-dark); color: var(--white); text-align: center; }
.contact h2 { color: var(--white); font-size: clamp(34px, 4.5vw, 52px); }
.contact p.lead { margin-top: 14px; color: rgba(255,255,255,0.8); font-size: 18px; }
.contact .big-phone {
  margin-top: 36px;
  font-size: 20px; padding: 16px 32px;
}
.contact-info {
  margin-top: 48px;
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 720px) { .contact-info { grid-template-columns: 1fr; } }
.contact-info > div {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255,255,255,0.92);
}
.contact-info svg { width: 18px; height: 18px; }
.contact-info a:hover { text-decoration: underline; }
.socials { display: flex; gap: 14px; }
.socials a:hover { opacity: .7; }

/* ===== Footer ===== */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 22px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== Section sub & CTA row ===== */
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.cta-row { margin-top: 48px; text-align: center; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}
.gallery .frame { border-radius: var(--radius); }
.g-tall   { grid-column: span 1; grid-row: span 2; }
.g-wide   { grid-column: span 2; grid-row: span 2; }
.g-square { grid-column: span 1; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-tall, .g-wide, .g-square { grid-column: span 1; grid-row: span 1; }
  .g-wide { grid-column: span 2; }
}
