.services-section {
    height: 100vh;
    max-height: 100vh;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.services-section::before,
.services-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 10vh;
    z-index: 10;
    pointer-events: none;
}

.services-section::before {
    top: 0;
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.9) 30%, transparent 100%);
}

.services-section::after {
    bottom: 0;
    background: linear-gradient(to top, #FFFFFF 0%, rgba(255, 255, 255, 0.9) 30%, transparent 100%);
}

.services-container {
    max-width: 90vw;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 100%;
    overflow: hidden;
}

.services-header {
    text-align: center;
    position: relative;
    z-index: 5;
    margin-bottom: 3.5vh;
}

.services-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.83vw;
    margin-bottom: 2.22vh;
}

.services-badge .badge-line {
    width: 2.08vw;
    height: 0.09vh;
    background: linear-gradient(90deg, transparent, #000000, transparent);
    border-top: 0.09vh solid #000000;
}

.services-badge .badge-text {
    font-size: 1.3vh;
    font-weight: 600;
    letter-spacing: 0.1vh;
    text-transform: uppercase;
    color: #000000;
}

.services-title {
    font-size: 3.8vh;
    font-weight: 800;
    color: #000000;
    margin-bottom: 2.2vh;
    line-height: 1.2;
}

.services-title .title-dot {
    color: #b3ce3a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5vh;
    align-items: stretch;
    max-width: 65vw;
    margin: 0 auto;
}

.service-card {
    background: #FFFFFF;
    border-radius: 1.8vh;
    padding: 3.2vh 2.2vw;
    box-shadow: 0 0.3vh 1.2vh rgba(0, 0, 0, 0.06);
    border: 0.05vh solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    min-height: 45vh;
    backdrop-filter: blur(1vh);
}

.service-card:hover {
    transform: translateY(-0.5vh);
    box-shadow: 0 0.3vh 2.5vh rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 0.2vh solid #000000;
    box-shadow: 0 0.4vh 1.5vh rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin: 0 auto 2.2vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle {
    width: 6.8vh;
    height: 6.8vh;
    border-radius: 1.8vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0.6vh 1.8vh rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 1.5vh;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-circle svg {
    width: 2.8vh;
    height: 2.8vh;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .icon-circle {
    transform: scale(1.05);
    box-shadow: 0 0.6vh 1.8vh rgba(0, 0, 0, 0.2);
    background: #b3ce3a;
}

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

.service-card:hover .icon-circle svg {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: center;
}

.service-title {
    font-size: 2.0vh;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.2vh;
    line-height: 1.3;
    transition: all 0.3s ease;
    text-align: center;
    align-self: center;
}

.service-description {
    font-size: 1.4vh;
    color: #545454;
    line-height: 1.6;
    margin-bottom: 2.2vh;
    transition: all 0.3s ease;
}

.service-features {
    list-style: none;
    margin-bottom: 2vh;
    min-height: 19vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6vh;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0;
    font-size: 1.5vh;
    color: #374151;
    flex: 1;
    text-align: left;
    line-height: 1.5;
    padding: 0.4vh 0;
    transition: all 0.3s ease;
}

.feature-item svg {
    width: 1.8vh;
    height: 1.8vh;
    color: #b3ce3a;
    margin-right: 1.2vw;
    flex-shrink: 0;
    margin-top: 0.2vh;
    background: rgba(179, 206, 58, 0.1);
    border-radius: 50%;
    padding: 0.3vh;
    transition: all 0.3s ease;
}

.feature-item span {
    font-weight: 500;
    color: #2d3748;
}

.service-card:hover .service-title {
    color: #000000;
    transform: translateY(-0.2vh);
}

.service-card:hover .service-description {
    color: #545454;
}

.service-card:hover .feature-item {
    transform: translateX(0.3vw);
}

.service-card:hover .feature-item svg {
    background: rgba(179, 206, 58, 0.2);
    transform: scale(1.1);
}

.service-card:hover .feature-item span {
    color: #1a202c;
}

.service-btn {
    width: 100%;
    padding: 1.5vh 2vh;
    border: 0.2vh solid #1a2410;
    background: transparent;
    color: #1a2410;
    border-radius: 1.2vh;
    font-size: 1.3vh;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.service-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-0.2vh);
    box-shadow: 0 0.6vh 1.5vh rgba(0, 0, 0, 0.2);
    border-color: #000000;
}

.service-btn.featured {
    background: #000000;
    color: #FFFFFF;
}

.service-btn.featured:hover {
    background: #333333;
    transform: translateY(-0.2vh);
    box-shadow: 0 0.6vh 1.5vh rgba(0, 0, 0, 0.2);
}

.services-footer {
    text-align: center;
    position: relative;
    z-index: 20;
    margin-top: 2.8vh;
}

.view-all-services-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.1vw;
    padding: 1.5vh 2vh;
    background: #000000;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 1.6vh;
    font-size: 1.3vh;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 0.1vh solid #000000;
    position: relative;
    z-index: 25;
}

.view-all-services-btn:hover {
    color: #000000;
    border-color: rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.02);
    transform: translateY(-0.2vh);
    box-shadow: 0 0.4vh 1.2vh rgba(0, 0, 0, 0.1);
}

.view-all-services-btn svg {
    width: 1.5vh;
    height: 1.5vh;
    transition: transform 0.3s ease;
}

.view-all-services-btn:hover svg {
    transform: translate(0.2vw, -0.2vh);
}

body:has(.navbar) .services-section {
    height: calc(100vh - var(--navbar-height, 0vh));
    max-height: calc(100vh - var(--navbar-height, 0vh));
}

@media (max-width: 480px) {
    .services-section {
        padding: 10vh 1vw !important;
        margin-top: 40vh !important;
        margin-bottom: 28vh !important;
        height: auto;
        min-height: auto;
        overflow: visible !important;
    }

    .services-container {
        max-width: 95vw;
        padding: 7vh 0;
        overflow: visible !important;
    }

    .services-header {
        margin-bottom: 8vh !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center !important;
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    .services-title {
        font-size: 2.5vh !important;
        margin-bottom: 2.5vh !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        position: relative !important;
        z-index: 10 !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        color: #000000 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .services-title span,
    .services-title .title-dot {
        display: inline !important;
        white-space: nowrap !important;
    }

    .services-title .title-dot {
        margin-left: 0 !important;
    }

    .services-badge {
        margin-bottom: 2vh !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5vw !important;
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    .services-badge .badge-line {
        width: 2vw !important;
        height: 0.1vh !important;
        background: #000000 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0 !important;
    }

    .services-badge .badge-text {
        font-size: 1.1vh !important;
        white-space: nowrap !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000000 !important;
        font-weight: 600 !important;
        letter-spacing: 0.1vh !important;
        text-transform: uppercase !important;
    }

    .services-section .services-header * {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .services-section .services-header .services-badge {
        display: flex !important;
    }

    .services-section .services-header .services-badge .badge-text {
        display: inline-block !important;
    }

    .services-grid {
        max-width: 90vw;
        gap: 2vh;
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    .services-section .service-card {
        padding: 6vh 5vw !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        mask: none !important;
        -webkit-mask: none !important;
        clip-path: none !important;
        opacity: 1 !important;
        border-radius: 2.5vh !important;
        box-shadow: 0 0.4vh 1vh rgba(0, 0, 0, 0.08) !important;
        border: 0.1vh solid rgba(0, 0, 0, 0.1) !important;
        margin-bottom: 2vh !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .services-section .service-card::before,
    .services-section .service-card::after {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .services-section::before,
    .services-section::after {
        opacity: 0 !important;
        display: none !important;
    }

    .services-section .icon-circle {
        width: 5vh !important;
        height: 5vh !important;
        border-radius: 1.3vh !important;
        box-shadow: 0 0.6vh 1.5vh rgba(0, 0, 0, 0.12) !important;
        margin-bottom: 2vh !important;
    }

    .services-section .icon-circle svg {
        width: 2.2vh !important;
        height: 2.2vh !important;
    }

    .services-section .service-title {
        font-size: 4vw !important;
        margin-bottom: 2vh !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        color: #000000 !important;
        opacity: 1 !important;
    }
    
    .services-section .service-content {
        overflow: visible !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .services-section .service-description {
        font-size: 2.5vw !important;
        margin-bottom: 2.5vh !important;
        line-height: 1.4 !important;
        color: #545454 !important;
        opacity: 1 !important;
    }

    .services-section .service-features {
        min-height: auto !important;
        margin-bottom: 2.5vh !important;
        gap: 1.2vh !important;
        flex: 1 !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .services-section .feature-item {
        font-size: 2.2vw !important;
        padding: 0.5vh 0 !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
        opacity: 1 !important;
        color: #374151 !important;
    }
    
    .services-section .feature-item span {
        color: #2d3748 !important;
        opacity: 1 !important;
    }

    .services-section .feature-item svg {
        width: 1.6vh !important;
        height: 1.6vh !important;
        margin-right: 1.4vw !important;
        padding: 0.5vh !important;
    }

    .services-section .service-card .service-btn,
    body .services-section .service-card .service-btn {
        padding: 1vh 1.8vw !important;
        font-size: 2vw !important;
        border-radius: 0.7vh !important;
        border: 0.12vh solid #1a2410 !important;
        margin-top: 0.4vh !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        box-sizing: border-box !important;
        background: transparent !important;
        color: #1a2410 !important;
    }

    body .services-section .service-card .service-btn.featured {
        border: 0.12vh solid #000000 !important;
        background: #000000 !important;
        color: #FFFFFF !important;
    }

    .services-footer {
        margin-top: 1vh !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .view-all-services-btn {
        padding: 1.48vh 2.5vw !important;
        font-size: 1.33vh !important;
        border-radius: 1.48vh !important;
        border: 0.1vh solid #000000 !important;
        gap: 0.74vh !important;
        background: #000000 !important;
        color: #FFFFFF !important;
        box-shadow: 0 0.185vh 0.74vh rgba(0, 0, 0, 0.06) !important;
        min-width: 35vw !important;
    }

    .view-all-services-btn svg {
        width: 1.48vh !important;
        height: 1.48vh !important;
    }

    .services-section .services-header,
    .services-section .services-header *,
    .services-section .services-badge,
    .services-section .services-badge *,
    .services-section .services-title,
    .services-section .services-title * {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        mask: none !important;
        -webkit-mask: none !important;
        background: transparent !important;
    }

    .services-section .services-header {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 2vh 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .services-section .services-title {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        white-space: nowrap !important;
        display: inline-block !important;
        width: auto !important;
        text-align: center !important;
    }
}

/* Mobile Landscape (Horizontal) - Deve vir depois da media query mobile vertical */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 900px) {
    .services-section {
        padding: 0.4vh 0.3vw !important;
        margin-top: -8vh !important;
        margin-bottom: 8vh !important;
        height: auto !important;
        min-height: auto !important;
        max-height: 100vh !important;
        overflow: visible !important;
    }

    .services-container {
        max-width: 98vw !important;
        padding: 0.2vh 0 !important;
        overflow: visible !important;
    }

    .services-section .services-header {
        margin-bottom: 0.6vh !important;
    }

    .services-section .services-title {
        font-size: 2.2vh !important;
        margin-bottom: 0.6vh !important;
        line-height: 1.2 !important;
    }

    .services-section .services-badge {
        margin-bottom: 0.5vh !important;
        gap: 0.8vw !important;
    }

    .services-section .services-badge .badge-line {
        width: 1.2vw !important;
        height: 0.08vh !important;
    }

    .services-section .services-badge .badge-text {
        font-size: 1vh !important;
    }

    .services-section .services-grid {
        max-width: 85vw !important;
        gap: 1.2vh !important;
        grid-template-columns: repeat(3, 1fr) !important;
        display: grid !important;
        margin: 0 auto !important;
    }

    .services-section .service-card,
    body .services-section .service-card {
        padding: 2.5vh 0.6vw !important;
        min-height: 45vh !important;
        height: auto !important;
        max-height: 50vh !important;
        max-width: 100% !important;
        border-radius: 0.6vh !important;
        box-shadow: 0 0.15vh 0.5vh rgba(0, 0, 0, 0.05) !important;
        border: 0.06vh solid rgba(0, 0, 0, 0.08) !important;
        margin-bottom: 0 !important;
    }

    .services-section .icon-circle {
        width: 4.5vh !important;
        height: 4.5vh !important;
        border-radius: 0.8vh !important;
        margin-bottom: 1.2vh !important;
    }

    .services-section .icon-circle svg {
        width: 2.3vh !important;
        height: 2.3vh !important;
    }

    .services-section .service-title {
        font-size: 1.8vh !important;
        margin-bottom: 0.8vh !important;
        line-height: 1.3 !important;
    }

    .services-section .service-description {
        font-size: 1.5vh !important;
        margin-bottom: 1vh !important;
        line-height: 1.4 !important;
    }

    .services-section .service-features {
        min-height: auto !important;
        margin-bottom: 1vh !important;
        gap: 0.5vh !important;
    }

    .services-section .feature-item {
        font-size: 1.4vh !important;
        padding: 0.3vh 0 !important;
        line-height: 1.4 !important;
    }

    .services-section .feature-item svg {
        width: 1.3vh !important;
        height: 1.3vh !important;
        margin-right: 0.7vw !important;
        padding: 0.25vh !important;
    }

    .services-section .service-card .service-btn,
    body .services-section .service-card .service-btn {
        padding: 1vh 1.2vw !important;
        font-size: 1.4vh !important;
        border-radius: 0.5vh !important;
        border: 0.1vh solid #1a2410 !important;
        margin-top: 0.6vh !important;
    }

    body .services-section .service-card .service-btn.featured {
        border: 0.08vh solid #000000 !important;
        background: #000000 !important;
        color: #FFFFFF !important;
    }

    .services-section .services-footer {
        margin-top: 2vh !important;
    }

    .services-section .view-all-services-btn {
        padding: 0.8vh 1.5vw !important;
        font-size: 1.2vh !important;
        border-radius: 0.5vh !important;
        gap: 0.6vw !important;
    }

    .services-section .view-all-services-btn svg {
        width: 1.1vh !important;
        height: 1.1vh !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .services-section {
        padding: 4vh 2vw;
        height: auto;
        min-height: 100vh;
    }

    .services-container {
        max-width: 90vw;
        padding: 3vh 0;
    }

    .services-header {
        margin-bottom: 4vh;
    }

    .services-title {
        font-size: 3.5vw;
        margin-bottom: 2.5vh;
    }

    .services-badge {
        margin-bottom: 2.5vh;
    }

    .services-badge .badge-line {
        width: 2.5vw;
    }

    .services-badge .badge-text {
        font-size: 1.8vw;
    }

    .services-grid {
        max-width: 85vw;
        gap: 4vh;
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 3vh 2.5vw;
        min-height: auto;
        border-radius: 1.5vh;
    }

    .icon-circle {
        width: 4.5vh;
        height: 4.5vh;
        border-radius: 1vh;
        margin-bottom: 1.8vh;
    }

    .icon-circle svg {
        width: 2vh;
        height: 2vh;
    }

    .service-title {
        font-size: 2.5vw;
        margin-bottom: 1.2vh;
    }

    .service-description {
        font-size: 1.8vw;
        margin-bottom: 1.8vh;
    }

    .service-features {
        min-height: auto;
        margin-bottom: 1.8vh;
        gap: 0.8vh;
    }

    .feature-item {
        font-size: 1.6vw;
        padding: 0.4vh 0;
    }

    .feature-item svg {
        width: 1.3vh;
        height: 1.3vh;
        margin-right: 0.8vw;
    }

    .service-btn {
        padding: 1.8vh 2.5vw;
        font-size: 1.6vw;
        border-radius: 1vh;
    }

    .services-footer {
        margin-top: 2.5vh;
    }

    .view-all-services-btn {
        padding: 1.8vh 2.5vw;
        font-size: 1.6vw;
        border-radius: 1vh;
    }

    .view-all-services-btn svg {
        width: 1.5vh;
        height: 1.5vh;
    }
}
