:root{
  --bg:#FFF7EE;
  --paper:#FFFFFF;
  --chocolate:#5A3428;
  --cocoa:#4D8F88;
  --rose:#6FCFC3;
  --gold:#F29A8A;
  --muted:#786A63;
  --line:#E6D8CF;
  --white:#FFFFFF;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Nunito", sans-serif;
  background:var(--bg);
  color:var(--chocolate);
  line-height:1.6;
}

img{
  width:100%;
  display:block;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 6%;
  background:rgba(255,250,246,.96);
  border-bottom:1px solid var(--line);
}

.brand{
  text-decoration:none;
  color:var(--chocolate);
  line-height:.9;
  display:flex;
  flex-direction:column;
}

.brand strong{
  font-family:""Fredoka"", serif;
  font-size:1.7rem;
}

.brand span{
  font-size:.9rem;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.menu{
  display:flex;
  align-items:center;
  gap:26px;
}

.menu a{
  color:var(--chocolate);
  text-decoration:none;
  font-weight:600;
}

.cart-button{
  border:0;
  background:var(--chocolate);
  color:white;
  padding:12px 18px;
  border-radius:999px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.cart-button span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  margin-left:6px;
  border-radius:50%;
  background:var(--rose);
}

.hero{
  min-height:78vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
  padding:65px 6%;
}

.hero-copy{
  max-width:650px;
}

.eyebrow{
  color:var(--gold);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.18em;
}

h1,
h2,
h3{
  font-family:"font-family:"Fredoka", sans-serif;", serif;
  margin-top:0;
}

h1{
  font-size:clamp(3rem,6vw,5.8rem);
  line-height:.98;
  margin-bottom:25px;
}

.hero-text{
  max-width:580px;
  color:var(--muted);
  font-size:1.08rem;
  margin-bottom:30px;
}

.btn-primary{
  display:inline-block;
  background:var(--chocolate);
  color:white;
  text-decoration:none;
  padding:14px 24px;
  border-radius:999px;
  font-weight:700;
}

.hero-image{
  height:570px;
  overflow:hidden;
  border-radius:180px 180px 28px 28px;
  background:#eadbd1;
}

.hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.section{
  padding:90px 6%;
}

.section-head{
  max-width:720px;
  margin-bottom:45px;
}

.section-head h2,
.about h2,
.contact h2{
  font-size:clamp(2.3rem,4vw,4.2rem);
  line-height:1.05;
  margin-bottom:15px;
}

.section-head p,
.about p,
.contact p{
  color:var(--muted);
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.product-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:24px;
  padding:16px;
}

.product-card img{
  height:280px;
  object-fit:cover;
  border-radius:18px;
  margin-bottom:20px;
}

.product-card h3{
  font-size:1.55rem;
  margin-bottom:8px;
}

.product-card p{
  color:var(--muted);
  min-height:52px;
}

.product-card strong{
  display:block;
  font-size:1.15rem;
  margin:18px 0;
}

.add-cart{
  width:100%;
  padding:13px;
  border:0;
  border-radius:999px;
  background:var(--rose);
  color:white;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.add-cart:hover{
  background:var(--chocolate);
}

.about{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  background:var(--chocolate);
  color:white;
}

.about .eyebrow{
  color:#e7b89d;
}

.about p{
  color:#e9ddd6;
  font-size:1.05rem;
}

.contact{
  text-align:center;
  max-width:900px;
  margin:auto;
}

.contact p{
  margin-bottom:30px;
}

footer{
  padding:40px 6%;
  text-align:center;
  border-top:1px solid var(--line);
  color:var(--muted);
}

footer strong{
  color:var(--chocolate);
  font-family:"Fredoka", sans-serif;
  font-size:1.5rem;
}

/* CARRINHO */

.cart-panel{
  position:fixed;
  top:0;
  right:-430px;
  z-index:50;
  width:min(420px,100%);
  height:100vh;
  background:white;
  padding:25px;
  box-shadow:-15px 0 50px rgba(58,33,24,.18);
  transition:.35s;
  overflow-y:auto;
}

.cart-panel.open{
  right:0;
}

.cart-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  margin-bottom:20px;
}

.cart-header h2{
  margin:0 0 15px;
}

#closeCart{
  border:0;
  background:none;
  font-size:2rem;
  cursor:pointer;
}

.cart-item{
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.cart-item strong{
  display:block;
}

.cart-total{
  display:flex;
  justify-content:space-between;
  margin:25px 0;
  font-size:1.15rem;
}

.whatsapp-button{
  width:100%;
  border:0;
  border-radius:999px;
  padding:15px;
  background:#25d366;
  color:white;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

/* CELULAR */

@media(max-width:900px){

  .site-header{
    align-items:flex-start;
  }

  .menu{
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .menu a{
    display:none;
  }

  .hero{
    grid-template-columns:1fr;
    padding-top:45px;
  }

  .hero-image{
    height:450px;
  }

  .products-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .about{
    grid-template-columns:1fr;
    gap:20px;
  }
}

@media(max-width:600px){

  h1{
    font-size:3.1rem;
  }

  .products-grid{
    grid-template-columns:1fr;
  }

  .hero-image{
    height:380px;
    border-radius:100px 100px 22px 22px;
  }

  .section{
    padding:65px 6%;
  }
}