@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Fredoka:wght@600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Fundo refinado e suave */
  --cream: #fffaf0;
  --paper: #fff5e6;
  
  /* Cores de Destaque Vibrantes (Vindas do Folder) */
  --yellow: #fbc003;
  --yellow-light: #ffe89e;
  --orange: #f47b16;
  --terracotta: #d94b20;
  --brown: #4a1503;
  --brown-dark: #2d0b01;
  --ink: #3d302a;
  
  /* Estrutura Visual */
  --card-bg: #ffffff;
  --line: #f2cb73;
  --shadow-soft: 0 10px 30px rgba(74, 21, 3, 0.08);
  --shadow-pop: 4px 4px 0px var(--brown);
  
  /* Tipografia */
  --font-title: "Fredoka", sans-serif;
  --font-hand: "Caveat", cursive;
  --font-sans: "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* ============================================================
   TOP BAR & HEADER (Elegante com Toque Vibrante)
   ============================================================ */

.top {
  background: var(--brown-dark);
  color: var(--yellow-light);
  text-align: center;
  padding: 8px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  letter-spacing: .05em;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: .8;
  color: var(--brown);
  letter-spacing: .02em;
}

.brand span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-left: 2px;
  margin-top: 6px;
}

nav {
  display: flex;
  gap: 22px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
}

nav a {
  color: var(--ink);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--terracotta);
}

/* Seletor de Idiomas (Cápsula Discreta e Elegante) */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: rgba(74, 21, 3, 0.05);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-family: var(--font-title);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.2s;
}

.lang a:hover {
  color: var(--brown);
  background-color: rgba(251, 192, 3, 0.3);
}

.lang .active {
  background: var(--yellow);
  color: var(--brown);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.mobile {
  display: none;
  border: 0;
  background: none;
  font-size: 1.8rem;
  color: var(--brown);
  cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 60px 0 80px;
}

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--brown);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  text-transform: uppercase;
  border: 2px solid var(--brown);
  box-shadow: 2px 2px 0px var(--brown);
  transform: rotate(-2deg);
}

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.08;
  margin: .3em 0;
  color: var(--brown);
}

h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
}

h3 {
  font-size: 1.45rem;
}

.lead {
  font-size: 1.1rem;
  color: #5c4e46;
}

.actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.button {
  display: inline-flex;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--brown);
  font-family: var(--font-title);
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}

.button.primary {
  background: var(--yellow);
  color: var(--brown);
  box-shadow: var(--shadow-pop);
}

.button.primary:hover {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-2px);
}

.button:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.hero-photo { position: relative; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  border-radius: 24px;
  border: 4px solid var(--yellow);
  box-shadow: var(--shadow-soft);
}

.sticker {
  position: absolute;
  right: -10px;
  bottom: -10px;
  background: var(--yellow-light);
  border: 3px solid var(--brown);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.05;
  transform: rotate(8deg);
  color: var(--brown);
  box-shadow: 3px 3px 0px var(--brown);
}

/* ============================================================
   SEÇÕES & CARDS (Limpos, com bordas coloridas suaves)
   ============================================================ */

.section { padding: 70px 0; }
.white { background: var(--paper); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta);
}

/* Grid de Produtos */
.products,
.featured-grid,
.favorites-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 30px 0;
}

.product {
  background: var(--card-bg);
  border: 2px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, border-color .2s;
}

.product:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
}

.product img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-body { padding: 18px; }

.tag {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--terracotta);
}

.product h3 {
  margin: 4px 0;
  font-size: 1.4rem;
  color: var(--brown);
}

.product p {
  margin: 0;
  color: #6d5d54;
  font-size: 0.88rem;
}

/* ============================================================
   CARDÁPIO SOBRIO E ORGANIZADO
   ============================================================ */

.menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 35px;
}

.group {
  background: var(--card-bg);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.group h3 {
  margin-top: 0;
  color: var(--brown);
  border-bottom: 2px solid var(--yellow-light);
  padding-bottom: 8px;
  font-size: 1.35rem;
}

.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px;
  border-top: 1px dashed #eed599;
  padding: 12px 0;
}

.item b {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--brown);
}

.item p {
  font-size: 0.82rem;
  color: #6d5d54;
  margin: 2px 0 0;
}

.item strong {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--terracotta);
}

/* ============================================================
   HISTÓRIA & VALORES
   ============================================================ */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-art img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--yellow-light);
  box-shadow: var(--shadow-soft);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 35px;
}

.value {
  padding: 20px;
  background: var(--card-bg);
  border-radius: 18px;
  border: 2px solid var(--line);
}

.value b {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--terracotta);
}

/* ============================================================
   CTA E FOOTER
   ============================================================ */

.cta {
  padding: 70px 20px;
  background: var(--yellow-light);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  text-align: center;
}

.cta h2 { color: var(--brown); }

.cta .button {
  background: var(--brown);
  color: var(--yellow-light);
  border-color: var(--brown);
}

.cta .button:hover {
  background: var(--terracotta);
  color: #ffffff;
}

footer {
  background: var(--brown-dark);
  color: #f7e7d3;
  padding: 50px 0;
}

.foot p { color: #d1bfae; }

.foot-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--yellow);
}

.copy {
  border-top: 1px solid #4a3024;
  margin-top: 30px;
  padding-top: 18px;
  color: #a38c7c;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media(max-width: 900px) {
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 25px;
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    gap: 18px;
    text-align: center;
  }

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

  .hero, .story {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .products, .featured-grid, .favorites-grid, .gallery-grid, .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 600px) {
  .products, .featured-grid, .favorites-grid, .gallery-grid, .values, .menu, .foot {
    grid-template-columns: 1fr;
  }

  .story-art img {
    max-width: 250px;
    margin: 0 auto;
  }
}
