/* ============ VARIÁVEIS LOCAIS DO FOOTER ============ */
:root {
  --footer-bg: #0d2342;               /* Azul Marinho DIVISUL */
  --footer-text: #ffffff;             /* Texto Claro */
  --footer-text-muted: #cbd5e1;       /* Texto Secundário */
  --footer-link: #cbd5e1;
  --footer-link-hover: #d9383a;       /* Vermelho DIVISUL no Hover */
  --footer-border-top: rgba(255, 255, 255, 0.1);
  --footer-title-line: #d9383a;       /* Traço Vermelho sob os títulos */
  --footer-social-border: rgba(255, 255, 255, 0.2);
  --footer-social-bg-hover: #d9383a;
  --footer-icon-size: 32px;
}

/* ============ BLOCO BUDGET (CTA DE ORÇAMENTO) ============ */
#budget {
  background: linear-gradient(135deg, #0d2342 0%, #1a3860 100%);
  padding: 48px 0;
  width: 100%;
  border-top: 4px solid #d9383a;
}

#budget .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

#budget .content strong {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  max-width: 650px;
}

#budget .content a {
  display: inline-block;
  background-color: #d9383a;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(217, 56, 58, 0.3);
}

#budget .content a:hover {
  background-color: #b8282a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 56, 58, 0.4);
}

/* ============ BLOCO INSTITUCIONAL ============ */
#institutional {
  background-color: #f8fafc;
  padding: 60px 0;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
}

#institutional .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

#institutional .content .info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#institutional .content .info strong {
  font-size: 22px;
  color: #0d2342;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
}

#institutional .content .info strong::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #d9383a;
  margin-top: 8px;
}

#institutional .content .info p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

/* ============ RODAPÉ ============ */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  padding: 60px 0 20px 0;
  width: 100%;
}

footer a {
  color: var(--footer-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--footer-link-hover);
}

footer .content {
  display: flex;
  flex-direction: column;
}

footer .content .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--footer-border-top);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

footer .content .top .location,
footer .content .top .phone {
  display: flex;
  align-items: center;
  gap: 16px;
}

footer .content .top i {
  font-size: var(--footer-icon-size);
  color: #d9383a;
}

footer .content .top span {
  font-size: 18px;
  line-height: 1.5;
  color: var(--footer-text-muted);
}

footer .content .bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

footer .content .bottom .left {
  min-width: 280px;
}

footer .content .bottom .right {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

footer .content .bottom .right .services,
footer .content .bottom .right .workHours {
  flex: 1;
  min-width: 200px;
}

footer .content .bottom strong {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  font-weight: 700;
  color: #ffffff;
}

footer .content .bottom strong::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--footer-title-line);
  margin-top: 10px;
}

footer .content .bottom .list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .content .bottom .list span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--footer-text-muted);
}

footer .content .bottom .list span b {
  color: #ffffff;
}

footer .content .bottom .right .services .list a span {
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

footer .content .bottom .right .services .list a:hover span {
  transform: translateX(4px);
  color: #d9383a;
}

footer .content .bottom .right .services .list a span i {
  font-size: 16px;
  color: #d9383a;
}

footer .content .bottom .left .socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

footer .content .bottom .left .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--footer-social-border);
  border-radius: 6px;
  color: #ffffff;
  transition: all 0.3s ease;
}

footer .content .bottom .left .socials a i {
  font-size: 20px;
}

footer .content .bottom .left .socials a:hover {
  background-color: var(--footer-social-bg-hover);
  border-color: #d9383a;
}

footer .content .copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-border-top);
  font-size: 13px;
  color: var(--footer-text-muted);
  flex-wrap: wrap;
  gap: 15px;
}

footer .content .copyright .dev {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .content .copyright .dev img {
  max-height: 20px;
  width: auto;
}

/* Floating WhatsApp Button */
#whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0d2342;
  border-top: 2px solid #d9383a;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 10000;
  font-size: 14px;
}

#cookie-banner a {
  color: #d9383a;
  text-decoration: underline;
}

#accept-cookies {
  background-color: #d9383a;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}

#accept-cookies:hover {
  background-color: #b8282a;
}

/* Responsividade */
@media (max-width: 768px) {
  #budget .content {
    flex-direction: column;
    text-align: center;
  }

  #budget .content strong {
    font-size: 22px;
  }

  #institutional .content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer .content .top {
    flex-direction: column;
    align-items: flex-start;
  }

  footer .content .bottom {
    flex-direction: column;
    gap: 30px;
  }

  footer .content .bottom .right {
    flex-direction: column;
    gap: 30px;
  }

  footer .content .copyright {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}