/* SFL: unificação mobile Recuperação com Peças — 30/10/2026.
   Mantém identidade do desktop e conteúdo original da Recuperação. */
@media (max-width:1023px) {
  #root .sfl-recovery-header > div:first-child {
    min-height:64px !important;
    height:auto !important;
    padding:12px 16px !important;
    gap:12px;
  }
  #root .sfl-recovery-header .sfl-rec-hamburger {
    flex:none;
    color:white;
    padding:8px;
  }
  #root .sfl-recovery-mobile-menu {
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:8px 20px 20px;
    border-top:1px solid #292929;
    border-bottom:1px solid #292929;
    background:#181818;
    color:#d4d4d8;
    font-size:14px;
    line-height:1.5;
  }
  #root .sfl-recovery-mobile-menu .sfl-mobile-services-title {color:#FEBF00;font-weight:600;}
  #root .sfl-recovery-mobile-menu .sfl-mobile-service-item {
    display:block;
    padding-left:12px;
    font-size:14px;
    line-height:1.5;
    text-decoration:none;
    color:#ECECEC;
  }
  #root .sfl-recovery-mobile-menu .sfl-mobile-current{color:#FEBF00;font-weight:600;}
  #root .sfl-recovery-mobile-menu .sfl-mobile-pending{color:#71717A;cursor:default;}
  #root .sfl-recovery-mobile-menu .sfl-mobile-page-links {
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:4px;
    padding-top:12px;
    border-top:1px solid #292929;
  }
  #root .sfl-recovery-mobile-menu a:hover,
  #root .sfl-recovery-mobile-menu a:focus-visible {color:#FEBF00;}
}
@media (max-width:639px) {
  #root .sfl-recovery-header::before {
    content:"";
    display:block;
    height:4px;
    background:linear-gradient(90deg,#A51419,#FEBF00,#A51419);
  }
  #root .sfl-recovery-header > div:first-child {
    padding:12px 16px !important;
    justify-content:space-between;
  }
  #root .sfl-recovery-header > div:first-child > a:first-child {flex-shrink:1; min-width:0;}
  #root .sfl-recovery-header > div:first-child > a:first-child img {width:auto;max-width:142px;height:40px;object-fit:contain;}
  #root .sfl-recovery-header .sfl-rec-header-actions {
    display:flex !important;
    align-items:center;
    flex-shrink:0;
    gap:8px;
    margin-left:auto;
  }
  #root .sfl-recovery-header .sfl-rec-header-actions > a:first-child{display:none !important;}
  #root .sfl-recovery-header .sfl-rec-header-actions > a:last-child{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:10px 12px;
    background:#A51419;
    border-radius:8px;
    color:#fff;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
    box-shadow:0 4px 14px rgba(165,20,25,.4);
  }
  #root .sfl-recovery-header .sfl-rec-header-actions > a:last-child svg{width:16px;height:16px;}
  #root .sfl-rec-mobile-cta {
    left:0;
    right:0;
    width:100%;
    display:flex;
    align-items:stretch;
    gap:8px;
    padding:12px;
    background:rgba(24,24,24,.95);
    backdrop-filter:blur(12px);
    border-top:1px solid #292929;
  }
  #root .sfl-rec-mobile-cta > a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:12px 6px;
    border-radius:12px;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
  }
  #root .sfl-rec-mobile-cta > a:first-child {
    flex:1 1 0;
    background:#242424;
    border:1px solid #383838;
    color:#fff;
  }
  #root .sfl-rec-mobile-cta > a:first-child svg{color:#A51419;}
  #root .sfl-rec-mobile-cta > a:last-child {
    flex:2 1 0;
    background:#A51419;
    color:#fff;
    box-shadow:0 4px 16px rgba(165,20,25,.4);
  }
  #root .sfl-rec-mobile-cta > a:last-child:hover{background:#851014;}

  /* Hero da Recuperação no ritmo do banner da LP de Peças:
     foto em faixa superior, H1 e subtítulo logo abaixo, sem esticar altura. */
  #root .sfl-hero-section .sfl-hero-wrap {padding:0 !important;max-width:none;}
  #root .sfl-hero-section .sfl-hero-frame {
    min-height:0 !important;
    height:auto !important;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:stretch;
  }
  #root .sfl-hero-section .sfl-hero-frame > .absolute.inset-0 {
    position:relative !important;
    inset:auto !important;
    width:100%;
    height:148px;
    flex:none;
    overflow:hidden;
    -webkit-mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.85) 50%,transparent 100%);
    mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.85) 50%,transparent 100%);
  }
  #root .sfl-hero-section .sfl-hero-frame picture img {
    opacity:.84 !important;
    object-fit:cover;
    object-position:calc(100% + 22px) center !important;
  }
  #root .sfl-hero-section .sfl-hero-content {
    width:100%;
    max-width:100%;
    margin:-20px auto 0 !important;
    padding:0 22px 28px !important;
    position:relative;
    z-index:2;
    text-align:center;
  }
  #root .sfl-hero-section .sfl-hero-title {
    font-size:18px !important;
    font-weight:900 !important;
    letter-spacing:-.025em !important;
    line-height:1.25 !important;
  }
  #root .sfl-hero-section .sfl-hero-subtitle {
    font-size:12px !important;
    font-weight:500 !important;
    line-height:1.625 !important;
    max-width:350px;
    margin-inline:auto;
  }
}
@media (min-width:640px) and (max-width:767px) {
  #root .sfl-rec-mobile-cta {display:flex;align-items:stretch;gap:8px;padding:12px;background:rgba(24,24,24,.95);border-top:1px solid #292929;}
  #root .sfl-rec-mobile-cta > a {display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 6px;border-radius:12px;font-size:12px;font-weight:700;white-space:nowrap;}
  #root .sfl-rec-mobile-cta > a:first-child {flex:1 1 0;background:#242424;border:1px solid #383838;color:#fff;}
  #root .sfl-rec-mobile-cta > a:first-child svg{color:#A51419;}
  #root .sfl-rec-mobile-cta > a:last-child {flex:2 1 0;background:#A51419;color:#fff;}
}
@media (max-width:359px) {
  #root .sfl-hero-section .sfl-hero-title{font-size:16px!important;}
  #root .sfl-hero-section .sfl-hero-subtitle{font-size:11px!important;}
  #root .sfl-recovery-header > div:first-child {gap:6px;padding-inline:10px!important;}
  #root .sfl-recovery-header > div:first-child > a:first-child img {max-width:112px;height:auto;}
  #root .sfl-recovery-header .sfl-rec-header-actions > a:last-child{padding:8px;font-size:11px;}
}
