/* Topbel Móveis — Folha de estilo principal */

:root {
  --navy: #0B2E52;
  --navy-dark: #071F38;
  --navy-darker: #051627;
  --gold: #C9A24B;
  --gold-dark: #B4913F;
  --ivory: #FBF9F5;
  --ink: #1A1A1A;
  --text-muted: #4A4A4A;
  --line: #E4E0D4;
  --ph-bg1: #ECE8DE;
  --ph-bg2: #DAD3C1;
  --ph-text: #8A8578;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--ivory);
  color: var(--ink);
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; margin: 0; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--navy-dark);
  color: #E7E1D2;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
}

/* Header / nav */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
header.site-header img.logo { height: 44px; width: auto; }
nav.main-nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
nav.main-nav a { font-size: 15px; font-weight: 500; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: rgba(11,46,82,0.06); }

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.hero .hero-text {
  flex: 1 1 0;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 64px 40px;
}
.hero .hero-image { flex: 1 1 0; min-width: 320px; min-height: 420px; }
.hero .hero-photo-box {
  align-self: center;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  overflow: hidden;
  margin: 24px 40px 40px;
  border-radius: 10px;
}
.hero-photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: 42px; line-height: 1.18; color: var(--navy); }
.hero p.lead { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 640px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.breadcrumb { font-size: 13px; color: var(--ph-text); }

/* Placeholder image box (swap for real photos) */
.ph {
  background: linear-gradient(135deg, var(--ph-bg1), var(--ph-bg2));
  border: 1px solid #D8D2C1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ph-text);
  width: 100%;
  height: 100%;
  min-height: 220px;
}
.ph span { font-size: 13px; font-weight: 500; text-align: center; padding: 0 16px; }

/* Section: nicho cards */
section.nichos { padding: 72px 24px; }
section.nichos h2 { font-size: 30px; color: var(--navy); text-align: center; margin-bottom: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1280px; margin: 0 auto; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-3px); }
.card .ph { aspect-ratio: 1 / 1; height: auto; min-height: 0; }
.card-photo { aspect-ratio: 1 / 1; height: auto; min-height: 0; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card-body h3 { font-size: 19px; color: var(--navy); }
.card-body p { font-size: 14px; color: #6A6A6A; line-height: 1.5; }
.card-body .link-gold { font-size: 14px; font-weight: 600; color: var(--gold); margin-top: auto; }

/* Missão / Visão */
section.missao-visao { padding: 72px 24px; background: #fff; }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1000px; margin: 0 auto; }
.mv-card { border: 1px solid var(--line); border-radius: 8px; padding: 32px; background: var(--ivory); }
.mv-card .eyebrow { display: block; margin-bottom: 10px; }
.mv-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 14px; }
.mv-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Valores */
section.valores { background: var(--navy); padding: 64px 24px; }
section.valores h2 { font-size: 28px; color: var(--ivory); text-align: center; margin-bottom: 36px; }
.valores-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.valor-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.valor-item span { font-size: 14px; color: var(--ivory); font-weight: 500; line-height: 1.4; }

/* Depoimentos */
section.depoimentos { padding: 64px 24px; background: var(--ivory); }
section.depoimentos h2 { font-size: 28px; color: var(--navy); text-align: center; margin-bottom: 36px; }
.depoimentos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.depoimento-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.depoimento-card .depoimento-img { width: 100%; height: 160px; object-fit: contain; background: var(--ivory); border-radius: 6px; border: 1px solid var(--line); }
.depoimento-card .stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.depoimento-card p.quote { font-size: 14px; color: var(--text-muted); line-height: 1.55; font-style: italic; flex-grow: 1; }
.depoimento-card .cliente-nome { font-size: 14px; font-weight: 600; color: var(--navy); }

/* Diferenciais */
section.diferenciais { background: var(--navy); padding: 64px 24px; }
section.diferenciais h2 { font-size: 28px; color: var(--ivory); text-align: center; margin-bottom: 36px; }
.dif-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1280px; margin: 0 auto; }
.dif-item h3 { font-size: 16px; color: var(--ivory); font-family: 'Montserrat', sans-serif; font-weight: 600; margin-bottom: 6px; }
.dif-item p { font-size: 13.5px; color: #B8C2CF; line-height: 1.5; }
.dif-item svg { margin-bottom: 10px; }

/* Prova social */
section.prova-social { padding: 64px 24px; }
section.prova-social h2 { font-size: 28px; color: var(--navy); text-align: center; margin-bottom: 32px; }
.social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1280px; margin: 0 auto; }
.social-grid .ph { min-height: 220px; }
.social-photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; }
.social-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* CTA final */
section.cta-final {
  background: var(--navy-dark);
  padding: 64px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
section.cta-final .cta-text { max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
section.cta-final h2 { font-size: 30px; color: var(--ivory); }
section.cta-final p { font-size: 16px; color: #B8C2CF; line-height: 1.6; }

.contact-card {
  width: 100%;
  max-width: 420px;
  background: var(--navy);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card input, .contact-card select, .contact-card textarea {
  height: 44px;
  background: #10395F;
  border: none;
  border-radius: 4px;
  padding: 0 16px;
  color: var(--ivory);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}
.contact-card textarea { height: 90px; padding-top: 12px; resize: vertical; }
.contact-card ::placeholder { color: #8FA3B8; }
.contact-card .btn-gold { justify-content: center; margin-top: 4px; }

/* Footer */
footer.site-footer { background: var(--navy-darker); padding: 56px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1280px; margin: 0 auto; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { font-size: 14px; color: var(--ivory); font-family: 'Montserrat', sans-serif; font-weight: 600; }
.footer-col a, .footer-col span { font-size: 14px; color: #7C8BA0; }
.footer-logo-chip { background: var(--ivory); display: inline-flex; padding: 8px 14px; border-radius: 4px; width: fit-content; }
.footer-logo-chip img { height: 30px; width: auto; }
.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  border-top: 1px solid #14263A;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #5A6B80;
}

/* Filtro de categorias (página Produtos) */
.filtros { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  background: #fff;
  cursor: pointer;
}
.chip.active { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.product-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.product-card .ph { aspect-ratio: 1 / 1; height: auto; min-height: 0; }
.product-info { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-info .name { font-size: 15px; font-weight: 600; color: var(--ink); }
.product-info .meta { font-size: 13px; color: var(--ph-text); }
.prod-btn { font-size: 13px; font-weight: 600; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 4px; padding: 9px 16px; white-space: nowrap; }
.prod-btn:hover { background: var(--navy); color: var(--ivory); }

/* Responsivo */
@media (max-width: 960px) {
  nav.main-nav { order: 3; width: 100%; justify-content: center; }
  .card-grid, .dif-grid, .social-grid, .product-grid, .valores-grid, .depoimentos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .card-grid, .dif-grid, .social-grid, .product-grid, .valores-grid, .mv-grid, .depoimentos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section.cta-final { flex-direction: column; text-align: center; }
  section.cta-final .cta-text { align-items: center; }
  .hero .hero-photo-box { aspect-ratio: 1 / 1; margin: 0 20px 32px; min-height: 0; }
  nav.main-nav { gap: 0; justify-content: space-between; width: 100%; }
  nav.main-nav a { font-size: 13px; white-space: nowrap; }
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.whatsapp-float svg { width: 32px; height: 32px; }

@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
