:root {
  --pink: #f596b7;
  --pink-dark: #c94f7f;
  --pink-soft: #fff1f6;
  --blue: #83c7e8;
  --blue-dark: #367f9f;
  --cream: #fffaf7;
  --cocoa: #55352d;
  --text: #332b2e;
  --muted: #73676c;
  --white: #ffffff;
  --border: #f0dde4;
  --shadow: 0 18px 50px rgba(101, 58, 75, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 247, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 221, 228, .8);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 15px; color: white; font-weight: 900; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--pink), var(--blue)); box-shadow: 0 8px 20px rgba(245,150,183,.35);
}
.brand strong, .brand small { display: block; line-height: 1.12; }
.brand strong { font-size: 1.03rem; }
.brand small { color: var(--muted); margin-top: 4px; font-size: .72rem; }
.menu { display: flex; align-items: center; gap: 24px; font-size: .94rem; }
.menu > a:not(.btn):hover { color: var(--pink-dark); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; }

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--pink-dark); color: white; font-weight: 800; border: 2px solid var(--pink-dark);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.28) 48%, transparent 72%); transform: translateX(-120%); transition: transform .55s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201,79,127,.28); }
.btn:hover::after { transform: translateX(120%); }
.btn-small { min-height: 42px; padding: 0 18px; }
.btn-outline { background: transparent; color: var(--pink-dark); }
.btn-outline:hover { background: var(--pink-soft); }
.btn-light { background: white; color: var(--pink-dark); border-color: white; }

.hero {
  position: relative; overflow: hidden;
  padding: 86px 0 74px;
  background:
    radial-gradient(circle at 13% 18%, rgba(245,150,183,.22), transparent 26%),
    radial-gradient(circle at 85% 30%, rgba(131,199,232,.24), transparent 28%),
    linear-gradient(180deg, #fffaf7 0%, #fff4f8 100%);
}
.hero::after {
  content: ""; position: absolute; width: 320px; height: 320px; border: 46px solid rgba(255,255,255,.55);
  border-radius: 50%; right: -140px; bottom: -190px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; color: var(--pink-dark); text-transform: uppercase; letter-spacing: .15em;
  font-weight: 900; font-size: .74rem; margin-bottom: 14px;
}
.eyebrow.light { color: #ffe3ed; }
h1, h2, h3 { margin-top: 0; line-height: 1.15; letter-spacing: -.035em; font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(2.6rem, 5.3vw, 5rem); margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-info { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .9rem; }
.hero-info span { display: inline-flex; align-items: center; gap: 5px; }

.hero-card {
  border-radius: 36px; background: rgba(255,255,255,.74); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.9); transform: rotate(1.5deg);
}
.hero-illustration {
  min-height: 390px; border-radius: 26px; position: relative; display: grid; place-items: center;
  background: linear-gradient(145deg, #f8b5cc 0%, #ffdce7 48%, #a7d9ee 100%);
  overflow: hidden;
}
.hero-illustration::before, .hero-illustration::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.34);
}
.hero-illustration::before { width: 220px; height: 220px; top: -90px; left: -65px; }
.hero-illustration::after { width: 170px; height: 170px; right: -55px; bottom: -70px; }
.sparkle { position: absolute; color: white; font-size: 2rem; }
.sparkle.one { top: 48px; right: 60px; }
.sparkle.two { left: 58px; bottom: 88px; font-size: 1.3rem; }
.cake { width: 250px; position: relative; z-index: 2; filter: drop-shadow(0 24px 18px rgba(112,61,79,.20)); }
.cake-top { height: 54px; background: #fff8f1; border-radius: 50% 50% 42% 42%; border: 7px solid white; position: relative; top: 20px; }
.cake-body {
  height: 175px; background: linear-gradient(90deg, #fff, #fff6f2); border-radius: 18px 18px 42px 42px;
  display: grid; place-items: center; border: 7px solid white;
}
.cake-body span {
  width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center;
  color: white; font-size: 1.8rem; font-weight: 900; background: linear-gradient(135deg,var(--pink),var(--blue));
}
.cake-plate { height: 22px; width: 290px; background: white; border-radius: 50%; margin-left: -20px; margin-top: -6px; }
.hero-card-caption { padding: 20px 8px 2px; }
.hero-card-caption strong, .hero-card-caption span { display: block; }
.hero-card-caption span { color: var(--muted); font-size: .9rem; margin-top: 3px; }

.highlights { position: relative; z-index: 4; margin-top: -26px; }
.highlight-grid {
  background: white; border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: var(--radius); display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px;
}
.highlight-grid article { display: flex; gap: 14px; align-items: center; padding: 8px 24px; }
.highlight-grid article + article { border-left: 1px solid var(--border); }
.highlight-grid article > span { font-size: 2rem; }
.highlight-grid strong, .highlight-grid small { display: block; }
.highlight-grid small { color: var(--muted); margin-top: 2px; }

.section { padding: 100px 0; }
.section.soft { background: var(--pink-soft); }
.section-heading { max-width: 680px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
  border: 1px solid var(--border); background: white; color: var(--muted); padding: 10px 17px;
  border-radius: 999px; cursor: pointer; font-weight: 750;
}
.filter.active, .filter:hover { color: white; border-color: var(--pink-dark); background: var(--pink-dark); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  border-radius: var(--radius); overflow: hidden; background: white; border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(101,58,75,.07); transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }
.product-image { min-height: 220px; display: grid; place-items: center; font-size: 5.4rem; }
.product-image.rose { background: linear-gradient(135deg,#ffd4e2,#f7a6c3); }
.product-image.cocoa { background: linear-gradient(135deg,#dec0b3,#8f5b49); }
.product-image.blue { background: linear-gradient(135deg,#dff4ff,#9bd3ec); }
.product-image.caramel { background: linear-gradient(135deg,#ffe5be,#dca768); }
.product-image.lilac { background: linear-gradient(135deg,#efe3ff,#c7a7ef); }
.product-image.mint { background: linear-gradient(135deg,#e1fff1,#a8dec7); }
.product-content { padding: 24px; }
.product-content p { color: var(--muted); min-height: 76px; }
.tag {
  display: inline-block; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px;
  background: var(--pink-soft); color: var(--pink-dark); font-weight: 850; font-size: .72rem;
}
.text-link { color: var(--pink-dark); font-weight: 850; }
.text-link:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.steps article { background: white; border: 1px solid var(--border); padding: 30px; border-radius: var(--radius); }
.steps article > span {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  color: white; background: linear-gradient(135deg,var(--pink),var(--blue)); font-weight: 900; margin-bottom: 24px;
}
.steps p { color: var(--muted); margin-bottom: 0; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-visual {
  min-height: 430px; display: grid; place-items: center; border-radius: 36px;
  background: linear-gradient(145deg,#ffd6e5,#d6f1ff); padding: 36px;
}
.about-box {
  width: 80%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.72);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow); border: 1px solid white;
}
.about-box span { font-size: 6rem; }
.about-box strong { margin-top: 14px; font-size: 1.15rem; }
.about-grid p { color: var(--muted); }
.about-grid .btn { margin-top: 14px; }

.contact-section { padding-top: 30px; }
.contact-card {
  background: linear-gradient(135deg,var(--pink-dark),#9d5c88 60%,var(--blue-dark));
  border-radius: 34px; color: white; padding: 52px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.contact-card h2 { max-width: 650px; margin-bottom: 10px; }
.contact-card p { margin: 0; color: rgba(255,255,255,.82); }

footer { padding: 70px 0 24px; background: #2f282b; color: white; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid p, .footer-grid a { color: #cfc5c9; }
.footer-brand small { color: #cfc5c9; }
.copyright {
  margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; color: #a99da2; font-size: .85rem;
}
.floating-whatsapp {
  position: fixed; z-index: 45; right: 22px; bottom: 22px; width: 58px; height: 58px;
  display: grid; place-items: center; border-radius: 50%; background: #25d366; color: white;
  font-size: 1.75rem; font-weight: 900; box-shadow: 0 12px 28px rgba(37,211,102,.35);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; left: 20px; right: 20px; top: 72px; padding: 20px;
    flex-direction: column; align-items: stretch; background: white; border-radius: 20px;
    border: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 620px; margin: 0 auto; width: 100%; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .highlight-grid, .steps { grid-template-columns: 1fr; }
  .highlight-grid article + article { border-left: 0; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 26px, 1120px); }
  .hero { padding-top: 58px; }
  h1 { font-size: 2.55rem; }
  .hero-actions .btn { width: 100%; }
  .hero-info { flex-direction: column; gap: 6px; }
  .hero-illustration { min-height: 310px; }
  .cake { transform: scale(.82); }
  .product-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .product-content p { min-height: auto; }
  .contact-card { padding: 34px 25px; align-items: stretch; flex-direction: column; }
  .contact-card .btn { width: 100%; }
  .copyright { flex-direction: column; gap: 8px; }
}


.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.product-card.reveal:nth-child(2), .steps article.reveal:nth-child(2) { transition-delay: .08s; }
.product-card.reveal:nth-child(3), .steps article.reveal:nth-child(3) { transition-delay: .16s; }
.product-card.reveal:nth-child(4) { transition-delay: .24s; }
.product-card.reveal:nth-child(5) { transition-delay: .32s; }
.product-card.reveal:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .product-card { transition: none; } }

/* Carrinho de encomendas */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-button {
  min-height: 42px; padding: 0 13px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--white); color: var(--text); display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.cart-button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(101,58,75,.12); }
.cart-count {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: var(--pink-soft); color: var(--pink-dark); font-size: .75rem; font-weight: 800;
}
.cart-count.has-items { background: var(--pink-dark); color: white; }
.menu button { font-family: inherit; cursor: pointer; }
.add-to-cart {
  width: 100%; min-height: 46px; margin-top: 5px; border: 1px solid var(--pink-dark); border-radius: 14px;
  background: transparent; color: var(--pink-dark); display: flex; align-items: center; justify-content: space-between;
  padding: 0 15px; font: inherit; font-weight: 800; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.add-to-cart:hover { background: var(--pink-soft); transform: translateY(-2px); }
.add-to-cart.added { background: var(--pink-dark); color: white; }
body.cart-open { overflow: hidden; }
.cart-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(47,40,43,.48); opacity: 0;
  backdrop-filter: blur(3px); transition: opacity .25s ease;
}
.cart-overlay.visible { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 90; width: min(440px, 100%); height: 100dvh;
  background: var(--cream); box-shadow: -18px 0 60px rgba(47,40,43,.22); transform: translateX(102%);
  display: grid; grid-template-rows: auto 1fr auto; transition: transform .3s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 25px 24px 18px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--border); background: white; }
.cart-header .eyebrow { margin-bottom: 4px; }
.cart-header h2 { font-size: 2rem; margin: 0; }
.cart-close { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; background: white; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.cart-body { overflow-y: auto; padding: 20px 24px; }
.cart-empty { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px 8px; }
.cart-empty[hidden] { display: none; }
.cart-empty > span { font-size: 4rem; }
.cart-empty h3 { margin: 14px 0 7px; }
.cart-empty p { color: var(--muted); max-width: 300px; }
.cart-items { display: grid; gap: 13px; }
.cart-item { position: relative; display: grid; grid-template-columns: 58px 1fr auto; gap: 13px; align-items: center; padding: 14px; background: white; border: 1px solid var(--border); border-radius: 18px; }
.cart-item-icon { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: var(--pink-soft); font-size: 1.8rem; }
.cart-item-info strong { display: block; padding-right: 8px; line-height: 1.3; }
.quantity-control { display: inline-grid; grid-template-columns: 32px 34px 32px; align-items: center; margin-top: 10px; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.quantity-control button { height: 31px; border: 0; background: #fff8fb; color: var(--pink-dark); font-size: 1rem; cursor: pointer; }
.quantity-control span { text-align: center; font-weight: 700; font-size: .9rem; }
.remove-item { align-self: start; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.remove-item:hover { background: var(--pink-soft); color: var(--pink-dark); }
.cart-footer { padding: 18px 24px 22px; border-top: 1px solid var(--border); background: white; box-shadow: 0 -10px 30px rgba(47,40,43,.05); }
.cart-footer[hidden] { display: none; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.cart-summary span { color: var(--muted); }
.cart-summary strong { font-size: 1.15rem; }
.cart-notes-label { display: block; margin-bottom: 7px; font-size: .84rem; font-weight: 700; }
#cart-notes { width: 100%; resize: vertical; min-height: 78px; padding: 12px; border: 1px solid var(--border); border-radius: 13px; font: inherit; color: var(--text); outline: none; }
#cart-notes:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(245,150,183,.16); }
.cart-help { color: var(--muted); font-size: .76rem; line-height: 1.45; margin: 9px 0 13px; }
.cart-checkout { width: 100%; background: #25d366; border-color: #25d366; }
.cart-checkout:hover { box-shadow: 0 10px 28px rgba(37,211,102,.25); }
.clear-cart { width: 100%; margin-top: 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .82rem; cursor: pointer; }
.clear-cart:hover { color: var(--pink-dark); text-decoration: underline; }
.cart-toast { position: fixed; left: 50%; bottom: 25px; z-index: 110; max-width: calc(100% - 30px); transform: translate(-50%, 30px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: #2f282b; color: white; font-size: .88rem; box-shadow: var(--shadow); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .cart-button-label { display: none; }
  .cart-button { padding: 0 10px; }
  .menu .open-cart-trigger { width: 100%; }
}
@media (max-width: 620px) {
  .nav { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .62rem; }
  .cart-drawer { width: 100%; }
  .cart-header, .cart-body, .cart-footer { padding-left: 18px; padding-right: 18px; }
  .floating-whatsapp { bottom: 88px; }
}
