/* ==========================================================================
   Sushi Lounge Beer — estilos do site institucional
   Cores extraídas do logotipo oficial: vermelho #d10000 e preto.
   ========================================================================== */

:root {
  --red: #d10000;
  --red-dark: #a50000;
  --ink: #141414;
  --ink-soft: #3d3a37;
  --paper: #fbf8f5;
  --white: #ffffff;
  --line: #e7e0d8;
  --muted: #6b655f;

  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.10);
  --container: 1120px;
  --header-h: 76px;
  --bottom-bar-h: 66px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  /* espaço para a barra fixa inferior não cobrir o rodapé */
  padding-bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 15px/1 var(--font-body); letter-spacing: 0.01em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-small { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 56px; height: 56px; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.nav-cta) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.main-nav > a:not(.nav-cta):hover { color: var(--red); }
.main-nav .nav-cta { color: var(--white); text-decoration: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0;
}
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 20px 20px;
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav > a:not(.nav-cta) { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav .nav-cta { margin-top: 16px; min-height: 52px; }
}

/* ---------- seção principal ---------- */
.hero {
  position: relative; min-height: min(92vh, 780px); display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--ink);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,20,20,.88) 0%, rgba(20,20,20,.62) 55%, rgba(20,20,20,.30) 100%);
}
.hero-content { position: relative; padding-block: 72px; }
.hero h1, .hero .lead { max-width: 680px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #ffb3b3; margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); }
.hero .lead { margin-top: 18px; font-size: clamp(16px, 2vw, 18px); color: rgba(255,255,255,.92); max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-link { display: inline-block; margin-top: 22px; color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

@media (max-width: 599px) {
  .hero { min-height: 84vh; align-items: flex-end; }
  .hero-overlay { background: linear-gradient(180deg, rgba(20,20,20,.20) 0%, rgba(20,20,20,.55) 40%, rgba(20,20,20,.94) 100%); }
  .hero-content { padding-block: 48px 56px; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- seções genéricas ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(36px, 5vw, 52px); color: var(--ink); }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }
.section-head-light h2 { color: var(--white); }
.section-head-light p { color: rgba(255,255,255,.86); }
.section-cta { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- culinária japonesa ---------- */
.japonesa { background: var(--white); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 22px; }
.cards-2 { grid-template-columns: 1fr; }
.cards-3 { grid-template-columns: 1fr; }
.cards-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.card-body p { color: var(--ink-soft); font-size: 15px; }

.card-type {
  justify-content: center; min-height: 240px; padding: 28px;
  background: var(--ink); color: var(--white);
  border-left: 6px solid var(--red);
}
.card-type-inner h3 { font-size: 48px; color: var(--white); }
.card-type-inner p { margin-top: 10px; color: rgba(255,255,255,.85); font-size: 15px; }
.card-type-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #ffb3b3; margin-bottom: 10px;
}

/* ---------- porções: seção destacada em preto ---------- */
.porcoes { background: var(--ink); color: var(--white); }
.porcoes .card-dark { background: #1f1f1f; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.porcoes .card-dark .card-body h3 { color: var(--white); font-size: 32px; }
.porcoes .card-dark.card-type { background: #1f1f1f; border-left-color: var(--red); }
.porcoes .card-dark.card-type .card-type-inner h3 { font-size: 40px; }
.porcoes .card-dark .card-body { padding: 16px 18px 20px; }
.porcoes .card-dark .card-media { aspect-ratio: 4 / 4.2; }
@media (min-width: 900px) { .porcoes .card-dark .card-media { aspect-ratio: 4 / 3.4; } }
.porcoes .section-cta .btn-primary { }

/* ---------- galeria do espaço ---------- */
.espaco { background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery figure:hover img { transform: none; } }

/* ---------- pedidos ---------- */
.pedidos { background: var(--white); }
.card-order { padding: 32px 28px; justify-content: space-between; gap: 18px; box-shadow: none; border: 1px solid var(--line); }
.card-order h3 { font-size: 40px; color: var(--ink); }
.card-order p { color: var(--ink-soft); }
.card-order-main { background: var(--ink); border-color: var(--ink); border-top: 6px solid var(--red); }
.card-order-main h3 { color: var(--white); }
.card-order-main p { color: rgba(255,255,255,.85); }

/* ---------- localização ---------- */
.localizacao { background: var(--paper); }
.localizacao-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .localizacao-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.localizacao-info h2 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 20px; }
.localizacao-info address { font-style: normal; font-size: 18px; color: var(--ink-soft); margin-bottom: 26px; }
.map-wrap { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .map-wrap { aspect-ratio: 5 / 4; } }

/* ---------- avaliação ---------- */
.avaliacao { background: var(--red); color: var(--white); text-align: center; padding-block: clamp(56px, 7vw, 80px); }
.avaliacao-inner { max-width: 680px; }
.avaliacao h2 { font-size: clamp(38px, 5.5vw, 56px); color: var(--white); }
.avaliacao p { margin: 16px auto 28px; font-size: 17px; color: rgba(255,255,255,.92); max-width: 56ch; }
.avaliacao .btn-primary { background: var(--white); color: var(--red); }
.avaliacao .btn-primary:hover { background: var(--ink); color: var(--white); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { width: 72px; height: 72px; }
.footer-name { font-family: var(--font-display); font-size: 30px; color: var(--white); letter-spacing: .03em; }
.footer-brand address { font-style: normal; font-size: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 720px) { .footer-links { align-items: flex-end; text-align: right; } }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #ffb3b3; text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 calc(24px + var(--bottom-bar-h)); text-align: center; font-size: 13px; color: rgba(255,255,255,.6); }
@media (min-width: 900px) { .footer-copy { padding-bottom: 24px; } }

/* ---------- barra fixa inferior (celular) ---------- */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(0,0,0,.08);
}
.bottom-bar a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink);
  padding: 0 6px; min-height: 48px;
}
.bottom-bar a + a { border-left: 1px solid var(--line); }
.bottom-bar .bottom-bar-primary { background: var(--red); color: var(--white); }
@media (min-width: 900px) { .bottom-bar { display: none; } }

/* ---------- ajustes de telas pequenas ---------- */
@media (max-width: 380px) {
  .brand img { width: 48px; height: 48px; }
  .card-body h3 { font-size: 26px; }
}

/* ---------- horário, grupo VIP ---------- */
.hours { margin-bottom: 26px; font-size: 16px; color: var(--ink-soft); }
.actions-stack { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 480px) { .actions-stack { width: 100%; } .actions-stack .btn { width: 100%; } }
.btn-whatsapp { background: #25d366; color: #0b3d20; }
.btn-whatsapp:hover { background: #1ebe5a; }
.footer-hours { margin-top: 10px; font-size: 15px; }
.footer-hours strong { color: var(--white); }

/* cabeçalho some no celular: as ações ficam na barra inferior */
@media (max-width: 899px) { .site-header { display: none; } }
