@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Nunito:wght@300;400;600&display=swap');

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

:root {
  --rosa: #c9a0a0;
  --rosa-claro: #f2e4e1;
  --rosa-bg: #faf5f3;
  --verde: #8a9a7b;
  --verde-escuro: #6b7d5e;
  --texto: #4a3f3f;
  --texto-leve: #7a6b6b;
  --branco: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--texto);
  background-color: var(--rosa-bg);
  line-height: 1.6;
}

/* ── Header ── */
header {
  background-color: var(--branco);
  border-bottom: 1px solid var(--rosa-claro);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--verde-escuro);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--rosa);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--texto-leve);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--rosa);
  transition: width 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--texto);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(135deg, var(--rosa-claro) 0%, var(--rosa-bg) 100%);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 0.8rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--texto-leve);
  max-width: 550px;
  margin: 0 auto;
  font-weight: 300;
}

/* ── Produtos ── */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  text-align: center;
  color: var(--verde-escuro);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--texto-leve);
  font-weight: 300;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.produtos {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.produto-card {
  background: var(--branco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.produto-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--rosa-claro);
}

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

.produto-card:hover .produto-img-wrapper img {
  transform: scale(1.05);
}

.produto-info {
  padding: 1.2rem 1.4rem 1.4rem;
}

.produto-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 0.4rem;
}

.produto-info p {
  font-size: 0.88rem;
  color: var(--texto-leve);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.produto-preco {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 0.8rem;
}

.btn-comprar {
  display: inline-block;
  background: var(--verde-escuro);
  color: var(--branco);
  text-decoration: none;
  padding: 0.5rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-comprar:hover {
  background: var(--verde);
}

.produto-img-wrapper.sem-foto {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rosa-claro) 0%, #e8ddd8 100%);
}

.placeholder-icon {
  font-size: 3.5rem;
  opacity: 0.5;
}

.modal-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--rosa-claro) 0%, #e8ddd8 100%);
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.5;
}

/* ── Sobre (página) ── */
.sobre-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.sobre-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--verde-escuro);
  margin-bottom: 1.5rem;
  text-align: center;
}

.sobre-content {
  background: var(--branco);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.sobre-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--verde-escuro);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.sobre-content h2:first-child {
  margin-top: 0;
}

.sobre-content p {
  font-size: 0.95rem;
  color: var(--texto-leve);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.sobre-destaque {
  background: var(--rosa-claro);
  border-left: 4px solid var(--rosa);
  padding: 1.2rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.sobre-destaque p {
  color: var(--texto);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0;
}

/* ── Footer ── */
footer {
  background-color: var(--verde-escuro);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2.5rem 2rem;
}

footer .footer-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--branco);
  margin-bottom: 0.5rem;
}

footer p {
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}

footer a {
  color: var(--rosa-claro);
  text-decoration: none;
}

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

footer .footer-copy {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--branco);
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

.modal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--texto);
  margin-bottom: 0.5rem;
}

.modal-body p {
  font-size: 0.92rem;
  color: var(--texto-leve);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.modal-preco {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 1.2rem;
}

.modal-close {
  display: inline-block;
  background: var(--rosa);
  color: var(--branco);
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.modal-close:hover {
  background: var(--verde);
}

/* ── Responsivo ── */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--branco);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 150;
  }

  nav.open {
    right: 0;
  }

  nav a {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .produtos-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .sobre-content {
    padding: 1.5rem;
  }
}
