/* ============================================================
   MASSAS DA MAMA — Stylesheet
   Paleta: Creme, Âmbar Escuro, Marfim, Grafite Quente
   Tipografia: Cormorant Garamond (display) + Inter (corpo)
   ============================================================ */

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

/* ── Tokens ── */
:root {
  --cream:      #F7F3ED;
  --ivory:      #EDE8DF;
  --amber:      #8B5E3C;
  --amber-dark: #5C3A1E;
  --gold:       #C9A96E;
  --graphite:   #2E2A26;
  --muted:      #7A6E63;
  --white:      #FDFAF6;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1120px;
  --section-py: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--graphite);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilitários ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-py) 0; }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--graphite); color: var(--cream); }
.section--amber { background: var(--amber-dark); color: var(--cream); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--gold); }

.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  color: var(--graphite);
}
.h-display em { font-style: italic; color: var(--amber); }

.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn--dark {
  background: var(--graphite);
  color: var(--cream);
  border-color: var(--graphite);
}
.btn--dark:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn--outline {
  background: transparent;
  color: var(--graphite);
  border-color: var(--graphite);
}
.btn--outline:hover { background: var(--graphite); color: var(--cream); }
.btn--light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--light:hover { background: var(--cream); color: var(--graphite); }

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: center;
  line-height: 1;
  background: rgba(255,255,255,0.92);
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.navbar__logo img {
  height: 40px;
  width: auto;
  transition: height 0.3s;
  display: block;
}
.navbar.scrolled .navbar__logo {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.navbar.scrolled .navbar__logo img { height: 38px; }

.navbar__links {
  display: flex;
  gap: 40px;
}
.navbar__links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.navbar__links a:hover::after { transform: scaleX(1); }
.navbar.scrolled .navbar__links a { color: var(--graphite); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.3s;
}
.navbar.scrolled .navbar__hamburger span { background: var(--graphite); }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--graphite);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,22,15,0.85) 0%, rgba(30,22,15,0.1) 60%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
  max-width: 700px;
}
.hero__year {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero__year::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 1;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════
   SOBRE (HISTÓRIA)
═══════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__image {
  position: relative;
}
.about__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about__image::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 96px;
  height: 96px;
  background: var(--amber-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.about__badge-year {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.about__badge-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 4px;
}
.about__text .h-display { font-size: clamp(36px, 4vw, 52px); margin-bottom: 12px; }
.about__text p { color: var(--muted); margin-top: 20px; font-size: 15px; line-height: 1.8; }
.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ivory);
}
.about__stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
}
.about__stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ═══════════════════════════════════
   PRODUTOS
═══════════════════════════════════ */
.products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}
.products__header .h-display { font-size: clamp(36px, 4vw, 52px); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--graphite);
}
.product-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.4s, transform 0.6s;
}
.product-card:hover img { opacity: 0.55; transform: scale(1.04); }
.product-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(20,14,8,0.9) 0%, transparent 100%);
  transform: translateY(8px);
  transition: transform 0.3s;
}
.product-card:hover .product-card__info { transform: translateY(0); }
.product-card__cat {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}
.product-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s 0.05s, transform 0.3s 0.05s;
}
.product-card:hover .product-card__desc { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════
   DIFERENCIAIS
═══════════════════════════════════ */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.pillar__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--cream);
}
.pillar p {
  font-size: 14px;
  color: rgba(253,250,246,0.6);
  line-height: 1.8;
}

/* ═══════════════════════════════════
   CANAIS DE VENDA
═══════════════════════════════════ */
.channels__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
}
.channel-card {
  padding: 56px 48px;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.channel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s;
}
.channel-card:hover::before { height: 100%; }
.channel-card__num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  color: var(--ivory);
  position: absolute;
  top: 24px; right: 32px;
  line-height: 1;
  /* decorativo — contraste sutil */
  filter: contrast(0.5) brightness(0.95);
}
.channel-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--graphite);
  margin-bottom: 12px;
  position: relative;
}
.channel-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  position: relative;
}

/* ═══════════════════════════════════
   CONTATO
═══════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info .h-display { font-size: clamp(32px, 3.5vw, 48px); margin-bottom: 12px; }
.contact__info p { color: var(--muted); margin-top: 16px; font-size: 15px; }
.contact__details { margin-top: 48px; display: flex; flex-direction: column; gap: 24px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item-icon { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.contact__item-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact__item-value { font-size: 15px; color: var(--graphite); }
.contact__item-value a:hover { color: var(--amber); }

.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--ivory);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  background: #1A1410;
  color: rgba(253,250,246,0.55);
  padding: 72px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 280px;
  color: rgba(253,250,246,0.45);
}
.footer__col-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer__contact-item span:first-child { font-size: 15px; margin-top: 1px; }
.footer__contact-item a:hover { color: var(--gold); }
.footer__nav-links { display: flex; flex-direction: column; gap: 12px; }
.footer__nav-links a { font-size: 13.5px; transition: color 0.2s; }
.footer__nav-links a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}
.footer__copy { font-size: 12px; }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}
.footer__logo {
  display: flex;
  align-items: center;
}
.footer__logo img {
  height: 40px;
  width: auto;
  opacity: 0.92;
}
.footer__copy { font-size: 12px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold); }

/* ═══════════════════════════════════
   RESPONSIVO
═══════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-py: 64px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image { display: none; }
  .products__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid { grid-template-columns: 1fr; gap: 32px; }
  .channels__grid { grid-template-columns: 1fr; }
  .products__header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .products__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about__stats { flex-direction: column; gap: 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════
   ANIMAÇÕES
═══════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--graphite);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav__close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 28px;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}
