/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fcfaf6;
    color: #26211b;
    line-height: 1.6;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CABEÇALHO */
.navbar {
    background-color: #fcfaf6;
    border-bottom: 1px solid rgba(197, 155, 56, 0.25);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #26211b;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.ativo {
    color: #a67c1e;
    border-bottom-color: #c59b38;
}

/* CAPA (HERO) */
.hero {
    background-image: url('img/capa.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background: rgba(18, 15, 12, 0.42);
    width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    max-width: 760px;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.hero p {
    color: #f8f5ef;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

/* GALERIAS HOME (3 RETRATO + 2 PAISAGEM) */
.galeria-home {
    padding: 55px 0 15px;
    text-align: center;
}

.galeria-home h2,
.titulo-pagina {
    font-size: 1.8rem;
    font-weight: 600;
    color: #26211b;
    margin-bottom: 30px;
    text-align: center;
}

.grid-3-retratos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.foto-retrato {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 4px;
    background-color: #efe6d5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.grid-2-paisagens {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.foto-paisagem {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 4px;
    background-color: #efe6d5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.foto-retrato img,
.foto-paisagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.foto-retrato img:hover,
.foto-paisagem img:hover {
    transform: scale(1.03);
}

/* PORTFÓLIO COMPLETO: FILTROS E GRADE COMPACTA */
.filtros-portfolio {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-filtro {
    background-color: transparent;
    border: 1.5px solid #c59b38;
    color: #3a332a;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-filtro:hover {
    background-color: rgba(197, 155, 56, 0.15);
}

.btn-filtro.ativo {
    background-color: #c59b38;
    color: #ffffff;
}

.galeria-mosaico {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: center; /* Centraliza fotos paisagem e retrato na mesma linha */
}

.item-foto {
    border-radius: 5px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
    background: transparent;
}

.item-foto:hover {
    transform: translateY(-2px);
}

.item-foto img {
    width: 100%;
    height: auto; /* Mantém a proporção original de cada foto (2:3 ou 3:2) */
    display: block;
}


.item-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* LIGHTBOX (TELA CHEIA) */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox img {
    max-width: 90%;
    max-height: 88vh;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.fechar-lightbox {
    position: absolute;
    top: 20px;
    right: 32px;
    color: #ffffff;
    font-size: 38px;
    font-weight: 300;
    cursor: pointer;
}

.nav-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: none;
    font-size: 26px;
    padding: 14px 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-lightbox:hover {
    background: rgba(197, 155, 56, 0.8);
}

.nav-lightbox.prev { left: 20px; }
.nav-lightbox.next { right: 20px; }

/* BOTÃO DOURADO */
.cta-centro {
    text-align: center;
    margin: 45px 0 30px;
}

.btn-dourado {
    background-color: #c59b38;
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-dourado:hover {
    background-color: #b0882b;
    transform: translateY(-1px);
}

/* PÁGINAS INTERNAS (SOBRE E PACOTES) */
.pagina-interna {
    padding: 55px 20px 30px;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 36px;
    align-items: start;
}

.sobre-foto img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.sobre-texto p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #3a332a;
}

.cta-sobre {
    margin-top: 28px;
}

/* PACOTES */
.bloco-pacote {
    margin-bottom: 42px;
}

.bloco-pacote h2 {
    font-size: 1.35rem;
    color: #8c6614;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(197, 155, 56, 0.3);
    padding-bottom: 8px;
}

.grid-pacotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.card-pacote {
    background-color: #ffffff;
    border: 1px solid rgba(197, 155, 56, 0.4);
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(140, 102, 20, 0.05);
}

.card-pacote h3 {
    font-size: 1.15rem;
    color: #26211b;
    margin-bottom: 10px;
}

.card-pacote p {
    font-size: 0.95rem;
    color: #4a4237;
    margin-bottom: 12px;
}

.card-pacote ul {
    padding-left: 18px;
    margin-bottom: 16px;
}

.card-pacote li {
    font-size: 0.92rem;
    color: #3a332a;
    margin-bottom: 6px;
}

.card-pacote .valor {
    font-weight: 700;
    color: #8c6614;
    font-size: 1.02rem;
    margin-bottom: 0;
}

.card-carro-alugado {
    background-color: #f7efe0;
}

.card-carro-alugado .nota {
    font-weight: 400;
    font-size: 0.85rem;
    color: #5c5245;
}

/* RODAPÉ */
.footer {
    background-color: #f2e6cf;
    border-top: 1px solid rgba(197, 155, 56, 0.3);
    text-align: center;
    padding: 26px 20px;
    margin-top: 40px;
    font-size: 0.95rem;
    color: #3a332a;
}

.footer a {
    color: #8c6614;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVO PARA CELULAR */
@media (max-width: 900px) {
    .galeria-mosaico { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        gap: 18px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .grid-3-retratos,
    .grid-2-paisagens,
    .sobre-grid,
    .grid-pacotes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .galeria-mosaico { grid-template-columns: repeat(2, 1fr); }
}
/* =========================================
   PACOTES EM 3 COLUNAS COM FOTO VERTICAL
   ========================================= */
.grid-pacotes-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.card-com-foto {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-foto-topo {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background-color: #efe6d5;
}

.card-foto-topo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-conteudo {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-conteudo .valor {
    margin-top: auto;
    padding-top: 12px;
}

@media (max-width: 900px) {
    .grid-pacotes-3 {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   AÇÕES E BOTÃO WHATSAPP DENTRO DOS CARDS
   ========================================= */
.grid-pacotes {
    align-items: stretch;
}

.card-acoes {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-card {
    text-align: center;
    padding: 10px 16px;
    font-size: 0.92rem;
    width: 100%;
}
/* =========================================
   PÁGINAS DE DETALHES DOS PACOTES (SUBPÁGINAS)
   ========================================= */
.btn-voltar {
    display: inline-block;
    margin-bottom: 26px;
    color: #8c6614;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 14px;
    border: 1px solid rgba(197, 155, 56, 0.5);
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-voltar:hover {
    background-color: #c59b38;
    color: #ffffff;
}

.detalhe-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 38px;
    align-items: start;
}

.detalhe-foto img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.detalhe-info h1 {
    font-size: 1.95rem;
    color: #26211b;
    line-height: 1.25;
    margin-bottom: 8px;
}

.subtitulo-detalhe {
    font-size: 1.08rem;
    color: #8c6614;
    font-weight: 500;
    margin-bottom: 18px;
}

.detalhe-info > p {
    font-size: 0.98rem;
    color: #3a332a;
    margin-bottom: 18px;
}

.box-condicoes {
    background-color: #ffffff;
    border: 1px solid rgba(197, 155, 56, 0.35);
    border-left: 4px solid #c59b38;
    border-radius: 5px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.box-condicoes h3 {
    font-size: 1.05rem;
    color: #26211b;
    margin-bottom: 10px;
}

.box-condicoes ul {
    padding-left: 18px;
}

.box-condicoes li {
    font-size: 0.94rem;
    color: #3a332a;
    margin-bottom: 6px;
}

.detalhe-cta {
    margin-top: 26px;
}

@media (max-width: 768px) {
    .detalhe-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   HOME COMPACTA NO MOBILE + CURSOR LIGHTBOX
   ========================================= */
.item-home-lightbox {
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .galeria-home .grid-3-retratos {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 8px;
    }

    .galeria-home .grid-2-paisagens {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
.card-sem-foto {
    display: flex;
    flex-direction: column;
}
.detalhe-sem-foto {
    max-width: 780px;
    margin: 0 auto;
}
