@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Nunito+Sans:wght@400;700&display=swap');

:root {
    --color-primary: #10545f;
    --color-secondary: #a6c111;
    --color-background: #ffffff;
    --color-text: #555555;
    --color-light-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    background-image: url('https://lirp.cdn-website.com/87a3eaa7/dms3rep/multi/opt/bkg-1920w.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
}

/* =================================
   1. CABEÇALHO (HEADER) DESKTOP
   ================================= */
.site-header {
    background-color: var(--color-background);
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
    vertical-align: middle;
}

.main-nav {
    flex-grow: 1;
    text-align: center;
}

.main-nav ul {
    list-style: none;
    display: inline-flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-primary);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover {
    border-bottom: 2px solid var(--color-secondary);
}

.main-nav a.active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--color-primary);
}


/* =================================
   1. CABEÇALHO (HEADER)
   ================================= */
.site-header {
    background-color: var(--color-background);
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
    vertical-align: middle;
}

.main-nav {
    flex-grow: 1;
    text-align: center;
}

.main-nav ul {
    list-style: none;
    display: inline-flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-primary);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover {
    border-bottom: 2px solid var(--color-secondary);
}

.main-nav a.active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--color-primary);
}

/* =================================
   2. ESTILOS DO SUBMENU (CORRIGIDO)
   ================================= */

/* Container do item de menu que tem um submenu */
.has-submenu {
    position: relative; /* Essencial para posicionar o submenu flutuante */
}

/* O submenu em si (escondido por padrão no desktop) */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1100;
}

/* Regra que mostra o submenu no DESKTOP ao passar o mouse */
.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    padding: 0;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-primary);
    text-decoration: none;
    text-align: left;
    white-space: nowrap;
    border-bottom: none;
}

.submenu li a:hover {
    background-color: #f5f5f5;
    border-bottom: none;
}

/* =================================
   3. MENU MOBILE E MEDIA QUERIES (ATUALIZADO)
   ================================= */

/* Oculta o submenu por padrão DENTRO do menu mobile fechado */
.main-nav .submenu {
    display: none;
}

/* Mostra o submenu APENAS quando o menu mobile está ativo */
.main-nav.active .submenu {
    display: block;
}

/* Regras gerais para telas menores */
@media (max-width: 1024px) {
    /* Comportamento do submenu dentro do menu mobile aberto */
    .has-submenu .submenu {
        position: static; /* Deixa de ser flutuante */
        background-color: transparent;
        box-shadow: none;
        padding: 15px 0 0 20px; /* Espaçamento para indicar que é um submenu */
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .submenu li {
        margin-bottom: 15px;
    }

    .submenu li a {
        font-size: 18px;
        font-weight: 400; /* Texto um pouco mais fino que o principal */
        color: #ddd; /* Cor mais suave para diferenciar */
    }
}

/* =================================
   3. MENU MOBILE E MEDIA QUERIES
   ================================= */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:first-child {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* Regras para telas menores */
@media (max-width: 1024px) {
    .contact-info {
        display: none;
    }

    .header-content .main-nav {
        flex-grow: 0;
    }
    
    .hamburger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-primary);
        display: flex; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 1500;
    }
    
    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .main-nav a {
        color: var(--color-light-text);
        font-size: 20px;
    }
    
    /* Comportamento do submenu no mobile */
    .has-submenu .submenu {
        display: block; /* Garante que ele apareça na lista mobile */
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 15px; /* Adiciona um espaço do item pai */
    }

    .submenu li a {
        color: #ddd;
        font-size: 18px;
        padding: 5px 10px;
    }
}
/* =================================
   2. SEÇÃO HERO (BANNER) - ATUALIZADO
   ================================= */
.hero-section {
    background-image: url('https://lirp.cdn-website.com/87a3eaa7/dms3rep/multi/opt/banner1-1920w.jpg');
    background-size: cover;
    background-position: center;
    height: 65vh;
    padding: 0 50px;
    position: relative;
    display: flex;
    align-items: center;
}



.hero-content {
    position: relative; /* Garante que o texto fique sobre a forma */
    z-index: 2;
    max-width: 500px;
    margin-left: 15%;
}

.hero-content h1 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 38px;
    color: var(--color-light-text);
    line-height: 1.3;
}

/* =================================
   3. BARRA DE COMPROMISSO - ATUALIZADO
   ================================= */
.commitment-bar {
    background-color: var(--color-primary); /* Cor corrigida */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 90px;
    max-width: 1100px;
   
    position: relative;
    z-index: 10;
}

.commitment-bar h2 {
    color: var(--color-light-text);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.btn {
    background-color: transparent;
    border: 2px solid var(--color-light-text); /* Borda branca */
    color: var(--color-light-text); /* Texto branco */
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-light-text);
    color: var(--color-primary);
}


/* SEÇÃO SOBRE (sem alterações) */
.about-section {
    padding: 80px 40px;
    background-image: none; /* Removido para usar o background do body */
}

.about-content { display: flex; gap: 40px; max-width: 1200px; margin: 0 auto; }
.about-text, .about-features { flex: 1; }
.about-text h2 { color: var(--color-primary); font-size: 30px; font-family: 'Nunito Sans', sans-serif; margin-bottom: 15px; }
.about-text hr { border: 0; height: 2px; background-color: var(--color-secondary); width: 60px; margin-bottom: 20px; }
.about-text p { margin-bottom: 15px; line-height: 1.6; }
.about-features ul { list-style: none; margin-top: 50px; }
.about-features li { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; font-size: 16px; }
.about-features i { background-color: var(--color-primary); color: white; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.btn-secondary { display: inline-block; background-color: transparent; border: 2px solid var(--color-secondary); color: var(--color-primary); padding: 15px 30px; text-decoration: none; font-weight: 700; border-radius: 30px; transition: all 0.3s ease; margin-top: 20px; }
.btn-secondary:hover { background-color: var(--color-secondary); color: var(--color-light-text); }


/* =================================
   4. SEÇÃO DE SERVIÇOS - ATUALIZADO
   ================================= */
.services-section {
    padding: 80px 40px;
    text-align: center;
    background: white;
}

.services-section h2 {
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom: 5px solid var(--color-primary);
    padding: 30px 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card img {
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.service-card h3 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-card a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Estilo do botão padrão e do primeiro botão */
.service-card a {
    color: var(--color-text);
}

.service-card:hover a,
.service-card.active a {
    background-color: var(--color-secondary);
    color: white;
}

/* SEÇÃO CLIENTES (sem alterações) */
.clients-section { padding: 80px 20px; background: white;}
.clients-section h2 { text-align: center; color: var(--color-primary); font-size: 30px; margin-bottom: 15px; }
.clients-section hr { border: 0; height: 2px; background-color: var(--color-secondary); width: 60px; margin: 0 auto 50px auto; }
.client-slider-container { max-width: 1200px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.client-slider { width: 100%; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 25%; padding: 0 20px; display: flex; align-items: center; justify-content: center; }
.slide img { max-width: 100%; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease; }
.slide img:hover { filter: grayscale(0%); opacity: 1; }
.slider-btn { background-color: transparent; border: none; font-size: 2rem; color: var(--color-primary); cursor: pointer; padding: 10px; z-index: 10; }
.slider-btn:hover { color: var(--color-secondary); }


/* =================================
   5. RODAPÉ (FOOTER) - ATUALIZADO
   ================================= */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-light-text);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.footer-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-column:nth-child(1) { flex-basis: 30%; justify-content: flex-start; }
.footer-column:nth-child(2) { flex-basis: 40%; }
.footer-column:nth-child(3) { flex-basis: 30%; justify-content: flex-start; }

.footer-nav-column {
    border-left: 1px solid rgba(255,255,255,0.2);
    border-right: 1px solid rgba(255,255,255,0.2);
    height: 150px;
}

.footer-logo img {
    height: 50px;
    margin-left: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--color-light-text);
    text-decoration: none;
}

.footer-nav a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact-box {
    padding-left: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 14px;
}
.contact-item:last-child { margin-bottom: 0; }

.contact-item i {
    background-color: white;
    color: var(--color-primary);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-item.linkedin i {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.contact-item a, .contact-item span {
    color: var(--color-light-text);
    text-decoration: none;
}

.footer-bottom {
    background-color: var(--color-secondary);
    text-align: center;
    padding: 15px 0;
}

.footer-bottom img {
    height: 25px;
    vertical-align: middle;
}


/* MEDIA QUERIES (sem alterações) */
@media (max-width: 1024px) {
    .header-content, .commitment-bar, .about-content, .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .main-nav ul, .contact-info { flex-direction: column; }
    .commitment-bar { margin-top: 20px; }
    .slide { min-width: 50%; }
    .footer-nav-column { border: none; height: auto; }
}

@media (max-width: 768px) {
    .commitment-bar h2 { font-size: 24px; }
    .slide { min-width: 100%; }
    .contact-info { display: none; }
    .hero-section::before { width: 90%; }
    .hero-content { margin-left: 2%; }
}

/* =================================
   7. ESTILOS DA PÁGINA SOBRE NÓS (NOVO)
   ================================= */

/* Estilo para o banner das páginas internas */
.hero-secondary {
    background-image: url('https://lirp.cdn-website.com/87a3eaa7/dms3rep/multi/opt/Ret%C3%A2ngulo-1-copiar-2-2880w.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 50px;
    position: relative;
    text-align: center;
    color: var(--color-light-text);
}

.texto-banner{
    max-width: 100%;
    margin: 0px;
}

/* Camada escura sobre o banner para melhorar a leitura */
.hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-secondary .hero-content {
    position: relative;
    z-index: 2;
}

.hero-secondary h1 {
    font-size: 38px;
    font-family: 'Nunito Sans', sans-serif;
}

/* Estilo para a seção de conteúdo da página */
.about-page-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    
}

@media (max-width: 768px) {
    .about-page-content {
        flex-direction: column;
    }
}

/* =================================
   8. ESTILOS DAS PÁGINAS DE SERVIÇO (NOVO)
   ================================= */
.service-detail-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
   
    align-items: flex-start;
}

.service-text {
    flex: 1; /* Ocupa metade do espaço */
}

.service-text h2 {
    color: var(--color-primary);
    font-size: 30px;
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 15px;
}

.service-text hr {
    border: 0;
    height: 2px;
   
    width: 60px;
    margin-bottom: 20px;
}

.service-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-image {
    flex: 1; /* Ocupa a outra metade */
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .service-detail-content {
        flex-direction: column;
    }
}

/* Adiciona ao final do style.css */

/* Estilos para a galeria de imagens na página de serviço */
.service-image-gallery {
    display: flex;
    gap: 15px; /* Espaçamento entre as imagens */
    margin-bottom: 20px;
}

.service-image-gallery img {
    width: 50%; /* Cada imagem ocupa metade do espaço */
    height: auto;
    border-radius: 5px;
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
}

/* Ajuste para a galeria no mobile */
@media (max-width: 768px) {
    .service-image-gallery {
        flex-direction: column; /* Coloca uma imagem abaixo da outra */
    }
    .service-image-gallery img {
        width: 100%; /* Cada imagem ocupa a largura total */
    }
}

/* =================================
   9. ESTILOS DA PÁGINA DE CONTATO (NOVO)
   ================================= */
.contact-page-section {
    padding: 80px 40px;
}

.contact-page-section h2 {
    color: var(--color-primary);
    font-size: 30px;
    font-family: 'Nunito Sans', sans-serif;
    text-align: center;
    margin-bottom: 15px;
}

.contact-page-section hr {
    border: 0;
    height: 2px;
    background-color: var(--color-secondary);
    width: 60px;
    margin: 0 auto 50px auto;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.half-width {
    flex: 1 1 calc(50% - 10px); /* 50% menos metade do gap */
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.form-group input[type="file"] {
    padding: 9px;
    background-color: #f0f0f0;
}

.map-section {
    width: 100%;
    /* O iframe define a altura, então não precisamos definir aqui */
}

/* Ajuste para o formulário no mobile */
@media (max-width: 768px) {
    .form-group.half-width {
        flex-basis: 100%;
    }
}