:root {
  --navy: #0a2342;
  --navy-2: #12325a;
  --navy-deep: #061526;
  --ciano: #00a7e1;
  --ciano-escuro: #0089bb;
  --creme: #f4efe6;
  --papel: #fffdf8;
  --tinta: #1c1c1c;
  --suave: #6a6a6a;
  --linha: #e6dfd2;
  --vermelho: #c8102e;
  --max: 1240px;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--tinta);
  background: var(--papel);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.eyebrow {
  color: var(--ciano-escuro);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, .display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 8px 0 14px; }
h3 { font-family: "Manrope", sans-serif; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.lead { color: var(--suave); max-width: 62ch; font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem;
  cursor: pointer; transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ciano { background: var(--ciano); color: #fff; }
.btn-ciano:hover { background: var(--ciano-escuro); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-line { background: #fff; color: var(--navy); border: 1px solid var(--linha); }
.btn-vinho { background: var(--vermelho); color: #fff; }

.topbar {
  background: var(--navy-deep);
  color: #c9d7ea;
  font-size: 0.78rem;
  font-weight: 600;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 12px;
}
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,253,248,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 18px; }
.logo { flex-shrink: 0; }
.logo img { height: 58px; width: auto; }
.header-inner > .btn { flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); font-weight: 700; font-size: 0.95rem; }
.nav a:hover, .nav a.ativo { color: var(--ciano-escuro); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--linha); background: #fff; color: var(--navy); border-radius: 10px; }

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.ativo { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,12,20,.25) 0%, rgba(6,12,20,.15) 40%, rgba(6,12,20,.78) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative; z-index: 2;
  padding: 0 0 72px;
}
.hero-copy .eyebrow { color: #9be7ff; }
.hero h1 { max-width: 16ch; text-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero .lead { color: #e8e4dc; margin: 16px 0 28px; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-selos {
  position: absolute;
  z-index: 3;
  left: 2.4%;
  top: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero-selos img {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: center;
}
.hero-selos .sie {
  height: 140px;
  max-height: 140px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
.sisbi-marca {
  display: block;
  line-height: 0;
}
.sisbi-marca svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-selos .sisbi-marca {
  width: 268px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
.sisbi-faixa .sisbi-marca {
  width: 280px;
  max-width: 100%;
}
.hero-dots {
  position: absolute; z-index: 3; right: 28px; bottom: 28px;
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.hero-dots button.ativo { background: #fff; }

.section { padding: 84px 0; }
.section.creme { background: var(--creme); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy .lead, .section.navy .meta { color: #c9d7ea; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  margin-bottom: 28px; flex-wrap: wrap;
}

.abas { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.abas button {
  border: 1px solid var(--linha); background: #fff; border-radius: 999px;
  padding: 9px 16px; cursor: pointer; font-weight: 800; font-size: 0.78rem; text-transform: uppercase;
  color: var(--navy);
}
.abas button.ativo, .abas button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.prat-wrap { position: relative; }
.prateleira {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  scrollbar-width: none;
}
.prateleira::-webkit-scrollbar { display: none; }
.prat-btn {
  position: absolute; top: 38%;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy); font-size: 1.3rem;
  box-shadow: 0 8px 22px rgba(10,35,66,.16); cursor: pointer; z-index: 2;
}
.prat-btn.prev { left: -8px; }
.prat-btn.next { right: -8px; }

.produto-card, .prat-card {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.produto-card:hover, .prat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,35,66,.1); }
.prat-card { flex: 0 0 250px; scroll-snap-align: start; }
.produto-card figure, .prat-card figure {
  background: linear-gradient(180deg, #fff, #f3f0ea);
  height: 210px;
  display: grid; place-items: center;
  padding: 16px;
}
.produto-card img, .prat-card img { max-height: 178px; width: auto; object-fit: contain; }
.produto-card div, .prat-card div { padding: 14px 16px 18px; }
.produto-card h3, .prat-card h3 { margin-bottom: 6px; }
.meta { color: var(--suave); font-size: 0.82rem; font-weight: 600; }
.desc { color: var(--tinta); font-size: 0.8rem; margin-top: 8px; white-space: pre-line; }
.saiba { display: inline-block; margin-top: 12px; color: var(--ciano-escuro); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; }

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.linhas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.linha-card {
  position: relative; min-height: 240px; border-radius: var(--radius); overflow: hidden;
  color: #fff; display: flex; align-items: end;
}
.linha-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.linha-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(6,12,20,.78));
}
.linha-card span { position: relative; z-index: 1; padding: 22px; font-family: "Cormorant Garamond", serif; font-size: 2rem; }

.momentos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.momento {
  position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; color: #fff;
  display: flex; align-items: end;
}
.momento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.momento::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,12,20,.8));
}
.momento div { position: relative; z-index: 1; padding: 26px; }
.momento h3 { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 600; color: #fff; }

.receitas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.receita-card {
  background: #fff; border: 1px solid var(--linha); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.receita-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,35,66,.1); }
.receita-card img { height: 220px; width: 100%; object-fit: cover; }
.receita-card div { padding: 16px 18px 20px; }
.receita-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.receita-hero .media img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); }
.lista { margin: 12px 0 0 18px; color: var(--suave); }
.lista li { margin: 8px 0; }
.passos { margin: 12px 0 0 18px; }
.passos li { margin: 10px 0; }

.casa {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.casa-foto {
  border-radius: var(--radius); overflow: hidden; min-height: 420px;
}
.casa-foto img { width: 100%; height: 420px; object-fit: cover; object-position: center 40%; }

.galeria-fabrica { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 36px; }
.galeria-fabrica figure { background: none; }
.galeria-fabrica .galeria-foto {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.galeria-fabrica img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}
.galeria-fabrica img.foto-inteira {
  object-fit: contain;
  object-position: center;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.galeria-fabrica figcaption { padding: 12px 4px 0; color: var(--suave); font-size: 0.84rem; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.tempo { background: #fff; border: 1px solid var(--linha); border-radius: 14px; padding: 18px; }
.tempo strong { display: block; color: var(--ciano-escuro); font-size: 1.3rem; font-family: "Cormorant Garamond", serif; margin-bottom: 6px; }

.sisbi-faixa {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--linha); border-radius: var(--radius); padding: 22px 26px;
}
.sisbi-faixa img,
.sisbi-faixa .sisbi-marca {
  width: 280px;
  max-width: 100%;
}

.page-hero {
  position: relative; color: #fff; padding: 92px 0 72px; overflow: hidden; background: var(--navy-deep);
}
.page-hero img.fundo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p { color: #e8e4dc; max-width: 58ch; margin-top: 12px; }

.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
form { display: grid; gap: 12px; background: #fff; border: 1px solid var(--linha); border-radius: var(--radius); padding: 24px; }
label { font-weight: 800; font-size: 0.88rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--linha); border-radius: 10px; padding: 12px 14px; background: var(--papel);
}
textarea { min-height: 120px; }
.mapa { width: 100%; min-height: 280px; border: 0; border-radius: var(--radius); margin-top: 18px; }

.site-footer { background: var(--navy-deep); color: #c9d7ea; padding: 56px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer img { height: 52px; width: auto; margin-bottom: 14px; }
.site-footer a:hover { color: #fff; }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.8rem; }

.whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4);
}
.whatsapp svg { width: 30px; height: 30px; }

.ig-faixa {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .produtos-grid, .linhas-grid, .receitas-grid, .timeline { grid-template-columns: 1fr 1fr; }
  .momentos, .casa, .galeria-fabrica, .contato-grid, .receita-hero, .footer-grid { grid-template-columns: 1fr; }
  .sisbi-faixa { grid-template-columns: 1fr; }
  .momento, .casa-foto img, .galeria-fabrica img { height: 280px; min-height: 280px; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .nav { display: none; }
  .nav.aberto {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 86px; background: var(--papel);
    padding: 18px 22px 24px; border-bottom: 1px solid var(--linha);
  }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hero { min-height: 78vh; }
  .hero-copy { padding-bottom: 48px; }
  .hero-selos { top: 92px; left: 12px; }
  .hero-selos .sie { height: 110px; max-height: 110px; }
  .hero-selos .sisbi-marca { width: 210px; }
  .sisbi-faixa .sisbi-marca { width: 240px; }
  .produtos-grid { grid-template-columns: 1fr 1fr; }
  .prat-btn { display: none; }
}
@media (max-width: 560px) {
  .produtos-grid, .linhas-grid, .receitas-grid, .timeline { grid-template-columns: 1fr; }
  .logo img { height: 46px; }
}
