/* ==========================================================================
   Campezito — editorial premium
   ========================================================================== */

:root {
  --gold: #E3A430;
  --gold-deep: #B9791B;
  --gold-pale: #F4D998;
  --ink: #241207;
  --brown: #4A2A16;
  --cream: #FBF4E7;
  --cream-dark: #F1E4CB;
  --line: #E1D2AF;
  --red: #9E1B2E;
  --white: #FFFFFF;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --shadow-soft: 0 30px 60px -20px rgba(36, 18, 7, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Evita que o cabeçalho fixo cubra o topo da seção ao navegar pelo menu */
#historia, #produtos, #grupo, #comprar, #contato {
  scroll-margin-top: 96px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .4em;
  font-weight: 600;
  letter-spacing: -.01em;
}
em { font-style: italic; font-weight: 500; }

p { margin: 0 0 1em; }

/* ---------- Eyebrow / rótulos ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .8;
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--gold-deep); opacity: 1; }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--brown); }

.btn-outline {
  border-color: rgba(36,18,7,.35);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--ink); background: rgba(36,18,7,.05); }

.btn-outline-gold {
  border-color: var(--gold);
  color: var(--cream);
  background: transparent;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }

.btn-dark-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-dark-gold:hover { background: var(--gold-pale); border-color: var(--gold-pale); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(36,18,7,.4);
}
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(251, 244, 231, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-logo { width: 60px; height: 60px; border-radius: 50%; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .02em;
  color: var(--ink);
}

.main-nav { display: flex; gap: 22px; white-space: nowrap; }
.main-nav a {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { border-color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-actions .btn { padding: 12px 22px; font-size: .84rem; white-space: nowrap; }
.icon-ig { width: 21px; height: 21px; fill: currentColor; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); }

/* ---------- Hero — momento de marca ---------- */
.hero {
  background: radial-gradient(120% 140% at 50% 0%, var(--gold-pale) 0%, var(--gold) 46%, var(--gold-deep) 100%);
  padding: 96px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero-logo {
  width: 208px;
  height: 208px;
  border-radius: 50%;
  margin-bottom: 32px;
  box-shadow: 0 28px 60px -12px rgba(36,18,7,.45);
}

.hero .eyebrow { color: var(--ink); }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--ink);
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(36,18,7,.85);
  max-width: 480px;
  margin: 0 auto 34px;
}

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }

/* ---------- Faixa de confiança ---------- */
.faixa {
  background: var(--ink);
  color: var(--gold-pale);
}
.faixa-inner {
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.faixa a { border-bottom: 1px solid rgba(244,217,152,.5); }
.faixa a:hover { color: var(--white); }
.ponto { color: var(--gold-deep); font-size: .6rem; }

/* ---------- Seções genéricas ---------- */
.section { padding: 110px 0; }
.section-cream-dark { background: var(--cream-dark); }
.section-gold {
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
}
.section-gold .eyebrow { color: var(--ink); opacity: .75; }
.section-gold h2 { color: var(--ink); }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.section-lead { color: rgba(36,18,7,.7); font-size: 1.02rem; }

/* ---------- Produtos (galeria com as artes da marca) ---------- */
.produtos-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.produto-card {
  background: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.produto-card:hover { transform: translateY(-6px); }

.produto-card-imagem { position: relative; aspect-ratio: 1; overflow: hidden; }
.produto-card-imagem img { width: 100%; height: 100%; object-fit: cover; }

.produto-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 6px 12px;
}

.produto-card-info {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.produto-origem {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-pale);
  font-size: .92rem;
  line-height: 1.45;
  margin: 0;
}
.produto-card-rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(227,164,48,.3);
}
.produto-preco {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
}
.produto-preco small {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(251,244,231,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.produto-card-rodape .link-arrow { color: var(--gold); border-color: rgba(227,164,48,.5); font-size: .88rem; }

.produtos-nota {
  text-align: center;
  max-width: 520px;
  margin: 64px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  color: rgba(36,18,7,.65);
  font-size: .95rem;
}
.produtos-nota a { border-bottom: 1px solid var(--gold-deep); color: var(--ink); }

/* ---------- História ---------- */
.historia-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.historia-foto img {
  filter: sepia(.18) saturate(1.05);
  box-shadow: var(--shadow-soft);
}
.historia-texto .eyebrow { display: block; }
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-deep);
  margin: 8px 0 24px;
  line-height: 1.4;
}
.historia-texto p:not(.pull-quote) { color: rgba(36,18,7,.78); }

/* ---------- Grupo do WhatsApp ---------- */
.section-escura { background: var(--ink); color: var(--cream); }

.grupo-grid {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 72px;
  align-items: center;
}
.grupo-imagem img {
  box-shadow: var(--shadow-soft);
  max-width: 320px;
  margin: 0 auto;
}
.grupo-texto .eyebrow { color: var(--gold); }
.grupo-texto h2 { color: var(--cream); font-size: clamp(1.9rem, 3.2vw, 2.4rem); }
.grupo-texto p { color: rgba(251,244,231,.78); max-width: 480px; }

.grupo-lista {
  list-style: none;
  margin: 6px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 32px;
}
.grupo-lista li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--gold-pale);
}
.grupo-lista li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Como comprar ---------- */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.passo { text-align: center; }
.passo-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.passo h3 { font-size: 1.15rem; margin-bottom: 8px; }
.passo p { color: rgba(36,18,7,.75); font-size: .95rem; margin: 0; }

/* ---------- Rodapé / contato ---------- */
.rodape { background: var(--ink); color: var(--cream); }
.rodape-grid {
  display: flex;
  justify-content: center;
  padding: 100px 0;
}
.rodape-info {
  max-width: 460px;
  text-align: center;
}
.rodape-info .eyebrow { color: var(--gold); }
.rodape-info h2 { color: var(--cream); }
.rodape-lead { color: rgba(251,244,231,.78); }
.rodape-lista {
  list-style: none;
  margin: 32px 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.rodape-lista li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rodape-lista strong {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.rodape-lista a:hover { color: var(--gold); }

.rodape-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 600;
}
.rodape-ig .icon-ig { width: 20px; height: 20px; color: var(--gold); }
.rodape-ig:hover { color: var(--gold); }


.rodape-fundo { border-top: 1px solid rgba(227,164,48,.25); }
.rodape-fundo-inner {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.rodape-marca { display: flex; align-items: center; gap: 14px; opacity: .9; font-size: .92rem; }
.rodape-logo { width: 44px; height: 44px; border-radius: 50%; }
.rodape-fundo p { margin: 0; font-size: .82rem; opacity: .6; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(36,18,7,.4);
  z-index: 60;
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; fill: var(--gold); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .historia-grid, .grupo-grid { grid-template-columns: 1fr; }
  .historia-foto, .grupo-imagem { order: -1; }
  .historia-texto { text-align: center; }
  .historia-texto .link-arrow { margin: 0 auto; }
  .grupo-texto { text-align: center; }
  .grupo-texto p { margin-left: auto; margin-right: auto; }
  .grupo-lista { grid-template-columns: 1fr; text-align: left; max-width: 260px; margin: 6px auto 32px; }
  .passos { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 620px) {
  .produtos-galeria { grid-template-columns: 1fr; }
  .hero-logo { width: 152px; height: 152px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 32px 26px;
    gap: 16px;
    box-shadow: 0 1px 0 var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
}
