/* Estilos Gerais */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff9900;
    --dark-color: #333333;
    --light-color: #f4f4f4;
    --text-color: #444444;
    --white: #ffffff;
    --gray: #888888;
    --light-gray: #dddddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-primary: rgba(0, 102, 204, 0.8);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--dark-color);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--white);
}

/* Seções com Background */
section.bg-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

section.bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-dark);
    z-index: 1;
}

section.bg-section h2,
section.bg-section p {
    color: var(--white);
    position: relative;
    z-index: 2;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo p {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Banner */
#banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/home_background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 0;
    position: relative;
}

#banner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

#banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#banner h2:after {
    background: var(--secondary-color);
}

/* Sobre */
#sobre {
    position: relative;
}

#sobre.bg-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/sobre_background.jpg');
    background-size: cover;
    background-position: center;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.sobre-text {
    flex: 1;
}

.sobre-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background-color: var(--light-gray);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--primary-color);
}

/* Serviços */
#servicos {
    position: relative;
}

#servicos.bg-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/servicos_background.jpg');
    background-size: cover;
    background-position: center;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.servico-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.servico-card h3, 
.servico-card p {
    color: var(--text-color);
}

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

.servico-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
}

.servico-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.servico-card:hover .servico-image img {
    transform: scale(1.05);
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Projetos */
#projetos {
    position: relative;
}

#projetos.bg-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/projetos_background.jpg');
    background-size: cover;
    background-position: center;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.projeto-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.projeto-card h3, 
.projeto-card p {
    color: var(--text-color);
}

.projeto-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.projeto-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.projeto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.projeto-card:hover .projeto-image img {
    transform: scale(1.05);
}

.projeto-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.projeto-card p {
    padding: 0 20px 20px;
}

/* Equipe */
#equipe {
    position: relative;
}

#equipe.bg-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/equipe_background.jpg');
    background-size: cover;
    background-position: center;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.membro-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.membro-card h3, 
.membro-card p {
    color: var(--text-color);
}

.membro-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.membro-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.membro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.membro-card:hover .membro-image img {
    transform: scale(1.05);
}

.membro-card h3 {
    padding: 20px 20px 5px;
    font-size: 1.3rem;
}

.membro-card p {
    padding: 0 20px 20px;
    color: var(--gray);
}

/* Contato */
#contato {
    position: relative;
}

#contato.bg-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/contato_background.jpg');
    background-size: cover;
    background-position: center;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.contato-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contato-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contato-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

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

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contato-form form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
}

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

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--secondary-color);
}

.footer-info p {
    margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 992px) {
    .sobre-content,
    .contato-content {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .sobre-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.8rem;
    }
    
    #banner h2 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .servicos-grid,
    .projetos-grid,
    .equipe-grid {
        grid-template-columns: 1fr;
    }
}
