/* ==========================================================================
   SERVIÇOS & BRANDBOOK IRON STARS
   Paleta: 
     #1B2531 (Azul Escuro Petróleo - 60% Dominante)
     #2C3B4E (Azul Petróleo Principal)
     #565656 (Cinza Aço)
     #CECECE (Cinza Aço Claro / Prata)
     #E06D20 (Laranja Cobre - 10% Conversão / CTA)
     #FFFFFF (Branco Neutro)
   ========================================================================== */

.servicos-hero {
    margin-bottom: 3.5rem;
    position: relative;
}

.servicos-hero .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(224, 109, 32, 0.12);
    border: 1px solid rgba(224, 109, 32, 0.35);
    color: #E06D20;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.servicos-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.servicos-hero .hero-subtitle {
    font-size: 1.12rem;
    color: #CECECE;
    line-height: 1.7;
    max-width: 850px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.stat-item {
    background: #243343;
    border: 1px solid rgba(206, 206, 206, 0.14);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(224, 109, 32, 0.5);
}

.stat-item .stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #E06D20;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-item .stat-label {
    font-size: 0.88rem;
    color: #CECECE;
    line-height: 1.4;
}

.services-grid-container {
    margin-top: 3.5rem;
    margin-bottom: 4rem;
}

.services-grid-header {
    text-align: center;
    margin-bottom: 2.8rem;
}

.services-grid-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.services-grid-header p {
    color: #CECECE;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.modern-service-card {
    background: #243343;
    border: 1px solid rgba(206, 206, 206, 0.14);
    border-radius: 14px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease, 
                box-shadow 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.modern-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2C3B4E, #E06D20, #2C3B4E);
    opacity: 0.3;
    transition: opacity 0.35s ease;
}

.modern-service-card:hover {
    transform: translateY(-8px);
    border-color: #E06D20;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(224, 109, 32, 0.18);
}

.modern-service-card:hover::before {
    opacity: 1;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-icon-halo {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #1B2531;
    border: 1px solid rgba(206, 206, 206, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E06D20;
    font-size: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.modern-service-card:hover .card-icon-halo {
    transform: scale(1.08);
    background: #2C3B4E;
    border-color: #E06D20;
}

.card-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E06D20;
    background: rgba(224, 109, 32, 0.12);
    border: 1px solid rgba(224, 109, 32, 0.3);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

.modern-service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.card-headline {
    font-size: 0.92rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.45;
    margin-bottom: 0.9rem;
}

.card-desc {
    font-size: 0.9rem;
    color: #CECECE !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    flex-grow: 1;
    border-top: 1px solid rgba(206, 206, 206, 0.1);
    padding-top: 1.2rem;
}

.card-features li {
    font-size: 0.88rem;
    color: #E2E8F0;
    line-height: 1.5;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.card-features li i {
    color: #E06D20;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.card-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent !important;
    border: 1.5px solid #E06D20 !important;
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.card-cta-btn:hover {
    background: #E06D20 !important;
    color: #FFFFFF !important;
    border-color: #E06D20 !important;
    box-shadow: 0 6px 20px rgba(224, 109, 32, 0.4);
    transform: translateY(-2px);
}
/* TABELA COMPARATIVA MODERNA */
.modern-comparison-section {
    margin-top: 5rem;
    margin-bottom: 4rem;
}

.modern-comparison-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.modern-comparison-section .section-lead {
    color: #CECECE;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.modern-table-container {
    background: #1B2531;
    border: 1px solid rgba(206, 206, 206, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.modern-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.modern-table thead th {
    background: #2C3B4E;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1.2rem 1.5rem;
    border: none;
    text-align: left;
}

.modern-table thead th.th-highlight {
    background: #243343;
    color: #E06D20;
    border-top: 3px solid #E06D20;
}

.modern-table tbody tr {
    border-bottom: 1px solid rgba(206, 206, 206, 0.08);
    transition: background 0.2s ease;
}

.modern-table tbody tr:hover {
    background: rgba(44, 59, 78, 0.3);
}

.modern-table tbody td {
    padding: 1.1rem 1.5rem;
    color: #CECECE;
    font-size: 0.92rem;
    line-height: 1.5;
    border: none;
    vertical-align: middle;
}

.modern-table tbody td.td-highlight {
    background: rgba(44, 59, 78, 0.25);
    color: #FFFFFF;
    font-weight: 600;
}

.modern-table tbody td.td-highlight strong {
    color: #E06D20 !important;
}

.modern-table .badge-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #E06D20;
}

.modern-table .badge-check i {
    color: #E06D20;
}

/* BANNER DE CONVERSÃO / CTA FINAL */
.service-cta-banner {
    background: linear-gradient(135deg, #2C3B4E 0%, #1B2531 100%);
    border: 1px solid rgba(224, 109, 32, 0.35);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.service-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(224, 109, 32, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-content h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.cta-banner-content p {
    color: #CECECE;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    max-width: 620px;
}

.cta-banner-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-cta-copper {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: #E06D20 !important;
    color: #FFFFFF !important;
    border: 2px solid #E06D20 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.95rem 1.8rem;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(224, 109, 32, 0.35);
    transition: all 0.25s ease !important;
    white-space: nowrap;
}

.btn-cta-copper:hover {
    background: #c55a15 !important;
    border-color: #c55a15 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(224, 109, 32, 0.5);
}

.btn-cta-ghost {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(206, 206, 206, 0.4) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    text-align: center;
}

.btn-cta-ghost:hover {
    border-color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

/* RESPONSIVIDADE DO GRID & BANNER */
@media screen and (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem 2rem;
    }
    .cta-banner-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .servicos-hero .hero-title {
        font-size: 2rem;
    }
    .modern-service-card {
        padding: 1.8rem 1.4rem;
    }
    .modern-table-container {
        overflow-x: auto;
    }
    .modern-table {
        min-width: 600px;
    }
    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-cta-copper, .btn-cta-ghost {
        width: 100%;
    }
}



.services-hero-wrapper { background-color: transparent !important; }

/* === FIX COMPLETO HERO MOBILE SERVICOS (OVERFLOW & ALIGNMENT) === */
@media screen and (max-width: 980px) {
    #mobile-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 10000 !important;
    }

    #wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .services-hero-wrapper,
    #hero.services-hero-wrapper,
    .hero-servicos-container,
    .hero-sobre-container {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 5.5rem !important;
        padding-bottom: 3rem !important;
        overflow: visible !important;
    }

    .services-hero-header {
        padding: 0 1rem !important;
    }

    .services-hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin: 0.8rem 0 !important;
    }

    .services-hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    .services-kpi-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .services-kpi-card {
        padding: 1.2rem !important;
    }
}

/* === FIX RECUO SUPERIOR HERO MOBILE (OVERFLOW & PADDING) === */
@media screen and (max-width: 980px) {
    #mobile-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        z-index: 10000 !important;
    }

    #wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .services-hero-wrapper,
    #hero.services-hero-wrapper,
    .hero-servicos-container,
    .hero-sobre-container {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 8rem !important;
        padding-bottom: 3.5rem !important;
        overflow: visible !important;
    }

    .services-hero-header {
        padding: 0 1rem !important;
        margin-top: 0.5rem !important;
    }

    .services-hero-title {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
        margin: 0.8rem 0 !important;
    }

    .services-hero-subtitle {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    .services-kpi-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .services-kpi-card {
        padding: 1.2rem !important;
    }
}

/* === FIX COMPLETO HERO MOBILE RECUO 40% (OVERFLOW & PADDING) === */
@media screen and (max-width: 980px) {
    #mobile-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        z-index: 10000 !important;
    }

    #wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .services-hero-wrapper,
    #hero.services-hero-wrapper,
    .hero-servicos-container,
    .hero-sobre-container {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 11.5rem !important;
        padding-bottom: 4rem !important;
        overflow: visible !important;
    }

    .services-hero-wrapper .inner,
    #hero .inner {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .services-hero-header {
        padding: 0 1rem !important;
        margin-top: 0 !important;
    }

    .services-hero-title {
        font-size: 1.4rem !important;
        line-height: 1.35 !important;
        margin: 0.8rem 0 !important;
    }

    .services-hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    .services-kpi-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .services-kpi-card {
        padding: 1.2rem !important;
    }
}

/* === RESETS MOBILE HEROS (SERVICOS.CSS OVERRIDE) === */
@media screen and (max-width: 980px) {
    #mobile-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        z-index: 10000 !important;
    }

    #wrapper {
        padding-top: 65px !important;
        margin-top: 0 !important;
    }

    #hero.services-hero-wrapper,
    .services-hero-wrapper {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 1.5rem !important;
        padding-bottom: 3rem !important;
        overflow: visible !important;
    }

    .services-hero-wrapper .inner,
    #hero .inner {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .services-hero-header {
        padding: 0 0.5rem !important;
    }

    .services-hero-title {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        margin: 0.8rem 0 !important;
    }

    .services-hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    .services-kpi-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        margin-top: 1.2rem !important;
    }

    .services-kpi-card {
        padding: 1rem !important;
    }
}

/* === UNLOCK OVERFLOW HERO MOBILE === */
@media screen and (max-width: 980px) {
    html, body, #wrapper, section, #hero, .services-hero-wrapper, .services-hero-wrapper .inner {
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
    }

    #hero.services-hero-wrapper {
        display: block !important;
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    .services-kpi-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }

    .services-kpi-card {
        padding: 0.85rem 1rem !important;
    }

    .services-kpi-val {
        font-size: 1.2rem !important;
    }

    .services-kpi-desc {
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
    }
}

/* === AJUSTE LARGURA & CARD TABELA DIFERENCIAIS === */
.diff-table-wrapper {
    max-width: 900px !important;
    margin: 0 auto !important;
    background: #161b22 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    overflow-x: auto !important;
}