/* Drogaria Minas Forte — complemento ao Bootstrap */

:root {
  --mf-verde: #0d6b4d;
  --mf-verde-claro: #159a6e;
  --mf-azul: #0b5ed7;
  --mf-azul-escuro: #084298;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-section {
  background: linear-gradient(135deg, var(--mf-verde) 0%, #0a5a42 45%, var(--mf-azul) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.section-title {
  color: var(--mf-verde);
  font-weight: 700;
}

.card-servico {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(13, 107, 77, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.card-servico:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(13, 107, 77, 0.12);
}

.card-servico .icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(13, 107, 77, 0.12), rgba(11, 94, 215, 0.1));
  color: var(--mf-verde);
}

/* Banner promocional institucional (full width, responsivo) */
.mf-promo-banner-wrap {
  width: 100%;
  line-height: 0;
  background: linear-gradient(180deg, #0a4d6b 0%, #0c2030 55%, #0a1620 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mf-promo-banner {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  /* Largura total; altura limitada para não dominar o mobile */
  max-height: clamp(120px, 42vw, 300px);
}

@media (min-width: 576px) {
  .mf-promo-banner {
    max-height: min(320px, 36vw);
  }
}

@media (min-width: 992px) {
  .mf-promo-banner {
    max-height: min(400px, 30vw);
  }
}

@media (min-width: 1400px) {
  .mf-promo-banner {
    max-height: 420px;
  }
}

.footer-site {
  background: linear-gradient(180deg, #1a2e35 0%, #0f1f24 100%);
}

.btn-mf-primary {
  background-color: var(--mf-verde);
  border-color: var(--mf-verde);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
}

.btn-mf-primary:hover {
  background-color: var(--mf-verde-claro);
  border-color: var(--mf-verde-claro);
  color: #fff;
}

.btn-mf-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
}

.btn-mf-outline:hover {
  background: #fff;
  color: var(--mf-verde);
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}
