/* Variáveis CSS para facilitar a manutenção das cores e fontes */
:root {
    --primary-color: #7B3E3E; /* Tom de vinho/marsala da marca */
    --secondary-color: #B48D6C; /* Dourado/bege para detalhes */
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --dark-bg: #333;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif; /* Para títulos ou destaques */
}


/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fdfdfd;
}
/* Ativa a rolagem suave para toda a página */
html {
    scroll-behavior: smooth;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Header --- */
.header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100px;
    padding: 0 40px;
    position: relative; /* Adicionado para garantir o contexto do container */
}

/* Estilos para posicionar a div do logo */
.header .logo {
    position: absolute;
    top: 55%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 10;
}

/* Estilo para a imagem do logo */
.header .logo img {
    height: 80px;
    width: auto;
}

/* Estilos do menu de navegação */
.header .main-nav {
    /* O container do menu */
}

.header .main-nav ul {
    display: flex;
}

/* REGRA QUE ESTAVA FALTANDO, AGORA CORRIGIDA */
.header .main-nav ul li {
    margin-left: 30px;
}

.header .main-nav ul li a {
    color: var(--light-text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.header .main-nav ul li a:hover {
    color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
    background: url('images/hero.jpg') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.5em;
    font-weight: 300;
}

/* --- Pilares Section --- */
.pillars-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fcfcfc;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pillar-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.pillar-item h3 {
    font-family: var(--font-secondary);
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pillar-item p {
    font-size: 1em;
    margin-bottom: 25px;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: #6a3535;
    border-color: #6a3535;
}

/* --- About Section --- */
.about-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    padding: 80px 0;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.about-content {
    flex: 1;
    padding-right: 40px;
}

.about-content h2 {
    font-family: var(--font-secondary);
    font-size: 3em;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
}
.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.8;
}

.about-content p span {
    font-weight: 600;
    color: var(--secondary-color);
}

/* --- Mission, Vision, Perceived Section --- */
.mission-vision-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mv-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.mv-text .mv-item {
    margin-bottom: 30px;
}

.mv-text .mv-item h3 {
    font-family: var(--font-secondary);
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.mv-text .mv-item p {
    font-size: 1em;
    color: #555;
}

/* --- Arriving Section --- */
.arriving-section {
    background: url('images/arriving.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--light-text-color);
    position: relative;
    text-align: center;
}
.arriving-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.arriving-content {
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
    max-width: 600px;
}

.arriving-content h2 {
    font-family: var(--font-primary);
    font-size: 3.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.arriving-content .secondary-btn {
    background-color: transparent;
    border: 2px solid var(--light-text-color);
    color: var(--light-text-color);
    font-size: 1.1em;
    padding: 15px 35px;
}
.arriving-content .secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    text-align: left;
}

.contact-info h2 {
    font-family: var(--font-secondary);
    font-size: 3em;
    margin-bottom: 30px;
    color: var(--secondary-color);
    position: relative;
}
.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-info .website-link {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--light-text-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--light-text-color);
    font-size: 1.2em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.social-links a i {
    margin-right: 10px;
    font-size: 1.5em;
    color: var(--secondary-color);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.contact-image {
    text-align: center;
}

.contact-image img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}


/* --- Newsletter Section --- */
.newsletter-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Um fundo suave */
    text-align: center;
}

.newsletter-section h3 {
    font-family: var(--font-secondary);
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.newsletter-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

/* No style.css */
.newsletter-form input {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px; /* Bordas arredondadas em todos os cantos */
    font-size: 1em;
    outline: none;
    margin-right: 10px; /* NOVO: Adiciona espaço entre os campos */
}

/* Ajuste no botão para remover a borda arredondada específica */
.newsletter-form button {
    border-radius: 5px; /* Bordas arredondadas em todos os cantos */
    border: none;
    cursor: pointer;
}

/* --- Responsividade Básica --- */
@media (max-width: 992px) {
    .pillars-section,
    .about-section,
    .mission-vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    /* NOVO: Ajusta o formulário de newsletter para telas menores */
    .newsletter-form {
        flex-direction: column;
        gap: 15px; /* Adiciona espaço entre os campos empilhados */
    }
    .newsletter-form input {
        margin-right: 0; /* Remove a margem lateral */
    }
    .about-section {
        flex-direction: column;
        text-align: center;
    }
    .about-content {
        padding-right: 0;
        padding-top: 30px;
    }
    .about-content h2::after,
    .contact-info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .arriving-content h2 {
        font-size: 2.5em;
    }

    /* Ajustes no Header para telas menores */
    .header .container {
        flex-direction: column;
        justify-content: center;
        height: auto; /* Altura automática para acomodar logo e menu */
        padding: 20px;
    }
    .header .logo {
        position: static; /* Remove o posicionamento absoluto */
        transform: none;  /* Remove a transformação */
        margin-bottom: 15px;
    }
    .header .main-nav ul {
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .header .main-nav ul li {
        margin: 5px 15px; /* Ajusta a margem para telas menores */
    }

    .contact-info, .contact-image {
        text-align: center;
    }
    .social-links {
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .about-content h2,
    .contact-info h2 {
        font-size: 2.2em;
    }
    .arriving-content h2 {
        font-size: 2em;
    }
}