/* =========================
   RESET BÁSICO
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #1f2937;
  background-color: #f9fafb;
  line-height: 1.6;
}

/* Containers & layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   LINKS & BOTÕES
========================= */
a {
  color: inherit;
  text-decoration: none;
}

.btn-primario,
.btn-secundario,
.btn-card,
.btn-whatsapp-header,
.btn-whatsapp-grande {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* Laranja suave / CTA principal */
.btn-primario,
.btn-card {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.btn-primario:hover,
.btn-card:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

/* Botão secundário outline */
.btn-secundario {
  background: transparent;
  color: #334155;
  border: 1.5px solid #cbd5e1;
}

.btn-secundario:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Botão WhatsApp header */
.btn-whatsapp-header {
  background: #16a34a;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.btn-whatsapp-header:hover {
  background: #15803d;
  transform: translateY(-1px);
}

/* Botão WhatsApp grande (contato) */
.btn-whatsapp-grande {
  background: #16a34a;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.btn-whatsapp-grande:hover {
  background: #15803d;
  transform: translateY(-1px);
}

/* =========================
   BARRA TOP & HEADER
========================= */
.barra-topo {
  background: #1e293b;
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 8px 0;
}

.beneficios {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #475569;
}

.nav a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ea580c;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #ea580c;
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* =========================
   HERO
========================= */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 80px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.hero-texto h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-destaque {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 12px;
}

.hero-desc {
  color: #e2e8f0;
  max-width: 540px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.hero-beneficios {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #f1f5f9;
}

.hero-beneficios li::before {
  content: "✓ ";
  color: #fbbf24;
  font-weight: 700;
  margin-right: 6px;
}

.hero-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-imagem img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

/* =========================
   SEÇÃO SOBRE
========================= */
.secao-sobre {
  padding: 72px 0;
  background: #f9fafb;
}

.secao-sobre h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
  text-align: center;
  color: #0f172a;
  font-weight: 700;
}

.secao-sobre p {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Subtítulo padrão */
.subtitulo {
  margin-top: 6px;
  margin-bottom: 36px;
  color: #64748b;
  text-align: center;
  font-size: 1rem;
}

/* =========================
   PRODUTOS EM DESTAQUE
========================= */
.secao-produtos {
  padding: 72px 0;
  background: #ffffff;
}

.secao-produtos h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 700;
}

.grid-produtos {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.card-produto {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 18px 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-produto:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.card-imagem img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.card-produto h3 {
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 600;
}

.card-produto .descricao {
  font-size: 0.9rem;
  color: #64748b;
}

.card-produto .preco {
  font-size: 1.15rem;
  font-weight: 700;
  color: #16a34a;
}

.card-produto .preco span {
  font-weight: 500;
  color: #64748b;
  font-size: 0.9rem;
}

.card-produto .btn-card {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* =========================
   CALCULADORA DE TINTA
========================= */
.secao-calculadora {
  padding: 72px 0;
  background: #f1f5f9;
}

.secao-calculadora h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 700;
}

.calculadora-box {
  margin: 0 auto;
  margin-top: 16px;
  max-width: 900px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.calc-inputs {
  display: grid;
  gap: 14px;
}

.calc-inputs label {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
}

.calc-inputs input,
.calc-inputs select {
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #f9fafb;
}

.calc-inputs input:focus,
.calc-inputs select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: #ffffff;
}

.calc-inputs .btn-primario {
  margin-top: 8px;
  justify-self: flex-start;
}

.resultado-calc {
  background: linear-gradient(135deg, #1e3a8a, #1e293b);
  color: #f1f5f9;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.resultado-calc p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.resultado-calc h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.resultado-calc .btn-secundario {
  background: #ffffff;
  color: #1e3a8a;
  border: none;
}

.resultado-calc .btn-secundario:hover {
  background: #f1f5f9;
}

/* =========================
   ATACADO / REVENDA
========================= */
.secao-atacado {
  padding: 72px 0;
  background: #ffffff;
}

.atacado-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.atacado-imagem img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
}

.atacado-texto h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
  color: #0f172a;
  font-weight: 700;
}

.atacado-texto p {
  color: #475569;
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.lista-atacado {
  list-style: none;
  margin-bottom: 24px;
  color: #334155;
}

.lista-atacado li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.lista-atacado li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: #ea580c;
  font-weight: 700;
  font-size: 1.3rem;
}

/* =========================
   CONTATO
========================= */
.secao-contato {
  padding: 72px 0 80px;
  background: #f9fafb;
}

.secao-contato h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 700;
}

.contato-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px;
  align-items: flex-start;
}

.contato-info {
  display: grid;
  gap: 18px;
  color: #334155;
}

.contato-info .info-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 600;
}

.contato-info .info-item p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.contato-cta {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.25);
  color: #ffffff;
}

.contato-cta h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.contato-cta p {
  font-size: 0.95rem;
  color: #dcfce7;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #f1f5f9;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-imagem {
    order: -1;
    text-align: center;
  }

  .grid-produtos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculadora-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .atacado-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contato-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.9rem;
    gap: 18px;
  }

  .btn-whatsapp-header {
    width: 100%;
    justify-content: center;
  }

  .grid-produtos {
    grid-template-columns: minmax(0, 1fr);
  }

  .calculadora-box {
    padding: 24px 20px;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr);
  }
}
