/* Reset e Variáveis */
:root {
    --primary-color: #4A2C2A; /* Tom marrom/vinho escuro das imagens */
    --accent-color: #C5A065;  /* Dourado do logo */
    --text-color: #333;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--primary-color) !important;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* compensar navbar */
    background: linear-gradient(to right, #fff 50%, var(--primary-color) 50%);
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: -20px 20px 0px var(--accent-color);
}

/* Sections Gerais */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Sobre */
.about-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex: 1;
}

.icon-large {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Serviços Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Timeline / Como Funciona */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.timeline-item .number {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-item h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Footer */
/* Footer Novo */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp-large {
    background: #25D366;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-whatsapp-large:hover {
    background: #1ebc57;
    transform: scale(1.02);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile Responsividade Básica */
/* Mobile Responsividade Básica */
@media (max-width: 768px) {
    /* Ajustes da Capa (Hero) */
    .hero {
        background: var(--white);
        height: auto;
        padding-bottom: 50px;
    }

    .hero-content {
        flex-direction: column-reverse;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
        margin-top: 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    /* --- CORREÇÃO DO MENU (NAVBAR) --- */
    /* Isso aqui é o que vai descer o menu e arrumar a bagunça */
    .navbar {
        padding: 15px 0; /* Um pouco mais de espaço */
        position: relative; /* Solta o menu para não travar a tela se ficar grande */
    }

    .navbar .container {
        flex-direction: column; /* Empilha: Logo em cima, Menu embaixo */
        gap: 20px;
    }

    .nav-links {
        flex-direction: column; /* Coloca os links um embaixo do outro no celular */
        gap: 15px;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .nav-links li {
        width: 100%; /* O link ocupa a linha toda pra ficar fácil de tocar */
    }
    
    .nav-links a {
        display: block;
        padding: 5px;
        font-size: 1.1rem; /* Aumenta a letra pra ficar legível */
    }

    .btn-nav {
        display: inline-block;
        margin-top: 10px;
        width: auto;
    }

    /* Ajustes Gerais de Seções */
    .about-content {
        flex-direction: column;
    }

    .about-narrative {
        flex-direction: column;
        gap: 30px;
    }

    .divider-left {
        margin: 0 auto 25px auto; /* Centraliza o risco dourado */
    }
    
    .about-text {
        text-align: center; /* Centraliza o texto "Quem sou" */
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .location-container {
        flex-direction: column;
    }
    
    .map-box iframe {
        height: 250px; /* Ajusta altura do mapa no celular */
    }
}

/* Seção Quem Sou */
.about-narrative {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
}

.divider-left {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin-bottom: 25px; /* Alinhado a esquerda */
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    /* Um efeito sutil de borda deslocada */
    box-shadow: 20px 20px 0px var(--primary-color); 
}

@media (max-width: 768px) {
    .about-narrative {
        flex-direction: column;
    }
    .about-img img {
        box-shadow: 10px 10px 0px var(--primary-color); 
    }
}

/* Localização */
.location-container {
    display: flex;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden; /* Para o mapa não vazar as bordas */
}

.address-box {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-box {
    flex: 1.5; /* Mapa ocupa um pouco mais de espaço */
}

.map-box iframe {
    display: block; /* Remove espaço branco embaixo do iframe */
    height: 100%;
    min-height: 300px;
}

@media (max-width: 768px) {
    .location-container {
        flex-direction: column;
    }
}

/* Galeria */
/* Galeria Atualizada */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.img-box {
    height: 250px; /* Altura fixa para as fotos ficarem iguais */
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a foto preencha sem esticar */
    transition: transform 0.5s;
}

.gallery-item:hover .img-box img {
    transform: scale(1.1); /* Zoom na foto quando passa o mouse */
}

.caption {
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--accent-color); /* Detalhe dourado embaixo */
}

.caption h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.caption p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* --- Carrossel Automático --- */
.carousel {
    display: grid;
    grid-template-areas: "stack"; /* Cria uma pilha onde tudo fica no mesmo lugar */
    width: 100%;
}

.carousel img {
    grid-area: stack; /* Manda todas as fotos para a mesma pilha */
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0px var(--primary-color);
    
    /* Efeito de transição */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.carousel img.active {
    opacity: 1; /* Só a foto com a classe 'active' aparece */
    z-index: 1;
}

/* --- Animação de Scroll (Bônus) --- */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-50%); /* Começa vindo da esquerda */
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* Para elementos que não devem vir do lado, apenas aparecer (fade-in) */
.fade-up {
    opacity: 0;
    transform: translateY(30px); /* Começa um pouco abaixo */
    transition: all 1s;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}