@font-face {
  font-family: "Devitta";
  src: url("assets/Devitta.otf") format("opentype");
  font-display: swap;
}

:root {
  --brown: #4b2b22;
  --cocoa: #6b3f31;
  --cream: #f5ecd1;
  --vanilla: #fff7df;
  --orange: #ff8b16;
  --red: #c3262d;
  --ink: #22130f;
  --shadow: 0 18px 38px rgba(34, 19, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--vanilla);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(75, 43, 34, 0.96);
  color: var(--cream);
  display: flex;
  justify-content: center;
  left: 0;
  padding: 14px 18px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px rgba(34, 19, 15, 0.24);
}

.brand img {
  height: 46px;
  object-fit: contain;
  width: 150px;
}

.hero {
  background:
    linear-gradient(rgba(55, 30, 24, 0.62), rgba(55, 30, 24, 0.72)),
    url("assets/hero-mobile.jpg") center / cover;
  color: var(--cream);
  display: flex;
  align-items: center;
  min-height: 720px;
  overflow: hidden;
  padding: 150px 18px 54px;
  position: relative;
}

.hero-copy {
  max-width: min(620px, calc(100vw - 36px));
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

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

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

h1,
h2 {
  font-family: "Devitta", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  overflow-wrap: break-word;
}

h1 {
  color: var(--cream);
  font-size: 2.65rem;
  margin-bottom: 16px;
}

h2 {
  color: var(--brown);
  font-size: 2.25rem;
  margin-bottom: 16px;
}

h3 {
  color: var(--brown);
  font-size: 1.12rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.lead {
  color: rgba(245, 236, 209, 0.93);
  font-size: 1rem;
  max-width: 32ch;
  width: 100%;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  text-align: center;
  max-width: 100%;
  width: 100%;
}

.button.primary {
  background: var(--orange);
  color: var(--brown);
}

.button.secondary {
  border: 2px solid rgba(245, 236, 209, 0.7);
  color: var(--cream);
}

.button.light {
  background: var(--cream);
  color: var(--brown);
}

.numbers {
  background: var(--orange);
  color: var(--brown);
  display: grid;
}

.numbers article {
  background: rgba(255, 247, 223, 0.18);
  border-bottom: 1px solid rgba(75, 43, 34, 0.12);
  padding: 20px 18px;
  text-align: center;
}

.numbers strong {
  display: block;
  font-family: "Devitta", Georgia, serif;
  font-size: 2.45rem;
  line-height: 0.85;
}

.numbers span {
  display: block;
  font-weight: 800;
  margin-left: auto;
  margin-right: auto;
  max-width: 260px;
}

.section {
  padding: 54px 18px;
}

.section-heading {
  margin-bottom: 26px;
  max-width: 720px;
  min-width: 0;
}

.about {
  background: var(--cream);
  display: grid;
  gap: 30px;
}

.about-copy p:not(.eyebrow),
.kiosk-grid p {
  color: rgba(34, 19, 15, 0.76);
  font-size: 1rem;
}

.about-media img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
}

.products {
  background: var(--vanilla);
}

.product-grid {
  display: grid;
  gap: 18px;
}

.product-grid article {
  background: #fffaf0;
  border: 1px solid rgba(75, 43, 34, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 19, 15, 0.08);
  overflow: hidden;
}

.product-grid img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
}

.product-grid h3,
.product-grid p {
  padding-left: 16px;
  padding-right: 16px;
}

.product-grid h3 {
  margin-top: 16px;
}

.product-grid p {
  color: rgba(34, 19, 15, 0.72);
  margin-bottom: 18px;
}

.kiosk {
  background:
    linear-gradient(rgba(75, 43, 34, 0.9), rgba(75, 43, 34, 0.9)),
    url("assets/pattern.jpg") center / cover;
  color: var(--cream);
}

.kiosk h2,
.kiosk h3 {
  color: var(--cream);
}

.kiosk-grid {
  display: grid;
  gap: 24px;
}

.kiosk-grid > img {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  justify-self: center;
  width: 50%;
}

.kiosk-grid p {
  color: rgba(245, 236, 209, 0.86);
}

.headline {
  background: var(--red);
  color: var(--cream);
  padding: 42px 18px;
  text-align: center;
}

.headline h2 {
  color: var(--cream);
  font-size: 2rem;
  margin: 0 auto;
  max-width: 820px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(34, 19, 15, 0.9), rgba(75, 43, 34, 0.72)),
    url("assets/contato-bg.jpg") center / cover;
  color: var(--cream);
}

.contact-panel {
  display: grid;
  gap: 22px;
}

.contact-panel img {
  height: 72px;
  object-fit: contain;
  width: 150px;
}

.contact h2 {
  color: var(--cream);
  margin-bottom: 10px;
}

.contact p:not(.eyebrow) {
  color: rgba(245, 236, 209, 0.86);
  margin-bottom: 0;
}

footer {
  align-items: flex-start;
  background: var(--ink);
  color: rgba(245, 236, 209, 0.78);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px;
}

@media (min-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    justify-content: center;
    padding: 14px clamp(24px, 5vw, 64px);
    position: fixed;
  }

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

  .hero {
    background:
      linear-gradient(90deg, rgba(55, 30, 24, 0.78) 0%, rgba(55, 30, 24, 0.48) 46%, rgba(55, 30, 24, 0.16) 100%),
      url("assets/hero-desktop.jpg") center / cover;
    min-height: 600px;
    padding: 104px clamp(24px, 6vw, 72px) 48px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 3rem;
  }

  .button {
    width: auto;
  }

  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers article {
    padding: 24px clamp(24px, 4vw, 42px);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-panel {
    align-items: center;
    grid-template-columns: 160px minmax(0, 1fr);
  }

  footer {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 24px clamp(24px, 6vw, 72px);
  }
}

@media (min-width: 980px) {
  .hero {
    min-height: 650px;
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.45rem;
  }

  .section {
    padding: 76px clamp(32px, 6vw, 86px);
  }

  .numbers {
    grid-template-columns: repeat(4, 1fr);
  }

  .numbers strong {
    font-size: 3.55rem;
  }

  .about {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  }

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

  .kiosk-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  }

  .contact-panel {
    grid-template-columns: 180px minmax(0, 1fr) auto;
  }
}
