/* Reset & Fonts */



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth !important;
}

body {
    background-color: #F6F2EF; /* Fundo geral claro da paleta */
    color: #0E0E0E;
}

/* Typography styles */
h1, h3, h4, h5 {
    color: #0E0E0E;
}

/* ==== Header & Banner ==== */
header {
    width: 100%;
}

#banner {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background-image: url('../img/Adv.jpeg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: bottom;
    display: flex;
    justify-content: center;
    align-items: center;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(14, 14, 14, 0.7); /* Sobreposição escura (#0E0E0E) */
    z-index: 1;
}

.tutulos-banner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #F6F2EF;
    max-width: 900px;
    padding: 0 20px;
}

.tutulos-banner h1 {
    color: #F6F2EF;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tutulos-banner h5 {
    color: #F6F2EF;
    font-size: 1.2rem;
    font-weight: 300;
}

.logo-banner {
    max-width: 250px;
    margin-bottom: 30px;
}

/* ==== Nav ==== */
nav {
    position: sticky; 
    top: 0px;
    background: #0E0E0E;
    z-index: 100;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    padding: 15px 0;
    flex-wrap: nowrap; /* Impede a quebra da barra inteira */
    width: 90%;
    max-width: 1100px;
}

nav ul li {
    flex: 1;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    display: flex;
    align-items: center; /* Centraliza verticalmente o botão */
}

nav ul li:first-child {
    justify-content: flex-start;
    text-align: left;
}

nav ul li:nth-child(2) {
    justify-content: center;
    text-align: center; /* O texto de duas linhas fica centralizado */
}

nav ul li:last-child {
    justify-content: flex-end;
    text-align: right;
}

nav ul li a {
    text-decoration: none;
    color: #F6F2EF;
    display: block;
    padding: 10px 0;
    transition: 0.3s;
}

@media (max-width: 767px) {
    nav ul li a {
        font-size: 0.8rem; /* Reduz a fonte no celular para não engolir a tela */
        padding: 5px 0;
    }
    nav ul {
        padding: 10px 0;
        gap: 5px;
    }
}

nav ul li:hover a {
    color: #9C7144; /* Destaque marrom */
}

/* ==== Sections Gerais ==== */
section {
    padding: 20px 0;
}

.titulos {
    width: 90%;
    max-width: 1100px;
    margin: 80px auto 20px auto;
    text-align: left;
}

.titulos h3 {
    color: #9C7144;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.titulos hr {
    border: none;
    border-bottom: 2px solid #9C7144;
    width: 100%;
    margin-top: 0;
    margin-bottom: 30px;
}

/* ==== Sobre ==== */
#section-sobre {
    background-color: #F6F2EF;
}

.mission-article {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.texto-centro {
    text-align: center;
    padding: 20px;
}

.texto-centro h4 {
    color: #9C7144;
    margin-bottom: 15px;
}

.texto-centro hr {
    border-color: #9C7144;
    margin: 30px 0;
}

#img-sobre {
    background-color: #0E0E0E; /* Fundo preto para Visão e Valores */
    padding: 60px 0;
    margin-top: 40px;
}

#img-sobre article {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.texto {
    color: #F6F2EF;
    text-align: center;
}

.texto h4 {
    color: #9C7144;
    margin-bottom: 15px;
    margin-top: 20px;
}

.valores-lista {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
}

@media (min-width: 768px) {
    .valores-lista {
        grid-template-columns: repeat(3, 1fr);
    }
}

.valores-lista li {
    margin-bottom: 0px;
    font-size: 1.1rem;
}

/* ==== Clientes e Parceiros ==== */
#section-projetos {
    background-color: #F6F2EF;
}

#galeria {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Carousel Logos */
.logo-carousel {
    width: 100%;
    overflow-x: auto;
    position: relative;
    padding: 20px 0;
    cursor: grab;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.logo-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.logo-track {
    display: flex;
    width: max-content;
}
.logo-group {
    display: flex;
    gap: 40px;
    padding-right: 40px;
}
.logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    pointer-events: none; /* Prevenir drag and drop da imagem nativa */
}

/* ==== Contatos ==== */
#section-contatos {
    background-color: #0E0E0E;
    color: #F6F2EF;
}

#center-contatos {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-between;
}

.caixa-contatos, .caixa-form {
    width: 100%;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .caixa-contatos, .caixa-form {
        width: 48%;
    }
}

.caixa-contatos a {
    color: #F6F2EF;
    text-decoration: none;
    font-size: 1.1rem;
}

.caixa-contatos i {
    color: #9C7144;
    margin-right: 10px;
}

.caixa-contatos ul li {
    margin-bottom: 15px;
}

/* Forms */
input.area {
    width: 100%;
    padding: 12px;
    border: 1px solid #9C7144;
    background-color: transparent;
    color: #F6F2EF;
    border-radius: 5px;
}

textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #9C7144;
    background-color: transparent;
    color: #F6F2EF;
    border-radius: 5px;
    resize: vertical;
}

input::placeholder, textarea::placeholder {
    color: #888;
}

.botao {
    background-color: #9C7144;
    color: #F6F2EF;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.botao:hover {
    background-color: #F6F2EF;
    color: #0E0E0E;
}

/* ==== Footer ==== */
footer {
    background-color: #0E0E0E;
    color: #F6F2EF;
    border-top: 1px solid #9C7144;
    padding-top: 40px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-logo-box, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px; /* garante que em telas muito pequenas ele quebre a linha se precisar */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.footer-logo-box img {
    max-height: 150px;
    width: auto;
}

.footer-links h4, .footer-contact h4 {
    color: #9C7144;
    margin-bottom: 15px;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: #F6F2EF;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul a:hover {
    color: #9C7144;
}

.footer-contact i {
    color: #9C7144;
    margin-right: 8px;
}

.footer-copyright {
    text-align: center;
    padding: 20px;
    background-color: #050505;
    font-size: 0.9rem;
    color: #aaa;
}

/* ==== Botão Topo ==== */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
    transition: 0.3s;
}

#myBtn img {
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: 0.3s;
}

#myBtn:hover img {
    transform: scale(1.1);
}
