.custom-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
  color: #ffffff;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

/* Efeito decorativo de fundo */
.custom-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary, #007bff), var(--secondary, #28a745), var(--primary, #007bff));
}

.custom-footer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 123, 255, 0.03) 0%, transparent 70%);
  transform: rotate(-45deg);
  pointer-events: none;
}

.custom-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* GRID PRINCIPAL */
.custom-footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

/* SEÇÃO LOGO + FRASE INSTITUCIONAL*/
.custom-footer-brand {
  animation: fadeInLeft 0.8s ease-out;
}

.custom-footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.logo-frame {
  width: 120px;
  height: 100px;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* IMG no hero (igual do footer) */
.logo-frame-hero {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-frame:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

/* IMG no hero (igual do footer) */
.logo-frame-hero:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.logo-frame img {
  width: 100%;
  height: 120%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

/* IMG no hero (igual do footer) */
.logo-frame-hero img {
  width: 100%;
  height: 120%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.custom-footer-brand h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-footer-tagline {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.custom-footer-tagline::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 2rem;
  color: var(--primary, #007bff);
  font-family: Georgia, serif;
}

.custom-footer-tagline::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary, #007bff);
  font-family: Georgia, serif;
  margin-left: 4px;
  vertical-align: middle;
}


/* SEÇÃO NAVEGAÇÃO */
.custom-footer-navigation {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.custom-footer-section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.custom-footer-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary, #007bff), var(--secondary, #28a745));
  border-radius: 1px;
}

.custom-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-footer-menu li {
  margin-bottom: 15px;
}

.custom-footer-menu a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.custom-footer-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary, #007bff);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.custom-footer-menu a:hover::before {
  transform: scaleY(1);
}

.custom-footer-menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
  padding-left: 20px;
}

/* SEÇÃO CONTATO */
.custom-footer-contact {
  animation: fadeInRight 0.8s ease-out 0.4s both;
}

.custom-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: transparent;
  border-radius: 12px;
  border: none;
  transition: all 0.3s ease;
}

.custom-contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.custom-contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  color: #ffffff;
  flex-shrink: 0;
}

.custom-contact-icon.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.custom-contact-icon.email {
  background: linear-gradient(135deg, #EA4335, #D33B2C);
}

.custom-contact-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.custom-contact-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 5px 0;
}

.custom-contact-info p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.custom-contact-item a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
}

.custom-contact-item:hover .custom-contact-icon {
  transform: scale(1.1);
}

/* LINHA DE COPYRIGHT */

.custom-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

.custom-footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* ANIMAÇÕES */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVIDADE*/
@media (max-width: 992px) {
  .custom-footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .custom-footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
  }

  .custom-footer-logo {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .custom-footer {
    padding: 60px 0 0;
  }

  .custom-footer-container {
    padding: 0 15px;
  }

  .custom-footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .custom-footer-brand,
  .custom-footer-navigation,
  .custom-footer-contact {
    animation: fadeInUp 0.8s ease-out;
  }

  .custom-footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
  }

  .logo-frame {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .logo-frame:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
  }

  .logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
  }

  .custom-footer-brand h3 {
    font-size: 1.6rem;
  }

  .custom-footer-tagline {
    padding-left: 0;
    max-width: 350px;
    margin: 20px auto 0;
  }

  .custom-footer-section-title {
    text-align: center;
  }

  .custom-footer-menu a:hover {
    transform: none;
    padding-left: 15px;
  }

  .custom-contact-item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .custom-contact-icon {
    margin-right: 15px;
  }

  .custom-contact-info {
    text-align: left;
  }

  .custom-contact-info h4,
  .custom-contact-info p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .custom-footer {
    padding: 50px 0 0;
  }

  .custom-footer-container {
    padding: 0 10px;
  }

  .custom-footer-content {
    gap: 35px;
  }

  .custom-footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
  }

  .logo-frame {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .logo-frame:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
  }

  .logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
  }

  .custom-footer-brand h3 {
    font-size: 1.4rem;
  }

  .custom-footer-tagline {
    font-size: 1rem;
    max-width: 280px;
  }

  .custom-footer-section-title {
    font-size: 1.2rem;
  }

  .custom-contact-item {
    padding: 12px;
  }

  .custom-contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .custom-contact-info h4 {
    font-size: 0.9rem;
  }

  .custom-contact-info p {
    font-size: 0.8rem;
  }

  .custom-footer-bottom {
    padding: 25px 0;
  }

  .custom-footer-bottom p {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .custom-footer-tagline {
    padding-left: 15px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.45;
  }

  .custom-footer-tagline::before {
    font-size: 1.4rem;
    left: 6px;
    top: 0;
    transform: translateY(-4px);
    z-index: 0;
    opacity: 0.95;
  }
}

.custom-footer-menu a:focus,
.custom-contact-item:focus-within {
  outline: 2px solid var(--primary, #007bff);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

  .custom-footer *,
  .custom-footer *::before,
  .custom-footer *::after {
    animation: none !important;
    transition: none !important;
  }
}