/* =========================================================
   Via Brasil — paleta provisória.
   TODO (dev/loja): confira o feed @viabrasiljau e ajuste as
   variáveis abaixo para bater com a cor real da marca antes
   de publicar (ver README.md, seção "Antes de publicar").
   ========================================================= */
:root {
  --cor-vinho: #6b1424;
  --cor-vinho-escuro: #4a0e19;
  --cor-dourado: #c99a3d;
  --cor-dourado-claro: #e8c979;
  --cor-creme: #faf3e7;
  --cor-creme-2: #f2e5cc;
  --cor-texto: #2c1c14;
  --cor-texto-suave: #5a473c;
  --cor-branco: #fffdf9;

  --fonte-titulo: 'Playfair Display', Georgia, serif;
  --fonte-corpo: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 14px;
  --sombra: 0 8px 24px rgba(43, 20, 10, 0.12);
}

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

body {
  margin: 0;
  font-family: var(--fonte-corpo);
  color: var(--cor-texto);
  background: var(--cor-creme);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  color: var(--cor-vinho-escuro);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cor-vinho);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

.section-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .8rem;
  color: var(--cor-dourado);
  margin-bottom: .5em;
}
.center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn .icon, .btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: #25D366;
  color: #06210f;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover { background: #1ebe5a; }

.btn-outline {
  background: transparent;
  color: var(--cor-branco);
  border-color: var(--cor-branco);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cor-branco);
  border-bottom: 1px solid var(--cor-creme-2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo {
  font-family: var(--fonte-titulo);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cor-vinho);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--cor-dourado); }

.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--cor-texto);
  font-size: .95rem;
}
.main-nav a:hover { color: var(--cor-vinho); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--cor-vinho);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--cor-vinho) 0%, var(--cor-vinho-escuro) 100%);
  color: var(--cor-branco);
  padding: 90px 0 80px;
  text-align: center;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--cor-dourado-claro);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: .8em;
}
.hero h1 { color: #fff; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero-sub {
  max-width: 620px;
  margin: 0 auto 2em;
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sobre ---------- */
.sobre { padding: 80px 0; }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.img-placeholder {
  background: repeating-linear-gradient(45deg, var(--cor-creme-2), var(--cor-creme-2) 12px, #eaddc0 12px, #eaddc0 24px);
  border: 2px dashed var(--cor-dourado);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--cor-texto-suave);
  font-weight: 600;
}
.img-placeholder.small { min-height: 180px; margin-bottom: 16px; }
.img-placeholder small { font-weight: 400; opacity: .8; }

.sobre-foto {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}
.colecao-foto {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

/* ---------- Coleções ---------- */
.colecoes { padding: 80px 0; background: var(--cor-creme-2); }
.colecoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.colecao-card {
  background: var(--cor-branco);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--sombra);
  text-align: center;
}
.colecao-card h3 { color: var(--cor-vinho); }

/* ---------- Depoimentos ---------- */
.depoimentos { padding: 80px 0; }
.depoimentos-aviso {
  text-align: center;
  font-size: .85rem;
  color: var(--cor-texto-suave);
  background: #fff4d6;
  border: 1px solid var(--cor-dourado);
  border-radius: 8px;
  padding: 8px 16px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.depoimento-card {
  background: var(--cor-branco);
  border-left: 4px solid var(--cor-dourado);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0;
  box-shadow: var(--sombra);
}
.depoimento-card p { font-style: italic; }
.depoimento-card cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--cor-vinho);
  font-size: .9rem;
}

/* ---------- Onde estamos ---------- */
.local { padding: 80px 0; background: var(--cor-creme-2); }
.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.local-lista { list-style: none; padding: 0; margin: 24px 0; }
.local-lista li {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(107,20,36,.12);
}
.local-lista li:last-child { border-bottom: none; }
.local-lista strong {
  display: block;
  color: var(--cor-vinho);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.local-lista a { text-decoration: underline; }
.local-mapa {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  min-height: 340px;
}
.local-mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cor-vinho-escuro);
  color: rgba(255,255,255,.85);
  padding: 56px 0 32px;
}
.footer-inner { text-align: center; }
.footer-logo { color: #fff; margin-bottom: 4px; }
.footer-logo span { color: var(--cor-dourado-claro); }
.footer-brand p:last-child { margin-bottom: 32px; opacity: .8; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.08);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s ease;
}
.footer-social a:hover { background: rgba(255,255,255,.18); }
.footer-social svg { width: 18px; height: 18px; fill: var(--cor-dourado-claro); }

.footer-copy { font-size: .8rem; opacity: .7; }

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #06210f; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 8px 20px rgba(0,0,0,.25); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 8px 20px rgba(0,0,0,.25); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 20px rgba(0,0,0,.25); }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 900px) {
  .sobre-grid,
  .local-grid { grid-template-columns: 1fr; }
  .colecoes-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cor-branco);
    padding: 16px 20px 24px;
    box-shadow: var(--sombra);
  }

  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
