:root {
    /* Cores */
    --primary-color: #805531;
    --bg-color: #ffffff;
    --highlight-color: #d8c6a3;
    --text-color: #333333;
    --text-muted: #777777;

    /* Tipografia */
    --font-main: 'Montserrat', sans-serif;
    --font-size-hero: 3.2rem;
    --font-size-page-title: 2.8rem;
    --font-size-h2: 2.2rem;
    --font-size-h3: 1.3rem;
    --font-size-body: 1.05rem;
    --font-size-lg: 1.15rem;
    --font-size-sm: 0.92rem;

    /* Espaçamentos e Layout */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --section-padding: 80px 0;
    --section-title-mb: 50px;
    --card-padding: 28px;
    --two-col-gap: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: var(--font-size-body);
    line-height: 1.75;
    overflow-x: hidden;
    text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

/* Cards centralizados: O Que Oferecemos e Nossas Acomodacoes (home) + listagem de acomodacoes */
.highlights .card h3,
.highlights .card p,
.accommodations-preview .card h3,
.accommodations-preview .card p,
.intro .card h3,
.intro .card p,
.other-accommodations .card h3,
.other-accommodations .card p {
    text-align: center;
}

/* Hierarquia tipografica global */
h1 {
    font-size: 3.2rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    margin-bottom: 1rem;
    font-size: var(--font-size-body);
    line-height: 1.75;
}

/* Titulos brancos em fundos escuros (hero/capa) */
.page-cover h1,
.hero h1 {
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    font-size: 3.2rem;
}

/* Texto secundario / muted */
.text-muted {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Paragrafo de destaque (tamanho maior) */
.text-lg {
    font-size: var(--font-size-lg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Menu */
header {
    background: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

nav.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #fdfaf7;
}

.btn-reserve {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-reserve:hover {
    background-color: #6a4628;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: var(--section-title-mb);
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    text-align: center;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--highlight-color);
}

.section-title p {
    font-size: var(--font-size-body);
    color: var(--text-muted);
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
}

/* Section-title alinhado a esquerda (usado em secoes de duas colunas) */
.section-title.text-left {
    text-align: left;
}

.section-title.text-left h2 {
    text-align: left;
}

.section-title.text-left h2::after {
    left: 0;
    transform: none;
}

.section-title.text-left p {
    text-align: left;
}

/* Feature items (estrutura da pousada) */
.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: var(--font-size-body);
    color: var(--text-muted);
}

/* Card padrao */
.card-body {
    padding: var(--card-padding);
    text-align: center;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.card-body p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Cards */
.card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card.static:hover {
    transform: none;
    box-shadow: var(--shadow-light);
}

/* Hover em itens de galeria clicaveis */
.gallery-item {
    overflow: hidden;
}
.gallery-item:hover img {
    transform: scale(1.04);
    transition: transform 0.35s ease;
}

/* WhatsApp Floating Button */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 120px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1200;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    animation: pulse 2s infinite;
}

/* Mobile: acima da barra do motor de reservas */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 115px;
        right: 5px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Footer */
footer {
    background: #fdfaf7;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.agencia-local {
    font-weight: 700;
    color: #333;
}

/* ============================================================
   DESIGN SYSTEM — Classes utilitárias globais
   ============================================================ */

/* --- Seções --- */
.section-white { background-color: #fff; }
.section-cream { background-color: #fdfaf7; }

/* Seção hero (fullscreen) */
.section-hero {
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Seção parallax */
.section-parallax {
    height: 450px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Page cover (páginas internas) */
.section-page-cover {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    position: relative;
}

/* --- Tipografia de Destaque --- */

/* Título Hero */
.hero-title {
    color: #fff;
    font-size: var(--font-size-hero);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.45);
    margin-bottom: 18px;
    line-height: 1.15;
    text-align: center;
}

/* Título de página interna */
.page-title {
    color: #fff;
    font-size: var(--font-size-page-title);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    text-align: center;
}

/* Subtítulo do hero */
.hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 35px;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Título parallax */
.parallax-title {
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
    line-height: 1.15;
}

/* Subtítulo parallax */
.parallax-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

/* Texto de destaque maior */
.text-lead {
    font-size: var(--font-size-lg);
    line-height: 1.82;
    margin-bottom: 1.1rem;
}

/* Subtítulo de seção (cor suave) */
.section-subtitle {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

/* --- Layout two-col --- */
.two-col {
    display: flex;
    gap: var(--two-col-gap);
    flex-wrap: wrap;
    align-items: center;
}

.two-col.align-top { align-items: flex-start; }
.two-col.reverse   { flex-direction: row-reverse; }

.two-col-item {
    flex: 1;
    min-width: 280px;
}

.two-col-item.wide  { flex: 1.5; }
.two-col-item.wider { flex: 2; }

/* --- Botões --- */
.btn-reserve {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.97rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.25s, transform 0.2s;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-reserve:hover {
    background-color: #6a4628;
    transform: translateY(-2px);
    color: #fff;
}

/* Variante outline (sem fundo) */
.btn-outline {
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Variante hero (maior) */
.btn-hero {
    padding: 15px 42px !important;
    font-size: 1.05rem !important;
}

/* --- Cards --- */
.card-padded {
    padding: var(--card-padding);
}

/* --- Grids de conteúdo --- */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

.amenities-grid li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.97rem;
    line-height: 1.5;
}

.amenities-grid li i {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* --- Caixas de conteúdo --- */

/* "O que fazer no Rosa" */
.what-to-do {
    background: #fff;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-top: 50px;
}

.what-to-do h2 {
    text-align: center;
    margin-bottom: 35px;
}

/* Conteúdo longo (política, etc.) */
.content-body {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.85;
    color: #555;
}

.content-body p {
    margin-bottom: 1.2rem;
    font-size: var(--font-size-body);
}

/* Caixa de comodidades */
.amenities-box {
    background: #fdfaf7;
    padding: 28px 32px;
    border-radius: 12px;
    margin-bottom: 36px;
}

.amenities-box h4 {
    margin-bottom: 18px;
    font-size: 1.1rem;
}

/* --- Footer melhorado --- */
.footer-logo {
    height: 50px;
    margin-bottom: 16px;
    display: block;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.footer-social a {
    font-size: 1.35rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-links h4,
.footer-cta h4 {
    color: var(--text-color);
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-cta p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Utilitários misc --- */
.text-center { text-align: center; }
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mt-sm { margin-top: 20px; }
.mb-sm { margin-bottom: 20px; }
.mt-md { margin-top: 40px; }
.mb-md { margin-bottom: 40px; }
.mb-lg { margin-bottom: 60px; }
.w-full { width: 100%; }

/* Ocultar elementos exclusivos do mobile no desktop */
.mobile-menu-toggle { display: none; }
.mobile-menu-close  { display: none; }
.mobile-menu-overlay { display: none; }

/* Mobile Nav */
@media (max-width: 991px) {

    /* Hamburger button */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: var(--primary-color);
        color: #fff;
        cursor: pointer;
        font-size: 1.2rem;
        border: none;
        transition: background .2s;
        flex-shrink: 0;
    }
    .mobile-menu-toggle:hover { background: #6a4628; }

    /* Overlay escuro */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.55);
        z-index: 1499;
        opacity: 0;
        transition: opacity .3s;
    }
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Drawer lateral */
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100%;
        background: #fff;
        z-index: 1500;
        padding: 80px 30px 40px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,.15);
        overflow-y: auto;
        transition: right .32s cubic-bezier(.4,0,.2,1);
    }
    .nav-links.open { right: 0; }

    /* Botao fechar dentro do drawer */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #f5f0eb;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
        border: none;
    }

    /* Links do drawer */
    .nav-links li {
        border-bottom: 1px solid #f0ebe5;
        display: block !important;
        position: relative;
    }
    .nav-links li.has-dropdown {
        display: block !important;
    }
    .nav-links > li > a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 15px 0;
        font-size: 1rem;
        font-weight: 600;
        color: #3d2b1c;
    }
    .nav-links > li.has-dropdown > a {
        justify-content: space-between;
    }
    .nav-links > li > a:hover { color: var(--primary-color); }

    /* Dropdown dentro do drawer */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--highlight-color);
        background: #fdfaf7;
        border-radius: 0 0 8px 8px;
        padding: 0;
        margin: 0 0 6px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s ease, opacity 0.25s ease, padding 0.25s ease;
    }
    .dropdown-menu.open {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: 6px 0 10px 16px;
    }
    .dropdown-menu li {
        border-bottom: none;
    }
    .dropdown-menu a {
        padding: 10px 0;
        font-size: 0.92rem;
        color: #5a3e2b;
        display: block;
    }
    .dropdown-menu a:hover {
        color: var(--primary-color);
        background: transparent;
    }
    /* Rotacionar chevron ao abrir */
    .has-dropdown.dropdown-open > a .fa-chevron-down {
        transform: rotate(180deg);
    }
    .has-dropdown > a .fa-chevron-down {
        transition: transform 0.3s ease;
    }

    /* Botao Reservar no drawer */
    .nav-links .btn-reserve {
        margin-top: 20px;
        display: inline-block;
        text-align: center;
        padding: 12px 30px;
        border-radius: 50px;
        font-size: 1rem;
    }
}

/* Main layout elements */
main {
    min-height: calc(100vh - 80px - 300px);
}

/* Image Placeholders */
.img-placeholder {
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    width: 100%;
    height: 100%;
}

.img-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Video Background Support */
.has-video-bg {
    position: relative;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Ensure content on top of video banner is clickable and above overlay */
.has-video-bg .container {
    position: relative;
    z-index: 2;
}

.img-placeholder span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-cover .img-placeholder {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), #805531;
    color: rgba(255, 255, 255, 0.4);
}

.page-cover .img-placeholder i {
    font-size: 4rem;
}

.d-none {
    display: none !important;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    object-fit: contain;
    pointer-events: none;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px;
    max-width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.lightbox-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.lightbox-thumbnails img {
    height: 60px;
    width: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.lightbox-thumbnails img.active {
    opacity: 1;
    border: 2px solid var(--highlight-color);
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }

    .lightbox-content {
        max-width: 100%;
    }
}

/* 360 Photo Effects */
@keyframes panoramic-pan {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.is-360 {
    position: relative !important;
    overflow: hidden !important;
}

.is-360-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto !important;
    /* Force interaction */
}

.is-360 .container {
    position: relative;
    z-index: 10;
    /* Keep content above the 360 layer */
    pointer-events: none !important;
    /* Allow drag to pass through */
}

/* Let clicks pass through text, ONLY block on links/buttons */
.is-360 .container * {
    pointer-events: none;
}

.is-360 .container a,
.is-360 .container button,
.is-360 .container .btn-reserve {
    pointer-events: auto;
}

/* Ensure any gradient overlays don't block clicks */
.is-360::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 2;
    pointer-events: none !important;
}

/* Specific section overrides for 360 pointer events to pass through */
.hero.is-360,
.parallax-spacer.is-360,
.page-header.is-360 {
    position: relative;
    z-index: 1;
    /* Keep the section itself at baseline so we can reach the absolute child */
}

/* Esconder scrollbars horizontais em todo o site mantendo rolagem funcional */
[style*="overflow-x: auto"],
[style*="overflow-x:auto"],
.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

[style*="overflow-x: auto"]::-webkit-scrollbar,
[style*="overflow-x:auto"]::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ============================================
   PÁGINA INDIVIDUAL DE ACOMODAÇÃO
   ============================================ */

/* Breadcrumb na capa */
.acc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}
.acc-breadcrumb a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.acc-breadcrumb a:hover { color: #fff; }
.acc-breadcrumb span { color: rgba(255,255,255,0.55); }

/* Layout principal two-col */
.acc-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 56px 0 48px;
}
.acc-info {
    flex: 1;
    min-width: 280px;
}
.acc-gallery {
    flex: 1.4;
    min-width: 280px;
}

/* Badge café incluso */
.acc-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #f5ede3, #eddbc7);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 22px;
    border: 1px solid #d8c6a3;
    letter-spacing: 0.3px;
}

/* Título e descrição */
.acc-title {
    font-size: 1.7rem;
    color: var(--heading-color);
    margin-bottom: 14px;
}
.acc-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Amenidades com ícones */
.acc-amenities {
    background: #faf7f4;
    border: 1px solid #ede5d8;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 28px;
}
.acc-amenities h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    margin-bottom: 16px;
}
.acc-amenities ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
}
.acc-amenities li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
    text-align: left;
    line-height: 1.4;
}
.acc-amenities li i {
    width: 20px;
    min-width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 2px;
}

/* Botão CTA e nota */
.acc-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 28px !important;
    font-size: 1rem !important;
    margin-bottom: 12px;
}
.acc-cta-note {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Galeria — foto principal */
.acc-gallery-main {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-light);
}
.acc-gallery-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.acc-gallery-main:hover img { transform: scale(1.03); }

.acc-gallery-count {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.82rem;
    padding: 5px 12px;
    border-radius: 50px;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.acc-gallery-main-placeholder {
    height: 380px;
    border-radius: 14px;
    margin-bottom: 12px;
}

/* Grid de thumbnails */
.acc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.acc-gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
}
.acc-gallery-thumb img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s, opacity 0.3s;
}
.acc-gallery-thumb:hover img {
    transform: scale(1.06);
    opacity: 0.88;
}

/* Faixa CTA entre conteúdo e Veja Também */
.acc-cta-band {
    background: linear-gradient(135deg, #3d2b1c, #5a3e2b);
    padding: 52px 0;
}
.acc-cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.acc-cta-band h3 {
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 8px;
}
.acc-cta-band p {
    color: rgba(255,255,255,0.75);
    font-size: 0.97rem;
    max-width: 480px;
}
.acc-cta-band .btn-reserve {
    background: var(--highlight-color);
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.acc-cta-band .btn-reserve:hover {
    background: #c8b07a;
    color: #3d2b1c;
}

/* Grid "Veja Também" */
.acc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.acc-related-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s;
}
.acc-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}
.acc-related-img {
    height: 180px;
    overflow: hidden;
}
.acc-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.acc-related-card:hover .acc-related-img img { transform: scale(1.05); }
.acc-related-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.acc-related-body h3 {
    font-size: 1.05rem;
    color: var(--heading-color);
    margin-bottom: 8px;
}
.acc-related-body p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.acc-related-link {
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   RESPONSIVIDADE ACC — Tablet (≤991px)
   ============================================ */
@media (max-width: 991px) {
    .acc-layout { gap: 36px; }
    .acc-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   RESPONSIVIDADE ACC — Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {
    .acc-layout {
        flex-direction: column;
        gap: 0;
        padding: 36px 0 32px;
    }
    .acc-info, .acc-gallery { min-width: 0; width: 100%; }
    /* Галерея перед інфо на мобайлі */
    .acc-gallery { order: -1; margin-bottom: 30px; }

    .acc-gallery-main img { height: 260px; }
    .acc-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .acc-gallery-thumb img { height: 80px; }

    .acc-amenities ul { grid-template-columns: 1fr; }

    .acc-cta-band-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .acc-cta-band p { max-width: 100%; }

    .acc-related-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .acc-related-img { height: 140px; }
    .acc-related-body p { display: none; }
}

@media (max-width: 480px) {
    .acc-related-grid { grid-template-columns: 1fr; }
    .acc-related-img { height: 180px; }
    .acc-related-body p { display: -webkit-box; }
    .acc-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================
   RESPONSIVIDADE — Tablet (≤991px)
   ============================================ */
@media (max-width: 991px) {

    :root {
        --section-padding: 65px 0;
        --section-title-mb: 40px;
        --two-col-gap: 35px;
        --card-padding: 22px;
    }

    .section-hero {
        min-height: 480px;
    }

    .section-parallax {
        height: 380px;
    }

    .section-page-cover {
        height: 270px;
    }
}

/* ============================================
   RESPONSIVIDADE — Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {

    :root {
        --section-padding: 50px 0;
        --section-title-mb: 30px;
        --two-col-gap: 0;
        --card-padding: 20px;
    }

    /* ---- Tipografia global ---- */
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.55rem; }
    h3 { font-size: 1.15rem; }
    h4 { font-size: 1rem; }

    /* Centralizar TODOS os títulos em mobile */
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }

    /* Títulos e subtítulos dentro de colunas two-col */
    .two-col-item h2,
    .two-col-item h3,
    .two-col-item h4,
    .two-col-item .section-title,
    .two-col-item .section-title h2,
    .two-col-item .section-subtitle,
    .two-col-item .section-title p {
        text-align: center !important;
    }

    /* Barra decorativa do h2 centralizada em mobile */
    .two-col-item .section-title h2::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Seção-title alinhada à esquerda: voltar ao center em mobile */
    .section-title.text-left h2,
    .section-title.text-left h2::after,
    .section-title.text-left p {
        text-align: center;
    }

    .section-title.text-left h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Justificar TODOS os parágrafos em mobile */
    p {
        text-align: justify;
    }

    /* Exceções — textos que devem permanecer centered */
    .section-title p,
    .section-subtitle,
    .hero-sub,
    .parallax-sub,
    .text-center p,
    .card-body p,
    .footer-bottom p,
    .btn-reserve {
        text-align: center;
    }

    /* ---- Classes de destaque tipográfico ---- */
    .hero-title {
        font-size: 1.9rem !important;
        margin-bottom: 14px !important;
    }

    .hero-sub {
        font-size: 1rem !important;
        margin-bottom: 24px !important;
    }

    .page-title {
        font-size: 1.7rem !important;
    }

    .parallax-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    .parallax-sub {
        font-size: 1rem !important;
    }

    .text-lead {
        font-size: 1rem !important;
    }

    /* Fallback: h1/h2 inline não controlados por classe */
    .hero h1,
    .hero .container h1,
    .section-hero h1 {
        font-size: 1.9rem !important;
        margin-bottom: 14px !important;
        text-align: center !important;
    }

    .parallax-spacer h2,
    .parallax-spacer .container h2,
    .section-parallax h2 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .parallax-spacer p,
    .section-parallax p {
        font-size: 1rem !important;
        text-align: center !important;
    }

    .page-cover h1,
    .page-cover .container h1,
    .section-page-cover h1 {
        font-size: 1.7rem !important;
        text-align: center !important;
    }

    /* ---- Layout ---- */

    /* Hero */
    .section-hero {
        height: 92vh;
        min-height: 420px;
    }

    /* Parallax */
    .section-parallax {
        height: 320px;
        min-height: 240px;
    }

    /* Page cover */
    .section-page-cover,
    .page-cover {
        height: 240px !important;
    }

    /* Two-col: empilhar verticalmente */
    .two-col {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .two-col.reverse {
        flex-direction: column !important;
    }

    .two-col-item {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Inline two-cols legados */
    .about-home .container > div,
    .praia-home .container > div,
    .breakfast .container > div {
        flex-direction: column !important;
        gap: 28px !important;
    }

    .about-home .container > div > div[style*="min-width"],
    .praia-home .container > div > div[style*="min-width"],
    .breakfast .container > div > div[style*="min-width"] {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Imagens de seção two-col */
    .about-home img,
    .praia-home img,
    .two-col-item img {
        height: 260px !important;
        width: 100% !important;
        object-fit: cover;
    }

    /* Paddings inline legados nas seções */
    .about-home,
    .praia-home,
    .highlights,
    .breakfast,
    .pousada-intro {
        padding: 50px 0 !important;
    }

    .single-accommodation {
        padding-top: 10px !important;
    }

    /* ---- Botões ---- */
    .btn-reserve,
    a.btn-reserve {
        padding: 12px 26px !important;
        font-size: 0.95rem !important;
    }

    .btn-hero {
        padding: 13px 32px !important;
        font-size: 1rem !important;
    }

    /* Botão centered em mobile */
    .section-hero .container,
    .section-parallax .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* ---- Cards ---- */
    .card-padded,
    .card.static {
        padding: var(--card-padding) !important;
    }

    /* ---- Amenities grid ---- */
    .amenities-grid,
    .single-accommodation ul[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* ---- Seção "O que fazer no Rosa" ---- */
    .what-to-do,
    div[class="what-to-do"] {
        padding: 28px 18px !important;
        border-radius: 8px !important;
        margin-top: 30px !important;
    }

    /* ---- Section-title ---- */
    .section-title {
        margin-bottom: var(--section-title-mb);
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* ---- Café da manhã ---- */
    .breakfast h2,
    .breakfast .container h2 {
        font-size: 1.55rem !important;
        text-align: center !important;
    }

    .breakfast img {
        height: 130px !important;
    }

    /* ---- Lightbox mobile ---- */
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }

    .lightbox-content {
        max-width: 100% !important;
        max-height: 88vh !important;
    }

    .lightbox-content img {
        max-height: 62vh !important;
    }

    .lightbox-close {
        font-size: 1.5rem;
        top: -32px;
    }

    .lightbox-thumbnails img {
        height: 48px;
        width: 62px;
    }

    /* ---- Footer mobile ---- */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 16px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h4,
    .footer-cta h4 {
        text-align: center;
    }

    .footer-links ul {
        text-align: center;
    }

    /* ---- Nav links mobile ---- */
    /* (centralização controlada por inline style em header.php) */

    /* ---- Footer mobile: padding extra para não colidir com botões flutuantes ---- */
    footer {
        padding-bottom: 30px;
    }
    .footer-bottom {
        padding-bottom: 100px;
    }

    /* ---- Parallax: background-attachment:fixed não funciona em iOS ---- */
    .section-parallax,
    .parallax-spacer {
        background-attachment: scroll !important;
    }

    /* ---- Grids inline da home: forçar 1 coluna ---- */
    div[style*="minmax(280px"],
    div[style*="minmax(260px"] {
        grid-template-columns: 1fr !important;
    }

    /* ---- Mapa de contato: altura responsiva ---- */
    .contato-content .two-col-item.wide .card {
        min-height: 300px !important;
    }
    .contato-content iframe {
        min-height: 300px !important;
    }

    /* ---- WhatsApp float ---- */
    .whatsapp-float {
        bottom: 115px;
        right: 5px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

/* ============================================
   RESPONSIVIDADE — Small Mobile (≤480px)
   ============================================ */
@media (max-width: 480px) {

    :root {
        --section-padding: 40px 0;
        --card-padding: 16px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title,
    .hero h1,
    .section-hero h1 {
        font-size: 1.65rem !important;
    }

    .page-title,
    .page-cover h1 {
        font-size: 1.45rem !important;
    }

    .parallax-title,
    .parallax-spacer h2 {
        font-size: 1.5rem !important;
    }

    .section-title h2 {
        font-size: 1.35rem;
    }

    .section-hero {
        height: 88vh;
    }

    .section-page-cover,
    .page-cover {
        height: 200px !important;
    }

    /* Galeria mini */
    .praia-home div[style*="minmax(150px"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* O que fazer no Rosa — 1 coluna em telas pequenas */
    .what-to-do > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}