
/* CORES E CONFIGURAÇÕES GERAIS */
:root {
  --cream: #F8F5F0;
  --dark: #28241F;
  --coffee: #8B6B52;
  --sand: #D9C7B3;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

h1, h2, h3 {
  line-height: 1.15;
}

h1, h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

em {
  color: var(--coffee);
  font-weight: 400;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--coffee);
}

/* CABEÇALHO */
.header {
  border-bottom: 1px solid #e9e2d9;
}

.header-content {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 600;
}

.logo span {
  color: var(--coffee);
}

.navigation {
  display: flex;
  gap: 32px;
  font-size: 13px;
}

.navigation a:hover {
  color: var(--coffee);
}

/* SEÇÃO PRINCIPAL */
.hero {
  padding: 70px 0 100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.hero h1 {
  font-size: clamp(48px, 5vw, 76px);
  margin: 25px 0;
  letter-spacing: -2px;
}

.hero p {
  max-width: 410px;
  font-size: 16px;
  color: #716a63;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 17px 25px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background .25s, transform .25s;
}

.button:hover {
  background: var(--coffee);
  transform: translateY(-2px);
}

.hero-image img {
  height: 560px;
  object-fit: cover;
  border-radius: 220px 220px 4px 4px;
}

/* SOBRE */
.about {
  background: #EEE7DD;
  text-align: center;
}

.about-content {
  max-width: 760px;
}

.about h2,
.menu h2,
.contact h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin: 20px 0;
}

.about p {
  max-width: 580px;
  margin: 0 auto;
  color: #716a63;
}

/* CARDÁPIO */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.product-card img {
  height: 320px;
  object-fit: cover;
}

.product-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 500;
  margin-top: 20px;
}

.product-card p {
  color: #716a63;
  font-size: 13px;
  margin-top: 6px;
}

/* CONTATO */
.contact {
  background: var(--sand);
  text-align: center;
}

.contact p {
  margin-bottom: 30px;
}

/* RODAPÉ */
.footer {
  padding: 35px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  font-size: 12px;
  color: #716a63;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .navigation {
    width: 100%;
    order: 3;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 45px 0 70px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-image img {
    height: 420px;
  }

  .section {
    padding: 75px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-card img {
    height: 350px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* REFINAMENTO DO HERO */

.hero-content {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
}

.hero h1 {
  font-size: clamp(42px, 4.2vw, 68px);
  letter-spacing: -1.5px;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
}

/* REFINAMENTOS DO CARDÁPIO */

.menu .eyebrow {
  display: inline-block;
  margin-bottom: 8px;
}

.menu h2 {
  position: relative;
  display: inline-block;
}

.menu h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 2px;
  margin-top: 20px;
  background: var(--coffee);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card h3 {
  transition: color 0.3s ease;
}

.product-card:hover h3 {
  color: var(--coffee);
}

/* ANIMAÇÕES AO ROLAR */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card img {
    transition: none;
  }
}

/* REFINAMENTO MOBILE */

@media (max-width: 768px) {
  .header-content {
    gap: 12px;
    padding: 14px 0;
  }

  .logo {
    font-size: 29px;
  }

  .navigation {
    gap: 10px;
    font-size: 12px;
    justify-content: space-between;
  }

  .hero {
    padding: 35px 0 65px;
  }

  .hero-content {
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 20px 0;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero .button {
    padding: 17px 22px;
    min-height: 52px;
  }

  .hero-image img {
    height: 370px;
    border-radius: 180px 180px 4px 4px;
  }
}

@media (max-width: 380px) {
  .navigation {
    font-size: 11px;
    gap: 8px;
  }

  .hero h1 {
    font-size: 36px;
  }
}

/* ACESSIBILIDADE */

a:focus-visible {
  outline: 3px solid var(--coffee);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .product-card img,
  .product-card h3 {
    transition: none;
  }

  .button:hover,
  .product-card:hover img {
    transform: none;
  }
}
