/* Estilos Gerais */
:root {
    --primary-color: #e30613; /* Vermelho */
    --secondary-color: #000000; /* Preto */
    --light-color: #ffffff; /* Branco */
    --gray-color: #f5f5f5;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--light-color);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 80px 0;
}

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

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

.section-header p {
    font-size: 18px;
    color: var(--dark-gray);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 14px;
}

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

.btn-primary:hover {
    background-color: #c10000;
}

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

.btn-secondary:hover {
    background-color: #333;
}

.bg-light {
    background-color: var(--gray-color);
}

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

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

#header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 24px;
    color: var(--light-color);
}

.logo span {
    color: var(--primary-color);
    font-weight: 700;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    color: var(--light-color);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

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

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

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

.menu-mobile {
    display: none;
    font-size: 24px;
    color: var(--light-color);
    cursor: pointer;
}

/* Banner */
.banner {
    height: 100vh;
    background-image: url('../img/banner.jpg');
    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.7);
}

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

.banner-content h2 {
    font-size: 48px;
    color: var(--light-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.banner-content p {
    font-size: 20px;
    color: var(--light-color);
    margin-bottom: 30px;
}

/* Quem Somos */
.quem-somos-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

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

.quem-somos-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.quem-somos-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.quem-somos-text ul {
    margin-left: 20px;
}

.quem-somos-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.quem-somos-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.quem-somos-image {
    flex: 1;
    min-width: 300px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.servico-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

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

.servico-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.servico-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.servico-item p {
    color: var(--dark-gray);
}

/* Projetos */
.projetos-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--primary-color);
}

.filter-btn.active {
    border-bottom: 2px solid var(--primary-color);
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.projeto-item {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.projeto-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.projeto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.projeto-item:hover .projeto-overlay {
    opacity: 1;
}

.projeto-item:hover .projeto-img img {
    transform: scale(1.1);
}

.projeto-info {
    text-align: center;
    padding: 20px;
    color: var(--light-color);
}

.projeto-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.projeto-info p {
    margin-bottom: 15px;
}

.btn-more {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.btn-more:hover {
    color: var(--light-color);
}

.projetos-more {
    text-align: center;
    margin-top: 40px;
}

/* Números */
.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.numero-item {
    text-align: center;
}

.numero-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.numero-count {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-color);
}

.numero-item h3 {
    font-size: 18px;
    color: var(--light-color);
}

/* Depoimentos */
.depoimentos-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.depoimento-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
}

.depoimento-content {
    margin-bottom: 20px;
}

.depoimento-content p {
    font-style: italic;
    color: var(--dark-gray);
}

.depoimento-autor {
    display: flex;
    align-items: center;
}

.depoimento-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.depoimento-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.depoimento-info p {
    color: var(--dark-gray);
    font-size: 14px;
}

/* Contato */
.contato-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contato-info {
    flex: 1;
    min-width: 300px;
}

.contato-item {
    display: flex;
    margin-bottom: 30px;
}

.contato-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 30px;
}

.contato-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contato-text p {
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.contato-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

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

.contato-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

/* Mapa */
.mapa {
    height: 450px;
}

.mapa-container {
    height: 100%;
}

/* Footer */
#footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 70px 0 0;
}

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

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

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #aaa;
}

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

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-links ul li a,
.footer-services ul li a {
    color: #aaa;
    transition: var(--transition);
}

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

.footer-newsletter p {
    color: #aaa;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.btn-newsletter {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background-color: #c10000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: #aaa;
    font-size: 14px;
}

.footer-social a {
    color: #aaa;
    margin-left: 15px;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-color);
}

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

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

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

/* Responsividade */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .menu-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .banner-content h2 {
        font-size: 30px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .quem-somos-content,
    .contato-content {
        flex-direction: column;
    }
    
    .projetos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 15px;
    }
    
    .footer-social a {
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    
    .depoimentos-slider {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .btn-newsletter {
        border-radius: 4px;
        padding: 10px;
    }
}
