

h1, h2, h3 {
     font-family: 'Cinzel', 'Times New Roman', serif;
}
p {
      font-family: 'Cinzel', 'Times New Roman', serif;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ===== TÍTULOS E P DO SITE ===== */
.section-title {
    font-size: 50px;
  
    text-transform: uppercase;
    color: #D6B377;
    text-align: center;
    padding: 0 10px;
    font-family: 'Cinzel', 'Times New Roman', serif;
    display: block;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D6B377, transparent);
    margin: 0 auto 0;
}

.section-subtitle {
    font-size: 20px;
      color: #cdb68c;
    letter-spacing: 1px;
    text-align: center;
    margin: 0 auto 0 auto;
    max-width: 700px;
    line-height: 1.6;
    padding: 0 20px;
    font-style: italic;
    opacity: 0.9;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.secao-subtitulo{
    font-size: 20px;
      color: #cdb68c;
    letter-spacing: 1px;
    text-align: center;
    margin: 0 auto 0 auto;
    line-height: 1.6;
    padding: 0 20px;
    font-style: italic;
   
}
/* ===== VÍDEO / BANNER EM TELA CHEIA ===== */
.video-fullwidth {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-fullwidth .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.overlay-escuro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    z-index: 5;
}

/* ===== TÍTULO CENTRAL ===== */
.titulo-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out forwards;
}

.titulo-central h1 {
    color: #D6B377;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin: 0 auto;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(214, 179, 119, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glowPulse 3s infinite;
    font-family: 'Cinzel', 'Times New Roman', serif;
    position: relative;
    display: block;
    width: fit-content;
    padding: 0 30px;
}

.titulo-central h1::before,
.titulo-central h1::after {
    content: '✦';
    color: #D6B377;
    font-size: 0.8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    animation: slideInStars 1s ease-out 0.3s forwards;
}
.titulo-central h1::before { left: -10px; }
.titulo-central h1::after  { right: -10px; }

.titulo-central .linha-degrade {
    width: 80%;
    max-width: 880px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D6B377, #f0d8b0, #D6B377, transparent);
    margin: 25px auto 20px;
    border-radius: 100%;
    box-shadow: 0 0 20px rgba(214, 179, 119, 0.6);
    animation: expandWidth 1.2s ease-out forwards;
}

.titulo-central p {
    color: #D6B377;
    font-size: clamp(0.9rem, 2.5vw, 1.5rem);
   
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 15px auto 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
    display: block;
    width: fit-content;
    padding: 0 20px;
    position: relative;
}

.titulo-central p::before,
.titulo-central p::after {
    content: '•';
    color: #D6B377;
    font-size: 1.2em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
}
.titulo-central p::before { left: -5px; }
.titulo-central p::after  { right: -5px; }

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(214, 179, 119, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.5); }
    50%       { text-shadow: 0 0 40px rgba(214, 179, 119, 0.6), 2px 2px 8px rgba(0, 0, 0, 0.7); }
}
@keyframes expandWidth {
    from { width: 0;   opacity: 0; }
    to   { width: 80%; opacity: 1; }
}
@keyframes slideInStars {
    from { opacity: 0; transform: translateY(-50%) translateX(10px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== SEÇÃO WRAPPER ===== */
.casas-noturnas-section {
    border-bottom: 1px solid #D6B377;
    position: relative;

    margin:80px 0 ;
   
}

.casas-wrapper {
    position: relative;
}

/* ===== BLOCOS SANFONA ===== */
.sanfona-bloco {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
}

.sanfona-bloco.ativo {
    max-height: 100%;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.sanfona-bloco.saindo {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
}

/* ===== CABEÇALHO DA SEÇÃO ===== */
.secao-header {
    text-align: center;
    padding: 0 20px;
}

.secao-titulo-wrap {
    display: inline-block;
    border-bottom: 1px solid rgba(214, 179, 119, 0.3);
   
}



/* ===== comtrola as margen de textos ===== */
.casas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 60px 20px ;

}

/* ===== ITENS ===== */
.casa-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.casa-link {
    display: flex;
    flex-direction: column;
}

.casa-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
    width: 100%;
    cursor: pointer;
    margin-bottom: 10px;
}

.casa-img-wrap::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 25px;
    height: 25px;
    background: transparent url('../images/maximize.png') center / 18px no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 15;
 
}

.casa-img-wrap:hover::before {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(214,179,119,0.7), 0 2px 8px rgba(0,0,0,0.5);
}

.casa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.8);
    display: block;
    border-radius: 10px;
}

.casa-item:hover .casa-img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

/* ===== TEXTO ABAIXO DA IMAGEM ===== */
.casa-text {
    padding: 6px 8px;
    background-color: #000;
    border: 1px solid #D6B377;
    border-radius: 4px;
    text-align: center;
    margin: 10px 0;
}

.casa-name {
 
   color: #cdb68c;
    font-size: 1.1rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.casa-addr {
    font-size: 15px;
    font-weight: 400;
    color: #cdb68c;
}

/* ===== BOTÕES ===== */
.btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.btn-acao {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 0.7rem;
    background: #000;
   color: #cdb68c;
   

    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.btn-acao::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    background: linear-gradient(90deg, #dcba7f, transparent, #dcba7f, transparent, #dcba7f);
    background-size: 300% 300%;
    animation: bordaBotao 6s linear infinite;
    z-index: -2;
}

.btn-acao::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #000;
    border-radius: 4px;
    z-index: -1;
}

.btn-acao:hover {
    color: #fde79e;
    box-shadow: 0 0 12px rgba(214,179,119,0.6), 0 0 30px rgba(214,179,119,0.3);
    transform: translateY(-2px);
}

.btn-acao:active {
    transform: scale(0.96);
    box-shadow: 0 0 20px rgba(214,179,119,0.9), 0 0 45px rgba(214,179,119,0.5);
}

@keyframes bordaBotao {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ===== TEXTO ABAIXO DO BOTÃO ===== */
.texto-abaixo-botao {
    text-align: center;
    font-size: 1.1rem;

    line-height: 1.9;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    padding: 10px 0 60px;
    letter-spacing: 2px;
}

/* ===== ZOOM LIGHTBOX ===== */
#zoom-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#zoom-lightbox:target {
    opacity: 1;
    pointer-events: all;
}

#zoom-lightbox .lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 92vw;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

#zoom-lightbox:target .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 5%;
    right: 35%;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    color: #D6B377;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 20;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    
}

.lightbox-close:hover {
    background: rgba(214,179,119,0.3);
    border-color: #D6B377;
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(214,179,119,0.7);
}

#zoom-lightbox img {
    max-width: 88vw;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(214,179,119,0.5);
    box-shadow: 0 0 40px rgba(214,179,119,0.2), 0 20px 60px rgba(0,0,0,0.8);
}

.lightbox-info {
    margin-top: 10px;
    text-align: center;
    background: #000;
    border: 1px solid rgba(214,179,119,0.35);
    border-radius: 6px;
    padding: 8px 20px;
    width: 100%;
    max-width: 88vw;
}

.lightbox-name {
    font-size: 1rem;
    font-weight: 700;
    color: #D6B377;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lightbox-addr {
    font-size: 0.8rem;
    color: #cdb68c;
}

#zoom-lightbox::before {
    content: '';
    position: fixed;
    inset: 0;
    cursor: pointer;
    z-index: 1;
}


/* ALTURA DO BANNER */
@media (min-width: 1201px) {
    .video-fullwidth { height: 100vh; }
}
@media (max-width: 1200px) {
    .video-fullwidth { height: 90vh; }
}
@media (max-width: 991px) {
    .video-fullwidth { height: 80vh; }
}
@media (max-width: 768px) {
    .video-fullwidth { height: 70vh; }
}
@media (max-width: 576px) {
    .video-fullwidth { height: 60vh; }
}
@media (max-width: 480px) {
    .video-fullwidth { height: 55vh; }
}
@media (max-width: 375px) {
    .video-fullwidth { height: 50vh; }
}
@media (max-width: 320px) {
    .video-fullwidth { height: 45vh; }
}

/* TÍTULO CENTRAL DO BANNER */
@media (max-width: 768px) {
    .titulo-central h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        letter-spacing: 4px;
        padding: 0 20px;
    }
    .titulo-central p {
        font-size: clamp(0.9rem, 2vw, 1.3rem);
        letter-spacing: 2px;
        margin-top: 10px;
    }
    .titulo-central .linha-degrade {
        width: 140px;
        margin: 15px auto 10px;
    }
}
@media (max-width: 480px) {
    .titulo-central h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        letter-spacing: 2px;
        padding: 0 10px;
    }
    .titulo-central h1::before,
    .titulo-central h1::after {
        font-size: 0.6em;
    }
    .titulo-central p {
        font-size: clamp(0.8rem, 3vw, 1rem);
        letter-spacing: 1px;
        padding: 0 10px;
    }
    .titulo-central p::before,
    .titulo-central p::after {
        font-size: 1em;
    }
    .titulo-central .linha-degrade {
        width: 100px;
        height: 2px;
        margin: 10px auto 8px;
    }
}
@media (max-width: 360px) {
    .titulo-central h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
        padding: 0 5px;
    }
    .titulo-central p {
        font-size: 0.7rem;
    }
}

/* CABEÇALHO DAS SEÇÕES */
@media (max-width: 768px) {
    .secao-titulo {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    .secao-subtitulo {
        font-size: 1.2rem;
        max-width: 90%;
        margin-bottom: 30px;
    }
    .secao-header {
        padding: 0 15px;
    }
}
@media (max-width: 480px) {
    .secao-titulo {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    .secao-subtitulo {
        font-size: 1rem;
        max-width: 100%;
        padding: 5px 10px;
        margin-bottom: 25px;
    }
    .secao-titulo-wrap {
        margin: 40px 0 0 0;
    }
}
@media (max-width: 360px) {
    .secao-titulo {
        font-size: 1.4rem;
    }
    .secao-subtitulo {
        font-size: 0.9rem;
    }
}

/* TÍTULOS DAS SEÇÕES EXTERNAS */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        padding: 40px 20px 0;
    }
    .section-subtitle {
        font-size: 18px;
        margin: 10px auto 40px auto;
    }
}
@media (max-width: 480px) {
    .section-title {
        font-size: 26px;
        padding: 30px 15px 0;
    }
    .section-subtitle {
        font-size: 16px;
        margin: 8px auto 30px auto;
    }
}

/* TEXTO ABAIXO DO BOTÃO */
@media (max-width: 768px) {
    .texto-abaixo-botao {
        font-size: 0.85rem;
        letter-spacing: 1px;
        padding: 15px 10px 20px;
        line-height: 1.6;
    }
}
@media (max-width: 480px) {
    .texto-abaixo-botao {
        font-size: 0.75rem;
        padding: 15px 10px 20px;
        line-height: 1.5;
    }
}
@media (max-width: 360px) {
    .texto-abaixo-botao {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
}

/* GRID */
@media (max-width: 900px) {
    .casas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .casas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px 30px;
    }
    .casa-name { font-size: 1rem; }
    .casa-addr { font-size: 0.8rem; }
}
@media (max-width: 600px) {
    .casas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 10px 25px;
    }
}
@media (max-width: 480px) {
    .casas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 0 0 20px;
    }
    .casa-name  { font-size: 0.9rem; }
    .casa-addr  { font-size: 0.7rem; }
    .casa-text  { padding: 4px 6px; }
}
@media (max-width: 360px) {
    .casas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 0 0 15px;
    }
    .casa-name { font-size: 0.8rem; }
    .casa-addr { font-size: 0.65rem; }
}

/* LIGHTBOX */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10%;
        right: 5%;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .lightbox-close {
        top: 8%;
        right: 4%;
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}