/* Custom CSS Variables */
:root {
    --primary-color: #8B7355;
    --secondary-color: #A68B5B;
    --accent-color: #D4AF37;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --bege: ;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#contato {
    background: #a08e706a;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Typography */
.hero-title,
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle,
.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-description,
.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-right: 2rem;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Ambiente Cards */
.ambiente-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 300px;
}

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

.ambiente-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ambiente-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ambiente-card:hover .ambiente-image img {
    transform: scale(1.05);
}

.ambiente-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
}

.ambiente-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Modernidade Section */
.modernidade-content {
    padding-right: 2rem;
}

.modernidade-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Galeria Cards */
.galeria-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.galeria-card:hover {
    transform: translateY(-5px);
}

.galeria-image {
    height: 200px;
    overflow: hidden;
}

.galeria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-card:hover .galeria-image img {
    transform: scale(1.1);
}

.galeria-content {
    padding: 1.5rem;
    text-align: center;
}

.galeria-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Qualidade Section */
.qualidade-content {
    padding-left: 2rem;
}

.qualidade-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
}

/* Footer */
.footer-logo {
    filter: brightness(0) invert(1);
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: relative;
    top: -8px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #128c7e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .modernidade-content,
    .qualidade-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 2rem;
    }
    
    .ambiente-card {
        height: 250px;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .ambiente-card {
        height: 200px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.sobre-section {
    position: relative;
    background-color: #000; /* Preto sólido */
    overflow: hidden; /* Para garantir que o ::before não vaze */
}

.sobre-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/fundo_sobre.jpg") center/cover no-repeat;
    opacity: 0.3; /* Controle da opacidade só da imagem */
    z-index: 0;
}

.sobre-section > * {
    position: relative;
    z-index: 1; /* Conteúdo fica acima da imagem */
}

.footer-section {
    position: relative;
    background-color: #000; /* Preto sólido */
    overflow: hidden;
    color: #FFFFFF;
}

.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/fundo_footer.jpg") center/cover no-repeat;
    opacity: 0.3; /* ajuste a opacidade da imagem */
    z-index: 0;
}

.footer-section > * {
    position: relative;
    z-index: 1; /* Garante que o conteúdo do footer fique acima */
}

.contato-section {
    position: relative;
    background-color: #000; /* fundo preto sólido */
    overflow: hidden;
}

.contato-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/fundo_contato.jpg") center/cover no-repeat;
    opacity: 0.25; /* controla opacidade da imagem */
    z-index: 0;
}

.contato-section > * {
    position: relative;
    z-index: 1; /* conteúdo acima da imagem */
}

/* Melhorar contraste do formulário */
.contato-section .form-control,
.contato-section .form-select,
.contato-section textarea {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 0 0 0.25rem rgba(160, 142, 112, 0.4); /* foco dourado */
}

.contato-section .form-control:focus,
.contato-section .form-select:focus,
.contato-section textarea:focus {
}

.collage {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
}

.collage img {
    position: absolute;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0,0,0,.20);
    transition: transform .25s ease, box-shadow .25s ease, z-index .1s step-end;
    user-select: none;
    -webkit-user-drag: none;
    border: 3px solid #FFFFFF;
}

.collage img:nth-child(1) {
    width: 70%;
    height: 70%;
    top: 0%;
    left: -5%;
    /*transform: rotate(-6deg);*/
    z-index: 2;
}

.collage img:nth-child(2) {
    width: 60%;
    height: 60%;
    top: 22%;
    left: 50%;
    /*transform: rotate(6deg);*/
    z-index: 3;
}

.collage img:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 68%;
    left: 10%;
    /*transform: rotate(2deg);*/
    z-index: 1;
}

.collage img:hover {
    /*transform: rotate(0) scale(1.05);*/
    box-shadow: 0 22px 50px rgba(0,0,0,.28);
    z-index: 5;
}

@media (max-width: 640px) {
    .collage { aspect-ratio: 1 / 1; }
    .collage img { width: 58%; height: 58%; border-radius: 12px; }
    .collage img:nth-child(1) { top: 6%; left: 1%; }
    .collage img:nth-child(2) { top: 28%; left: 40%; }
    .collage img:nth-child(3) { bottom: 6%; left: 20%; }
}

/*Colage 2*/
.collage2 img:nth-child(1) {
    width: 70%;
    height: 70%;
    top: 0%;
    left: 0%;
    /*transform: rotate(-6deg);*/
    z-index: 2;
}

.collage2 img:nth-child(2) {
    width: 50%;
    height: 50%;
    top: 50%;
    right: 0%;
    /*transform: rotate(6deg);*/
    z-index: 3;
}

.collage2 img:hover {
    /*transform: rotate(0) scale(1.05);*/
    box-shadow: 0 22px 50px rgba(0,0,0,.28);
    z-index: 5;
}

@media (max-width: 640px) {
    .collage2 { aspect-ratio: 1 / 1; }
    .collage2 img { width: 58%; height: 58%; border-radius: 12px; }
    .collage2 img:nth-child(1) { top: 6%; left: 2%; }
    .collage2 img:nth-child(2) { top: 28%; right: 2%; }
}

.thumb-img {
    cursor: pointer;
    max-width: 90px;
    border: 2px solid transparent;
    transition: border .2s ease;
}
.thumb-img.active {
    border-color: #0d6efd;
}
.modal-img {
    max-height: 420px;
    object-fit: contain;
}
.thumbs-wrapper {
    user-select: none;
}