/* Lecodê landing — built from Kstonebase canvas "lecode-landing.kanvas" (approved v3). */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-Italic-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --forest: #1F3A32;
  --forest-700: #2A4A40;
  --forest-600: #2F5247;
  --ink: #3F3F3F;
  --sage: #637B5E;
  --sage-light: #A8B59A;
  --gold: #C9A860;
  --terracotta: #E46A2E;
  --sand: #E7DDD0;
  --cream: #F8F6F2;
  --white: #FFFFFF;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1296px;
  --gutter: 72px;
  --section-y: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }

.container {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.9px;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow-gold { color: var(--gold); }

.section { padding: var(--section-y) 0; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  color: var(--forest);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { padding: 12px 22px; letter-spacing: 1.7px; }
.btn-lg { padding: 18px 36px; }
.btn-block { width: 100%; letter-spacing: 1.9px; padding: 15px 20px; }

.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: #cf5a22; }

.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }

.btn-dark { background: var(--forest); color: var(--cream); }
.btn-dark:hover { background: var(--forest-700); }

.btn-link {
  display: inline-block;
  padding: 16px 8px 15px;
  border-bottom: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.btn-link:hover { color: var(--gold); }

:where(a, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Logo (crops the wordmark area of the official logotipo) ---------- */
.logo {
  display: block;
  width: 150px;
  aspect-ratio: 149.85 / 46;
  overflow: hidden;
}
.logo img { width: 100%; height: auto; margin-top: -42.29%; }
.logo-footer { width: 143px; aspect-ratio: 143.33 / 44; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--forest);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 82px;
}
.nav { display: flex; gap: 24px; }
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand);
}
.nav a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { background: var(--forest); padding: 96px 0 112px; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 520px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.hero-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.06;
  color: var(--cream);
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-lead {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sand);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }

.hero-media { position: relative; margin-right: 16px; margin-bottom: 16px; }
.hero-frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  border-radius: 140px 140px 4px 4px;
}
.hero-photo {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 650;
  object-fit: cover;
  border-radius: 140px 140px 4px 4px;
  background: var(--forest-700);
}

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--terracotta);
}
.step h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--forest);
}
.step p { margin-top: 14px; font-size: 15px; line-height: 1.7; }

/* ---------- Menu ---------- */
.menu { background: var(--sand); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.tab {
  padding: 11px 19px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  background: transparent;
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  cursor: pointer;
}
.tab.is-active { background: var(--forest); color: var(--cream); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 514px));
  justify-content: center;
  gap: 40px 72px;
}
.menu-cat {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sage-light);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--forest);
}
.dishes { display: grid; gap: 26px; margin-top: 26px; }
.dish-row { display: flex; align-items: baseline; gap: 8px; }
.dish-name { font-size: 17px; font-weight: 500; color: var(--forest); }
.dish-leader { flex: 1; min-width: 24px; border-bottom: 1px solid var(--sage-light); transform: translateY(-5px); }
.dish-price {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--terracotta);
  white-space: nowrap;
}
.dish-desc { margin-top: 6px; font-size: 14px; line-height: 1.5; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.value-num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--terracotta);
}
.value h3 {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--forest);
}
.value p { margin-top: 12px; font-size: 14px; line-height: 1.6; }

/* ---------- Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 33px;
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: 4px;
}
.plan-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--sage);
}
.plan-price {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.33;
  color: var(--forest);
}
.plan-price small { font-family: var(--font-body); font-size: 20px; color: var(--sage); }
.plan-desc { margin: 10px 0 18px; font-size: 15px; line-height: 1.7; flex: 1; }

.plan-featured { background: var(--forest); border-color: var(--forest); }
.plan-featured .plan-name { color: var(--gold); }
.plan-featured .plan-price { color: var(--cream); }
.plan-featured .plan-price small { color: var(--sage-light); }
.plan-featured .plan-desc { color: var(--sand); }
.plan-badge {
  position: absolute;
  top: -10px;
  left: 33px;
  padding: 5px 10px;
  background: var(--terracotta);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cream);
}

/* ---------- CTA ---------- */
.cta-wrap { padding-bottom: var(--section-y); }
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 72px 86px;
  background: var(--terracotta);
  border-radius: 4px;
  color: var(--cream);
}
.cta-copy { max-width: 640px; }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.08;
}
.cta p { margin-top: 16px; font-size: 16px; line-height: 1.6; }
.cta .btn { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 227px); gap: 40px; }
.footer-about { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--sage-light); }
.footer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-text { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--sand); }
.footer-text a { text-decoration: none; }
.footer-text a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--forest-600);
  font-size: 12px;
  color: var(--sage-light);
}
.footer-bottom em { font-family: var(--font-display); color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .cta { padding: 56px; }
}

@media (max-width: 900px) {
  :root { --section-y: 72px; }
  .nav { display: none; }
  .hero { padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; width: calc(100% - 16px); }
  .steps-grid, .plans-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .plans-grid { max-width: 460px; gap: 32px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .header-inner { height: 68px; }
  .logo { width: 120px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .dish-row { flex-wrap: wrap; }
  .cta { padding: 40px 24px; }
  .cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
