/* ================================================
   REFÚGIO DO CUSCUZEIRO - CSS COMPLETO
   Modern, Clean, Responsive (Mobile First)
   ================================================ */

/* ---- RESET E VARIÁVEIS GLOBAIS ---- */
:root {
    color-scheme: light;
    --primary-color: #4B4A39;
    --secondary-color: #4B4A39;
    --accent-color: #4B4A39;
    --text-dark: #4B4A39;
    --text-light: #6B6A59;
    --bg-light: #EAE6E0;
    --bg-white: #ffffff;
    --bg-accent: #F5F1EB;
    --shadow-sm: 0 2px 8px rgba(75, 74, 57, 0.08);
    --shadow-md: 0 4px 16px rgba(75, 74, 57, 0.12);
    --shadow-lg: 0 8px 32px rgba(75, 74, 57, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
      color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);

    forced-color-adjust: none;
   
   
  
   
}

.hero-content,
.hero-title,
.hero-subtitle {
    color: #fff !important;
}

/* ---- HEADER STICKY ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 0;
    height: 84px;
    box-shadow: none;
}

.header.scrolled {
    height: 84px !important;
    padding: 0;
}

/* Garantir alturas consistentes quando o header estiver scrolled */
.header.scrolled .header-container,
.header.scrolled .header-inner {
    height: 84px !important;
}
.header.scrolled .logo-img {
    height: 74px !important;
    width: auto;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    height: 100%;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 0;
    gap: 0;
}

.logo-section picture {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.logo-img {
    display: block;
    height: 74px;
    width: auto;
    object-fit: contain;
    margin: auto 0;
    padding: 0;
}
.header.scrolled .logo-img {
    height: 74px;
    width: auto;
}

.logo-section:hover .logo-img {
    transform: scale(1.02);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    letter-spacing: 0.5px;
    display: none;
}

.logo-section:hover {
    transform: translateY(-2px);
}

/* ---- NAVEGAÇÃO ---- */
.navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ---- MENU MOBILE ---- */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
    margin-left: auto;
    order: 2;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ---- HERO SECTION ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 64px;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 0.8s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 74, 57, 0.85), rgba(75, 74, 57, 0.75));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--bg-white);
    z-index: 1;
    padding: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(75, 74, 57, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #363528;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 74, 57, 0.5);
}

/* ---- ANIMAÇÕES KEYFRAMES ---- */
@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ---- SEÇÃO CONTAINER GENÉRICA ---- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 1rem;
}

/* ---- REVIEWS / PROVA SOCIAL ---- */
.reviews {
    background: linear-gradient(180deg, #F9F7F4 0%, #FFFFFF 100%);
}

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

.review-slides {
    position: relative;
    overflow: hidden;
    min-height: 200px; /* aumenta para evitar colapso em telas pequenas */
}

.review-slide {
    width: 100%;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

/* Mostrar o primeiro slide por padrão apenas durante o estado de preload (evita overlap após JS inicializar) */
.review-slides.preload > .review-slide:first-child {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.review-rating {
    color: #FFB400;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.review-text {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
    color: var(--text-light);
}

.review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.review-prev,
.review-next {
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(75,74,57,0.12);
}

.review-prev:hover,
.review-next:hover {
    transform: translateY(-3px);
}

.review-dots {
    display: flex;
    gap: 0.5rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    background: #E0DDD8;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.review-dot.active {
    background: var(--primary-color);
    transform: scale(1.25);
}

@media (max-width: 480px) {
    .review-text { font-size: 0.95rem; }
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ---- COMODIDADES SECTION ---- */
.comodidades {
    background: linear-gradient(135deg, #EAE6E0 0%, #F5F1EB 100%);
}

.comodidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.comodidade-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0;
}

.comodidade-card.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.comodidade-card:nth-child(1).fade-in { animation-delay: 0.1s; }
.comodidade-card:nth-child(2).fade-in { animation-delay: 0.2s; }
.comodidade-card:nth-child(3).fade-in { animation-delay: 0.3s; }
.comodidade-card:nth-child(4).fade-in { animation-delay: 0.4s; }
.comodidade-card:nth-child(5).fade-in { animation-delay: 0.5s; }
.comodidade-card:nth-child(6).fade-in { animation-delay: 0.6s; }
.comodidade-card:nth-child(7).fade-in { animation-delay: 0.7s; }
.comodidade-card:nth-child(8).fade-in { animation-delay: 0.8s; }

.comodidade-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.comodidade-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.comodidade-card:hover .comodidade-icon {
    color: var(--accent-color);
    transform: scale(1.2) rotateZ(10deg);
}

.comodidade-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.comodidade-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

#quadra-card {
    background-image: url('assets/images/imagens_a_rotacionar/quadra_de_areia.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#quadra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#quadra-card .comodidade-icon,
#quadra-card h3,
#quadra-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

#piscina-card {
    background-image: url('assets/images/piscina.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#piscina-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#piscina-card .comodidade-icon,
#piscina-card h3,
#piscina-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

#cuscuzeiro-card .card-image {
    background-image: url('assets/images/cuscuzeiro.webp');
    background-size: cover;
    background-position: center;
}

#cachoeira-card .card-image {
    background-image: url('assets/images/cachoeira.webp');
    background-size: cover;
    background-position: center;
}

#gastronomia-card .card-image {
    background-image: url('assets/images/comida_Analandia.webp');
    background-size: cover;
    background-position: center;
}

#ecoturismo-card .card-image {
    background-image: url('assets/images/foto_ecoturismo.webp');
    background-size: cover;
    background-position: center;
}

#ciclismo-card .card-image {
    background-image: url('assets/images/ciclismo.webp');
    background-size: cover;
    background-position: center;
}

#quartos-card {
    background-image: url('assets/images/imagens_a_rotacionar/4_quartos.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#quartos-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#quartos-card .comodidade-icon,
#quartos-card h3,
#quartos-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

#jogos-card {
    background-image: url('assets/images/imagens_a_rotacionar/sala_de_jogos.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#jogos-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#jogos-card .comodidade-icon,
#jogos-card h3,
#jogos-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

#garagem-card {
    background-image: url('assets/images/garagem.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#garagem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#garagem-card .comodidade-icon,
#garagem-card h3,
#garagem-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

#futebol-card {
    background-image: url('assets/images/imagens_a_rotacionar/campo_futebol.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#futebol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#futebol-card .comodidade-icon,
#futebol-card h3,
#futebol-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

#churrasqueira-card {
    background-image: url('assets/images/churrasqueira.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#churrasqueira-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#churrasqueira-card .comodidade-icon,
#churrasqueira-card h3,
#churrasqueira-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

#varanda-card {
    background-image: url('assets/images/varanda.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--secondary-color);
}

#varanda-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 74, 57, 0.6);
    border-radius: 12px;
    z-index: 1;
}

#varanda-card .comodidade-icon,
#varanda-card h3,
#varanda-card p {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
}

/* ---- GALERIA CSS GRID ASSIMÉTRICA ---- */
.galeria {
    background: var(--bg-white);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    grid-auto-rows: auto;
}

.galeria-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    aspect-ratio: 1;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 74, 57, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.galeria-overlay p {
    color: var(--bg-white);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.galeria-item:hover {
    transform: scale(1.05) translateZ(0);
    box-shadow: var(--shadow-lg);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

/* ---- SEÇÃO ANALÂNDIA - CARDS ---- */
.anlandia {
    background: linear-gradient(135deg, #EAE6E0 0%, #F5F1EB 100%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.explore-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    cursor: pointer;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.explore-card.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.explore-card:nth-child(1).fade-in { animation-delay: 0.1s; }
.explore-card:nth-child(2).fade-in { animation-delay: 0.2s; }
.explore-card:nth-child(3).fade-in { animation-delay: 0.3s; }
.explore-card:nth-child(4).fade-in { animation-delay: 0.4s; }
.explore-card:nth-child(5).fade-in { animation-delay: 0.5s; }

.explore-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.explore-card:hover .card-image img {
    transform: scale(1.15);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.card-content p {
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    font-size: 0.95rem;
}

/* ---- LOCALIZAÇÃO SECTION ---- */
.localizacao {
    background: var(--bg-white);
}

.mapa-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.mapa-container iframe {
    border-radius: 12px;
}

.info-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #EAE6E0 0%, #F5F1EB 100%);
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.info-item:hover {
    background: linear-gradient(135deg, #F5F1EB 0%, #E8DED5 100%);
    transform: translateX(5px);
}

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.info-social {
    text-decoration: none;
    color: inherit;
}

.info-social:hover {
    background: linear-gradient(135deg, #E8DED5 0%, #DDD3C9 100%);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 2rem 1rem;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer i {
    color: #ff6b6b;
}

/* ---- BOTÕES FLUTUANTES (MODERNOS) ---- */
.floating-buttons-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    pointer-events: auto;
}

.float-button-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: auto;
}

.float-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    pointer-events: auto;
    z-index: 1000;
}

/* Animação de Ping */
.float-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.75;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Glow Effect */
.float-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.25;
    filter: blur(8px);
    transition: all 0.3s ease;
}

.float-btn:hover .float-glow {
    transform: scale(1.4);
    opacity: 0.4;
}

/* Icon */
.float-icon {
    position: relative;
    width: 28px;
    height: 28px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.float-btn:hover .float-icon {
    transform: scale(1.15);
}

/* WhatsApp Button */
.float-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1fa85a 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.float-whatsapp .float-ping {
    background: #25d366;
}

.float-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Instagram Button */
.float-instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(221, 42, 123, 0.3);
}

.float-instagram .float-ping {
    background: #dd2a7b;
}

.float-instagram:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(221, 42, 123, 0.5);
}

/* Airbnb Button */
.float-airbnb {
    background: linear-gradient(135deg, #ff5a5f 0%, #e1306c 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.3);
}

.float-airbnb .float-ping {
    background: #ff5a5f;
}

.float-airbnb:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(255, 90, 95, 0.5);
}

/* Tooltip - Elegante com Backdrop Blur */
.float-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(75, 74, 57, 0.1);
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(75, 74, 57, 0.1);
    border-left: none;
    border-top: none;
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
}

.float-tooltip.show {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

/* ---- RESPONSIVIDADE MOBILE FIRST ---- */

/* Tablets - 768px */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .galeria-grid {
        gap: 2rem;
    }

    .floating-buttons-container {
        bottom: 2.5rem;
        right: 2.5rem;
        gap: 1.2rem;
    }

    .float-btn {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .float-icon {
        width: 26px;
        height: 26px;
    }
}

/* Desktop - 1024px */
@media (min-width: 1024px) {
    section {
        padding: 6rem 1rem;
    }

    
    .header-container {
        padding: 0 2rem;
    }


    .header-inner {
        height: 74px;
    }

    /* Forçar altura do header quando scrolled em desktop */
    .header.scrolled {
        height: 120px;
    }
    .header.scrolled .header-inner {
        height: 120px;
    }

    .hero {
        margin-top: 80px;
    }

    .logo-img {
        height: 56px;
    }


    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Pequeno - até 480px */
@media (max-width: 480px) {
  
    .header,
    .header.scrolled {
        padding: 0;
    }

    .header-inner {
        height: 76px;
    }

    .logo-img,
    .header.scrolled .logo-img {
        height: 60px;
        width: auto;
    }


   

    .logo-text {
        font-size: 1.2rem;
    }

    .navigation {
        flex: 1;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 0;
        border-radius: 0 0 12px 12px;
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        display: block;
        border-bottom: 1px solid #eee;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .comodidades-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .galeria-item:nth-child(odd) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .floating-buttons-container {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 1rem;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .float-icon {
        width: 24px;
        height: 24px;
    }

    .float-tooltip {
        right: 65px;
        font-size: 0.85rem;
        padding: 0.6rem 0.9rem;
    }

    .info-contact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mapa-container iframe {
        min-height: 300px;
    }
}

/* Mobile Medium - 481px a 768px */
@media (max-width: 768px) and (min-width: 481px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .comodidades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .floating-buttons-container {
        bottom: 2rem;
        right: 2rem;
    }

    .mapa-container iframe {
        min-height: 350px;
    }
}

/* ---- EFEITOS EXTRAS E TRANSIÇÕES ---- */

/* Fade in na entrada */
.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll reveal mais suave */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}


/* Acessibilidade - Focus visible */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Smooth animations para devices com boa performance */
@supports (backdrop-filter: blur(10px)) {
    .header.scrolled {
        backdrop-filter: blur(10px);
    }
}
