:root {
    --orange: #FF7800;
    --dark-orange: #FF5500;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #FFFFFF;
    color: var(--black);
    overflow-x: hidden; /* Adicionado para evitar overflow horizontal */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden; /* Adicionado para segurança */
}

/* Header Styles */
header {
    background-color: var(--black);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--orange);
}

.cotacao-btn {
    background-color: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 30px;
    transition: background-color 0.3s;
}

.cotacao-btn:hover {
    background-color: var(--dark-orange);
}

/* Mobile Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--white);
}

/* Hero Section com vídeo de background */
.hero {
    color: var(--white);
    padding: 100px 0;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Estilo para o vídeo de background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    max-width: 100vw; /* Adicionado para limitar à largura da viewport */
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    max-width: 600px;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--white);
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--orange);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contato-btn {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.contato-btn:hover {
    background-color: var(--dark-orange);
}

/* Área de Cobertura Section */
.cobertura {
    padding: 80px 0;
    background-color: var(--white);
}

.cobertura-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cobertura-text {
    flex: 1;
}

.cobertura-img {
    flex: 1;
    text-align: center;
}

.cobertura-img img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 36px;
    color: var(--orange);
    margin-bottom: 25px;
    font-weight: 700;
}

.cobertura p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Serviços Section */
.servicos {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.servicos-title {
    text-align: center;
    margin-bottom: 50px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.servico-img {
    height: 200px;
    overflow: hidden;
}

.servico-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.servico-card:hover .servico-img img {
    transform: scale(1.1);
}

.servico-content {
    padding: 20px;
}

.servico-title {
    color: var(--orange);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.servico-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Sobre Nós Section */
.sobre {
    padding: 80px 0;
    background-color: var(--white);
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-text {
    flex: 1;
}

.sobre-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sobre-features {
    flex: 1;
}

.feature-card {
    background-color: var(--black);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--white);
}

.feature-icon {
    font-size: 24px;
    color: var(--orange);
    margin-top: 5px;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--orange);
}

.feature-content p {
    font-size: 14px;
    line-height: 1.6;
}

/* Localização Section */
.localizacao {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.localizacao-title {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
    width: 100%; /* Adicionado */
    max-width: 100%; /* Adicionado para garantir que não exceda a tela */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0; /* Adicionado para remover bordas que possam interferir */
}

/* Contato Section */
.contato {
    padding: 80px 0;
    background-color: var(--white);
}

.contato-title {
    text-align: center;
    margin-bottom: 50px;
}

.contato-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contato-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contato-img img {
    max-width: 100%; /* Ajustado para ser responsivo */
}

.contato-info {
    flex: 1;
    background-color: var(--black);
    border-radius: 10px;
    padding: 30px;
    color: var(--white);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 24px;
    color: var(--orange);
    margin-right: 15px;
}

.info-text {
    font-size: 16px;
}

.info-text a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--orange);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links, .footer-endereco {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    color: var(--orange);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-link-list {
    list-style: none;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link-list a:hover {
    color: var(--orange);
}

.footer-endereco p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-endereco p strong {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .cobertura-container, .sobre-container {
        flex-direction: column;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contato-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .nav-list, .cotacao-btn {
        display: none;
    }
    
    .mobile-menu-active .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--black);
        padding: 20px;
        z-index: 100;
        box-sizing: border-box; /* Adicionado para garantir que padding não aumente a largura */
    }
    
    .mobile-menu-active .nav-list li {
        margin: 10px 0;
    }
    
    .mobile-menu-active .cotacao-btn {
        display: inline-block;
        margin: 10px 0;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }

    .container {
        padding: 0 10px; /* Adicionado: Reduz o padding em telas menores */
    }

    .hero {
        padding: 50px 0; /* Adicionado: Reduz o padding vertical */
    }

    .video-background video {
        width: 100vw; /* Adicionado: Força o vídeo a se ajustar à largura da viewport */
    }

    .cobertura-container,
    .sobre-container,
    .contato-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Adicionado para garantir que todas as imagens sejam responsivas */
.servico-img img,
.contato-img img,
.cobertura-img img {
    max-width: 100%;
    height: auto;
}