:root {
  --roxo-escuro: #5b1170;
  --roxo: #6a1b7a;
  --roxo-secao: #4a0e5c;
  --roxo-footer: #38084a;
  --lilas: #c9a0d9;
  --lilas-bg: #e2bee3;
  --creme: #efe2f3;
  --creme-claro: #f7f0f9;
  --branco: #ffffff;
  --texto: #3d1f47;
  --sombra: 0 8px 24px rgba(91, 17, 112, 0.12);
  --raio: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--texto);
  background: var(--creme-claro);
  line-height: 1.6;
}

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

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

/* ---------- Topbar ---------- */
.topbar {
  background: var(--roxo-escuro);
  color: var(--branco);
  font-size: 0.82rem;
}

.topbar__inner {
  width: min(1100px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.topbar__sep {
  opacity: 0.5;
  margin: 0 0.4rem;
}

.topbar__frase a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.topbar__frase a:hover {
  text-decoration: underline;
}

.topbar__insta svg {
  width: 19px;
  height: 19px;
  display: block;
}

.topbar__insta {
  color: var(--branco);
  transition: transform 0.2s, color 0.2s;
}

.topbar__insta:hover {
  transform: scale(1.15);
  color: var(--lilas);
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.4rem;
  background: var(--creme);
  box-shadow: 0 2px 12px rgba(91, 17, 112, 0.08);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--roxo-escuro);
}

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

.navbar__logo span {
  font-family: "Pacifico", cursive;
  font-size: 1.25rem;
}

.navbar__links {
  display: flex;
  gap: 0.3rem;
}

.navbar__links a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.navbar__links a:hover {
  color: var(--roxo);
}

.navbar__links a.ativo {
  background: var(--roxo-escuro);
  color: var(--branco);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: var(--roxo-escuro);
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.navbar__cta svg {
  width: 17px;
  height: 17px;
}

.navbar__cta:hover {
  background: var(--roxo);
  transform: translateY(-1px);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.navbar__toggle span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--roxo-escuro);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 82svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.2rem 5rem;
  background: var(--creme);
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 920px;
  position: relative;
}

.hero__logo {
  width: min(300px, 46vw);
  flex-shrink: 0;
  filter: drop-shadow(var(--sombra));
  animation: flutuar 4s ease-in-out infinite;
}

.hero__texto {
  position: relative;
  max-width: 560px;
}

@keyframes flutuar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.spark {
  position: absolute;
  font-family: "Poppins", sans-serif;
  color: var(--roxo-escuro);
  pointer-events: none;
}

.spark--1 {
  top: -0.9rem;
  left: 4%;
  font-size: 1.3rem;
}

.spark--2 {
  top: -2rem;
  right: 8%;
  font-size: 1rem;
  opacity: 0.75;
}

.spark--3 {
  top: 34%;
  right: -1rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

.hero__titulo {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 1.15;
  color: var(--roxo-escuro);
  margin-top: 0.4rem;
}

.hero__slogan {
  font-family: "Pacifico", cursive;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--roxo);
  margin-top: -0.4rem;
  transform: rotate(-2deg);
}

.hero__frase {
  margin-top: 1.4rem;
  font-size: 1.02rem;
  font-weight: 500;
}

.hero__divisor {
  margin: 1.3rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--roxo-escuro);
}

.hero__divisor svg {
  width: 34px;
  height: 34px;
}

.hero__divisor span {
  display: block;
  width: 70px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--roxo-escuro));
}

.hero__divisor span:last-child {
  background: linear-gradient(90deg, var(--roxo-escuro), transparent);
}

.hero__desc {
  font-size: 1rem;
  opacity: 0.85;
}

.hero__content .btn {
  margin-top: 1.7rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn .seta {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s;
}

.btn:hover .seta {
  transform: translateX(3px);
}

.btn--roxo {
  background: var(--roxo-escuro);
  color: var(--branco);
  box-shadow: var(--sombra);
}

.btn--roxo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(91, 17, 112, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--roxo-escuro);
  border: 2px solid var(--roxo-escuro);
}

.btn--outline:hover {
  background: var(--roxo-escuro);
  color: var(--branco);
  transform: translateY(-2px);
}

/* ---------- Ondas ---------- */
.wave {
  line-height: 0;
}

.wave svg {
  display: block;
  width: 100%;
  height: 84px;
}

.wave--hero svg {
  background: var(--creme-claro);
}

.wave--sobre svg {
  background: var(--lilas-bg);
}

.wave--contato svg {
  background: var(--roxo-secao);
}

/* ---------- Seções ---------- */
.section {
  padding: 4rem 0;
}

.section--produtos {
  background: var(--creme-claro);
}

.section--sobre {
  background: var(--lilas-bg);
}

.section--contato {
  background: var(--roxo-secao);
  color: var(--branco);
}

.titulo-script {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  color: var(--roxo-escuro);
  text-align: center;
}

.titulo-script--enfeite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.titulo-script--enfeite::before,
.titulo-script--enfeite::after {
  content: "✦";
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--roxo);
  opacity: 0.7;
}

.section--contato .titulo-script {
  color: var(--branco);
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.section__lead {
  text-align: center;
  margin: 0.3rem 0 2.2rem;
  opacity: 0.85;
}

/* ---------- Cards de produtos ---------- */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
}

.cat-card {
  width: 250px;
  background: #fbf5fc;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(91, 17, 112, 0.22);
}

.cat-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cat-card:hover .cat-card__img img {
  transform: scale(1.06);
}

.cat-card__body {
  padding: 0.9rem 1rem 1.1rem;
  text-align: center;
}

.cat-card__body strong {
  display: block;
  font-size: 1.05rem;
  color: var(--roxo-escuro);
}

.cat-card__body small {
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---------- Sobre ---------- */
.sobre {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.sobre__foto {
  position: relative;
  flex-shrink: 0;
  width: min(380px, 70vw);
}

.sobre__foto img {
  width: 100%;
  border-radius: var(--raio);
  transform: rotate(-5deg);
  box-shadow: var(--sombra);
}

.deco {
  position: absolute;
  color: var(--roxo-escuro);
  z-index: 1;
}

.deco--coracao {
  top: -22px;
  left: -14px;
  width: 34px;
}

.deco--coracao svg {
  width: 100%;
  display: block;
}

.deco--brilho1 {
  top: -18px;
  right: 6px;
  font-size: 1.4rem;
}

.deco--brilho2 {
  bottom: 12px;
  right: -20px;
  font-size: 1.1rem;
}

.deco--brilho3 {
  top: 40%;
  left: -26px;
  font-size: 0.9rem;
}

.sobre__text p {
  margin-top: 0.9rem;
  text-align: center;
}

.sobre__lema {
  font-family: "Pacifico", cursive;
  font-size: 1.25rem;
  color: var(--roxo-escuro);
  margin: 1.3rem 0 !important;
}

.sobre__lema::after {
  content: "";
  display: block;
  width: 200px;
  height: 14px;
  margin: 0.35rem auto 0;
  border-bottom: 3px solid var(--roxo-escuro);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.sobre__text .btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

/* ---------- Contato ---------- */
.contato {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.contato__info {
  flex: 1;
}

.contato__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
}

.contato__pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--creme-claro);
  color: var(--texto);
  border-radius: 999px;
  padding: 1rem 2rem;
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s;
}

.contato__pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.contato__icon svg {
  width: 30px;
  height: 30px;
  display: block;
  color: var(--roxo-escuro);
}

.contato__texto {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contato__texto strong {
  font-size: 1.05rem;
}

.contato__texto small {
  font-size: 0.8rem;
  opacity: 0.65;
}

.contato__assinatura {
  flex-shrink: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.assinatura__nome {
  font-family: "Pacifico", cursive;
  font-size: 2.1rem;
  transform: rotate(-4deg);
}

.assinatura__slogan {
  font-family: "Pacifico", cursive;
  font-size: 1.05rem;
  color: var(--lilas);
}

.assinatura__slogan::after {
  content: "";
  display: block;
  width: 150px;
  height: 12px;
  margin: 0.3rem auto 0;
  border-bottom: 2px solid var(--lilas);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.assinatura__cupcake {
  width: 30px;
  height: 30px;
  margin: 0.6rem auto 0;
  display: block;
  color: var(--lilas);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--roxo-footer);
  color: var(--branco);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

.footer a {
  color: var(--lilas-claro, #e8d5f0);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .navbar__cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 3rem 0;
  }

  .hero__content {
    flex-direction: column;
    gap: 1.6rem;
  }

  .hero__logo {
    width: min(230px, 52vw);
  }

  .hero__texto {
    max-width: 100%;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0;
    background: var(--creme);
    box-shadow: 0 8px 18px rgba(91, 17, 112, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar__links.aberto {
    max-height: 280px;
  }

  .navbar__links a {
    padding: 0.8rem 1.4rem;
    border-radius: 0;
  }

  .navbar__toggle.aberto span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .navbar__toggle.aberto span:nth-child(2) { opacity: 0; }
  .navbar__toggle.aberto span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .sobre {
    flex-direction: column;
    gap: 2.4rem;
  }

  .contato {
    flex-direction: column;
    text-align: center;
  }

  .contato__assinatura {
    display: none;
  }
}
