/* Leaf Salads — estilos compartilhados por todas as páginas.
   Layout: faixas verde-marca (topo, hero, clube, rodapé) alternando com
   fundo creme; a faixa de folhas e arcos da identidade costura as seções. */

:root {
  --brand: #0A4943;
  --brand-deep: #073935;
  --lime: #C6EA4B;
  --lime-hover: #D4F266;
  --on-lime: #083B36;
  --on-brand: #F4F7EC;
  --on-brand-muted: #B9CFC6;
  --bg: #F6F7EF;
  --surface: #FFFFFF;
  --ink: #0B3531;
  --muted: #557069;
  --line: #DCE3D3;
  --chip: #EDF2E2;
  --tag: #E9EFE6;
  --focus: #6E9E1A;
  --ok: #3FB950;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
  --header-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #052B28; --surface: #0A3834; --ink: #EDF3E4; --muted: #A5BDB5;
    --line: #1B4C46; --chip: #0F433E; --tag: #12463F; --focus: #C6EA4B;
    color-scheme: dark;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h2 { font: 800 clamp(30px, 4.2vw, 46px)/1.05 var(--display); letter-spacing: -.01em; margin-top: 10px; }
.lede { color: var(--muted); max-width: 46ch; margin-top: 14px; font-size: 17px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-ghost { color: var(--on-brand); box-shadow: inset 0 0 0 1.5px rgba(244, 247, 236, .45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-brand); }
.btn-ink { background: var(--brand); color: var(--on-brand); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Cabeçalho */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--brand); color: var(--on-brand);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { display: block; width: 168px; height: auto; flex: none; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 10px 13px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--on-brand-muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-brand); background: rgba(255, 255, 255, .07); }
.top .btn { min-height: 42px; padding: 0 18px; }
.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: var(--on-brand);
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .logo { width: 138px; }
  .top .btn { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    background: var(--brand); border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 10px; font-size: 17px; }
}

/* Hero (home) */
.hero { background: var(--brand); color: var(--on-brand); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 56px 64px; }
.hero h1 { font: 800 clamp(44px, 6.6vw, 84px)/.98 var(--display); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { color: var(--on-brand-muted); font-size: 18px; margin-top: 22px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fact b { display: block; font: 800 26px/1 var(--display); color: var(--lime); font-variant-numeric: tabular-nums; }
.fact span { font-size: 13px; color: var(--on-brand-muted); }
.hero-photo { position: relative; min-width: 0; margin: 0; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px 180px 28px 180px; }
.hero-tag {
  position: absolute; left: 18px; bottom: 18px; max-width: calc(100% - 36px);
  background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.3; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.hero-tag b { display: block; font-size: 15px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 44px; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 20px 110px 20px 110px; }
}

/* Faixa de folhas e arcos (identidade Leaf) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, 56px); grid-auto-rows: 56px; height: 56px; overflow: hidden; background: var(--brand); }
.tiles i { display: block; }
.t-leaf { background: var(--lime); border-radius: 0 100% 0 100%; }
.t-leaf2 { background: var(--lime); border-radius: 100% 0 100% 0; }
.t-arc { background: radial-gradient(circle at 100% 100%, var(--lime) 0 70%, transparent 71%); }
.t-arc2 { background: radial-gradient(circle at 0 100%, transparent 0 40%, var(--lime) 41% 70%, transparent 71%); }
.t-dots { background: radial-gradient(circle, var(--lime) 0 5px, transparent 6px) 0 0 / 28px 28px; }
.t-half { background: var(--lime); border-radius: 56px 56px 0 0; }

/* Cardápio */
.menu { padding-block: 72px 56px; }
.menu-head p { max-width: 52ch; color: var(--muted); margin-top: 10px; }
.cats { display: flex; gap: 8px; overflow-x: auto; margin-top: 28px; padding-bottom: 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: 600 15px/1 var(--body);
}
.cat[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.filters .label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.flt {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 0;
  background: var(--chip); color: var(--ink); font: 600 13px/1 var(--body); cursor: pointer;
}
.flt::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--muted); }
.flt[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); }
.flt[aria-pressed="true"]::before {
  box-shadow: none;
  background: var(--on-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23C6EA4B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.count { margin-top: 20px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 14px; }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card .ph { position: relative; aspect-ratio: 4 / 3; background: var(--chip); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.noimg::before { content: ""; position: absolute; width: 64px; height: 64px; top: calc(50% - 52px); background: var(--lime); border-radius: 0 100% 0 100%; opacity: .7; }
.noimg span { margin-top: 56px; }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 6px;
  background: var(--brand); color: var(--lime); font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
}
.card .body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.card h3 { font: 600 21px/1.15 var(--display); }
.nutri { display: flex; gap: 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nutri b { color: var(--ink); font-weight: 700; }
.ingr { font-size: 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 8px; border-radius: 6px; background: var(--tag); font-size: 12px; font-weight: 600; }
.tag.veg { background: var(--lime); color: var(--on-lime); }
.card .foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .foot small { font-size: 12px; color: var(--muted); }
.card .order { min-height: 40px; padding: 0 16px; font-size: 14px; }
.empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.empty .btn { margin-top: 12px; }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Ceará */
.ceara { background: var(--chip); padding-block: 64px; }
.ceara .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.ceara .lede { max-width: 40ch; font-size: 16px; }
.ceara ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ceara li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.ceara li img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.ceara li b { display: block; font: 600 18px/1.2 var(--display); }
.ceara li span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .ceara .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ceara ul { grid-template-columns: 1fr; } }

/* Monte a sua */
.split { padding-block: 72px; }
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.leaf-frame { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 180px 28px 180px 28px; }
.sauces { margin-top: 26px; }
.sauces h3 { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pills { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; }
@media (max-width: 900px) {
  .split .wrap { grid-template-columns: 1fr; gap: 28px; }
  .leaf-frame { aspect-ratio: 4 / 3; border-radius: 110px 20px 110px 20px; }
}

/* Clube */
.clube { background: var(--brand); color: var(--on-brand); padding-block: 64px; }
.clube .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.clube .eyebrow { color: var(--lime); }
.clube .lede { color: var(--on-brand-muted); max-width: 42ch; }
.clube .btn { margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font: 800 17px/1 var(--display); }
.steps b { display: block; margin-top: 14px; font: 600 19px/1.2 var(--display); }
.steps span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-brand-muted); }
@media (max-width: 900px) { .clube .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Lojas */
.lojas { padding-block: 72px; }
.lojas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.loja { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.loja > img, .loja iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 0; display: block; }
.loja .body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px 22px; }
.loja h3 { font: 800 26px/1.1 var(--display); }
.loja .addr { color: var(--muted); }
.loja .hours { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-top: 4px; }
.loja .hours::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.loja .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 700px) { .lojas-grid { grid-template-columns: 1fr; } }

/* Cabeçalho de página interna */
.page-head { background: var(--brand); color: var(--on-brand); }
.page-head .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-block: 56px 64px; }
.page-head h1 { font: 800 clamp(40px, 5.6vw, 72px)/1 var(--display); letter-spacing: -.02em; }
.page-head h1 em { font-style: normal; color: var(--lime); }
.page-head .eyebrow { color: var(--lime); margin-bottom: 14px; }
.page-head .lede { color: var(--on-brand-muted); font-size: 18px; max-width: 50ch; }
.page-head video, .page-head .media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px 180px 28px 180px; background: var(--brand-deep); }
.page-head.solo .wrap { grid-template-columns: 1fr; padding-block: 48px 52px; }
@media (max-width: 900px) {
  .page-head .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 44px; }
  .page-head video, .page-head .media { order: -1; border-radius: 20px 110px 20px 110px; }
}

/* Missão, visão, valores */
.pillars { padding-block: 64px; }
.pillars ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillars li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.pillars li::before { content: ""; display: block; width: 36px; height: 36px; background: var(--lime); border-radius: 0 100% 0 100%; margin-bottom: 16px; }
.pillars h3 { font: 800 24px/1.1 var(--display); }
.pillars p { margin-top: 8px; color: var(--muted); }
@media (max-width: 760px) { .pillars ul { grid-template-columns: 1fr; } }

/* Formulário */
.form-sec { padding-block: 56px 72px; }
.form-card { max-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field:first-of-type { margin-top: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--body);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(110, 158, 26, .2); }
.field input[type="file"] { padding: 10px; cursor: pointer; }
.form-card .btn { margin-top: 24px; width: 100%; }
.success { display: flex; gap: 12px; align-items: flex-start; max-width: 640px; margin-bottom: 20px; padding: 16px 18px; border-radius: var(--r); background: var(--lime); color: var(--on-lime); font-weight: 600; }
.success svg { flex: none; margin-top: 2px; }

/* Rodapé */
.foot { background: var(--brand-deep); color: var(--on-brand); padding-block: 48px 40px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .logo { width: 160px; }
.foot p { margin-top: 14px; color: var(--on-brand-muted); max-width: 34ch; font-size: 15px; }
.foot h2 { margin: 0 0 12px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-brand-muted); text-decoration: none; }
.foot a:hover { color: var(--on-brand); text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; margin-top: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; max-width: none; }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }

/* Barra de pedido no celular */
.bar { display: none; }
@media (max-width: 900px) {
  .bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--brand); border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .bar .btn { flex: 1; }
  .bar .btn-ghost { flex: 0 0 auto; }
  .foot { padding-bottom: 110px; }
}
