/* Mobile footer v2.15 — reconstrução isolada conforme referência aprovada */
.mobile-footer-v215{display:none}
.footer-social-title--mobile{display:none}
.premium-footer__cv-access{display:none}

@media (max-width:680px){
  .premium-footer{
    width:100%!important;
    margin:0!important;
    padding:18px max(12px,env(safe-area-inset-right)) max(22px,calc(16px + env(safe-area-inset-bottom))) max(12px,env(safe-area-inset-left))!important;
    box-sizing:border-box!important;
    background:linear-gradient(180deg,#030817 0%,#05091b 52%,#020611 100%)!important;
    overflow:visible!important;
  }
  .premium-footer>.premium-footer__panel{display:none!important}
  .mobile-footer-v215{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0;
    box-sizing:border-box;
    overflow:hidden;
    border:1px solid rgba(64,162,255,.74);
    border-radius:22px;
    background:
      radial-gradient(circle at 88% 13%,rgba(75,51,255,.16),transparent 28%),
      radial-gradient(circle at 16% 72%,rgba(0,156,255,.10),transparent 31%),
      linear-gradient(165deg,rgba(8,17,45,.98),rgba(3,8,25,.99) 58%,rgba(14,7,35,.98));
    box-shadow:0 0 0 1px rgba(147,62,255,.18) inset,0 20px 48px rgba(0,0,0,.48),0 0 30px rgba(33,133,255,.12);
    color:#fff;
  }
  .mobile-footer-v215 *{box-sizing:border-box;min-width:0}
  .mobile-footer-v215__topbar{
    display:flex;align-items:center;justify-content:space-between;
    min-height:74px;padding:13px 16px;
    border-bottom:1px solid rgba(126,64,255,.72);
    background:rgba(3,8,27,.86);
  }
  .mobile-footer-v215__brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
  .mobile-footer-v215__brand>span{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(99,114,255,.5);border-radius:12px;background:rgba(18,21,58,.88);box-shadow:0 0 16px rgba(45,113,255,.16)}
  .mobile-footer-v215__brand img{width:28px;height:28px;object-fit:contain}
  .mobile-footer-v215__brand strong{font-size:.9rem;letter-spacing:.13em}
  .mobile-footer-v215__menu{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(77,133,255,.45);border-radius:12px;background:rgba(11,20,48,.82);color:#dce8ff;font-size:1.35rem;box-shadow:inset 0 0 16px rgba(50,112,255,.08)}
  .mobile-footer-v215__content{padding:26px 20px 18px}
  .mobile-footer-v215__section{padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid rgba(91,115,192,.19)}
  .mobile-footer-v215__section h3{position:relative;margin:0 0 18px;color:#eaf2ff;font-size:.86rem;letter-spacing:.09em;text-transform:uppercase}
  .mobile-footer-v215__section h3:after{content:"";display:block;width:38px;height:3px;margin-top:7px;border-radius:999px;background:linear-gradient(90deg,#29b6ff,#a63dff);box-shadow:0 0 10px rgba(75,128,255,.35)}
  .mobile-footer-v215__socials{display:grid;grid-template-columns:repeat(4,48px);gap:10px;align-items:center}
  .mobile-footer-v215__socials a,.mobile-footer-v215__socials span{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;border:1px solid rgba(88,130,226,.42);background:rgba(12,22,54,.72);font-size:1.15rem;text-decoration:none;box-shadow:inset 0 0 18px rgba(45,104,224,.06)}
  .mobile-footer-v215__socials .is-linkedin{color:#22a8ff}.mobile-footer-v215__socials .is-github{color:#fff}.mobile-footer-v215__socials .is-whatsapp{color:#24e676;border-color:rgba(36,230,118,.36)}.mobile-footer-v215__socials .is-email{color:#3eb9ff}.mobile-footer-v215__socials .is-x{color:#fff}
  .mobile-footer-v215__socials .is-x{grid-column:1}
  .mobile-footer-v215__contacts>p,.mobile-footer-v215__tech>p{margin:14px 0 0;color:#aab7d5;font-size:.75rem;line-height:1.5}
  .mobile-footer-v215__cv{display:grid;grid-template-columns:46px minmax(0,1fr) 18px;align-items:center;gap:12px;margin-top:18px;padding:14px;border:1px solid rgba(108,101,255,.52);border-radius:16px;background:linear-gradient(135deg,rgba(37,55,115,.78),rgba(24,15,77,.78));color:#fff;text-decoration:none;box-shadow:inset 0 0 25px rgba(49,107,255,.10),0 0 18px rgba(87,52,255,.12)}
  .mobile-footer-v215__cv-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid rgba(171,87,255,.46);background:rgba(102,44,196,.18);color:#c580ff;font-size:1.1rem}
  .mobile-footer-v215__cv strong{display:block;font-size:.88rem;line-height:1.08;letter-spacing:.025em}.mobile-footer-v215__cv small{display:block;margin-top:4px;color:#b9c5e3;font-size:.72rem;line-height:1.34}.mobile-footer-v215__cv>i{color:#35b4ff;font-size:1rem}
  .mobile-footer-v215__newsletter form{display:grid;grid-template-columns:minmax(0,1fr) 54px;width:100%;overflow:hidden;border:1px solid rgba(78,119,214,.48);border-radius:13px;background:rgba(9,18,46,.76)}
  .mobile-footer-v215__newsletter input{width:100%;min-width:0;height:50px;padding:0 14px;border:0;outline:0;background:transparent;color:#fff;font-size:.82rem}.mobile-footer-v215__newsletter input::placeholder{color:#a9b5cf}
  .mobile-footer-v215__newsletter button{display:grid;place-items:center;width:54px;height:50px;border:0;background:linear-gradient(135deg,#27b7ff,#b93aff);color:#fff;font-size:1.1rem}
  .mobile-footer-v215__tech-grid{display:grid;grid-template-columns:repeat(4,48px);gap:10px}
  .mobile-footer-v215__tech-grid span{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(77,132,236,.46);border-radius:12px;background:rgba(10,20,49,.72);color:#eaf2ff;font-size:1.08rem;box-shadow:inset 0 0 15px rgba(55,107,224,.06)}
  .mobile-footer-v215__tech-grid span:nth-child(1){color:#ff6b35}.mobile-footer-v215__tech-grid span:nth-child(2){color:#37a8ff}.mobile-footer-v215__tech-grid span:nth-child(3){color:#ffbb26}.mobile-footer-v215__tech-grid span:nth-child(4){color:#ffd927}.mobile-footer-v215__tech-grid span:nth-child(5){color:#4dafff}.mobile-footer-v215__tech-grid span:nth-child(6){color:#ab7cff}
  .mobile-footer-v215__nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 9px;padding:2px 2px 4px;font-size:.72rem;line-height:1.45}
  .mobile-footer-v215__nav a{color:#c9d4ef;text-decoration:none}.mobile-footer-v215__nav span{color:#536486}.mobile-footer-v215__nav a:last-of-type{padding:5px 9px;border:1px solid rgba(137,75,255,.38);border-radius:999px;color:#cdbbff;background:rgba(72,37,145,.12)}
  .mobile-footer-v215__bottom{padding:15px 16px max(18px,calc(14px + env(safe-area-inset-bottom)));border-top:1px solid rgba(91,115,192,.2);text-align:center;color:#8190b1;font-size:.66rem;line-height:1.45;background:rgba(2,6,19,.62)}
}


/* v2.17 — refinamento óptico seguro da navegação inferior mobile */
@media (max-width:680px){
  .mobile-footer-v215__tech{
    padding-bottom:28px;
    margin-bottom:20px;
  }

  .mobile-footer-v215__tech>p{
    margin-top:14px;
    margin-bottom:10px;
  }

  .mobile-footer-v215__nav{
    width:100%;
    padding:8px 4px 6px;
    gap:9px 10px;
    text-align:center;
  }

  .mobile-footer-v215__nav a,
  .mobile-footer-v215__nav span{
    flex:0 0 auto;
  }

  .mobile-footer-v215__nav a:last-of-type{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:30px;
    padding:6px 11px;
    line-height:1;
    text-align:center;
    white-space:nowrap;
    vertical-align:middle;
  }

  .mobile-footer-v215__nav a:last-of-type i,
  .mobile-footer-v215__nav a:last-of-type svg{
    flex:0 0 auto;
    margin:0;
    transform:none;
    line-height:1;
  }
}

/* v2.18 — footer mobile final: sem header duplicado, navegação estável e fechamento institucional */
@media (max-width:680px){
  .mobile-footer-v215__topbar,
  .mobile-footer-v215__brand,
  .mobile-footer-v215__menu{
    display:none!important;
  }

  .mobile-footer-v215__content{
    padding-top:28px;
  }

  .mobile-footer-v215__nav{
    display:grid;
    justify-items:center;
    gap:10px;
    width:100%;
    padding:12px 0 8px;
    font-size:.72rem;
    line-height:1.4;
  }

  .mobile-footer-v215__nav-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:8px 10px;
    width:100%;
    text-align:center;
  }

  .mobile-footer-v215__nav-row a,
  .mobile-footer-v215__nav-row span{
    flex:0 0 auto;
  }

  .mobile-footer-v215__nav-row span{
    color:#536486;
    font-size:.68rem;
  }

  .mobile-footer-v215__nav-cv{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:30px;
    padding:6px 11px!important;
    border:1px solid rgba(137,75,255,.38)!important;
    border-radius:999px!important;
    background:rgba(72,37,145,.12)!important;
    color:#cdbbff!important;
    line-height:1!important;
    white-space:nowrap;
  }

  .mobile-footer-v215__bottom{
    display:grid;
    justify-items:center;
    gap:5px;
    padding:16px 16px max(20px,calc(16px + env(safe-area-inset-bottom)));
    border-top:1px solid rgba(91,115,192,.2);
    text-align:center;
    color:#8190b1;
    background:rgba(2,6,19,.62);
  }

  .mobile-footer-v215__bottom p{
    margin:0;
    font-size:.66rem;
    line-height:1.45;
  }

  .mobile-footer-v215__bottom p:nth-child(2){
    color:#a2aec8;
  }

  .mobile-footer-v215__back-to-top{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:36px;
    margin-top:9px;
    padding:8px 13px;
    border:1px solid rgba(71,145,255,.42);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(18,48,106,.72),rgba(57,25,112,.72));
    color:#eaf2ff;
    text-decoration:none;
    font-size:.7rem;
    box-shadow:inset 0 0 16px rgba(49,109,255,.08),0 0 14px rgba(59,91,255,.10);
  }

  .mobile-footer-v215__back-to-top i{
    font-size:.88rem;
  }
}

/* v2.19 — navegação inferior mobile em duas linhas fixas, sem quebras internas */
@media (max-width:680px){
  .mobile-footer-v215__nav{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:center!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    padding:14px 0 9px!important;
    overflow:visible!important;
  }

  .mobile-footer-v215__nav-row{
    display:grid!important;
    grid-template-columns:repeat(7,max-content)!important;
    align-items:center!important;
    justify-content:center!important;
    column-gap:clamp(4px,1.65vw,9px)!important;
    width:100%!important;
    max-width:100%!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    font-size:clamp(.59rem,2.25vw,.72rem)!important;
    line-height:1.2!important;
  }

  .mobile-footer-v215__nav-row--secondary{
    grid-template-columns:max-content max-content max-content!important;
    column-gap:clamp(6px,2vw,10px)!important;
  }

  .mobile-footer-v215__nav-row a,
  .mobile-footer-v215__nav-row span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
  }

  .mobile-footer-v215__nav-cv{
    white-space:nowrap!important;
    padding:6px 10px!important;
  }
}

@media (max-width:360px){
  .mobile-footer-v215__nav-row{
    column-gap:4px!important;
    font-size:.58rem!important;
  }
  .mobile-footer-v215__nav-cv{
    padding:6px 9px!important;
  }
}
