:root {
    --primary: #1a2a3a;
    --gold: #c5a059;
    --bg-light: #f8f9fa;
    --text: #333;
    --white: #ffffff;
    --menu-bg: #FAFCEF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-light);
    color: var(--text);
    line-height: 1.6;
    padding-top: 110px;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* NAVBAR */
#navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 10px 0; transition: 0.4s; 
    background: var(--menu-bg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
#navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; position: relative; }

/* BRANDING (Atualizado: Texto Maior) */
.logo { display: flex; align-items: center; gap: 15px; } /* Gap aumentado */
.logo img { height: 90px; width: auto; transition: 0.3s; }
#navbar.scrolled .logo img { height: 75px; }

.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; } /* Line-height reduzido */

.brand-prefix {
    font-family: 'Lato', sans-serif; 
    font-size: 1rem; /* Aumentado */
    text-transform: uppercase;
    letter-spacing: 4px; /* Mais espaçado */
    color: var(--gold); 
    font-weight: 700;
    margin-bottom: 2px;
}
.brand-name {
    font-family: 'Playfair Display', serif; 
    font-size: 2.2rem; /* Aumentado significativamente */
    color: var(--primary);
    font-weight: 700; 
    white-space: nowrap;
}

/* Redução suave ao rolar a página */
#navbar.scrolled .brand-name { font-size: 1.8rem; }
#navbar.scrolled .brand-prefix { font-size: 0.85rem; }

/* LINKS */
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { color: var(--primary); font-weight: 600; letter-spacing: 0.5px; font-size: 1.1rem; }
.nav-links a:hover { color: var(--gold); }

.btn-reserva {
    background: var(--primary); color: var(--white) !important; 
    padding: 10px 30px; border-radius: 4px;
}
.btn-reserva:hover { background: var(--gold); color: var(--white) !important; }

.menu-toggle { display: none; }

/* HERO */
.hero {
    height: 90vh;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
    margin-top: -110px;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.hero-content { position: relative; z-index: 2; padding-top: 100px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; }
.btn-hero {
    background: var(--gold); color: var(--white); padding: 12px 30px;
    margin-top: 20px; display: inline-block; font-weight: 700;
}
.btn-hero:hover { background: #b08d4b; }

/* --- CARDS (COM SOMBRA NA IMAGEM) --- */
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary); margin-bottom: 50px; }

.grid-quartos { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

.card-quarto { 
    background: var(--white); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border-radius: 8px;
    overflow: hidden; 
    transition: transform 0.3s, box-shadow 0.3s; 
}

.card-quarto:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Caixa da Imagem */
.img-box {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden; 
    border-bottom: 4px solid var(--gold);
    
    /* --- NOVA SOMBRA AQUI --- */
    /* Sombra projetada para baixo, sobre o texto */
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.4);
    z-index: 2; /* Garante que a sombra fique visível */
}

.img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease, filter 0.6s ease;
}

.card-quarto:hover .img-box img {
    transform: scale(1.15); 
    filter: brightness(1.1);
}

.content-box { 
    padding: 25px; 
    text-align: center; 
    position: relative; 
    z-index: 1; /* Texto fica abaixo da sombra da imagem */
}
.content-box h3 { color: var(--primary); margin-bottom: 10px; }
.price { display: block; color: var(--gold); font-weight: 700; font-size: 1.2rem; margin: 15px 0; }
.btn-details { 
    padding: 10px 25px; 
    background: transparent; 
    border: 1px solid var(--primary); 
    cursor: pointer; 
    transition: 0.3s; 
    border-radius: 4px;
}
.btn-details:hover { background: var(--primary); color: var(--white); }

/* FOOTER */
footer { background: var(--primary); color: var(--white); padding: 60px 0 20px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }

.footer-logo { 
    height: 70px; 
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 20px; 
    border-radius: 6px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

.scroll-anim { opacity: 0; transform: translateY(30px); transition: 1s all ease; }
.scroll-anim.visible { opacity: 1; transform: translateY(0); }

/* BOTÕES FLUTUANTES */
.btn-floating {
    position: fixed; bottom: 30px;
    width: 60px; height: 60px;
    border-radius: 50%;
    text-align: center; line-height: 60px;
    font-size: 1.8rem; color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000; transition: all 0.3s ease;
}
.btn-floating:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

.btn-whatsapp { left: 30px; background-color: #25d366; }
.btn-whatsapp:hover { background-color: #20bd5a; color: #fff; }

.btn-back-top {
    right: 30px; background-color: var(--gold);
    opacity: 0; visibility: hidden; pointer-events: none;
}
.btn-back-top:hover { background-color: #b08d4b; color: #fff; }
.btn-back-top.show { opacity: 1; visibility: visible; pointer-events: auto; }

/* RESPONSIVIDADE (1024px) */
@media(max-width: 1024px) {
    body { padding-top: 80px; }
    
    .logo img { height: 60px; } /* Um pouco maior no mobile */
    .brand-prefix { font-size: 0.75rem; letter-spacing: 2px; } /* Ajustado */
    .brand-name { font-size: 1.5rem; } /* Ajustado */

    .menu-toggle { 
        display: block !important; 
        color: var(--primary); font-size: 2rem; cursor: pointer;
        position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    }

    .nav-links {
        display: none; 
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--menu-bg);
        flex-direction: column; padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); text-align: center;
        z-index: 999;
    }
    .nav-links.active { display: flex; animation: slideDown 0.3s ease forwards; }
    .nav-links li { margin: 15px 0; }
    .hero h1 { font-size: 2.2rem; }

    .btn-floating { width: 50px; height: 50px; line-height: 50px; font-size: 1.5rem; bottom: 20px; }
    .btn-whatsapp { left: 20px; }
    .btn-back-top { right: 20px; }

    .grid-quartos { grid-template-columns: repeat(2, 1fr); gap: 15px; }

    .card-quarto .img-box { height: 130px; border-bottom-width: 3px; }
    .card-quarto .content-box { padding: 15px 10px; }
    .card-quarto h3 { font-size: 1.1rem; margin-bottom: 5px; }
    .card-quarto p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.85rem; }
    .card-quarto .price { font-size: 1rem; margin: 8px 0; }
    .card-quarto .btn-details { width: 100%; padding: 8px 0; font-size: 0.9rem; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* OUTROS ESTILOS (Sobre / Reserva / Detalhes) */
.hero-small {
    height: 50vh; background-size: cover; background-position: center;
    position: relative; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); margin-top: -110px;
}
.hero-small .hero-content { padding-top: 80px; }

.about-flex { display: flex; align-items: center; gap: 60px; }
.about-text { flex: 1; }
.about-img { flex: 1; position: relative; }
.sub-title { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; font-family: 'Lato', sans-serif; }
.about-text h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; line-height: 1.2; }
.about-text p { margin-bottom: 20px; color: #555; font-size: 1.05rem; }
.signature p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.5rem; color: var(--primary); margin-top: 30px; }
.about-img img { width: 100%; border-radius: 8px; box-shadow: 20px 20px 0px rgba(197, 160, 89, 0.2); }
.img-badge { position: absolute; bottom: -20px; left: -20px; background: var(--primary); color: var(--white); padding: 15px 25px; font-family: 'Playfair Display', serif; font-size: 1.2rem; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.bg-light { background-color: #fcfcfc; border-top: 1px solid #eee; }
.mb-50 { margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); padding: 30px; text-align: center; border-radius: 8px; border: 1px solid #f0f0f0; transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--gold); }
.feature-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: #666; }

@media(max-width: 900px) {
    .about-flex { flex-direction: column; gap: 40px; }
    .about-text h2 { font-size: 2rem; }
    .about-img { width: 100%; padding-left: 20px; }
    .img-badge { left: 0; }
}

.form-container { max-width: 800px; margin: -100px auto 0; background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; z-index: 10; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: span 2; }
.form-reserva label { font-weight: 700; color: var(--primary); margin-bottom: 8px; font-size: 0.9rem; }
.form-reserva input, .form-reserva select, .form-reserva textarea { padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Lato', sans-serif; font-size: 1rem; transition: 0.3s; }
.form-reserva input:focus, .form-reserva select:focus, .form-reserva textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 5px rgba(197, 160, 89, 0.2); }
.btn-submit-reserva { width: 100%; margin-top: 30px; padding: 15px; background: #25d366; color: white; border: none; font-size: 1.1rem; font-weight: bold; border-radius: 4px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-submit-reserva:hover { background: #1ebc57; transform: translateY(-2px); }
.nota-reserva { text-align: center; font-size: 0.8rem; color: #888; margin-top: 15px; }

@media(max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .form-container { padding: 25px; margin-top: -50px; }
}

.back-link { display: inline-block; margin-bottom: 30px; color: #666; font-weight: 600; }
.back-link:hover { color: var(--gold); }
.details-flex { display: flex; gap: 50px; align-items: flex-start; }
.details-img { flex: 1.2; }
.details-img img { width: 100%; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); border-bottom: 5px solid var(--gold); }
.details-info { flex: 1; padding-top: 10px; }
.details-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; line-height: 1.1; }
.details-price { color: var(--gold); margin-bottom: 25px; display: flex; align-items: baseline; gap: 5px; }
.details-price .currency { font-size: 1.2rem; font-weight: bold; }
.details-price .value { font-size: 2.5rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.details-price .period { color: #999; font-size: 1rem; }
.details-desc { font-size: 1.05rem; color: #555; margin-bottom: 30px; line-height: 1.8; }
.room-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
.room-features span { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 600; }
.room-features span i { color: var(--gold); }
.btn-reserve-now { display: inline-block; width: 100%; padding: 18px; background: var(--primary); color: white; text-align: center; font-size: 1.1rem; font-weight: bold; border-radius: 4px; box-shadow: 0 10px 20px rgba(26, 42, 58, 0.2); }
.btn-reserve-now:hover { background: var(--gold); transform: translateY(-3px); color: white; }

@media(max-width: 900px) {
    .details-flex { flex-direction: column; gap: 30px; }
    .details-img { width: 100%; }
    .details-title { font-size: 2rem; }
}