/* Footer Afrofuturista
 * Redesenhado para uma experiência visual mais imersiva
 * Versão 2.0
 */

/* Animações específicas para o footer */
@keyframes cosmicGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); }
  100% { transform: scale(1); }
}

@keyframes borderFlow {
  0% { width: 0; left: 0; right: auto; }
  50% { width: 100%; left: 0; right: auto; }
  51% { width: 100%; right: 0; left: auto; }
  100% { width: 0; right: 0; left: auto; }
}

/* Estilos base para o footer */


footer {
  position: relative;
  background: linear-gradient(145deg, #1A1F3A, #2C3E7C);
  color: var(--text-light);
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(107, 70, 193, 0.5), transparent);
}

footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(107, 70, 193, 0.05) 1px, transparent 5px),
    radial-gradient(circle at 75% 75%, rgba(44, 62, 124, 0.05) 1px, transparent 5px),
    radial-gradient(circle at 50% 50%, rgba(31, 155, 245, 0.05) 1px, transparent 5px);
  background-size: 100px 100px;
  pointer-events: none;
  z-index: 1;
}

footer ul {
  padding: 0;
  margin: 0;
}

footer li {
  list-style: none;
  position: relative;
  margin-bottom: 12px;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

footer a:focus,
footer a:hover {
  text-decoration: none;
  color: #6B46C1;
  padding-left: 5px;
}

footer a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #6B46C1;
  transition: all 0.3s ease;
}

footer a:hover::before {
  width: 100%;
}

footer a:focus {
  outline: none;
}

footer img {
  max-width: 100%;
  transition: all 0.3s ease;
}

footer img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(107, 70, 193, 0.4));
}

footer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 15px;
}

footer h4 {
  font-family: 'Heebo', sans-serif;
  margin: 0 0 20px 0;
  font-weight: 700;
  padding: 0;
  color: var(--text-light) !important;
  font-size: 20px;
  position: relative;
  display: inline-block;
}

footer h4::after {
  display: none;
}

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

footer .no-padding {
  padding: 0 !important;
}

/* Botão de volta ao topo */
footer .go_top {
  line-height: 45px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #1A1F3A, #2C3E7C);
  color: var(--text-light);
  position: fixed;
  box-shadow: 0 5px 15px rgba(26, 31, 58, 0.3);
  border-radius: 50%;
  right: 30px;
  z-index: 111;
  bottom: 30px;
  text-align: center;
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(107, 70, 193, 0.2);
}

footer .go_top:hover {
  background: linear-gradient(135deg, #2C3E7C, #6B46C1);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 68, 204, 0.3);
}

footer .go_top span {
  display: inline-block;
  transition: all 0.3s ease;
}

footer .go_top:hover span {
  animation: pulseIcon 1.5s infinite;
}

/* Layout principal do footer */
footer .footer-big {
  padding: 100px 0 60px 0;
  position: relative;
  z-index: 2;
}

footer .footer-big .footer-widget {
  margin-bottom: 40px;
  position: relative;
}

footer .footer--light {
  background: transparent;
}

footer .footer-big .footer-menu ul li a,
.footer-big p,
.footer-big ul li {
  color: var(--text-muted);
}

/* Menu do footer */
.footer-menu {
  padding-left: 48px;
}

.footer-menu ul li a {
  font-size: 15px;
  line-height: 32px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-menu ul li a:hover {
  color: #6B46C1;
  transform: translateX(5px);
}

.footer-menu--1 {
  width: 100%;
}

.footer-widget-title {
  color: var(--text-muted) !important;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  text-fill-color: unset;
  line-height: 1.4;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

/* Mini footer - copyright section */
.mini-footer {
  background: linear-gradient(90deg, #1A1F3A, #2C3E7C);
  text-align: center;
  padding: 25px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(107, 70, 193, 0.1);
}

.mini-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(107, 70, 193, 0.3), transparent);
}

.mini-footer p {
  margin: 0;
  line-height: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.mini-footer p a {
  color: #6B46C1;
  font-weight: 500;
}

.mini-footer p a:hover {
  color: #2C3E7C;
  text-decoration: none;
}

/* Sobre widget */
.widget-about img {
  display: block;
  margin-bottom: 30px;
  max-width: 120px;
}

.widget-about p {
  font-weight: 400;
}

.widget-about .contact-details {
  margin: 30px 0 0 0;
}

.widget-about .contact-details li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.widget-about .contact-details li:last-child {
  margin-bottom: 0;
}

.widget-about .contact-details li span {
  padding-right: 12px;
  color: #6B46C1;
}

.widget-about .contact-details li a {
  color: var(--text-muted);
}

.widget-about .contact-details li a:hover {
  color: #6B46C1;
}

/* Social icons */
.social_icons {
  margin-top: 20px;
}

.social_icons ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social_icons ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(107, 70, 193, 0.1);
}

.social_icons ul li a:hover {
  background: rgba(107, 70, 193, 0.1);
  transform: translateY(-5px);
  border-color: rgba(107, 70, 193, 0.3);
  box-shadow: 0 5px 15px rgba(26, 31, 58, 0.3);
}

.social_icons ul li a img {
  width: 20px;
  height: 20px;
  filter: invert(100%);
  transition: all 0.3s ease;
}

.social_icons ul li a:hover img {
  filter: invert(80%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(110%);
}

/* Responsividade */
@media (max-width: 991px) {
  .footer-menu {
    padding-left: 0;
  }
  
  footer .footer-big {
    padding: 70px 0 40px 0;
  }
  
  .widget-about img {
    max-width: 100px;
  }
}

@media (max-width: 768px) {
  footer .footer-big {
    padding: 50px 0 30px 0;
  }
  
  .footer-widget-title {
    font-size: 18px;
  }
  
  footer h4 {
    font-size: 18px;
  }
  
  .social_icons ul li a {
    width: 35px;
    height: 35px;
  }
  
  .social_icons ul li a img {
    width: 18px;
    height: 18px;
  }
  
  footer .go_top {
    width: 40px;
    height: 40px;
    line-height: 40px;
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  footer .footer-big {
    padding: 40px 0 20px 0;
  }
  
  .footer-menu ul li a {
    font-size: 14px;
    line-height: 28px;
  }
  
  .mini-footer {
    padding: 20px 0;
  }
  
  .mini-footer p {
    font-size: 13px;
  }
  
  .social_icons ul {
    gap: 10px;
  }
}

/* Modais */
.dialog-sugestion,
.dialog-doubts-suggestions {
  width: 600px;
  min-height: 400px;
  border: none;
  padding: 30px 25px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  color: var(--text-light);
  background: linear-gradient(145deg, rgba(107, 70, 193, 0.95), rgba(26, 31, 58, 0.95));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(107, 70, 193, 0.2);
  z-index: 1000;
}

.dialog-sugestion::before,
.dialog-doubts-suggestions::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #6B46C1, #2C3E7C, #1A1F3A, #444B8C);
  z-index: -1;
  border-radius: calc(var(--border-radius-lg) + 1px);
  opacity: 0.3;
  background-size: 400% 400%;
  animation: cosmicGradient 15s ease infinite;
}

.dialog-sugestion[open],
.dialog-doubts-suggestions[open] {
  opacity: 1;
  animation: fadeIn 0.5s ease-out;
}

.dialog-sugestion::backdrop,
.dialog-doubts-suggestions::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.open-dialog-sugestion,
.open-dialog-doubts-suggestions {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.close-dialog-sugestion,
.close-dialog-doubts-suggestions {
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  color: var(--text-light) !important;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.close-dialog-sugestion:hover,
.close-dialog-doubts-suggestions:hover {
  background: rgba(255, 69, 85, 0.2);
  transform: rotate(90deg);
}

/* Conteúdo dos modais */
.modalbodySuggest {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.headerModal {
  width: 100%;
  text-align: center;
  margin: 0 0 30px 0;
  padding: 0;
  position: relative;
}

.headerModal h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  background: linear-gradient(to right, var(--text-light), #6B46C1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.headerModal::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}

.mainModal {
  width: 100%;
  min-height: 250px;
  margin-top: 20px;
}

.inputContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.inputContainer label {
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 15px;
}

.inputContainer input,
.inputContainer textarea {
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  color: var(--text-light);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 15px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.inputContainer input:focus,
.inputContainer textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(107, 70, 193, 0.3);
  box-shadow: 0 0 0 2px rgba(107, 70, 193, 0.1);
}

.inputContainer textarea {
  min-height: 120px;
  resize: vertical;
}

.inputContainer input[type="file"] {
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.inputContainer input[type="file"]:hover {
  background: rgba(255, 255, 255, 0.08);
}

.containerButtons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.containerButtons button {
  padding: 12px 20px;
  background: linear-gradient(135deg, #1A1F3A, #2C3E7C);
  color: var(--text-light);
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  max-width: 150px;
  min-height: 48px;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.containerButtons button:hover {
  background: linear-gradient(135deg, #2C3E7C, #6B46C1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 31, 58, 0.3), 0 0 10px rgba(107, 70, 193, 0.2);
}

.containerButtons button img {
  width: 20px;
  height: auto;
  transition: all 0.3s ease;
}

.containerButtons button:hover img {
  transform: rotate(-15deg);
}

#CloseButton,
#CloseButtonDoubtsSuggestions {
  padding: 12px 20px;
  background: transparent;
  color: var(--text-light);
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(107, 70, 193, 0.3);
  cursor: pointer;
  min-height: 48px;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#CloseButton:hover,
#CloseButtonDoubtsSuggestions:hover {
  background: rgba(255, 69, 85, 0.15);
  border-color: rgba(255, 69, 85, 0.4);
  color: #FF4555;
}

/* Animações para os botões */
.containerButtons button:hover {
  transform: scale(1.05);
}

/* Toast notifications */
.toast-container {
  z-index: 2000;
}

#FormToast {
  background-color: rgba(179, 58, 58, 0.9) !important;
  color: var(--text-light);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 69, 85, 0.3);
  box-shadow: 0 5px 15px rgba(26, 31, 58, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#toastMessage {
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Animações utilizadas nos modais */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Separador */
.separator {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
  margin: 30px 0;
  opacity: 0.6;
}

/* Copyright section - redesenhada */
.copyright {
  text-align: center;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  letter-spacing: 1px;
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(107, 70, 193, 0.3), transparent);
}

.metaportal_fn_totop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 111;
  background: linear-gradient(135deg, #2C3E7C, #6B46C1);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}
.metaportal_fn_totop:hover {
  background: linear-gradient(135deg, #6B46C1, #2C3E7C);
  color: #fff;
  transform: translateY(-5px) scale(1.08);
}
.metaportal_fn_totop .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.metaportal_fn_totop .text {
  display: none;
}
@media (max-width: 600px) {
  .metaportal_fn_totop {
      right: 15px;
      bottom: 15px;
      width: 40px;
      height: 40px;
  }
}

footer .container {
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
footer .row {
  width: 100%;
  justify-content: center !important;
}