/* Estilos Globais */
:root {
    --primary-color: #d4af37; /* Dourado */
    --secondary-color: #000000; /* Preto */
    --accent-color: #ffffff; /* Branco */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --dark-gray: #222222;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--accent-color);
    padding-top: 60px; /* Adicionar espaço para o header fixo */
}

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.bg-dark .section-header h2 {
    color: var(--accent-color);
}

.separator {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.bg-dark {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Cabeçalho */
header {
    position: fixed !important; /* Forçar posição fixa */
    top: 0 !important; /* Forçar posição no topo */
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    z-index: 1000;
    padding: 8px 0;
    transition: var(--transition);
    height: auto;
    max-height: 60px; /* Limitar altura máxima */
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 120px;
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 44px; /* Limitar altura da imagem */
}

nav .menu {
    display: flex;
    list-style: none;
}

nav .menu li {
    margin-left: 25px;
}

nav .menu li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

nav .menu li a:hover, nav .menu li a.active {
    color: var(--primary-color);
}

nav .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav .menu li a:hover::after, nav .menu li a.active::after {
    width: 100%;
}

.btn-contato {
    background-color: var(--primary-color);
    color: var(--secondary-color) !important;
    padding: 6px 18px !important;
    border-radius: 30px;
}

.btn-contato:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color) !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
}

/* Banner Principal - ATUALIZADO COM NOVA IMAGEM */
.banner {
    height: 100vh;
    background-image: url('assets/banner.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ajustado para melhor legibilidade */
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adicionado para melhorar legibilidade */
}

.banner-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Adicionado para melhorar legibilidade */
}

.banner-content p {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Adicionado para melhorar legibilidade */
}

/* Sobre Nós */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AJUSTE AQUI: Limitando o tamanho do logo na seção Sobre Nós */
.about-image img {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.image-placeholder p {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.service-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Empresas Parceiras */
.partners-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.partner-placeholder {
    background-color: var(--light-gray);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.partner-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid var(--primary-color);
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.partner-placeholder p {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Depoimentos */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.author-image i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background-color: var(--accent-color);
}

/* Contato */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after, .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 30px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.info-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.form-group select option {
    background-color: var(--secondary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Rodapé */
footer {
    background-color: var(--dark-gray);
    color: var(--accent-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

/* AJUSTE AQUI: Limitando o tamanho do logo no rodapé */
.footer-logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer-links, .footer-services, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3, .footer-services h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-services h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul, .footer-services ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsividade */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
    }
    
    /* AJUSTE AQUI: Reduzindo ainda mais o logo em telas menores */
    .about-image img {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }
    
    header {
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav .menu {
        position: fixed;
        top: 50px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 50px);
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 20px;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav .menu.active {
        left: 0;
    }
    
    nav .menu li {
        margin: 15px 0;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content h2 {
        font-size: 1.2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .about-features {
        gap: 20px;
    }
    
    .feature {
        min-width: 100%;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    /* AJUSTE AQUI: Reduzindo ainda mais o logo em telas móveis */
    .about-image img {
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-content h2 {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .about-text h3, .contact-info h3, .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .service-card, .partner-placeholder, .team-member {
        min-width: 100%;
    }
    
    .footer-logo, .footer-links, .footer-services, .footer-contact {
        min-width: 100%;
    }
    
    /* AJUSTE AQUI: Reduzindo ainda mais o logo em telas muito pequenas */
    .about-image img {
        max-width: 150px;
    }
}
