/* Estilos gerais */
:root {
    --primary-color: #c00000; /* Vermelho do logo */
    --secondary-color: #000000; /* Preto do logo */
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --white: #ffffff;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h2 {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

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

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #a00000;
}

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

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

/* 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: 15px 20px;
}

.logo img {
    height: 60px;
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-mobile {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-mobile span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Banner */
.banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1000606753.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 150px 0 100px;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--white);
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
}

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

.quem-somos-text, .quem-somos-image {
    flex: 1;
}

.quem-somos-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Produtos */
.produtos {
    background-color: var(--light-gray);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.produto-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.produto-card:hover {
    transform: translateY(-5px);
}

.produto-image {
    height: 200px;
    overflow: hidden;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-info {
    padding: 20px;
}

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

.produto-info ul {
    margin-top: 15px;
    padding-left: 20px;
}

.produto-info li {
    margin-bottom: 5px;
}

/* Calculadora */
.calculadora {
    background-color: var(--white);
}

.calculadora-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.calculadora-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--medium-gray);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.tab-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.tab-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.resultado {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: none;
}

.resultado h3 {
    margin-bottom: 20px;
}

.resultado-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.resultado-item {
    display: flex;
    flex-direction: column;
}

.resultado-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.resultado-valor {
    font-size: 18px;
    color: var(--primary-color);
}

/* Contato */
.contato {
    background-color: var(--light-gray);
}

.contato-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contato-info, .contato-form {
    flex: 1;
}

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

.contato-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Responsividade */
@media (max-width: 992px) {
    .quem-somos-content,
    .contato-content {
        flex-direction: column;
    }
    
    .quem-somos-text {
        order: 2;
    }
    
    .quem-somos-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .menu-mobile {
        display: flex;
    }
    
    .banner h1 {
        font-size: 32px;
    }
    
    .banner p {
        font-size: 18px;
    }
    
    .resultado-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .banner {
        padding: 120px 0 80px;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    .banner p {
        font-size: 16px;
    }
}
