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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

h1, h2, h3, h4 {
    font-family: 'Times New Roman', serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

a:hover {
    color: #8b0000;
}

.btn {
    display: inline-block;
    background-color: #8b0000;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #6b0000;
    color: #fff;
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    margin-right: 15px;
    border-radius: 50%;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
    color: #8b0000;
}

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

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

nav ul li a {
    font-size: 16px;
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #8b0000;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 90px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Sobre Section */
.sobre {
    background-color: #fff;
}

.sobre-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

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

.sobre-valores {
    flex: 1;
    min-width: 300px;
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sobre-valores ul {
    list-style: none;
}

.sobre-valores ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.sobre-valores ul li i {
    margin-right: 10px;
    color: #8b0000;
    font-size: 18px;
}

/* Serviços Section */
.servicos {
    background-color: #f5f5f5;
}

.servicos h2 {
    text-align: center;
}

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

.servico-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
}

.servico-card i {
    font-size: 40px;
    color: #8b0000;
    margin-bottom: 20px;
}

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

/* Contato Section */
.contato {
    background-color: #fff;
}

.contato h2 {
    text-align: center;
}

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

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

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

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    border-radius: 50%;
}

.footer-logo h3 {
    color: #fff;
    margin-bottom: 10px;
}

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

.footer-links h4 {
    color: #fff;
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: #ddd;
}

.footer-links ul li a:hover {
    color: #fff;
}

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

/* Mensagem de Sucesso */
.success-message {
    display: none;
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
}
