:root {
  /* Paleta OxeTech — azul-elétrico do robô + chrome + couro de cangaceiro */
  --bg: #0a0e1a;            /* navy quase preto */
  --bg-elev: #131826;
  --bg-elev-2: #1c2130;
  --border: #2a3142;
  --text: #f1f5fb;
  --text-dim: #a3b1c6;
  --text-mute: #6b7585;
  --accent: #38bdf8;        /* azul-céu — olhos do robô */
  --accent-2: #0284c7;      /* azul mais profundo — gradiente */
  --accent-glow: rgba(56, 189, 248, 0.45);
  --leather: #a0522d;       /* marrom couro — chapéu de cangaceiro */
  --chrome: #cbd5e1;        /* prata do robô */
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 20px 60px -20px rgba(2, 132, 199, 0.35);
  --shadow-md: 0 6px 24px -8px rgba(0, 0, 0, 0.5);
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

* { box-sizing: border-box; }

/* Garantir que [hidden] vença qualquer regra de display em classes */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
}

body { overflow-x: hidden; }

img, video, canvas { max-width: 100%; display: block; }

/* ============================================================
   LAYOUT
   ============================================================ */

.page { min-height: 100dvh; display: flex; flex-direction: column; }

.page--auth {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(2, 132, 199, 0.18), transparent 70%),
    var(--bg);
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 12px) 16px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar__brand { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.topbar__logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.topbar__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(56, 189, 248, 0.4));
}
.topbar__brand-hl { color: var(--accent); }
.topbar__user { display: flex; align-items: center; gap: 10px; }
.topbar__email { font-size: 12px; color: var(--text-dim); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* App container */
.app {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px calc(24px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.section__title { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.section__sub { margin: 0 0 14px; color: var(--text-dim); font-size: 13.5px; line-height: 1.45; }

/* ============================================================
   SEGMENT CONTROL (Cardápio / Prato pronto)
   ============================================================ */
.segment {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-md);
}
.segment__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-radius: 100px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.05s;
}
.segment__btn:active { transform: scale(0.98); }
.segment__btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111c;
  box-shadow: 0 4px 14px -4px var(--accent-glow);
}
.segment__icon { font-size: 16px; line-height: 1; }

.mode { display: flex; flex-direction: column; gap: 24px; }

/* ============================================================
   NUTRIENTES — card e barras
   ============================================================ */
.nutri {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nutri__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}
.nutri__kcal {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.nutri__kcal small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 4px;
}
.nutri__weight {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}
.nutri__weight strong { color: var(--text); }

.nutri__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 460px) {
  .nutri__grid { grid-template-columns: repeat(4, 1fr); }
}

.nutri__item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nutri__item-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.nutri__item-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nutri__item-value small {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 2px;
  font-weight: 500;
}

.nutri__notes {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  padding: 8px 10px;
  background: rgba(56, 189, 248, 0.06);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.nutri__notes strong { color: var(--text); }

.nutri__confidence {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-mute);
}
.nutri__confidence.is-baixa { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }
.nutri__confidence.is-media { color: var(--accent); border-color: rgba(56, 189, 248, 0.4); }
.nutri__confidence.is-alta  { color: var(--success); border-color: rgba(34, 197, 94, 0.4); }

/* Imagem do prato analisado dentro do plateResult */
.plate-result__photo {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.plate-result__head { margin-bottom: 10px; }
.plate-result__name { margin: 0 0 4px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.plate-result__desc { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.plate-result__basis { font-size: 11.5px; color: var(--text-mute); margin-top: 6px; font-style: italic; }
.plate-result__error {
  padding: 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 13.5px;
  line-height: 1.5;
}

/* ============================================================
   AUTH
   ============================================================ */
.auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px calc(48px + var(--safe-bottom));
  gap: 28px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.brand { text-align: center; }
.brand__logo {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Aura difusa pulsante atras do robo */
.brand__logo::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), rgba(2, 132, 199, 0.18) 45%, transparent 72%);
  filter: blur(8px);
  animation: pulse-glow 3.5s ease-in-out infinite;
  z-index: 0;
}
.brand__logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 4px rgba(56, 189, 248, 0.4))
    drop-shadow(0 10px 24px rgba(2, 132, 199, 0.35));
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}
.brand__name { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.02em; }
.brand__name span { color: var(--accent); font-weight: 700; }
.brand__tag { margin: 0 0 12px; color: var(--text-dim); font-size: 14px; }
.brand__by {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.brand__by strong {
  color: var(--leather);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.form { display: flex; flex-direction: column; gap: 14px; }
.form__hint { margin: 4px 0 0; color: var(--text-mute); font-size: 11.5px; text-align: center; }
.form__error {
  margin: 0;
  padding: 10px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; text-transform: uppercase; }
.field input {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.05s, background 0.15s, border-color 0.15s, opacity 0.15s;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111c;
  border-color: transparent;
  box-shadow: 0 6px 20px -6px var(--accent-glow);
}
.btn--primary:hover:not(:disabled) { filter: brightness(1.1); }

.btn--ghost {
  background: var(--bg-elev-2);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover:not(:disabled) { background: #262626; }

.btn--sm { padding: 7px 12px; font-size: 12.5px; }
.btn--block { width: 100%; }

/* ============================================================
   CAPTURE
   ============================================================ */
.capture {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.capture__video, .capture__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.capture__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: 13px;
  padding: 20px;
  text-align: center;
}
.capture__placeholder svg { width: 56px; height: 56px; opacity: 0.6; }

.capture__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.capture__actions .btn { flex: 1; min-width: 130px; }

/* ============================================================
   DISHES LIST
   ============================================================ */
.dishes { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }

.dish {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dish__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish__name { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; }
.dish__price { font-size: 13px; color: var(--accent); font-weight: 600; white-space: nowrap; }
.dish__category {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 100px;
  width: fit-content;
}
.dish__desc { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.dish__ings { margin: 0; font-size: 12px; color: var(--text-mute); line-height: 1.5; }
.dish__ings strong { color: var(--text-dim); font-weight: 600; }

.dish__actions { display: flex; gap: 8px; margin-top: 4px; }
.dish__actions .btn { flex: 1; }

.dish__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: zoom-in;
  margin-top: 4px;
}

.dish__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px dashed rgba(56, 189, 248, 0.32);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 4px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--bg-elev-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px 8px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  font-size: 11px;
  line-height: 1.3;
  color: #fff;
}
.gallery__caption small { color: var(--text-dim); }

@media (min-width: 480px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   SPINNER
   ============================================================ */
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90dvh;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
}
.modal__close:hover { background: var(--bg-elev-2); }
.modal__title { margin: 0 0 4px; font-size: 17px; padding-right: 30px; }
.modal__sub { margin: 0 0 14px; color: var(--text-dim); font-size: 12.5px; }
.modal__body img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.modal__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.modal__actions .btn { flex: 1; min-width: 140px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: calc(20px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  animation: toastIn 0.2s ease-out;
}
.toast--error { border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.toast--success { border-color: rgba(34, 197, 94, 0.4); color: #86efac; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ============================================================
   ============================================================
   LANDING PAGE (public/index.html)
   Tudo abaixo deste bloco e exclusivo da LP — nao tocar nas
   regras acima, que sao usadas tambem por app.html.
   ============================================================
   ============================================================ */

:root {
  /* Verde-saude — acento complementar ao azul OxeTech, usado em
     features e badges de bem-estar. Tom salvia/menta moderno. */
  --health-green: oklch(0.72 0.13 152);
  --health-green-dim: oklch(0.52 0.10 152);
  --health-green-glow: oklch(0.72 0.13 152 / 0.35);
}

/* Scroll suave global + offset pra header fixo */
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 84px; }

/* Acessibilidade — respeito a usuarios que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Body da LP — diferente do .page--auth porque a LP rola */
.lp-body {
  background:
    radial-gradient(1400px 700px at 50% -20%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(1000px 500px at 100% 110%, rgba(2, 132, 199, 0.14), transparent 70%),
    var(--bg);
  min-height: 100dvh;
}

/* Skip link — A11y */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--accent);
  color: #03111c;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

/* Realce do "Menu" em "MeuMenu" */
.hl { color: var(--accent); }

/* Container reutilizavel */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

/* Section titles globais da LP (NAO confundir com .section__title do app) */
.section-h {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
}
.section-sub {
  margin: 0 auto 32px;
  max-width: 600px;
  color: var(--text-dim);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 12px;
  border-radius: 100px;
  margin: 0 0 16px;
}

/* Variante grande de botao */
.btn--lg {
  padding: 14px 22px;
  font-size: 15.5px;
  border-radius: 12px;
}

/* ============================================================
   1. HEADER FIXO
   ============================================================ */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.lp-header__wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 10px) 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}
.lp-header__logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.lp-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(56, 189, 248, 0.4));
}
.lp-header__name { font-size: 16px; letter-spacing: -0.01em; }

.lp-nav { display: none; align-items: center; gap: 22px; }
.lp-nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.lp-nav a:hover { color: var(--text); }
.lp-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

@media (min-width: 768px) {
  .lp-nav { display: flex; }
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 6vw, 64px);
}
.hero__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
  }
}

.hero__copy { max-width: 580px; }
.hero__h {
  margin: 0 0 16px;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__h em {
  font-style: italic;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--health-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  margin: 0 0 28px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 540px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}
.hero__trust strong { color: var(--text); }
.hero__trust-sep { opacity: 0.5; margin: 0 2px; }
.stars { color: #fbbf24; letter-spacing: 1px; font-size: 14px; }

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__robot {
  position: relative;
  width: clamp(220px, 35vw, 360px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__robot::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), rgba(2, 132, 199, 0.18) 45%, transparent 72%);
  filter: blur(12px);
  animation: pulse-glow 3.5s ease-in-out infinite;
  z-index: 0;
}
.hero__robot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 4px 6px rgba(56, 189, 248, 0.45))
    drop-shadow(0 12px 30px rgba(2, 132, 199, 0.4));
}

/* ============================================================
   3. SOCIAL PROOF BAR
   ============================================================ */
.proof-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.proof-bar__wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .proof-bar__wrap { grid-template-columns: repeat(4, 1fr); }
}
.proof-bar__item { display: flex; flex-direction: column; gap: 2px; }
.proof-bar__item strong {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--health-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.proof-bar__item span {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   4. SHOWCASE — 3 SCREENSHOTS RESERVADOS
   ============================================================ */
.showcase { padding: clamp(56px, 8vw, 96px) 0; }

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 720px) {
  .showcase__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.showcase__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.showcase__caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.showcase__caption strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

/* Moldura de celular contendo screenshot real */
.phone-frame {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(180deg, #0c1019, #050810);
  border: 3px solid #1a2030;
  border-radius: 28px;
  padding: 6px;
  box-shadow:
    0 24px 50px -20px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(56, 189, 248, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 60px -20px rgba(2, 132, 199, 0.4),
    inset 0 0 0 1px rgba(56, 189, 248, 0.2);
}
/* Notch decorativo */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 5px;
  background: #1a2030;
  border-radius: 100px;
  z-index: 2;
}

.phone-frame__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  display: block;
}

/* ============================================================
   5. FEATURES (4 CARDS)
   ============================================================ */
.features { padding: clamp(56px, 8vw, 96px) 0; }

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.feature-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px -12px rgba(2, 132, 199, 0.35);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 6px;
}
.feature-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.feature-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
}
.feature-card--green .feature-card__icon {
  background: linear-gradient(135deg, var(--health-green), var(--health-green-dim));
  box-shadow: 0 4px 14px -4px var(--health-green-glow);
}
.feature-card--green:hover {
  border-color: var(--health-green);
  box-shadow: 0 12px 30px -12px var(--health-green-glow);
}

/* ============================================================
   6. COMO FUNCIONA (3 PASSOS)
   ============================================================ */
.howto {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(2, 132, 199, 0.08), transparent 70%);
}

.howto__steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .howto__steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: center;
  }
}

.howto__step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.howto__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111c;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  box-shadow: 0 6px 16px -4px var(--accent-glow);
}
.howto__step h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.howto__step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.howto__arrow {
  display: none;
  color: var(--accent);
  font-size: 26px;
  text-align: center;
  font-weight: 300;
}
@media (min-width: 768px) {
  .howto__arrow { display: block; }
}

/* ============================================================
   7. PRICING
   ============================================================ */
.pricing { padding: clamp(56px, 8vw, 96px) 0; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}

.plan {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plan:hover { border-color: rgba(56, 189, 248, 0.3); }

.plan--highlight {
  border: 2px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(2, 132, 199, 0.02)),
    var(--bg-elev);
  box-shadow:
    0 20px 50px -20px rgba(56, 189, 248, 0.45),
    0 0 0 4px rgba(56, 189, 248, 0.06);
  transform: translateY(-4px);
}
@media (min-width: 720px) {
  .plan--highlight { transform: translateY(-8px); }
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan__head { text-align: center; }
.plan__name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.plan__pitch {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 8px 0 4px;
}
.plan__currency { font-size: 16px; color: var(--text-dim); font-weight: 500; }
.plan__price strong {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__period { font-size: 14px; color: var(--text-dim); }

.plan__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan__features li {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.plan__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--health-green);
  font-weight: 700;
}
.plan__features li strong { color: var(--text); }

/* ============================================================
   8. TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(900px 400px at 50% 50%, rgba(56, 189, 248, 0.06), transparent 70%);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: -8px;
  left: 14px;
  font-size: 56px;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  position: relative;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--health-green));
  color: #03111c;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__author strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
}
.testimonial__author span {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 1px;
}

/* ============================================================
   9. FAQ (details/summary nativo)
   ============================================================ */
.faq { padding: clamp(56px, 8vw, 96px) 0; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: rgba(56, 189, 248, 0.35); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  user-select: none;
  transition: background 0.15s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: rgba(56, 189, 248, 0.04); }
.faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   10. LOGIN SECTION (FINAL CTA + form preservado)
   ============================================================ */
.login-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
  background:
    linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.05) 50%, transparent);
}

.login-section__wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .login-section__wrap { grid-template-columns: 1fr 0.85fr; gap: 56px; }
}

.login-section__pitch .section-h,
.login-section__pitch .section-sub {
  text-align: left;
  margin-left: 0;
}

.login-section__perks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.login-section__perks li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 24px;
  position: relative;
}
.login-section__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--health-green);
  font-weight: 700;
}

.login-section__form {
  max-width: 420px;
  width: 100%;
  justify-self: stretch;
}
@media (min-width: 900px) {
  .login-section__form { justify-self: end; }
}

.form__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.form__lead {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.form__success {
  margin: 0;
  padding: 10px 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
}
.link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 189, 248, 0.4);
  transition: border-color 0.15s;
}
.link:hover { border-color: var(--accent); }
.link--btn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* Tabs login/cadastro */
.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 18px;
}
.auth-tabs__btn {
  flex: 1;
  padding: 9px 14px;
  background: transparent;
  border: 0;
  border-radius: 100px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.auth-tabs__btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111c;
  box-shadow: 0 4px 14px -4px var(--accent-glow);
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }

/* Banner do admin (mostrado quando admin abre a LP logado) */
.admin-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111c;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}
.admin-banner .link {
  color: #03111c;
  border-bottom-color: rgba(0, 0, 0, 0.4);
}

/* ============================================================
   PAINEL ADMIN (admin.html)
   ============================================================ */
.admin-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-user {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.admin-user__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.admin-user__email {
  font-size: 14px;
  color: var(--text);
  word-break: break-all;
}
.admin-user__meta {
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.4;
}
.admin-user__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.admin-empty {
  font-size: 13px;
  color: var(--text-mute);
  font-style: italic;
  text-align: center;
  padding: 16px;
}
.admin-badge {
  display: inline-block;
  background: var(--accent);
  color: #03111c;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
  min-width: 22px;
  text-align: center;
}
.admin-badge:empty { display: none; }
.admin-pill {
  display: inline-block;
  background: var(--leather);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 100px;
  margin-left: 4px;
  vertical-align: middle;
}
.btn--danger { color: #fca5a5; border-color: rgba(239, 68, 68, 0.3); }
.btn--danger:hover:not(:disabled) { background: rgba(239, 68, 68, 0.12); }

/* ============================================================
   11. FOOTER
   ============================================================ */
.lp-footer {
  border-top: 1px solid var(--border);
  background: rgba(10, 14, 26, 0.5);
  padding: 32px 0 calc(32px + var(--safe-bottom));
}
.lp-footer__wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 720px) {
  .lp-footer__wrap {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }
}

.lp-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
@media (min-width: 720px) { .lp-footer__brand { justify-content: flex-start; } }

.lp-footer__logo { width: 38px; height: 38px; object-fit: contain; }
.lp-footer__name { font-size: 15px; }
.lp-footer__brand .brand__by { margin-top: 2px; font-size: 10px; }

.lp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.lp-footer__nav a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.lp-footer__nav a:hover { color: var(--text); }

.lp-footer__copy {
  margin: 0;
  font-size: 12px;
  color: var(--text-mute);
}

/* ============================================================
   IDIOMA DO CARDÁPIO (seletor no topo do app)
   ============================================================ */
.lang-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.lang-row__label {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}
.lang-select {
  flex: 1;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-elev);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3b1c6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 34px 10px 12px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.lang-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Nome original do prato (quando o cardápio está em outro idioma) */
.dish__original {
  margin: 2px 0 6px;
  font-size: 12px;
  color: var(--text-mute);
}

/* ============================================================
   COMPARTILHAR (WhatsApp / Instagram)
   ============================================================ */
.btn--wa {
  background: #25d366;
  color: #062b16;
  border-color: transparent;
}
.btn--wa:hover { background: #1ebe5d; }
.btn--ig {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: #fff;
  border-color: transparent;
}
.btn--ig:hover { filter: brightness(1.08); }
