/* --- 1. CONFIGURAÇÕES GLOBAIS --- */
:root {
    --primary: #550015;    /* Vinho Marsala */
    --secondary: #dcd0c0;  /* Bege */
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #373737;
    --text-light: #666666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Impede que qualquer imagem "exploda" o layout */
img { max-width: 100%; height: auto; display: block; }

/* --- 2. NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 45px; width: 45px; object-fit: cover; border-radius: 50%; }

.logo { 
    font-size: 1.6rem; 
    font-weight: 700; 
    color: var(--text-dark) !important; 
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo span { 
    color: var(--primary) !important; 
    font-style: italic; 
    margin-left: 6px; 
}

.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-nav:hover { background-color: #3b0714; }

/* --- 3. HERO SECTION --- */
.hero {
    height: 60vh;
    background: url('img01.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(85, 0, 21, 0.4);
}

.hero-content { position: relative; z-index: 2; color: white; text-shadow: 1px 1px 5px rgba(0,0,0,0.3); }
.hero-content h1 { font-size: 3rem; margin-bottom: 10px; }

/* --- 4. SOBRE NÓS --- */
.sobre-nos { padding: 80px 5%; background: var(--bg-white); }
.container-sobre { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }

.foto-socia { text-align: center; }
.foto-socia img {
    width: 250px; height: 350px; object-fit: cover; /* Mantém proporção */
    border-radius: 100px 100px 0 0;
    box-shadow: 10px 10px 0px var(--secondary);
}
.foto-socia p { margin-top: 15px; font-weight: bold; color: var(--primary); }

.texto-historia { max-width: 400px; text-align: center; }
.texto-historia h2 { font-size: 2.5rem; color: var(--primary); }
.divisor { width: 50px; height: 3px; background: var(--secondary); margin: 20px auto; }
.texto-historia p { line-height: 1.6; color: var(--text-light); }

/* --- 5. SERVIÇOS --- */
.servicos { padding: 60px 5%; text-align: center; background-color: var(--bg-light); }
.servicos h2 { margin-bottom: 40px; color: var(--primary); }
.grid-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.card {
    background: white; padding: 30px; width: 250px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 5px; transition: 0.3s;
}
.card:hover { transform: translateY(-5px); }

/* --- 6. GALERIA (CORREÇÃO DE TAMANHO) --- */
.midia-section { padding: 80px 5%; text-align: center; background: white; }
.galeria-grid { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

.galeria-grid img { 
    width: 250px; height: 250px; object-fit: cover; 
    border-radius: 15px; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.galeria-grid img:hover { transform: scale(1.02); border: 2px solid var(--primary); }

/* --- 7. VÍDEOS --- */
.video-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.video-card { width: 200px; background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.video-card video { width: 100%; height: 320px; object-fit: cover; border-bottom: 3px solid var(--primary); }
.video-card p { padding: 10px; font-size: 0.9rem; font-weight: 600; color: var(--primary); text-align: center; }

/* --- 8. AGENDAMENTO --- */
.agendamento-section { padding: 80px 5%; background: var(--primary); color: white; display: flex; justify-content: center; }
.form-container { width: 100%; max-width: 500px; text-align: center; }
.form-container input, .form-container select {
    width: 100%; padding: 15px; margin-bottom: 15px; border: none; border-radius: 5px;
}
.btn-submit {
    width: 100%; padding: 15px; background: var(--secondary); color: var(--text-dark);
    font-weight: bold; border: none; cursor: pointer; text-transform: uppercase; border-radius: 5px;
}

/* --- 9. MAPA --- */
/* --- SEÇÃO MAPA (COMPACTA) --- */
.mapa-section {
    position: relative;
    height: 250px; /* Altura bem reduzida conforme pedido */
    background: var(--bg-light);
    overflow: hidden;
}

.mapa-section iframe {
    height: 100% !important;
    filter: grayscale(20%); /* Deixa o mapa mais elegante */
}

.texto-mapa-compacto {
    position: absolute;
    top: 20px;
    left: 5%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 10;
    max-width: 260px;
    border-left: 5px solid var(--primary);
}

.texto-mapa-compacto h3 { font-size: 1rem; color: var(--primary); margin-bottom: 5px; }
.texto-mapa-compacto p { font-size: 0.8rem; color: var(--text-dark); margin-bottom: 10px; }
.btn-mapa-link { 
    text-decoration: none; color: var(--primary); font-weight: 700; font-size: 0.75rem; 
    text-transform: uppercase; letter-spacing: 1px;
}

/* --- FOOTER SLIM (HARMONIZADO EM #535353) --- */
.footer-slim {
    background: #535353; /* O cinza escolhido por você */
    color: #ffffff;
    padding: 30px 5% 15px;
    border-top: 4px solid var(--primary);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 20px;
}

.footer-brand .logo { color: #ffffff !important; margin-bottom: 10px; }
.footer-brand .logo span { color: var(--secondary) !important; } /* Bege na logo do footer para destacar */

.social-links-footer { display: flex; gap: 15px; margin-top: 10px; }
.social-links-footer a { color: #ffffff; font-size: 1.2rem; transition: 0.3s; }
.social-links-footer a:hover { color: var(--secondary); transform: translateY(-3px); }

.footer-nav-slim h4, .footer-contact-slim h4 { 
    color: var(--secondary); font-size: 0.9rem; margin-bottom: 15px; text-transform: uppercase; 
}

.footer-nav-slim nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-slim a { color: #e0e0e0; text-decoration: none; font-size: 0.85rem; transition: 0.3s; }
.footer-nav-slim a:hover { color: #ffffff; padding-left: 5px; }

.footer-contact-slim { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-slim a { 
    color: #e0e0e0; text-decoration: none; font-size: 0.85rem; 
    display: flex; align-items: center; gap: 10px; 
}
.footer-contact-slim a:hover { color: #ffffff; }

.footer-copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: #bbb;
}
.footer-copyright strong { color: var(--secondary); }

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #550015; /* O bordô da Anita */
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none; /* Começa escondido */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #7a001e;
    transform: translateY(-5px);
}

/* Efeito para aparecer suavemente */
.back-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .footer-container { flex-direction: column; align-items: center; text-align: center; }
    .footer-nav-slim nav { align-items: center; }
}