:root {
    --bs-primary: #333333 !important;
    --bs-primary-rgb: 51, 51, 51 !important;
    --bs-secondary: #666666 !important;
    --bs-secondary-rgb: 102, 102, 102 !important;
}

/* Prevenção básica de scroll horizontal */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Nunito', sans-serif;
}

/* Estilos de cores básicos */
.btn-primary {
    background-color: #333333 !important;
    border-color: #333333 !important;
}

.btn-primary:hover {
    background-color: #666666 !important;
    border-color: #666666 !important;
}

.text-primary {
    color: #333333 !important;
}

.bg-primary {
    background-color: #333333 !important;
}

a {
    color: #333333;
}

a:hover {
    color: #666666;
}

/* Tipografia */
h1, h2, .fw-bold {
    font-weight: 800 !important;
}

h3, h4, .fw-semi-bold {
    font-weight: 700 !important;
}

h5, h6, .fw-medium {
    font-weight: 600 !important;
}

/* Navbar */
.navbar {
    background-color: #333333 !important;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 0.5rem 1rem;
}

.navbar-dark {
    color: #FFFFFF;
}

.navbar-logo {
    height: 60px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
}

.navbar-links .nav-link {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin-left: 20px;
    text-decoration: none;
}

.navbar-links .nav-link:hover {
    color: #CCCCCC;
}

/* Esconder links em mobile */
@media (max-width: 767.98px) {
    .desktop-only {
        display: none !important;
    }
}

/* Texto "Desde 2019" */
.logo-wrapper {
    position: relative;
    display: inline-block;
}

.since-text {
    position: absolute;
    top: 50%;
    right: -8rem;
    transform: translateY(-50%);
    font-size: 14px;
    font-style: italic;
    color: #FFFFFF;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Título de seção */
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

/* Cartões de serviço */
.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background: white;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-features {
    flex-grow: 1;
}

.service-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

/* Seção de contato */
.contact-section {
    background-color: #f8f9fa;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-button i {
    font-size: 35px;
    color: white;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #22c55e;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 50px;
    }

    .since-text {
        right: -6rem;
        font-size: 12px;
    }
    
    .service-image-container {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .d-flex.align-items-center.justify-content-center.mb-5 {
        flex-direction: column;
        text-align: center;
    }
    
    .d-flex.align-items-center.justify-content-center.mb-5 .ps-4 {
        padding-left: 0 !important;
        padding-top: 0.75rem;
    }
    
    .d-flex.align-items-center.justify-content-center.mb-5 h5,
    .d-flex.align-items-center.justify-content-center.mb-5 h4,
    .d-flex.align-items-center.justify-content-center.mb-5 p {
        text-align: center;
    }
    
    .navbar-logo {
        height: 45px;
    }
    
    .since-text {
        right: -5rem;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 40px;
    }
    
    .since-text {
        right: -4.5rem;
        font-size: 9px;
    }
    
    .service-image-container {
        height: 160px;
    }
    
    .section-title h1 {
        font-size: 24px;
    }
}

@media (max-width: 320px) {
    .navbar-logo {
        height: 35px;
    }
    
    .since-text {
        right: -45px;
        font-size: 8px;
    }
}

/* Títulos dos serviços - tamanho base */
.service-card-body h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700 !important;
}

.service-card-body h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 600 !important;
}

/* Responsividade para títulos dos serviços */
@media (max-width: 768px) {
    .service-card-body h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .service-card-body h3 {
        font-size: 1.1rem;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .service-card-body h2 {
        font-size: 1.2rem;
        line-height: 1.25;
    }
    
    .service-card-body h3 {
        font-size: 1rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .service-card-body h2 {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .service-card-body h3 {
        font-size: 0.95rem;
        line-height: 1.15;
    }
}

/* Espaçamento de seções */
#services, #contact {
    padding-top: 60px;
    margin-top: -20px;
}