/* ==========================================================
   BH PORTA PALETE — Design System
   Cores da marca: laranja (#F26A21) e azul (#1B5FAE)
   ========================================================== */

:root {
  --color-orange: #F26A21;
  --color-orange-dark: #D4551A;
  --color-blue: #1B5FAE;
  --color-blue-dark: #134580;
  --color-dark: #16181D;
  --color-text: #2B2E33;
  --color-muted: #6B7280;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F7FA;
  --color-border: #E5E8EC;
  --color-whatsapp: #25D366;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, 0.16);

  --container-width: 1180px;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow-text {
  display: inline-block;
  color: var(--color-orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 { color: var(--color-dark); margin: 0; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; }
p { margin: 0; }

section { padding: 5rem 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-whatsapp:hover { background: #1fb855; }

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}
.btn-outline:hover { background: var(--color-blue); color: #fff; }

.btn-block-cta {
  background: var(--color-orange);
  color: #fff;
  width: 100%;
}
.btn-block-cta:hover { background: var(--color-orange-dark); }

.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

.wa-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 24px;
}
.brand-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo img { height: 44px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--color-orange); }

.header-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #ffffff 100%);
  padding: 4.5rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(242, 106, 33, 0.12);
  color: var(--color-orange-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1.1rem; }
.hero-sub { color: var(--color-muted); font-size: 1.08rem; margin-bottom: 1.8rem; max-width: 560px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }

.hero-diferenciais-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.hero-diferencial-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-orange);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-diferencial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.hero-diferencial-card h4 {
  font-size: 1.1rem;
  color: var(--color-blue-dark);
  margin-bottom: 0.5rem;
}
.hero-diferencial-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }

/* ---------- Sobre / Benefícios ---------- */
.sobre-grid, .investir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.investir-grid { grid-template-columns: 1fr 1fr; }
.investir-grid .investir-img { order: -1; }

.section-alt { background: var(--color-bg-alt); }

.img-rounded { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.img-rounded img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Produtos ---------- */
.section-header { max-width: 680px; margin-bottom: 3rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.produto-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.produto-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.produto-img { aspect-ratio: 4/3; overflow: hidden; background: var(--color-bg-alt); }
.produto-img img { width: 100%; height: 100%; object-fit: cover; }
.produto-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.produto-body h3 { font-size: 1.1rem; }
.produto-body p { color: var(--color-muted); font-size: 0.92rem; flex: 1; }

/* ---------- CTA Final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-final h2 { color: #fff; margin-bottom: 1rem; }
.cta-final p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }

/* ---------- Contato ---------- */
.contato-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.contato-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contato-card h4 { margin-bottom: 0.3rem; }
.contato-card a { color: var(--color-blue); font-weight: 700; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-logo-img {
  background: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.footer-brand p { max-width: 340px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.2rem;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ---------- Botão flutuante WhatsApp ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  border: none;
  cursor: pointer;
}
.floating-whatsapp svg { width: 30px; height: 30px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero-grid, .sobre-grid, .investir-grid { grid-template-columns: 1fr; }
  .investir-grid .investir-img { order: 0; }
  .hero-diferenciais-full, .produtos-grid { grid-template-columns: repeat(2, 1fr); }
  
  .contato-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  section { padding: 3.2rem 0; }
  .hero-diferenciais-full, .produtos-grid { grid-template-columns: 1fr; }
}
