:root {
    --azul-petroleo: #005f6b;
    --azul-escuro: #003d45;
    --ouro-velho: #c5a059;
    --cinza-grafite: #333333;
    --branco: #ffffff;
    --fundo-claro: #f8f9fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--cinza-grafite);
    background-color: var(--fundo-claro);
    line-height: 1.6;
}

h1 { font-family: 'Georgia', serif; }
h2, h3 { font-family: 'Trebuchet MS', serif; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 20px 0; }

.hero {
    background-color: var(--azul-petroleo);
    color: var(--branco);
    padding: 160px 0; 
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('fundo-hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    filter: blur(2.2px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(0, 95, 107, 0.6), 
        rgba(0, 95, 107, 0.75)
    );
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--ouro-velho);
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .headline {
    font-size: 1.6rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 15px auto;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero .sub-headline { font-size: 1.4rem; opacity: 0.9; margin-bottom: 30px; }

.btn-cta {
    background-color: var(--ouro-velho);
    color: var(--cinza-grafite);
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-cta:hover { transform: scale(1.05); filter: brightness(1.1); }


.sobre {
    background-color: var(--branco);
    padding: 80px 0;
}

.sobre h2 {
    text-align: center;
    color: var(--azul-petroleo);
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.sobre-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.sobre-texto {
    flex: 1;
    text-align: left;
}

.sobre-texto p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #555;
}

.destaque-missao {
    background-color: #f0f4f5;
    border-left: 5px solid var(--ouro-velho);
    padding: 25px;
    margin-top: 20px;
    border-radius: 0 5px 5px 0;
}

.sobre-perfil {
    flex-basis: 300px;
    text-align: center;
    flex-shrink: 0;
}

.moldura-foto {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    padding: 5px;
    border: 3px solid var(--ouro-velho);
    background-color: var(--branco);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.moldura-foto img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.legenda-perfil h3 {
    color: var(--azul-petroleo);
    font-size: 1.6rem;
    margin-bottom: 5px;
    font-family: 'Trebuchet MS', serif;
}

.legenda-perfil p {
    color: var(--ouro-velho);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.galeria {
    background-color: #fafafa;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.galeria h2 { color: var(--azul-petroleo); font-size: 2.8rem; margin-bottom: 10px; }
.subtitulo-galeria { color: #666; margin-bottom: 40px; }

.carrossel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.slider-container {
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 15px;
    padding: 20px 0;
    scroll-behavior: smooth;
    padding-left: max(20px, calc(50% - 150px));
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.slider-container::-webkit-scrollbar { display: none; }

.slide {
    min-width: 320px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
   
}

.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide:hover { transform: scale(1.05); z-index: 2; }

.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 95, 107, 0.8);
    color: var(--branco);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.seta:hover { background-color: var(--ouro-velho); }

.seta-esquerda { left: 20px; }
.seta-direita { right: 20px; }

.modal {
    display: none;
    position: fixed; 
    z-index: 1000;
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-conteudo {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border: none; 
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.8); 
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.fechar-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.fechar-modal:hover,
.fechar-modal:focus {
    color: var(--ouro-velho);
    text-decoration: none;
    cursor: pointer;
}

.servicos { padding: 60px 0; }
.servicos h2 { text-align: center; color: var(--azul-petroleo); margin-bottom: 40px; font-size: 2.8rem; }

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: var(--branco);
    width: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
    border-top: 5px solid var(--azul-petroleo);
}

.card:hover { transform: translateY(-5px); border-top-color: var(--ouro-velho); }

.card h3 { color: var(--azul-petroleo); margin-bottom: 15px; font-size: 1.4rem; font-family: 'Montserrat', sans-serif; }
.card .descricao { font-size: 0.95rem; margin-bottom: 20px; color: #555; }

.card .preco {
    font-weight: bold;
    color: var(--ouro-velho);
    font-size: 1.1rem;
    margin-bottom: 20px;
    margin-top: auto;
}

.card button {
    width: 100%;
    padding: 12px;
    background-color: var(--azul-petroleo);
    color: var(--branco);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.card button:hover { background-color: var(--ouro-velho); color: var(--cinza-grafite); }

.cta-final {
    background-color: var(--azul-petroleo);
    color: var(--branco);
    padding: 80px 0;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--branco);
}

.cta-final p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.botoes-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whats {
    background-color: var(--ouro-velho);
    color: var(--cinza-grafite);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.btn-whats:hover { filter: brightness(1.1); transform: scale(1.05); }


.rodape-principal {
    background-color: var(--azul-escuro);
    color: #e0e0e0;
    padding-top: 60px;
}

.grid-rodape {
    display: grid;
    grid-template-columns: 1fr 1fr 320px;
    gap: 40px;
    padding-bottom: 60px;
    text-align: left;
}

.logo-rodape {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
}

.logo-rodape img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.coluna-rodape h3 {
    color: var(--ouro-velho);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.coluna-rodape h4 {
    color: var(--branco);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.coluna-rodape p { font-size: 0.9rem; line-height: 1.6; opacity: 0.8; }

.coluna-rodape ul { list-style: none; }

.coluna-rodape ul li { margin-bottom: 12px; }

.coluna-rodape ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.coluna-rodape ul li a:hover {
    color: var(--ouro-velho);
    padding-left: 5px;
}


.copyright-bar {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 2px 0;
    text-align: center;
    font-size: 0.85rem;
    border-top: 0.5px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
    .hero h1 { font-size: 2rem; }
    .card { width: 100%; }
    .texto-sobre { text-align: left; padding: 0 10px; }

   
    .sobre-flex {
        flex-direction: column-reverse;
        text-align: center;
    }

    .sobre-texto {
        text-align: center;
    }
    
    .destaque-missao {
        text-align: left;
    }

   
    .slide {
        min-width: 85vw;
        height: 220px;
    }

   
    .seta { display: none; }
    .slider-container { 
        padding-left: 20px;
        gap: 10px;
    }

    .grid-rodape {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .cta-final h2 { font-size: 2rem; }
    
    .botoes-cta { flex-direction: column; width: 100%; }
    .btn-whats, .btn-email { width: 100%; justify-content: center; }

   
    .modal-conteudo {
        width: 95%;
        border-width: 2px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
}