/* ============================================================
   Footer.css — Estilos do rodapé | CM Serviços & Soluções
   ============================================================ */

   footer {
    position: relative;
    background: linear-gradient(160deg, #0c1e4a 0%, #1e293b 100%);
    overflow: hidden;
  }
  
  /* Linha decorativa no topo */
  footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,.7), transparent);
  }
  
  /* Fundo decorativo sutil */
  footer::after {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(29,78,216,.07) 0%, transparent 70%);
    pointer-events: none;
  }
  
  /* ── Layout interno do rodapé ──────────────────────────────── */
  .footer-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 24px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
    text-decoration: none;
  }
  .footer-logo-link img {
    width: 88px; height: 88px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    transition: transform .3s ease, box-shadow .3s ease;
    display: block;
    margin: 0 auto;
  }
  .footer-logo-link:hover img {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(59,130,246,.3);
  }
  
  .footer-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -.2px;
  }
  .footer-tagline {
    color: #94a3b8;
    font-size: 13.5px;
    margin: 0 0 24px;
  }
  
  .footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 20px 0 16px;
  }
  
  .footer-copy {
    color: #64748b;
    font-size: 12.5px;
    margin: 0 0 4px;
  }
  .footer-sub {
    color: #475569;
    font-size: 11.5px;
    margin: 0;
  }
  
  /* ── Links sociais ─────────────────────────────────────────── */
  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .9rem;
    padding: .5rem 0;
  }
  
  /* Animação de entrada escalonada */
  .social-links .social-link:nth-child(1) { animation: socialPop .5s cubic-bezier(.34,1.56,.64,1) .1s both; }
  .social-links .social-link:nth-child(2) { animation: socialPop .5s cubic-bezier(.34,1.56,.64,1) .22s both; }
  .social-links .social-link:nth-child(3) { animation: socialPop .5s cubic-bezier(.34,1.56,.64,1) .34s both; }
  
  @keyframes socialPop {
    from { opacity: 0; transform: scale(.4) translateY(16px); }
    to   { opacity: 1; transform: scale(1)  translateY(0); }
  }
  
  /* Pulso suave em loop no estado idle */
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #e2e8f0;
    font-size: 1.2rem;
    text-decoration: none;
    backdrop-filter: blur(8px);
    position: relative;
    transition: transform .28s cubic-bezier(.34,1.56,.64,1),
                background .28s ease,
                border-color .28s ease,
                box-shadow .28s ease,
                color .28s ease;
  }
  
  /* Anel de pulso ao redor do ícone */
  .social-link::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.18);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .28s ease, transform .28s ease;
  }
  
  .social-link:hover::before {
    opacity: 1;
    transform: scale(1.08);
    animation: ringPulse 1.2s ease-in-out infinite;
  }
  
  @keyframes ringPulse {
    0%, 100% { transform: scale(1.08); opacity: .7; }
    50%       { transform: scale(1.18); opacity: .2; }
  }
  
  /* O ícone sobe e gira levemente no hover */
  .social-link i {
    transition: transform .32s cubic-bezier(.34,1.56,.64,1);
    display: block;
  }
  
  .social-link:hover {
    transform: translateY(-5px) scale(1.12);
  }
  
  .social-link:hover i {
    transform: rotate(-12deg) scale(1.15);
  }
  
  .social-link:active {
    transform: scale(.95);
  }
  
  /* Cores individuais no hover */
  .social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 28px rgba(220,39,67,.45), 0 0 0 4px rgba(220,39,67,.12);
  }
  .social-link.instagram:hover::before {
    border-color: rgba(220,39,67,.5);
  }
  
  .social-link.youtube:hover {
    background: #ff0000;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 28px rgba(255,0,0,.45), 0 0 0 4px rgba(255,0,0,.12);
  }
  .social-link.youtube:hover::before {
    border-color: rgba(255,0,0,.5);
  }
  
  .social-link.facebook:hover {
    background: #1877f2;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 28px rgba(24,119,242,.45), 0 0 0 4px rgba(24,119,242,.12);
  }
  .social-link.facebook:hover::before {
    border-color: rgba(24,119,242,.5);
  }