:root {
  --bg: #f8f4ef;
  --surface: #fcfaf7;
  --text: #3a261b;
  --muted: #7d685a;
  --accent: #c69a66;
  --line: rgba(58, 38, 27, 0.12);
  --shadow: 0 18px 40px rgba(58, 38, 27, 0.08);
  --container: 1200px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  background-color: rgba(252, 250, 247, 0.96);
  border-bottom: 1px solid rgba(58, 38, 27, 0.04);
  padding: 1.2rem 1rem 1rem;
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.9rem;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-align: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  padding-bottom: 4rem;
}

.hero-media img {
  width: 100%;
  height: clamp(300px, 58vw, 760px);
  object-fit: cover;
  object-position: center;
}

.hero-content {
  text-align: center;
  padding-top: 2.5rem;
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.hero h1,
.intro h2,
.section-heading h2,
.contact h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  margin-bottom: 1rem;
}

.hero-description {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.btn {
  min-width: 180px;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--text);
  color: #fff;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  background-color: var(--text);
  color: #fff;
}

.intro {
  padding: 4rem 0 5rem;
  text-align: center;
  max-width: 820px;
}

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

.intro p:last-child {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

.products {
  padding-bottom: 5rem;
}

.section-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.products-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  background-color: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(58, 38, 27, 0.06);
}

.product-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.product-body {
  padding: 1.5rem 1.4rem 1.8rem;
  text-align: center;
}

.product-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.product-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  padding: 5rem 0;
  background-color: #f1e8de;
  border-top: 1px solid rgba(58, 38, 27, 0.06);
  border-bottom: 1px solid rgba(58, 38, 27, 0.06);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

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

.contact p {
  color: var(--muted);
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border: 1px solid rgba(58, 38, 27, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.contact-card a {
  font-size: 0.9rem;
  color: var(--text);
}

.site-footer {
  padding: 1.6rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Ajustes de responsividade dos cards flip */

.flip-card,
.flip-inner {
  min-height: 620px;
}

.flip-front,
.flip-back {
  border-radius: 18px;
}

.flip-back {
  overflow-y: auto;
  align-content: start;
  place-content: initial;
}

.flip-back h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  margin: 0.7rem 0 0.3rem;
}

/* Ajustes para celular */
@media (max-width: 767px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .brand {
    font-size: 1rem;
    letter-spacing: 0.22em;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-media img {
    height: 320px;
  }

  .hero-actions,
  .btn,
  .product-cta {
    width: 100%;
  }

  .flip-card,
  .flip-inner {
    min-height: 680px;
  }

  .flip-back {
    padding: 1.4rem;
  }

  .flip-back h3 {
    font-size: 2rem;
  }

  .product-image img {
    height: 280px;
  }
}

@media (min-width: 768px) {
  .site-header {
    padding-top: 1.6rem;
    padding-bottom: 1.2rem;
  }

  .site-nav {
    gap: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }

  .contact-card {
    min-height: 100%;
    align-content: center;
  }
}

.flip-card {
  perspective: 1200px;
  min-height: 560px;
  background: transparent;
  box-shadow: none;
  border: none;
}

.flip-inner {
  position: relative;
  width: 100%;
  min-height: 560px;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  background-color: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(58, 38, 27, 0.06);
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-back {
  transform: rotateY(180deg);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

.flip-back h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.flip-back p {
  color: var(--muted);
  margin-bottom: 0.7rem;
}



.product-image {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.product-cta {
  margin-top: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background-color: var(--text);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.product-cta:hover {
  transform: translateY(-3px);
  background-color: var(--accent);
}

.cta-icon {
  font-size: 1.05rem;
}

.back-button {
  margin-top: 1rem;
  border: none;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

  .products-grid {
    align-items: stretch;
  }