/* Nakashi Japanese Restaurant — tokens + elementos compartilhados
   Identidade: preto #1d1d1b, vermelho #d7101f, branco. Títulos em ZT Mota, texto em Roboto. */

:root {
  --ink:          #1d1d1b;
  --ink-deep:     #141413;
  --ink-soft:     #2a2a27;
  --red:          #d7101f;
  --red-dark:     #a9000f;
  --red-bright:   #f0293a;
  --white:        #ffffff;
  --paper:        #ffffff;
  --text:         #26261f;
  --text-muted:   #5c5c56;
  --on-dark:      #f5f5f2;
  --on-dark-muted:#c4c4be;
  --line:         #e4e2dc;
  --line-dark:    rgba(255, 255, 255, 0.14);

  --max-w:        1180px;
  --gutter:       clamp(18px, 4vw, 40px);
  --radius:       10px;
  --header-h:     86px;

  --font-sans:    "Roboto", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "ZT Mota", "Marcellus", Georgia, "Times New Roman", serif;

  --shadow-md:    0 10px 30px rgba(0, 0, 0, 0.28);
  --ease:         cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.visually-hidden:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; margin: 0; clip: auto; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 6px; }

/* === Faixa superior === */
.topbar { background: var(--white); color: var(--text); font-size: 12px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 30px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar a:hover { color: var(--red); }
.topbar svg { width: 13px; height: 13px; color: var(--red); }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(29, 29, 27, 0.97); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(6px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__img { height: 68px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-size: 14px; font-weight: 500; }
.site-nav a { padding: 8px 0; position: relative; color: var(--on-dark); }
.site-nav a:hover { color: var(--red-bright); }
.site-nav a[aria-current="page"]:not(.site-nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
.site-nav .site-nav__cta { border: 1px solid rgba(255,255,255,.7); padding: 8px 16px; border-radius: 4px; }
.site-nav .site-nav__cta:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .brand__img { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-deep); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 18px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .site-nav .site-nav__cta { margin-top: 14px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.7); }
}

/* === Botões === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 24px; border-radius: 4px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-align: center;
  border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--outline { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: rgba(0, 0, 0, 0.25); }
.btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--lg { font-size: 20px; min-height: 56px; letter-spacing: 0.04em; }

/* === Faixas seigaiha === */
.wave { height: 34px; background-size: 520px auto; background-position: center; }
.wave--red   { background-image: url("../images/site/textura-vermelha.jpg"); }
.wave--white { background-image: url("../images/site/textura-branca.jpg"); }
.wave--dark  { background-image: url("../images/site/textura-preta.jpg"); }

.section-title {
  font-size: clamp(26px, 3.6vw, 38px); text-transform: uppercase; text-align: center; letter-spacing: 0.01em;
  padding-bottom: 22px; margin-bottom: 44px; position: relative;
}
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(240px, 50%); height: 3px; background: var(--red); transform: translateX(-50%); }

/* === Footer === */
.site-footer { background: linear-gradient(100deg, var(--red-dark) 0%, #c20a19 45%, var(--red) 100%); color: var(--white); padding-block: 44px 36px; font-size: 14px; }
.footer-unit + .footer-unit { margin-top: 34px; }
.footer-unit__title { font-size: 24px; margin-bottom: 14px; }
.footer-unit__grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-unit__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
.footer-unit h3 { font-size: 19px; margin-bottom: 8px; }
.footer-unit a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.footer-unit a:hover { text-decoration-color: var(--white); }
.site-legal { background: var(--white); color: var(--text); font-size: 12px; }
.site-legal__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 44px; padding-block: 10px; }
.site-legal a:hover { color: var(--red); }
.site-legal__by { color: var(--text-muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
