/* Duquesa Pizzaria — Cardápio Digital */

:root {
  --black: #080808;
  --black-secondary: #111111;
  --black-soft: #1A1A1A;
  --gold: #D9A63A;
  --gold-light: #F2C45A;
  --gold-dark: #9B7024;
  --white: #F5F5F5;
  --gray: #C8C8C8;
  --font-brand: "Cinzel", "Playfair Display", serif;
  --font-title: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --header-height: 56px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.92)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(26, 26, 26, 0.6) 28px,
      rgba(26, 26, 26, 0.6) 30px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 58px,
      rgba(30, 30, 30, 0.4) 58px,
      rgba(30, 30, 30, 0.4) 60px
    );
  color: var(--white);
  line-height: 1.55;
  min-height: 100dvh;
  padding-bottom: calc(72px + var(--safe-bottom));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 166, 58, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 16px;
  min-height: var(--header-height);
}

.logo-link { flex-shrink: 0; }

.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.header-title {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.header-title h1 {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  line-height: 1.1;
}

.header-title span {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--gray);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(217, 166, 58, 0.4);
  background: var(--black-secondary);
  color: var(--gold);
  transition: background 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:active {
  background: rgba(217, 166, 58, 0.15);
  border-color: var(--gold);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 32px 20px 28px;
  max-width: 900px;
  margin: 0 auto;
}

.crown {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(217, 166, 58, 0.3));
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2em;
  line-height: 1.1;
}

.hero-brand-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 24px;
}

.hero-brand-sub::before,
.hero-brand-sub::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold-dark);
}

.hero-brand-sub span {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gray);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 0 30px rgba(242, 196, 90, 0.15);
}

/* ── Sizes ── */

.sizes-block {
  max-width: 420px;
  margin: 0 auto 32px;
  padding: 0 8px;
}

.sizes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.size-label {
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.size-detail {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 400;
}

.size-dots {
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted rgba(217, 166, 58, 0.4);
  transform: translateY(-3px);
}

.size-price {
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 0 20px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.section-divider span {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Pizza grid ── */

.menu {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.pizza-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pizza-card {
  padding: 18px 16px;
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(217, 166, 58, 0.2);
  border-left: 3px solid var(--gold-dark);
  transition: border-color 0.2s;
}

.pizza-card:active {
  border-color: rgba(217, 166, 58, 0.45);
}

.pizza-name {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 6px;
}

.pizza-option {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(217, 166, 58, 0.12);
  border: 1px solid rgba(217, 166, 58, 0.25);
  padding: 3px 8px;
  margin-bottom: 8px;
}

.pizza-ingredients {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.6;
}

/* ── Footer highlight ── */

.highlight-banner {
  max-width: 900px;
  margin: 8px auto 24px;
  padding: 0 16px;
}

.highlight-banner p {
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  padding: 16px 20px;
  border: 1px solid var(--gold-dark);
  box-shadow: 0 4px 20px rgba(217, 166, 58, 0.15);
}

/* ── Bottom bar ── */

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  justify-content: center;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(217, 166, 58, 0.35);
  padding: 10px 16px calc(10px + var(--safe-bottom));
}

.bottom-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  max-width: 120px;
  padding: 6px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  -webkit-tap-highlight-color: transparent;
}

.bottom-bar a:active { color: var(--gold); }
.bottom-bar svg { width: 22px; height: 22px; }
.bottom-bar .whatsapp svg { color: #25D366; }
.bottom-bar .instagram svg { color: #E1306C; }
.bottom-bar .maps svg { color: var(--gold); }

.site-footer {
  text-align: center;
  padding: 16px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.site-footer p {
  font-size: 0.7rem;
  color: rgba(200, 200, 200, 0.45);
  letter-spacing: 0.08em;
}

/* ── Desktop ── */

@media (min-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-brand { font-size: 2.4rem; }
  .pizza-name { font-size: 1.05rem; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }

  .pizza-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    gap: 20px 24px;
  }

  .bottom-bar {
    position: static;
    max-width: 900px;
    margin: 0 auto 24px;
    border: 1px solid rgba(217, 166, 58, 0.3);
    border-radius: 4px;
    background: var(--black-secondary);
  }

  .highlight-banner p {
    font-size: 1.25rem;
  }
}

.logo, .hero-logo { object-fit: contain; }

[hidden] { display: none !important; }

