/* --- VARIÁVEIS & CONFIGURAÇÕES --- */
:root {
    --color-primary: #B76E79; /* Rose Gold */
    --color-primary-dark: #9c5a63;
    --color-text-dark: #2c2c2c;
    --color-text-light: #666666;
    --color-bg-light: #f9f9f9;
    --color-white: #ffffff;
    --color-black: #111111;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- CONFIGURAÇÃO DAS LOGOS --- */
.logo-imagem {
    width: 250px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}

.logo-topo {
    width: 500px; /* Nota: Talvez 500px seja muito grande para o menu, ajuste se necessário */
    max-width: 150px; /* Ajustei o max-width para não quebrar o menu */
    height: auto;
    margin: 0;
    display: block;
}

/* --- CLASSES UTILITÁRIAS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }

/* --- TIPOGRAFIA --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.pre-title {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

/* --- COMPONENTES: BOTÕES --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    letter-spacing: 2px;
}

.navbar.scrolled .nav-logo {
    color: var(--color-text-dark);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--color-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar.scrolled .nav-menu a {
    color: var(--color-text-dark);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: url('../assets/img/fundo_arandela.jpg') no-repeat center center/cover;
    /* Fallback caso a imagem não carregue: */
    background-color: #333; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.brand-box { margin-bottom: 30px; }
.brand-title { font-size: 4rem; letter-spacing: -2px; line-height: 1; margin-bottom: 5px; }
.brand-subtitle { font-size: 1rem; letter-spacing: 4px; text-transform: uppercase; }

.hero-headline { font-size: 2.5rem; margin-bottom: 20px; font-weight: 400; }
.hero-subheadline { font-size: 1.1rem; margin-bottom: 30px; font-weight: 300; }

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- ABOUT SECTION --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text p {
    text-align: justify;
    margin-bottom: 15px; /* Adiciona um espaço elegante entre os parágrafos */
}

/* --- FEATURES SECTION --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 20px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* --- GALLERY SECTION --- */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- TESTIMONIALS (CARROSSEL GLOBAL) --- */

/* Força o título da seção de depoimentos a ser branco */
.testimonials .section-title {
    color: var(--color-white);
}

.testimonials {
    background-color: var(--color-primary);
    text-align: center;
}

/* 1. Wrapper: Define o tamanho e esconde overflow */
.carousel-wrapper {
    position: relative;
    max-width: 800px; 
    margin: 0 auto;
    overflow: hidden; /* Esconde o que sobra nas laterais */
    padding: 20px 0;
}

/* 2. Trilha: Coloca itens lado a lado */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 3. Slide: Ocupa 100% da largura */
.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 40px;
    text-align: center;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    color: var(--color-white);
}

.testimonial-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.testimonial-author {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Botões do Carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(183, 110, 121, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background-color: rgb(183, 110, 121);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Indicadores (Bolinhas) */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255, 0.3);
    border: none;
    cursor: pointer;
}

.carousel-indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}


/* --- LOCATION --- */
.location-container {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.location-info {
    flex: 1;
    padding: 50px;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-map {
    flex: 1;
    min-height: 400px;
}

.info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    gap: 10px;
}
.info-item i { color: var(--color-primary); margin-top: 5px; }

/* --- FOOTER --- */
.footer {
    background-color: var(--color-black);
    color: #eee;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;              /* Ativa o layout flexível */
    align-items: center;        /* Centraliza verticalmente (o texto com a imagem) */
    justify-content: center;    /* Centraliza o conjunto no meio da tela */
    gap: 7px;                  /* Espaço entre a imagem e o texto */
    margin-bottom: 20px;
}

.footer-icon {
    height: 100px;               /* Define a altura da imagem (ajuste conforme necessário) */
    width: auto;                /* Mantém a proporção da imagem */
    display: block;
}

/* Remove margens extras do título para ele alinhar perfeito com a imagem */
.brand-footer {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-white);
    margin-bottom: 0;           
    line-height: 1;             /* Melhora o alinhamento vertical */
}

/*
.brand-footer {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-white);
}
*/

.footer-links { margin-bottom: 30px; }
.footer-links a {
    color: #eee;
    margin: 0 15px;
    font-size: 1.5rem;
}
.footer-links a:hover { color: var(--color-primary); }

.copyright {
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* --- BOTÃO WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE (CELULAR) --- */
/* Tudo o que for específico para telas menores de 768px fica AQUI DENTRO */
@media (max-width: 768px) {
    /* Tipografia Hero */
    .brand-title { font-size: 3rem; }
    .hero-headline { font-size: 2rem; }
    
    /* Menu Mobile */
    .hamburger { display: block; }
    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--color-white);
        transition: all 0.3s ease-in-out;
    }
    
    /* Quando a nav está branca (scroll), hamburger vira preto */
    .navbar.scrolled .hamburger .bar {
        background-color: var(--color-text-dark);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 15px 0; }
    .nav-menu a { color: var(--color-text-dark); }

    /* Layouts */
    .grid-2, .location-container { grid-template-columns: 1fr; display: block; }
    .about-img { margin-top: 30px; }
    .location-map { height: 300px; }

    /* Ajuste do Carrossel no Mobile */
    .carousel-wrapper { padding: 0; } 
    .prev-btn, .next-btn { display: none; } /* Esconde setas em telas pequenas */
}