/* --- Variáveis de Cores e Fontes --- */
:root {
    --primary-color: #c5a059; /* Dourado */
    --primary-dark: #a68543;
    --secondary-color: #f9f7f2; /* Creme Suave */
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --black: #1a1a1a;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* --- Reset Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* CRUCIAL: Impede o scroll lateral */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

img {
    max-width: 100%; /* Garante que imagens nunca estourem o container */
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Container Fluido para evitar cortes */
.container {
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Margem de segurança nas laterais */
}

/* --- Botões --- */
.btn-gold {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-gold-sm {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* --- Header --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.6rem; /* Levemente menor para mobile */
    color: var(--black);
    letter-spacing: -0.5px;
}

.logo span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-links .btn-nav {
    background-color: var(--black);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--secondary-color);
    padding-top: 130px;
    padding-bottom: 60px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text .subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--black);
}

.hero-text .description {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 90%;
}

.hero-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px 100px 10px 100px;
    box-shadow: 20px 20px 0px rgba(197, 160, 89, 0.2);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 0;
    background: var(--white);
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
    z-index: 2;
}

.image-badge span {
    font-weight: 600;
    color: var(--black);
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 5px;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-text h4 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.about-text p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Services Section --- */
.services {
    background-color: var(--secondary-color);
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--black);
}

.section-header p {
    color: var(--light-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.service-card ul li {
    margin-bottom: 10px;
    color: var(--light-text);
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-center {
    text-align: center;
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: var(--white);
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 80px 0 20px 0;
    overflow: hidden; /* Garante que nada no footer cause rolagem */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-info p {
    color: #999;
    margin-bottom: 10px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 15px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #555;
    font-size: 0.8rem;
}

/* --- Whatsapp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* =========================================
   RESPONSIVIDADE (MOBILE CORRIGIDO)
========================================= */

@media (max-width: 992px) {
    .hero-text h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Menu Mobile Ajustado */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%; /* Não ocupa 100% pra poder clicar fora se quiser */
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center; /* Centraliza itens do menu */
        padding-top: 60px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }

    /* Layout Geral */
    .hero-container, .about-container {
        flex-direction: column;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center;
        min-height: auto;
    }

    .hero-text {
        width: 100%; /* Força largura total */
    }

    .hero-text h2 {
        font-size: 2.2rem; /* Reduzido para não cortar */
        line-height: 1.2;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        word-wrap: break-word; /* Quebra palavras longas se necessário */
    }

    .hero-text .description {
        font-size: 1rem;
        margin: 0 auto 30px auto;
        width: 100%;
    }

    .hero-image {
        width: 100%;
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 85%; /* Imagem um pouco menor no mobile */
        border-radius: 10px 60px 10px 60px;
    }

    .image-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        white-space: nowrap;
        width: max-content;
    }

    /* Sobre */
    .about {
        padding: 60px 0;
        text-align: center;
    }
    
    .about-text h4 {
        font-size: 2rem;
    }

    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Footer Ajustado para Coluna */
    .footer-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-info, .footer-links, .footer-contact {
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
        display: flex;
    }

    /* Ajuste do Título de Seção */
    .section-header h3 {
        font-size: 2rem;
    }
}

/* =========================================
   TELA DE CARREGAMENTO (PRE-LOADER)
========================================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color); /* Fundo Creme */
    z-index: 9999; /* Garante que fique acima de tudo */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Estilo da Logo no Loader */
#loader img {
    width: 150px; /* Tamanho da logo */
    max-width: 80%;
    animation: pulse 2s infinite ease-in-out;
}

/* Círculo giratório dourado discreto */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(197, 160, 89, 0.3); /* Dourado claro */
    border-top: 3px solid var(--primary-color); /* Dourado forte */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Classe para esconder o loader */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Animação de Pulsar a Logo */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Animação de Girar */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}