:root {
  --red: #e30613;
  --red-dark: #a9000b;
  --ink: #24272d;
  --muted: #6e7380;
  --line: #e7e9ee;
  --paper: #ffffff;
  --soft: #f7f8fa;
  --mint: #d9f3e6;
  --yellow: #ffd95a;
  --shadow: 0 20px 60px rgba(36, 39, 45, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(36, 39, 45, 0.42);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(227, 6, 19, 0.12);
  box-shadow: 0 12px 40px rgba(36, 39, 45, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background:
    linear-gradient(#fff 0 0) 50% 50% / 20px 6px no-repeat,
    linear-gradient(#fff 0 0) 50% 50% / 6px 20px no-repeat,
    var(--red);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.8;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible {
  background: #f1f3f6;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.header-action,
.button-primary {
  color: #fff;
  background: var(--red);
}

.header-action:hover,
.button-primary:hover {
  background: var(--red-dark);
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.button-outline {
  color: var(--red);
  border-color: rgba(227, 6, 19, 0.28);
  background: #fff;
}

.button-outline:hover {
  border-color: var(--red);
  background: #fff6f6;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 44%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(22, 22, 24, 0.84), rgba(22, 22, 24, 0.45) 48%, rgba(227, 6, 19, 0.14)),
    linear-gradient(0deg, rgba(22, 22, 24, 0.64), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 90px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: var(--red);
  box-shadow: var(--shadow);
}

.quick-strip div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.quick-strip span {
  color: rgba(255, 255, 255, 0.82);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.about-section,
.order-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.section-copy p,
.promo-copy p,
.order-panel li,
.payment-card p,
.contact-card address {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.feature-photo,
.order-section > img {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-photo img,
.order-section > img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-grid article,
.promo-cards article,
.payment-card,
.contact-card,
.order-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.category-grid article {
  min-height: 230px;
  padding: 26px;
}

.category-grid span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--red);
  font-weight: 900;
}

.category-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.promo-band {
  padding: 96px max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(110deg, rgba(163, 0, 11, 0.95), rgba(227, 6, 19, 0.86)),
    url("img/loja-interna.jpg") center / cover;
}

.promo-band .eyebrow {
  color: var(--yellow);
}

.promo-band h2 {
  max-width: 680px;
}

.promo-band p {
  color: rgba(255, 255, 255, 0.86);
}

.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.promo-cards article {
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.promo-cards strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 1.2rem;
}

.promo-cards p {
  color: var(--muted);
  line-height: 1.6;
}

.order-section {
  align-items: stretch;
}

.order-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  background: var(--soft);
}

.order-panel ol {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding-left: 22px;
}

.order-panel .button {
  align-self: flex-start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  cursor: zoom-in;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: 72px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7f8fa, #ffffff 62%, var(--mint));
}

.contact-card,
.payment-card {
  padding: 34px;
}

.contact-card address {
  margin-bottom: 24px;
  font-style: normal;
}

.payment-card dl {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.payment-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.payment-card dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer button {
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.modal,
.privacy {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 22px;
}

.modal.is-open,
.privacy.is-open {
  display: grid;
}

.modal-backdrop,
.privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.82);
}

.modal-dialog,
.privacy-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 88vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-dialog img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  background: #111;
}

.privacy-dialog {
  max-width: 680px;
  padding: 34px;
}

.privacy-dialog p {
  color: var(--muted);
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(36, 39, 45, 0.82);
  cursor: pointer;
}

.privacy-dialog .modal-close {
  color: var(--ink);
  background: #f1f3f6;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #1c9f55;
  box-shadow: 0 14px 32px rgba(28, 159, 85, 0.32);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .main-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 2px;
    padding-top: 8px;
  }

  .main-nav.is-open a {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
  }

  .site-header.is-scrolled .main-nav.is-open a {
    background: #f1f3f6;
  }

  .quick-strip,
  .about-section,
  .order-section,
  .contact-section,
  .promo-cards,
  .category-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .quick-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .feature-photo img,
  .order-section > img {
    height: 520px;
  }

  .contact-section {
    padding: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 78px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button,
  .header-action {
    width: 100%;
  }

  .quick-strip,
  .section,
  .contact-section {
    width: calc(100% - 24px);
  }

  .category-grid article {
    min-height: auto;
  }

  .feature-photo img,
  .order-section > img {
    height: 420px;
  }

  .order-panel,
  .contact-card,
  .payment-card {
    padding: 24px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .floating-whatsapp {
    left: 18px;
  }
}
