/* ===================== FONTES ===================== */
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('assets/fonts/CinzelDecorative-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('assets/fonts/CinzelDecorative-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}

/* ===================== VARIÁVEIS / RESET ===================== */
:root {
  --sage: #9aa17f;
  --sage-dark: #6f7657;
  --cream: #f1efe7;
  --ink: #2f2f2c;
  --muted: #7c7c72;
  --white: #ffffff;
  --maxw: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Cinzel Decorative', Georgia, serif; font-weight: 700; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .5px;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--sage-dark); }

/* ===================== CABEÇALHO ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #ece9df;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: var(--ink); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--sage-dark); }
.nav-cta {
  background: var(--sage); color: #fff !important;
  padding: 9px 18px; border-radius: 4px;
}
.nav-cta:hover { background: var(--sage-dark); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background: #8a916f url('assets/img/loja.jpg') center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(110,118,87,.55), rgba(47,47,44,.55)),
    linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.15));
}
.hero-content { position: relative; color: #fff; padding: 60px 24px; width: 100%; }
.hero-symbol { height: 90px; margin: 0 auto 18px; filter: brightness(0) invert(1); opacity: .92; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero p { font-size: clamp(16px, 2vw, 20px); margin: 20px auto 34px; max-width: 620px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn { min-width: 196px; text-align: center; }

/* ===================== SEÇÕES ===================== */
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--sage-dark);
  text-align: center;
  letter-spacing: 1px;
}
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); margin: 14px auto 44px; max-width: 560px; }

/* ===================== GALERIA DE PRODUTOS ===================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
.card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.card figcaption {
  padding: 16px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}

/* ===================== VÍDEOS (miniaturas) ===================== */
.video-thumb { position: relative; }
.video-thumb video {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  background: #000;
  pointer-events: none;   /* clique vai para o card, não para o vídeo */
}
.play-badge {
  position: absolute;
  top: calc(50% - 20px); left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(154,161,127,.92);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; padding-left: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: transform .2s ease, background .2s ease;
}
.video-thumb:hover .play-badge { transform: translate(-50%, -50%) scale(1.1); background: var(--sage-dark); }

/* Player ampliado dentro do lightbox */
.lightbox-video {
  max-width: 90vw; max-height: 82vh;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  background: #000;
}

/* ===================== SOBRE ===================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.about-logo img { max-width: 320px; margin: 0 auto; }
.about-text p { color: var(--muted); margin-top: 18px; font-size: 17px; }
.features { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.features li {
  padding-left: 28px; position: relative; color: var(--ink);
}
.features li::before {
  content: '✦'; position: absolute; left: 0; color: var(--sage);
}

/* ===================== CONTATO ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 34px 26px;
  text-align: center;
  border: 1px solid #e7e3d6;
}
.contact-icon { font-size: 34px; display: block; margin-bottom: 12px; }
.contact-card h3 { font-family: 'Roboto', sans-serif; font-size: 18px; color: var(--sage-dark); margin-bottom: 10px; }
.contact-card p { color: var(--ink); }
.contact-card small { color: var(--muted); display: block; margin-top: 8px; font-size: 12px; }
.contact-card .btn { margin-top: 16px; }

/* ===================== RODAPÉ ===================== */
.site-footer { background: var(--sage-dark); color: #fff; padding: 40px 0; }
.footer-inner { text-align: center; }
.footer-symbol { height: 50px; margin: 0 auto 14px; filter: brightness(0) invert(1); opacity: .85; }
.footer-inner p { font-size: 14px; opacity: .9; }

/* ===================== BOTÃO FLUTUANTE WHATSAPP ===================== */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lightbox-caption {
  position: absolute; bottom: 28px; left: 0; right: 0;
  text-align: center; color: #fff; font-size: 18px; letter-spacing: 1px;
}
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none; color: #fff;
  font-size: 44px; line-height: 1; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: #fff;
  font-size: 26px; width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===================== RESPONSIVO (CELULAR) ===================== */
@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .section-title.left { text-align: center; }
  .features { text-align: left; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }   /* mantém só o botão WhatsApp no topo */
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { min-height: 70vh; }
}
@media (max-width: 460px) {
  .brand img { height: 34px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; min-width: 0; }
  .gallery { gap: 14px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 20px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}
