/* ========== VARIÁVEIS ========== */
:root {
  --plum: #5b2148;
  --plum-dark: #3f1532;
  --rose: #d9467f;
  --rose-dark: #b8326a;
  --blush: #fff4f8;
  --petal: #fbe3ec;
  --text: #3a2433;
  --muted: #7a5d6f;
  --white: #ffffff;
  --shadow: 0 18px 40px -18px rgba(91, 33, 72, 0.35);
}

/* ========== BASE ========== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* o menu fixo não cobre o título */
}

body {
  font-family: "Fira Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--blush);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--plum);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

em {
  color: var(--rose);
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tinted {
  background-color: var(--petal);
}

/* ========== BOTÕES ========== */
.btn-bloom {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--rose);
  border-radius: 999px;
  background-color: var(--rose);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.btn-bloom:hover {
  background-color: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-bloom--outline {
  background-color: transparent;
  color: var(--plum);
  border-color: var(--plum);
}

.btn-bloom--outline:hover {
  background-color: var(--plum);
  border-color: var(--plum);
}

.btn-bloom:focus-visible,
.btn-pedir:focus-visible,
.lista-redes-sociais a:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
}

/* ========== CABEÇALHO ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 244, 248, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(91, 33, 72, 0.08);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--plum);
  text-decoration: none;
}

.logo:hover {
  color: var(--plum);
}

.navbar-toggler {
  border: none;
  font-size: 1.5rem;
  color: var(--plum);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  font-weight: 500;
  color: var(--plum);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--rose);
}

/* ========== HERO ========== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(217, 70, 127, 0.18),
      transparent 45%
    ),
    radial-gradient(circle at 85% 80%, rgba(91, 33, 72, 0.15), transparent 45%),
    var(--blush);
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-text {
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--muted);
}

/* ========== SOBRE ========== */
.about-logo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}

#sobre p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.img-fluid {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
}

/* ========== PRODUTOS ========== */
.product {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  text-align: center;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.product:hover {
  transform: translateY(-6px);
}

.product img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.price {
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 1rem;
}

.btn-pedir {
  margin-top: auto;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--rose);
  border-radius: 999px;
  background: transparent;
  color: var(--rose);
  font-weight: 600;
  font-size: 0.9rem;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-pedir:hover {
  background-color: var(--rose);
  color: var(--white);
}

/* espaço pras bolinhas embaixo dos cards */
#carouselProdutos {
  padding-bottom: 3.5rem;
}

.carousel-indicators {
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background-color: var(--plum);
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  top: 40%;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--plum);
  opacity: 1;
  box-shadow: var(--shadow);
}

.carousel-control-prev {
  left: -24px;
}

.carousel-control-next {
  right: -24px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--rose);
  color: var(--white);
}

/* ========== PEDIDOS ========== */
.pedido-box {
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  color: var(--white);
  box-shadow: var(--shadow);
}

.pedido-box h2,
.pedido-box .eyebrow {
  color: var(--white);
}

.pedido-box p:not(.eyebrow) {
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.pedido-box .btn-bloom {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--plum);
}

.pedido-box .btn-bloom:hover {
  background-color: var(--blush);
  border-color: var(--blush);
}

/* ========== CONTATO ========== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 600;
  color: var(--plum);
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  font: inherit;
  border: 2px solid var(--petal);
  border-radius: 12px;
  resize: vertical;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose);
}

.contact-form .btn-bloom {
  margin-top: 0.5rem;
}

.form-feedback {
  min-height: 1.5rem;
  margin: 0.5rem 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--rose);
}

/* ========== REDES SOCIAIS ========== */
.redes-sociais {
  margin-top: 3rem;
  text-align: center;
}

.redes-sociais h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.lista-redes-sociais {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.lista-redes-sociais a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--plum);
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.lista-redes-sociais a:hover {
  background-color: var(--rose);
  color: var(--white);
  transform: translateY(-3px);
}

/* ========== RODAPÉ ========== */
.footer {
  padding: 1.5rem 0;
  text-align: center;
  background-color: var(--plum-dark);
  color: var(--petal);
}

.footer p {
  margin: 0;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 767px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .section {
    padding: 3.5rem 0;
  }

  .product img {
    height: 140px;
  }

  /* no celular as setas ficam escondidas, usa o swipe e as bolinhas */
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
