/* ========================================
   FOOTER DESKTOP PROFISSIONAL - ENERGIA CERTA BRASIL
   CSS desktop APENAS para desktop (>768px)
   ======================================== */

@media (min-width: 769px) {
  /* ========================================
     FOOTER DESKTOP BASE
     ======================================== */
  .footer {
    background: linear-gradient(135deg, #2e3d6a 0%, #3d4c7a 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0 1rem 0;
  }

  .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  }

  /* ========================================
     CONTAINER DESKTOP
     ======================================== */
  .footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  /* ========================================
     FOOTER DESKTOP COMPACTO
     ======================================== */
  .footer-desktop {
    display: block;
  }

  /* ========================================
     LOGO E DESCRIÇÃO - DESTAQUE ESPECIAL
     ======================================== */
  .footer-logo-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-logo {
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .footer-logo img {
    height: 60px;
    width: auto;
    filter: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  }

  .footer-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  }

  .footer-description {
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ========================================
     CONTATO DESKTOP - REORGANIZADO
     ======================================== */
  .footer-contact {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-contact-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    min-height: 80px;
    justify-content: center;
  }

  .footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
  }

  .footer-contact-item i {
    color: #fbbf24;
    font-size: 1.1rem;
    min-width: 20px;
    flex-shrink: 0;
  }

  .footer-contact-item a,
  .footer-contact-item span {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
    flex: 1;
    word-wrap: break-word;
  }

  .footer-contact-item a:hover {
    color: #fbbf24;
  }

  /* ========================================
     CTA DESKTOP - DESTAQUE
     ======================================== */
  .footer-cta-social-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
  }

  .footer-cta {
    text-align: center;
  }

  .footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    border: none;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  }

  /* ========================================
     LINKS SOCIAIS DESKTOP - REORGANIZADO
     ======================================== */
  .footer-social {
    display: flex;
    gap: 1.25rem;
  }

  .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Cores específicas para cada rede social */
  .footer-social a[title*="Facebook"] {
    background: linear-gradient(135deg, #1877f2, #0d6efd);
    border-color: #1877f2;
  }

  .footer-social a[title*="Instagram"] {
    background: linear-gradient(135deg, #e4405f, #c13584);
    border-color: #e4405f;
  }

  .footer-social a[title*="LinkedIn"] {
    background: linear-gradient(135deg, #0077b5, #005885);
    border-color: #0077b5;
  }

  .footer-social a[title*="YouTube"] {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-color: #ff0000;
  }

  .footer-social a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
  }

  .footer-social i {
    font-size: 1.4rem;
  }

  /* ========================================
     FOOTER INFERIOR DESKTOP - REORGANIZADO
     ======================================== */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 0 1rem;
  }

  .footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: left;
  }

  .footer-legal {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    text-align: right;
  }

  .footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-legal a:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
  }

  /* ========================================
     RESPONSIVIDADE DESKTOP
     ======================================== */
  @media (min-width: 1024px) {
  .footer .container {
    max-width: 1400px;
    padding: 0 3rem;
  }
  
  .footer-logo-section {
    max-width: 700px;
    min-height: 110px;
    padding: 1.25rem;
  }
  
  .footer-contact {
    max-width: 900px;
  }
  
  .footer-cta-button {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .footer-copyright {
    text-align: center;
  }
  
  .footer-legal {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .footer-cta-social-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-contact-grid-bottom {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-contact-item {
    min-height: 70px;
    padding: 0.875rem;
  }
  
  .footer-logo-section {
    min-height: 100px;
    padding: 1rem;
    max-width: 100%;
  }
  
  .footer-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

  @media (min-width: 1200px) {
    .footer .container {
      max-width: 1600px;
      padding: 0 4rem;
    }
    
    .footer-logo-section {
      max-width: 800px;
    }
    
    .footer-contact {
      max-width: 1000px;
    }
  }

  /* ========================================
     ACESSIBILIDADE DESKTOP
     ======================================== */
  .footer-social a:focus,
  .footer-legal a:focus,
  .footer-cta-button:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
  }

  /* ========================================
     ANIMAÇÕES DESKTOP
     ======================================== */
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .footer-logo-section {
    animation: slideInUp 0.6s ease forwards;
  }

  .footer-contact {
    animation: slideInUp 0.6s ease 0.1s forwards;
    opacity: 0;
  }

  .footer-cta {
    animation: slideInUp 0.6s ease 0.2s forwards;
    opacity: 0;
  }

  .footer-social {
    animation: slideInUp 0.6s ease 0.3s forwards;
    opacity: 0;
  }

  .footer-bottom {
    animation: slideInUp 0.6s ease 0.4s forwards;
    opacity: 0;
  }
}

/* ========================================
   MOBILE - GARANTIR QUE NÃO INTERFIRA
   ======================================== */
@media (max-width: 768px) {
  /* Garantir que elementos desktop não apareçam no mobile */
  .footer-desktop {
    display: none !important;
  }
}
