@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green-deep: #1E4620;
  --green-mid: #2C5C2E;
  --gold: #C9962C;
  --gold-light: #E0B75C;
  --cream: #F7F4EC;
  --cream-warm: #F1ECE0;
  --ink: #22201B;
  --ink-soft: #4A473F;
  --line: #D8D1BE;
  --white: #FFFFFF;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;

  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--green-deep);
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo span { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a {
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--green-deep);
  border-color: var(--gold);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-deep);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease;
}
.header-cta:hover { background: var(--green-mid); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 72px 0 88px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--green-deep);
  max-width: 12ch;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--green-deep);
  color: var(--green-deep);
}
.btn-outline:hover { background: var(--green-deep); color: var(--white); }

.hero-photo {
  position: relative;
}

.hero-photo .photo-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 24px 50px -18px rgba(30, 70, 32, 0.35);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.hero-photo .caption {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}
.hero-photo .caption strong { color: var(--green-deep); }

/* ===== Stats bar ===== */
.stats-bar {
  background: var(--green-deep);
  color: var(--white);
  padding: 40px 0;
}

.stats-bar .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.stat {
  flex: 1;
  min-width: 180px;
}

.stat .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

.stat .label {
  font-size: 0.92rem;
  color: #C9D6C9;
}

/* ===== Section shared ===== */
section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.2;
}

/* ===== Story ===== */
.story {
  background: var(--white);
}

.story .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.story-quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--green-deep);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  align-self: start;
}

.story-body p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 1.03rem;
}

.story-body p:last-child {
  color: var(--green-deep);
  font-weight: 600;
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-top: 8px;
}

/* ===== Differentiators ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.diff-item {
  padding: 0 32px;
  border-left: 1px solid var(--line);
}
.diff-item:first-child { padding-left: 0; border-left: none; }

.diff-item h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--green-deep);
  margin-bottom: 12px;
  font-weight: 600;
}

.diff-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ===== Brands ===== */
.brands {
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brands .section-head { margin-bottom: 32px; }

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.brand-pill {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
}

/* ===== Catalog preview / grid ===== */
.catalog-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-photo {
  aspect-ratio: 4/3;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--green-deep);
  font-weight: 600;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.product-meta dt {
  font-weight: 600;
  color: var(--ink);
}

.product-location {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.92rem;
  transition: background 0.15s ease;
}
.product-cta:hover { background: var(--gold-light); }

/* ===== Testimonials ===== */
.testimonials {
  background: var(--green-deep);
  color: var(--white);
}

.testimonials .section-head h2 { color: var(--white); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 28px;
}

.testimonial p.quote {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.testimonial .who {
  font-size: 0.88rem;
  color: #C9D6C9;
  font-weight: 600;
}

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--green-deep);
  margin-bottom: 18px;
}

.final-cta p {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #D8D5CB;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col p, .footer-col a {
  font-size: 0.92rem;
  color: #B8B5AB;
  display: block;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  color: #8A8779;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green-deep);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,0.4);
  z-index: 60;
  transition: transform 0.15s ease, background 0.15s ease;
}
.wa-float:hover { background: var(--green-mid); transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ===== Page header (catalog page) ===== */
.page-header {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.page-header .section-eyebrow { margin-bottom: 8px; }

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--green-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

.page-header p {
  color: var(--ink-soft);
  max-width: 60ch;
  font-size: 1.05rem;
}

.empty-note {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 48px;
  text-align: center;
  color: var(--ink-soft);
  margin-top: 24px;
}

/* ===== Responsive ===== */

/* Menu vira botão "hambúrguer" quando os 5 itens não cabem mais */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .logo { margin-right: auto; }
  .site-header .wrap { gap: 12px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 28px 14px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(0, 0, 0, 0.3);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a.active { border-bottom-color: var(--gold); }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 320px; margin: 0 auto; }
  .story .wrap { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .diff-item { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .diff-item:first-child { border-top: none; padding-top: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .main-nav { padding-left: 20px; padding-right: 20px; }
  .header-cta { display: none; } /* o botão flutuante do WhatsApp já cobre o celular */
  .product-grid { grid-template-columns: 1fr; }
  .stats-bar .wrap { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ===== Catálogo: botão de ampliar foto ===== */
.photo-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  display: block;
}

.photo-zoom img { transition: transform 0.3s ease; }
.photo-zoom:hover img { transform: scale(1.03); }

.photo-zoom:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.zoom-hint,
.photo-count {
  position: absolute;
  bottom: 10px;
  background: rgba(20, 28, 20, 0.78);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.zoom-hint { left: 10px; }
.photo-count { right: 10px; }

.product-tag { pointer-events: none; z-index: 1; }

/* ===== Visualizador de fotos ampliadas ===== */
body.lb-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 20, 14, 0.94);
  display: flex;
  flex-direction: column;
}
.lightbox[hidden] { display: none; }

.lb-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 76px 12px;
}

.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  transition: background 0.15s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }
.lb-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lb-btn[hidden] { display: none; }

.lb-close { top: 14px; right: 14px; font-size: 1.8rem; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.lb-footer {
  padding: 8px 16px 18px;
  text-align: center;
}

.lb-caption {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.lb-name { font-weight: 600; }
.lb-counter { color: #B9C4B9; margin-left: 8px; }

.lb-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.lb-thumbs[hidden] { display: none; }

.lb-thumbs button {
  width: 64px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.6;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.lb-thumbs button:hover { opacity: 1; }
.lb-thumbs button.active { opacity: 1; border-color: var(--gold); }
.lb-thumbs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 640px) {
  .lb-stage { padding: 60px 8px 8px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 1.7rem; background: rgba(0, 0, 0, 0.45); }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-thumbs button { width: 52px; height: 40px; }
}

/* ===== Galeria de vídeos ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-frame iframe,
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumb {
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-thumb:hover .play-btn { transform: scale(1.08); background: var(--gold-light); }

.video-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-body h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--green-deep);
  font-weight: 600;
}

.video-body a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.video-body a:hover { color: var(--green-deep); }

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ---------- Catálogo: filtros e paginação ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(30, 70, 32, 0.12);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; min-width: 150px; }
.filter-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.filter-field select {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid rgba(34, 32, 27, 0.25);
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}
.filter-field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.filter-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.filter-clear { color: var(--green-deep); font-weight: 600; font-size: 0.9rem; text-decoration: underline; }
.result-count { margin: 0 0 22px; color: var(--ink-soft); font-size: 0.95rem; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.pg-num, .pg-step {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 70, 32, 0.25);
  border-radius: 6px;
  background: #fff;
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: none;
}
.pg-step { gap: 6px; }
a.pg-num:hover, a.pg-step:hover { background: var(--green-deep); color: #fff; }
.pg-num.current { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.pg-step.disabled { opacity: 0.4; cursor: default; }
.pg-gap { color: var(--ink-soft); padding: 0 2px; }

@media (max-width: 560px) {
  .filter-bar { padding: 14px; gap: 12px; }
  .filter-field { flex: 1 1 100%; }
  .filter-actions { width: 100%; justify-content: space-between; }
  .pg-step { padding: 0 12px; font-size: 1.2rem; }
  .pg-label { display: none; }
  .pg-num { min-width: 38px; height: 38px; padding: 0 8px; }
}
#produtos { scroll-margin-top: 80px; }
