/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais baseadas na identidade visual */
    --primary-color: #6B8E23;
    --primary-light: #8FBC8F;
    --primary-dark: #556B2F;
    --secondary-color: #F5F5DC;
    --accent-color: #DAA520;
    --text-dark: #2F2F2F;
    --text-light: #666666;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F8F8F8;
    --gray-medium: #E5E5E5;
    
    /* Tipografia */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Tamanhos */
    --header-height: 80px;
    --container-max-width: 1200px;
    --border-radius: 12px;
    --border-radius-small: 8px;
    
    /* Sombras */
    --shadow-light: 0 2px 12px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: all var(--transition-fast);
}

/* NOVO: Estilo para o cabeçalho ao rolar a página */
.header.scroll-header {
    height: 60px; /* Exemplo: diminui a altura */
    box-shadow: var(--shadow-medium); /* Exemplo: aumenta a sombra */
    background: rgba(255, 255, 255, 1); /* Exemplo: mais opaco */
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo-img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav__link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* cobre toda a área sem distorcer */
  z-index: -2; /* fica atrás da overlay */
}

.hero__background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding-top: var(--header-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
}

.hero__text {
    text-align: center;
    margin-bottom: 40px;
}

.hero__logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero__title-main {
    display: block;
}

.hero__title-sub {
    display: block;
    font-style: italic;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 300;
    color: var(--white);
}

.hero__description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--white);
}

.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Media Query para responsividade na seção Hero */
@media screen and (max-width: 968px) {
    .hero__content {
        padding-top: calc(var(--header-height) + 20px);
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__logo {
        max-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .hero__logo {
        max-width: 250px;
    }
    
    .hero__subtitle {
        font-size: 1.3rem;
    }
    
    .hero__description {
        font-size: 1.1rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .hero__buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero__scroll {
        bottom: 20px;
    }
    
    .hero__scroll-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 576px) {
    .hero__logo {
        max-width: 200px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .hero__description {
        font-size: 1rem;
    }
    
    .hero__buttons .btn {
        max-width: 280px;
    }
    
    .hero__scroll {
        bottom: 15px;
    }
    
    .hero__scroll-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ===== PROJECT ===== */
.project {
    padding: 100px 0;
    background: var(--white);
}

.project__content {
    margin-bottom: 80px;
}

.project__description {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.project__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.project__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 40px 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: transform var(--transition-fast);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 2rem;
}

.feature__title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature__description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== AMENITIES ===== */
.amenities {
    background: var(--gray-light);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    margin-top: 60px;
}

.amenities__title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.amenities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-small);
    transition: transform var(--transition-fast);
}

.amenity:hover {
    transform: translateX(5px);
}

.amenity i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.amenity span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0;
    background: var(--gray-light);
}

.gallery__container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.gallery__slider {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.gallery__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery__slide.active {
    opacity: 1;
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 40px 30px 30px;
}

.gallery__caption h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.gallery__caption p {
    opacity: 0.9;
}

.gallery__controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.gallery__btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    pointer-events: all;
}

.gallery__btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.gallery__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.gallery__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.gallery__dot.active {
    background: var(--primary-color);
}

/* ===== EBOOK ===== */
.ebook {
    padding: 100px 0;
    background: var(--white);
}

.ebook__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.ebook__text-content {
    max-width: 600px;
    text-align: center;
}

.ebook__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.ebook__title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.ebook__image-content {
    flex-shrink: 0;
}

.ebook__cover-img {
    max-width: 350px;
    height: auto;
    border-radius: var(--border-radius);
    filter: drop-shadow(0 16px 10px rgba(0, 0, 0, 0.6));
}

/* Responsividade para a seção Ebook */
@media screen and (max-width: 768px) {
    .ebook__content {
        flex-direction: column;
        gap: 40px;
    }
    .ebook__text-content {
        padding: 0 20px;
    }
    .ebook__cover-img {
        max-width: 400px;
    }
}

@media screen and (max-width: 576px) {
    .ebook__title {
        font-size: 1.8rem;
    }
}

/* ===== SOBRE NÓS ===== */
.about-us {
    padding: 100px 0;
    background: var(--gray-light);
}

.about-us__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-us__text-content {
    flex: 2;
    max-width: 700px;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-us__text-content p {
    margin-bottom: 20px;
}

.about-us__image-content {
    flex: 1;
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-us__owner-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.about-us__owner-name {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-us__owner-title {
    font-size: 1rem;
    color: var(--text-light);
}

/* Responsividade para a seção Sobre Nós */
@media screen and (max-width: 968px) {
    .about-us__content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .about-us__text-content {
        padding: 0 20px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .about-us__owner-photo {
        width: 150px;
        height: 150px;
    }
    .about-us__owner-name {
        font-size: 1.5rem;
    }
}

/* ===== LOCATION ===== */
.location {
    padding: 100px 0;
    background: var(--white);
}

.location__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location__title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.location__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.location__landmarks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.landmark {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-light);
    border-radius: var(--border-radius-small);
}

.landmark i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.landmark span {
    font-weight: 500;
    color: var(--text-dark);
}

.location__address h4 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 12px;
}

.location__address p {
    color: var(--text-light);
    line-height: 1.6;
}

.location__map {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: transparent !important;
}

.location__map iframe {
    border-radius: var(--border-radius);
}

.location__map iframe,
.location__map video {
  width: 100%;
  max-width: 600px;  /* limite para desktop */
  margin: 0 auto;    /* centraliza */
  margin-bottom: 50px;
}



/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--gray-light);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact__title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.contact__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact__method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact__method-info h4 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact__method-info p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.contact__form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Removido position: relative; aqui. As labels agora serão blocos normais. */
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark); /* Garante que a cor seja visível */
    /* Removido: position: absolute; */
    /* Removido: top: 5px; */
    /* Removido: left: 16px; */
    /* Removido: pointer-events: none; */
    /* Removido: background: var(--white); */
    /* Removido: padding: 0 5px; */
    /* Removido: z-index: 1; */
    /* Removido: line-height: 1; */
    transition: color var(--transition-fast); /* Mantém transição para mudança de cor ao focar */
    margin-bottom: 4px; /* Adiciona um pequeno espaçamento abaixo da label */
}

.form-group input,
.form-group textarea {
    padding: 16px;
    /* Removido padding-top: 30px; pois a label não flutuará */
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius-small);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    /* Removido: position: relative; */
    /* Removido: z-index: 2; */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Este estilo agora apenas muda a cor da label quando o input está focado */
.form-group.focused label {
    color: var(--primary-color); /* Muda a cor para a primary-color ao focar */
    font-weight: 700;
    /* As propriedades de posição e tamanho foram removidas pois a label não flutuará mais */
}


.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Estilo para o botão de submit quando está carregando */
.contact__form button[type="submit"].loading {
    background: var(--primary-light); /* Uma cor diferente para indicar carregamento */
    cursor: not-allowed; /* Altera o cursor para indicar que não é clicável */
    opacity: 0.8; /* Pequena opacidade para feedback visual */
}

.contact__form button[type="submit"].loading .fa-spinner {
    margin-right: 8px; /* Espaço entre o spinner e o texto "Enviando..." */
}


/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer__description {
    color: var(--gray-medium);
    line-height: 1.6;
}

.footer__links h4,
.footer__contact h4 {
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links ul {
    list-style: none;
}

.footer__links ul li {
    margin-bottom: 12px;
}

.footer__links ul li a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__links ul li a:hover {
    color: var(--primary-light);
}

.footer__contact p {
    color: var(--gray-medium);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__contact i {
    color: var(--primary-light);
    width: 20px;
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: var(--gray-medium);
}

/* ===== SCROLL REVEAL (NOVAS REGRAS) ===== */
/* Estilo inicial dos elementos que serão "revelados" (escondidos) */
.reveal {
    opacity: 0;
    transform: translateY(50px); /* Começa 50px abaixo da posição final */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Transição para opacidade e movimento */
    will-change: opacity, transform; /* Otimização para navegadores */
}

/* Estilo final quando o elemento é "revelado" (ativo) */
.reveal.active {
    opacity: 1;
    transform: translateY(0); /* Move para a posição original */
}

/* ===== LAZY LOADING (NOVA REGRA OPÇIONAL) ===== */
/* Estilo para imagens antes de serem carregadas (placeholder visual) */
/* Remova ou ajuste este bloco se preferir não ter um placeholder */
img[data-src].lazy {
    background-color: var(--gray-medium); /* Cor de fundo para o placeholder */
    min-height: 50px; /* Garante que o placeholder tenha altura mínima */
    display: block; /* Para que o background-color seja visível */
}

/* Adicione uma transição se quiser um efeito mais suave ao carregar a imagem real */
/* img[data-src] {
    transition: opacity 0.5s ease-in;
}
img[data-src]:not([src]) {
    opacity: 0;
}
img[data-src][src] {
    opacity: 1;
} */


/* ===== RESPONSIVIDADE GERAL ===== */
@media screen and (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-medium);
        z-index: 1001;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
    }

    .nav__toggle {
        display: block;
    }

    .location__content,
    .contact__content,
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section__title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .section__subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .nav__logo-img {
        height: 40px;
    }

    .project__features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .amenities__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery__slider {
        height: 300px;
    }

    .contact__form-container {
        padding: 30px 20px;
    }
}


/* ===== TOUR VIRTUAL ===== */
.tour-virtual {
    padding: 50px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.tour-virtual__content {
    max-width: 1000px;
    margin: 0 auto;
}

.tour-virtual__tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tour-virtual__tab {
    padding: 16px 32px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.tour-virtual__tab:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.tour-virtual__tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.tour-virtual__tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-medium);
}

.tour-virtual__tab:hover::before {
    left: 100%;
}

.tour-virtual__iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    background: var(--gray-light);
    min-height: 400px; /* Altura mínima para garantir visibilidade */
}

.tour-virtual__iframe-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
    pointer-events: none;
}

.tour-virtual__iframe-container.loading::before {
    opacity: 0.1;
}

.tour-virtual__iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
    transition: opacity var(--transition-medium);
    z-index: 2;
}

/* Loading state */
.tour-virtual__iframe-container.loading iframe {
    opacity: 0.7;
}

/* Fallback para quando o iframe não carrega */
.tour-virtual__fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    display: none;
}

.tour-virtual__fallback.show {
    display: block;
}

.tour-virtual__fallback-text {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tour-virtual__fallback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.tour-virtual__fallback-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsividade para Tour Virtual */
@media screen and (max-width: 768px) {
    .tour-virtual {
        padding: 80px 0;
    }
    
    .tour-virtual__tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .tour-virtual__tab {
        width: 100%;
        max-width: 300px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .tour-virtual__iframe-container {
        padding-bottom: 60%; /* Aspect ratio ajustado para mobile */
        min-height: 300px;
    }
}

@media screen and (max-width: 576px) {
    .tour-virtual {
        padding: 60px 0;
    }
    
    .tour-virtual__tab {
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .tour-virtual__iframe-container {
        padding-bottom: 65%; /* Aspect ratio mais quadrado para telas pequenas */
        border-radius: var(--border-radius-small);
        min-height: 250px;
    }
}

/* Animação de entrada para a seção Tour Virtual */
.tour-virtual .section__header,
.tour-virtual__content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.tour-virtual.active .section__header,
.tour-virtual.active .tour-virtual__content {
    opacity: 1;
    transform: translateY(0);
}

.tour-virtual.active .tour-virtual__content {
    transition-delay: 0.2s;
}


