/* ==========================================================================
   Yumi Yumi — Asian Food
   ========================================================================== */

:root {
  --cream: #efe7d5;
  --cream-soft: #f8f3e8;
  --cream-line: #e2d8c2;
  --orange: #d26c00;
  --orange-dark: #a85702;
  --salmon: #db8e7e;
  --salmon-soft: #f0d4cc;
  --olive: #7b8046;
  --olive-dark: #5e6236;
  --ink: #382c1c;
  --ink-soft: #6b5f4c;
  --white: #fffdf9;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(56, 44, 28, 0.08);
  --shadow-strong: 0 16px 40px rgba(56, 44, 28, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: var(--shadow-strong);
}

.btn-outline {
  background: transparent;
  border-color: var(--olive);
  color: var(--olive-dark);
}

.btn-outline:hover {
  background: var(--olive);
  color: var(--white);
}

.btn-whatsapp {
  background: #3f7d4d;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #35693f;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 231, 213, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word-main {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  gap: 4px;
}

.brand-word-main b:first-child {
  color: var(--orange);
  font-weight: 700;
}

.brand-word-main b:last-child {
  color: var(--salmon);
  font-weight: 700;
}

.brand-word-sub {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 3px;
}

.brand-footer .brand-word-sub {
  color: var(--cream);
  opacity: 0.75;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

.nav-links a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--cream-line);
  padding: 10px 20px 18px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-line);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.hero h1 span {
  color: var(--salmon);
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: min(360px, 80vw);
  filter: drop-shadow(var(--shadow-strong));
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-badge {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--olive-dark);
}

/* ---------------- Produtos ---------------- */

.produtos {
  background: var(--cream-soft);
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.product-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--salmon-soft), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media .placeholder-icon {
  font-size: 46px;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 2;
}

.badge-novidade {
  background: var(--olive);
  color: var(--white);
}

.badge-esgotado {
  background: var(--ink-soft);
  color: var(--white);
}

.product-card.is-sold-out .product-media {
  filter: grayscale(0.6);
  opacity: 0.7;
}

.product-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-body h3 {
  font-size: 19px;
  margin: 0;
}

.product-body p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
}

.product-card.is-sold-out .product-price {
  color: var(--ink-soft);
  text-decoration: line-through;
}

.produtos-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------------- Localizador ---------------- */

.localizador {
  position: relative;
}

.locator-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.locator-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.locator-form label {
  font-weight: 800;
  font-size: 14px;
  color: var(--olive-dark);
}

.locator-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.locator-input-row input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-line);
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--cream-soft);
  color: var(--ink);
}

.locator-input-row input:focus {
  outline: none;
  border-color: var(--orange);
}

.locator-hint {
  font-size: 13px;
  color: var(--ink-soft);
}

.locator-status {
  font-size: 14px;
  font-weight: 700;
  min-height: 20px;
  color: var(--olive-dark);
}

.locator-status.is-error {
  color: #b23b2e;
}

.locator-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.locator-result-card {
  border: 2px solid var(--cream-line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.locator-result-card.is-nearest {
  border-color: var(--orange);
  background: #fdf4ea;
}

.locator-result-info h4 {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
}

.locator-result-info p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.locator-distance {
  font-weight: 800;
  color: var(--orange);
  font-size: 14px;
  white-space: nowrap;
}

.locator-pending-list {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px dashed var(--cream-line);
}

.locator-pending-list h4 {
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-weight: 800;
}

.locator-pending-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.locator-pending-chips span {
  background: var(--cream-soft);
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

#map {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  border: 2px solid var(--cream-line);
  overflow: hidden;
}

/* ---------------- Sobre ---------------- */

.sobre .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.sobre-image {
  display: flex;
  justify-content: center;
}

.sobre-image img {
  width: min(320px, 70vw);
}

.sobre-text p {
  color: var(--ink-soft);
  font-size: 16.5px;
}

/* ---------------- Contato ---------------- */

.contato {
  background: var(--olive);
  color: var(--white);
}

.contato h2,
.contato .section-head p {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.contact-card .icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.contact-card h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 4px;
}

.contact-card p {
  margin: 0;
  opacity: 0.85;
  font-size: 14px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 46px 0 26px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(239, 231, 213, 0.18);
}

.footer-top img {
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
  color: var(--cream);
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--salmon);
}

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  opacity: 0.65;
}

/* ---------------- Responsive ---------------- */

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .locator-box {
    grid-template-columns: 1.1fr 1fr;
  }

  .locator-input-row input {
    min-width: unset;
  }
}

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

  .nav-toggle {
    display: none;
  }

  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
  }

  .hero-text {
    text-align: left;
  }

  .hero-sub {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .sobre .container {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
