/* Cais das Lulas (conceito)
   Leitura: restaurante de peixe para quem decide onde comer no telemovel; linguagem confiante, de noite no porto.
   Tema: escuro em toda a pagina. Paleta: carvao frio, cinza de cais e vermelho de brasa como unico acento.
   Formas: cantos vivos nas superficies, botoes em pilula (regra unica: so o que se carrega e redondo). */
:root {
  color-scheme: dark;
  --coal: #121416;
  --coal-2: #1b1e21;
  --coal-3: #24282c;
  --text: #f1efea;
  --muted: #a6acb3;
  --ember: #e5533a;
  --ember-2: #f06a52;
  --line: rgba(241, 239, 234, .12);
}
body { background: var(--coal); color: var(--text); }
section { padding-block: clamp(80px, 11vw, 150px); }

/* Cabecalho com estado ao vivo */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(18, 20, 22, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.logo { font-weight: 800; font-size: 1.125rem; letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.status { margin: 0 auto 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.open::before { background: #57c27a; }
.langs { background: var(--coal-2); }
.langs button.on { background: var(--text); color: var(--coal); }
.btn-ember { background: var(--ember); color: #1a0d09; }
.btn-ember .bi { background: rgba(26, 13, 9, .14); }
.btn-ember:hover { background: var(--ember-2); }
.nav-cta { min-height: 44px; padding-left: 18px; font-size: .9375rem; }
.nav-cta .bi { width: 34px; height: 34px; }
.wide { width: 100%; justify-content: space-between; }

/* Hero: texto grande a esquerda, fotografia a direita */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.25rem); line-height: .96; letter-spacing: -.055em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--ember); }
.sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 42ch; margin: 26px 0 34px; }
.hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; }

/* Ementa: bento de tres celulas (lista, fotografia, notas) */
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.05em; font-weight: 800; margin-bottom: clamp(32px, 4vw, 56px); max-width: 14ch; }
.menu { background: var(--coal-2); }
.menu-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); grid-template-rows: auto auto; gap: 14px; }
.group { padding: clamp(22px, 3vw, 38px); background: var(--coal); }
.group h3 { font-size: 1.0625rem; font-weight: 600; color: var(--ember); margin-bottom: 14px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; }
.group li + li { border-top: 1px solid var(--line); }
.group li span { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; }
.group li b { font: 500 1rem/1 "Geist Mono", monospace; color: var(--muted); white-space: nowrap; }
.dish { margin: 0; grid-row: span 2; }
.dish img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.group-alt { background: var(--coal-3); }
.group-alt p { color: var(--muted); max-width: 46ch; }
.group-alt h3 + p { margin-bottom: 26px; }

/* Reserva */
.book-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.book-grid > div:first-child p { color: var(--muted); max-width: 40ch; font-size: 1.125rem; }
.book-grid > div:first-child img { margin-top: 28px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.shell { padding: 6px; background: rgba(241, 239, 234, .05); border: 1px solid var(--line); }
.core { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); background: var(--coal-2); box-shadow: inset 0 1px 0 rgba(241, 239, 234, .06); }
.fld label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.fld input, .fld select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--coal); color: var(--text); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--muted); }
.chk input { width: 20px; height: 20px; accent-color: var(--ember); margin: 0; }
.closed { margin: 0; padding: 12px 14px; border-left: 3px solid var(--ember); background: rgba(229, 83, 58, .1); font-size: .9375rem; }

/* Horario: semana com o dia de hoje destacado */
.hours { border-top: 1px solid var(--line); }
.hours-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); }
.hours-grid > div p { color: var(--muted); max-width: 40ch; }
.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.week li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 18px; background: var(--coal-2); font-variant-numeric: tabular-nums; }
.week li span:last-child { color: var(--muted); }
.week li.today { background: var(--text); color: var(--coal); }
.week li.today span:last-child { color: var(--coal); }
.week li.off span:last-child { color: var(--ember); }

/* Rodape */
.foot { padding: clamp(60px, 9vw, 120px) 0 96px; border-top: 1px solid var(--line); }
.mark { font-size: clamp(3.4rem, 12vw, 10.5rem); line-height: .86; letter-spacing: -.06em; font-weight: 800; text-transform: uppercase; margin: 0 0 32px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .9375rem; color: var(--muted); }
.foot-row p { margin: 0; }

@media (max-width: 900px) {
  .hero-grid, .book-grid, .hours-grid { grid-template-columns: 1fr; }
  .hero-img img { aspect-ratio: 16 / 10; }
  .menu-grid { grid-template-columns: 1fr; }
  .dish { grid-row: auto; }
  .dish img { min-height: 0; aspect-ratio: 4 / 3; }
  .status { display: none; }
  .langs { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .two { grid-template-columns: 1fr; }
  .hero .btn { width: 100%; justify-content: space-between; }
  .week li { grid-template-columns: 110px 1fr; }
}
