* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4efe9;
    color: #1b3a33;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 80px;
    background: #f4efe9;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 80px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 150px;
    width: auto;
    transform: translateY(10px);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 10px;
}

.nav a {
    text-decoration: none;
    color: #1b3a33;
    position: relative;
    font-weight: 500;
    padding-bottom: 4px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #1b5e53;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.contact-btn {
    background: #1b5e53;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    text-align: center;
    padding: 60px 8%;
    overflow: hidden;
}

.highlights {
    display: flex;
    min-height: 420px;
}

/* Coluna esquerda (verde) */
.stats {
    background: #0f4b43;
    color: #ffffff;
    width: 320px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
}

.stats h2 {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.stats p {
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.9;
}

/* Coluna direita */
.features {
    flex: 1;
    background: #e7d5b6;
    padding: 60px;
}

.features h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

/* Grid dos cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card */
.card {
    text-align: center;
}

.card img {
    width: 100%;
    height: 300px; /* nova altura */
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid #1b5e53;
}

.card h3 {
    margin-top: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.card p {
    font-size: 14px;
    opacity: 0.7;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 100px 8%;
    background: #f4efe9;
}

/* Imagem */
.about-img {
    position: relative;
}

.about-img img {
    width: 520px;
    height: 620px;
    object-fit: cover;
    border-radius: 24px;
    border: 2px solid #1b5e53;
}

/* Texto */
.about-text {
    max-width: 520px;
}

.about-text h2 {
    font-size: 44px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #2c4a43;
    margin-bottom: 30px;
}

/* Botão */
.about button {
    background: #1b5e53;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 6px 0 #13433a;
    transition: all 0.2s ease;
}

.about button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #13433a;
}

.about button:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #13433a;
}
.experience {
    background: #0f7a74;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.experience h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

.exp-slider {
    overflow: hidden;
    width: 100%;
}

.exp-track {
    display: flex;
    gap: 40px;
    transition: transform 0.6s ease;
    padding: 0 10%;
}

.exp-card {
    min-width: 70%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.exp-card img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

/* faixa branca */
.exp-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #ffffff;
    color: #1b3a33;
    padding: 16px 30px;
    border-radius: 6px;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
}

/* controles */
.exp-controls {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.exp-counter {
    font-size: 14px;
    opacity: 0.8;
}

.exp-buttons button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #0f7a74;
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: 0.2s;
}

.exp-buttons button:hover {
    transform: scale(1.1);
}

.cta-premium {
    text-align: center;
    padding: 100px 8%;
    background: #f4efe9;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1b5e53;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 14px;
}

.cta-premium h2 {
    font-size: 44px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.cta-premium p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #2c4a43;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1b5e53;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 0 #13433a;
    transition: 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* =========================
   FOOTER - CASA BLANCA
========================= */

.footer {
    background: #e9e2d9;
    padding: 60px 8% 20px;
    overflow: hidden;
}

.footer-line {
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.footer-col {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.3s; }
.footer-col:nth-child(3) { animation-delay: 0.5s; }
.footer-col:nth-child(4) { 
    animation-delay: 0.7s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: #1b3a33;
    margin-bottom: 10px;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #1b5e53;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-item a {
    display: inline-block;
    margin-bottom: 0;
    color: #1b3a33;
    transition: color 0.2s ease;
}

.footer-item a:hover {
    color: #1b5e53;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #2c4a43;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    color: #1b5e53;
    border-radius: 50%;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(30px);
}

.footer-bottom {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.footer-bottom a {
    color: #1b3a33;
    text-decoration: none;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-col:nth-child(4) {
        grid-column: span 2;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-col:nth-child(4) {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.hero-btn-container {
    margin-top: 40px;
    text-align: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1b5e53;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 8px 0 #0f3e36;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    min-width: 220px;
}

.hero-btn i {
    font-size: 24px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0 #0f3e36;
    background: #1f6e63;
}

.hero-btn:active {
    transform: translateY(5px);
    box-shadow: 0 3px 0 #0f3e36;
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .hero-btn-container {
        margin-top: 30px;
    }
    
    .hero-btn {
        font-size: 16px;
        padding: 14px 28px;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .highlights {
        flex-direction: column;
    }

    .stats {
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
        text-align: center;
        padding: 40px 20px;
    }

    .features {
        padding: 40px 20px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        flex-direction: column;
        gap: 40px;
        padding: 60px 20px;
        text-align: center;
    }

    .about-img img {
        width: 100%;
        height: 420px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefits h2 {
        font-size: 32px;
    }

    .benefit img {
        width: 120px;
        height: 120px;
    }
}

/* =========================
   SISTEMA DE RESERVAS MELHORADO
========================= */

.booking-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: none;
    animation: slideUp 0.5s ease forwards;
}

.booking-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f4efe9;
    z-index: 1;
}

.booking-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    height: 100vh;
    overflow-y: auto;
    background: transparent;
}

.btn-back {
    position: sticky;
    top: 10px; /* Alterado de 20px para 10px */
    z-index: 10;
    background: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #1b3a33;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 5px; /* Alterado de 20px para 5px */
}

.btn-back:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-back i {
    font-size: 20px;
}

.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 25px; /* Alterado de 30px 0 40px */
    background: white;
    padding: 15px 25px; /* Alterado de 20px 30px */
    border-radius: 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.step-item.active {
    opacity: 1;
}

.step-item.completed {
    opacity: 1;
}

.step-item.completed .step-number {
    background: #1b5e53;
    color: white;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-label {
    font-weight: 500;
    color: #1b3a33;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 15px;
}

/* Títulos */
.step-title {
    font-size: 36px;
    color: #1b3a33;
    margin-bottom: 10px;
    text-align: center;
}

.step-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.property-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    width: 100%; 
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(27, 94, 83, 0.15);
}

.property-card.selected {
    border-color: #1b5e53;
}

.property-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.property-card-content {
    padding: 20px;
    position: relative;
}

.property-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 5px;
    color: #1b3a33;
}

.property-card .price {
    font-size: 18px;
    color: #1b5e53;
    font-weight: 600;
}

.property-card .checkbox {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    border: 2px solid #1b5e53;
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
}

.property-card.selected .checkbox {
    background: #1b5e53;
    border-color: #1b5e53;
}

.property-card.selected .checkbox::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
}

/* Seções de reserva */
.booking-section {
    background: white;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.booking-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    margin-bottom: 25px;
    color: #1b3a33;
}

.booking-section h3 i {
    color: #1b5e53;
    font-size: 26px;
}

.section-hint {
    color: #1b5e53;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: rgba(27, 94, 83, 0.1);
    border-radius: 40px;
    display: inline-block;
}

/* Calendário melhorado */
.calendar-container {
    background: #f8f5f0;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.current-month {
    font-size: 18px;
    font-weight: 600;
    color: #1b3a33;
    text-transform: capitalize;
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.calendar-nav:hover {
    background: #1b5e53;
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1b3a33;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.blocked) {
    background: #1b5e53;
    color: white;
    transform: scale(1.1);
}

.calendar-day.selected {
    background: #1b5e53;
    color: white;
    box-shadow: 0 4px 10px rgba(27, 94, 83, 0.3);
}

.calendar-day.selected-end {
    background: #1b5e53;
    color: white;
    box-shadow: 0 4px 10px rgba(27, 94, 83, 0.3);
}

.calendar-day.in-range {
    background: rgba(27, 94, 83, 0.15);
    border-radius: 0;
}

.calendar-day.blocked {
    background: #ffebee;
    color: #c62828;
    cursor: not-allowed;
    position: relative;
}

.calendar-day.blocked::after {
    content: '×';
    position: absolute;
    font-size: 20px;
    opacity: 0.5;
}

/* Datas selecionadas */
.selected-dates {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.date-box {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.date-box.filled {
    border-color: #1b5e53;
    background: rgba(27, 94, 83, 0.05);
}

.date-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.date-value {
    font-size: 18px;
    font-weight: 600;
    color: #1b3a33;
}

/* Seleção de Hóspedes */
.guests-selection {
    background: #f8f5f0;
    border-radius: 20px;
    padding: 20px;
}

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.guest-item:last-child {
    border-bottom: none;
}

.guest-info {
    display: flex;
    flex-direction: column;
}

.guest-title {
    font-weight: 600;
    color: #1b3a33;
    font-size: 16px;
}

.guest-age {
    font-size: 13px;
    color: #666;
}

.guest-control {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 5px 10px;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.guest-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #1b5e53;
    background: transparent;
    color: #1b5e53;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-btn:hover:not(:disabled) {
    background: #1b5e53;
    color: white;
}

.guest-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ccc;
}

.guest-count {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    font-size: 16px;
}

/* Resumo de Preços */
.price-summary {
    background: linear-gradient(135deg, #1b5e53, #0f4b43);
    color: white;
    border-radius: 30px;
    padding: 25px;
    margin-bottom: 30px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(255,255,255,0.2);
}

.price-value {
    font-weight: 600;
}

/* Botões de navegação */
.btn-next, .btn-reserve, .btn-confirm-payment {
    background: #1b5e53;
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 0 #0f3e36;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    justify-content: center;
}

.btn-next:disabled, .btn-reserve:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 0 #0f3e36;
}

.btn-next:not(:disabled):hover, 
.btn-reserve:not(:disabled):hover,
.btn-confirm-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0 #0f3e36;
}

.step-navigation {
    text-align: center;
    margin-top: 30px;
}

/* Slider de Imagens */
.property-slider-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.property-slider {
    overflow: hidden;
    width: 100%;
}

.property-track {
    display: flex;
    transition: transform 0.5s ease;
}

.property-track img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* Informações da propriedade */
.property-info {
    text-align: center;
    margin-bottom: 30px;
}

.property-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1b3a33;
    margin-bottom: 15px;
}

.property-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Pagamento */
.payment-section {
    background: white;
    border-radius: 30px;
    padding: 50px;
    margin: 30px 0;
    text-align: center;
}

.payment-message i {
    font-size: 60px;
    color: #1b5e53;
    margin-bottom: 20px;
}

.payment-message p {
    font-size: 20px;
    color: #1b3a33;
    margin-bottom: 10px;
}

.payment-message small {
    color: #666;
    font-size: 14px;
}

.btn-confirm-payment {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
}

/* Scroll personalizado */
.booking-container::-webkit-scrollbar {
    width: 8px;
}

.booking-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.booking-container::-webkit-scrollbar-thumb {
    background: #1b5e53;
    border-radius: 10px;
}

/* Animações */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

@media (max-width: 480px) {
    .steps-indicator {
        flex-direction: column; /* Só vira coluna em telas muito pequenas */
        align-items: flex-start;
        gap: 15px;
    }

    .step-item {
        width: 100%;
        justify-content: flex-start;
    }

    .step-line {
        display: none; /* Esconde as linhas em telas muito pequenas */
    }

    .properties-grid {
        gap: 10px;
    }

    .property-card img {
        height: 150px;
    }

    .property-card-content {
        padding: 15px;
    }

    .property-card h3 {
        font-size: 16px;
    }

    .property-card .price {
        font-size: 14px;
    }

    .property-card .checkbox {
        width: 22px;
        height: 22px;
        top: 12px;
        right: 12px;
    }
}

.guest-info-form {
    background: #f8f5f0;
    border-radius: 20px;
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #1b3a33;
    margin-bottom: 8px;
}

.form-group label i {
    color: #1b5e53;
    font-size: 18px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-input:hover {
    border-color: #1b5e53;
}

.form-input:focus {
    outline: none;
    border-color: #1b5e53;
    box-shadow: 0 0 0 4px rgba(27, 94, 83, 0.1);
}

.form-input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Validação visual */
.form-input.error {
    border-color: #c62828;
    background: #ffebee;
}

.form-input.valid {
    border-color: #1b5e53;
    background: #f0f8f5;
}

/* Dica de preenchimento */
.input-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-left: 15px;
}

/* Responsividade */
@media (max-width: 768px) {
    .guest-info-form {
        padding: 20px;
    }
    
    .form-input {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Classe base para elementos animados */
.animate-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Animações com diferentes direções */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-down {
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.animate-fade-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.animate-zoom {
    opacity: 0;
    animation: zoomIn 0.8s ease forwards;
}

/* Keyframes das animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animações com delay para efeito cascata */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* Animações específicas para cada seção */

/* Seção About */
.about {
    overflow: hidden;
}

.about-img {
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

.about-text {
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.3s;
}

.about-text h2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.about-text p {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.about-text button {
    opacity: 0;
    animation: zoomIn 0.8s ease forwards;
    animation-delay: 1s;
}

/* Seção Experience */
.experience h2 {
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.exp-slider {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.exp-controls {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.exp-card {
    opacity: 0;
    animation: zoomIn 0.8s ease forwards;
}

.exp-card:nth-child(1) {
    animation-delay: 0.2s;
}

.exp-card:nth-child(2) {
    animation-delay: 0.4s;
}

.exp-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Seção CTA Premium */
.cta-premium {
    overflow: hidden;
}

.cta-icon {
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.cta-premium h2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.cta-premium p {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.cta-btn {
    opacity: 0;
    animation: zoomIn 0.8s ease forwards;
    animation-delay: 0.7s;
}

/* Footer com animação */
.footer {
    overflow: hidden;
}

.footer-line {
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

.footer-container {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.footer-col {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-col:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-col:nth-child(2) {
    animation-delay: 0.3s;
}

.footer-col:nth-child(3) {
    animation-delay: 0.5s;
}

.footer-col:nth-child(4) {
    animation-delay: 0.7s;
}

.footer-bottom {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

/* Animações para os cards da seção Destaques (se quiser adicionar) */
.feature-grid .card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.feature-grid .card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-grid .card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-grid .card:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-grid .card:nth-child(4) {
    animation-delay: 0.7s;
}

/* Estatísticas com animação */
.stats div {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.stats div:nth-child(1) {
    animation-delay: 0.2s;
}

.stats div:nth-child(2) {
    animation-delay: 0.5s;
}

/* Scroll Reveal - Animação ao rolar */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade das animações */
@media (max-width: 768px) {
    .about-img {
        animation: fadeInUp 1s ease forwards;
    }
    
    .about-text {
        animation: fadeInUp 1s ease forwards;
        animation-delay: 0.3s;
    }
    
    .feature-grid .card {
        animation: fadeInUp 0.8s ease forwards;
    }
}

@media (max-width: 768px) {
    .about-img {
        width: 100%;
        max-width: 500px; /* Aumenta a largura máxima */
        margin: 0 auto;
    }
    
    .about-img img {
        width: 80%;
        height: auto; /* Mantém a proporção */
        max-height: 500px; /* Altura máxima para não ficar muito grande */
        object-fit: cover;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .about-img {
        max-width: 100%;
    }
    
    .about-img img {
        height: 380px; /* Altura fixa para telas muito pequenas */
    }
}

@media (max-width: 768px) {
    .experience {
        padding: 60px 0;
    }

    .experience h2 {
        font-size: 32px;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .exp-slider {
        padding: 0 15px;
    }

    .exp-track {
        gap: 20px;
        padding: 0 5%;
    }

    .exp-card {
        min-width: 85%; /* Aumenta a largura do card em mobile */
        border-radius: 20px;
    }

    .exp-card img {
        height: 450px; /* Altura reduzida para mobile */
        border-radius: 20px;
    }

    .exp-overlay {
        bottom: 15px;
        left: 15px;
        padding: 12px 24px;
        font-size: 22px;
        border-radius: 40px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .exp-controls {
        margin-top: 25px;
        gap: 30px;
        padding: 0 20px;
    }

    .exp-counter {
        font-size: 16px;
        background: white;
        padding: 8px 20px;
        border-radius: 40px;
        color: #1b3a33;
        font-weight: 500;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .exp-buttons {
        display: flex;
        gap: 15px;
    }

    .exp-buttons button {
        width: 50px;
        height: 50px;
        background: white;
        color: #1b5e53;
        font-size: 24px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .exp-buttons button:hover {
        transform: scale(1.1);
        background: #1b5e53;
        color: white;
    }

    .exp-buttons button:active {
        transform: scale(0.95);
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .experience h2 {
        font-size: 28px;
    }

    .exp-card {
        min-width: 90%;
    }

    .exp-card img {
        height: 400px;
    }

    .exp-overlay {
        padding: 10px 20px;
        font-size: 20px;
    }

    .exp-controls {
        flex-direction: column;
        gap: 20px;
    }

    .exp-counter {
        order: -1; /* Contador fica acima dos botões */
    }

    .exp-buttons {
        justify-content: center;
    }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .exp-card {
        min-width: 75%;
    }

    .exp-card img {
        height: 500px;
    }

    .exp-overlay {
        font-size: 24px;
        padding: 14px 28px;
    }
}

@media (max-width: 768px) {
    /* Overlay escuro quando menu está aberto */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 98;
        animation: fadeIn 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -280px;
        background: #f4efe9;
        flex-direction: column;
        width: 250px;
        height: 100vh;
        padding: 80px 20px 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 99;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(27, 94, 83, 0.1);
        color: #1b3a33;
        text-decoration: none;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a::after {
        display: none;
    }

    .nav a:hover {
        background: rgba(27, 94, 83, 0.05);
        border-radius: 10px;
    }

    /* Ajuste do botão toggle */
    .menu-toggle {
        display: block;
        z-index: 100;
        position: relative;
        font-size: 28px;
        cursor: pointer;
        color: #1b3a33;
        transition: all 0.3s ease;
    }

    /* Quando o menu está ativo, o ícone muda para X */
    .menu-toggle.active i {
        transform: rotate(90deg);
    }

    .menu-toggle i {
        transition: transform 0.3s ease;
    }

    /* Ajuste do contact-btn no mobile */
    .contact-btn {
        display: none;
    }

    /* Header no mobile */
    .header {
        position: sticky;
        z-index: 101;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .nav {
        right: -100%;
        width: 280px;
    }
}

@media (max-width: 768px) {
    .property-slider-container {
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .property-track img {
        height: 350px; /* Reduzido de 650px para 350px */
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .property-info {
        margin-bottom: 20px;
    }

    .property-info h3 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .property-description {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .property-track img {
        height: 280px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .property-info h3 {
        font-size: 22px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .property-track img {
        height: 450px; 
    }
}

/* =========================
   HERO CAROUSEL SIMPLES
========================= */

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.hero-carousel-track img {
    width: 100%;
    flex-shrink: 0;
    height: 420px;
    object-fit: cover;
}

/* Botões */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.hero-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev { left: 10px; }
.hero-nav.next { right: 10px; }

/* Mobile */
@media (max-width: 768px) {
    .hero-carousel-track img {
        height: 260px;
    }
}

.floating-reserve-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1b5e53, #0f4b43);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(27, 94, 83, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.floating-reserve-btn i {
    font-size: 20px;
}

.floating-reserve-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(27, 94, 83, 0.6);
    padding: 12px 25px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Mobile */
@media (max-width: 768px) {
    .floating-reserve-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .floating-reserve-btn i {
        font-size: 18px;
    }
}

/* =========================
   PASSO 3 - PAGAMENTO (PADRÃO SISTEMA)
========================= */

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0 30px;
}

.payment-option {
    background: white;
    border-radius: 30px;
    padding: 22px;
    border: 3px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #1b3a33;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.payment-option i {
    font-size: 28px;
    color: #1b5e53;
}

.payment-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(27, 94, 83, 0.15);
}

.payment-option.active {
    border-color: #1b5e53;
    background: rgba(27, 94, 83, 0.05);
}

/* Container do método */
.payment-container {
    background: white;
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    text-align: center;
    margin-bottom: 20px;
}

/* PIX */
.pix-info {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

#pixQr {
    margin: 20px auto;
    display: block;
    border-radius: 20px;
    border: 8px solid #f8f5f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 240px;
}

#pixCode {
    margin-top: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 14px;
    font-size: 13px;
    background: #f8f5f0;
    word-break: break-all;
    resize: none;
    width: 100%;
}

#pixStatus {
    margin-top: 15px;
    font-weight: 600;
    color: #1b5e53;
    font-size: 16px;
}

/* Botão gerar PIX */
.btn-confirm-payment {
    margin-top: 25px;
    background: #1b5e53;
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 8px 0 #0f3e36;
    transition: all 0.3s ease;
    min-width: 220px;
}

.btn-confirm-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0 #0f3e36;
}

.btn-confirm-payment:active {
    transform: translateY(4px);
    box-shadow: 0 3px 0 #0f3e36;
}

/* Cartão (Bricks container) */
#cardContainer {
    margin-top: 10px;
}

#paymentBrickContainer {
    margin-top: 20px;
    min-height: 220px;
}

/* Responsivo - dispositivos menores */
@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr 1fr; /* Mantém lado a lado */
        gap: 10px;
    }
    
    .payment-option {
        padding: 12px 8px;
        font-size: 14px;
        gap: 6px;
        border-radius: 20px;
    }
    
    .payment-option i {
        font-size: 18px;
    }

    .payment-container {
        padding: 25px;
    }

    #pixQr {
        max-width: 200px;
    }

    .btn-confirm-payment {
        width: 100%;
        max-width: 320px;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .payment-option {
        padding: 10px 5px;
        font-size: 13px;
    }
    
    .payment-option i {
        font-size: 16px;
    }
}

.pix-modern {
    background: linear-gradient(145deg, #ffffff, #f8f5f0);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(27, 94, 83, 0.1);
}

.pix-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pix-header i {
    font-size: 48px;
    color: #1b5e53;
    background: rgba(27, 94, 83, 0.1);
    padding: 15px;
    border-radius: 20px;
}

.pix-header h3 {
    font-size: 28px;
    color: #1b3a33;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.pix-info {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    padding: 10px;
    background: rgba(27, 94, 83, 0.05);
    border-radius: 50px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

/* QR Code */
.pix-qr-wrapper {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease;
}

.pix-qr-code {
    width: 240px;
    height: 240px;
    border-radius: 30px;
    border: 8px solid white;
    box-shadow: 0 15px 30px rgba(27, 94, 83, 0.15);
    background: white;
    padding: 10px;
}

/* Container do código PIX */
.pix-code-container {
    margin: 30px 0 20px;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.pix-code-label {
    display: block;
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.pix-code-box {
    display: flex;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
}

.pix-code-box:focus-within {
    border-color: #1b5e53;
    box-shadow: 0 0 0 4px rgba(27, 94, 83, 0.1);
}

.pix-code-input {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 14px;
    color: #1b3a33;
    background: transparent;
    outline: none;
    font-family: monospace;
}

.pix-copy-btn {
    background: linear-gradient(145deg, #1b5e53, #0f4b43);
    color: white;
    border: none;
    border-radius: 60px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(27, 94, 83, 0.3);
    min-width: 200px;
}

.pix-copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 94, 83, 0.4);
}
.pix-copy-btn.copiado {
    background: linear-gradient(145deg, #27ae60, #219a52);
}

.pix-copy-btn:active {
    transform: translateY(0);
}

.pix-copy-btn i {
    font-size: 22px;
}

/* Feedback de cópia */
.copy-feedback {
    display: none !important;
}

.copy-feedback.show {
    display: block;
}

/* Status do PIX */
.pix-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 60px;
    margin: 20px 0;
    color: #b45f06;
}

.pix-status .status-icon {
    font-size: 24px;
}

.pix-status i {
    font-size: 24px;
}

.pix-status span {
    font-size: 16px;
    font-weight: 600;
}

/* Botão Gerar PIX */
.btn-generate-pix {
    background: linear-gradient(145deg, #1b5e53, #0f4b43);
    color: white;
    border: none;
    border-radius: 60px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(27, 94, 83, 0.3);
    margin: 10px 0;
}

.btn-generate-pix:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(27, 94, 83, 0.4);
    background: linear-gradient(145deg, #1f6e63, #135b50);
}

.btn-generate-pix:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(27, 94, 83, 0.3);
}

.btn-generate-pix i {
    font-size: 24px;
}

/* Footer de segurança */
.pix-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed rgba(27, 94, 83, 0.2);
    color: #666;
    font-size: 14px;
}

.pix-footer i {
    color: #1b5e53;
    font-size: 18px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsivo */
@media (max-width: 768px) {
    .pix-modern {
        padding: 25px;
    }
    
    .pix-header h3 {
        font-size: 24px;
    }
    
    .pix-qr-code {
        width: 200px;
        height: 200px;
    }
    
    .pix-code-box {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .pix-code-input {
        width: 100%;
        border: 2px solid rgba(27, 94, 83, 0.2);
        border-radius: 60px;
        padding: 15px 20px;
        background: white;
        text-align: center;
    }
    
    .pix-copy-btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .btn-generate-pix {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .pix-modern {
        padding: 20px;
    }
    
    .pix-header i {
        font-size: 36px;
        padding: 12px;
    }
    
    .pix-header h3 {
        font-size: 22px;
    }
    
    .pix-copy-btn {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .pix-qr-code {
        width: 180px;
        height: 180px;
    }
}

.footer-dev {
    text-align: center;
    padding: 10px 0 20px;
    font-size: 18px;
    opacity: 0.7;
}

.footer-dev a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.footer-dev a:hover {
    text-decoration: underline;
    opacity: 1;
}

@media (max-width: 480px) {
    /* Ajuste no container principal para dar mais espaço no final */
    .booking-container {
        padding-bottom: 40px; /* Aumenta o espaço inferior */
    }
    
    /* Ajuste na grade de propriedades */
    .properties-grid {
        margin-bottom: 30px; /* Aumenta o espaço antes do botão */
    }
    
    /* Ajuste na navegação do passo */
    .step-navigation {
        margin-top: 20px;
        padding-bottom: 30px; /* Espaço extra após o botão */
        position: sticky;
        bottom: 0;
        background: linear-gradient(to top, #f4efe9 80%, transparent);
        padding-top: 15px;
        z-index: 5;
    }
    
    /* Botão Continuar maior e mais fácil de clicar */
    .btn-next, .btn-reserve {
        width: 100%;
        min-width: auto;
        padding: 18px 24px; /* Botão mais alto */
        font-size: 18px;
        margin: 0 auto;
        position: relative;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    /* Remove o efeito de elevação que pode cortar o botão */
    .btn-next:not(:disabled):hover, 
    .btn-reserve:not(:disabled):hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 0 #0f3e36;
    }
    
    /* Ajuste no título para economizar espaço */
    .step-title {
        font-size: 28px;
        margin-bottom: 5px;
    }
    
    .step-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    /* Reduz o tamanho dos cards para caber mais conteúdo */
    .property-card img {
        height: 130px;
    }
    
    .property-card-content {
        padding: 12px;
    }
    
    .property-card h3 {
        font-size: 15px;
    }
    
    .property-card .price {
        font-size: 13px;
    }
    
    /* Ajuste no indicador de passos para economizar espaço vertical */
    .steps-indicator {
        margin: 10px 0 15px;
        padding: 10px 15px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    /* Garantir que o botão Voltar não atrapalhe */
    .btn-back {
        margin-bottom: 5px;
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Para telas muito pequenas (menos de 360px) */
@media (max-width: 360px) {
    .property-card img {
        height: 110px;
    }
    
    .property-card h3 {
        font-size: 14px;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .btn-next, .btn-reserve {
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* Ajustes para mobile - etapa 2 com botão apenas no final */
@media (max-width: 480px) {
    /* Ajuste no container principal */
    .booking-container {
        padding: 15px 15px 30px;
    }
    
    /* Melhorar o indicador de passos - mais compacto e legível */
    .steps-indicator {
        margin: 5px 0 20px;
        padding: 12px 15px;
        border-radius: 40px;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    /* Ajuste nos itens do passo */
    .step-item {
        gap: 5px;
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        font-size: 12px;
        background: #f0f0f0;
    }
    
    .step-item.active .step-number {
        background: #1b5e53;
        color: white;
    }
    
    .step-label {
        font-size: 11px;
        font-weight: 500;
    }
    
    /* Remover linhas em mobile para economizar espaço */
    .step-line {
        display: none;
    }
    
    /* Títulos mais compactos */
    .step-title {
        font-size: 26px;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .step-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        color: #666;
    }
    
    /* Grid de propriedades com mais espaçamento */
    .properties-grid {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    /* Cards MAIORES e mais espaçados */
    .property-card {
        border-radius: 20px;
        margin-bottom: 5px;
    }
    
    .property-card img {
        height: 160px;
    }
    
    .property-card-content {
        padding: 16px 12px 14px;
    }
    
    .property-card h3 {
        font-size: 15px;
        margin-bottom: 5px;
        padding-right: 30px;
    }
    
    .property-card .price {
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Checkbox - reposicionado */
    .property-card .checkbox {
        width: 24px;
        height: 24px;
        top: 12px;
        right: 12px;
        z-index: 5;
    }
    
    /* Área de navegação - SEM STICKY na etapa 2 */
    .step-navigation {
        margin-top: 20px;
        padding: 15px 0 10px;
        /* Removido position: sticky e background gradient */
        position: relative;
        background: transparent;
        z-index: 1;
    }
    
    /* Garantir que a etapa 2 tenha o botão apenas no final */
    #step2 .step-navigation {
        position: relative;
        background: transparent;
        margin-top: 25px;
        padding: 15px 0 5px;
    }
    
    /* Botão Continuar/Reservar */
    .btn-next, .btn-reserve {
        width: 100%;
        min-width: auto;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
        margin: 0 auto;
        border-radius: 50px;
        background: #1b5e53;
        color: white;
        border: none;
        box-shadow: 0 4px 10px rgba(27, 94, 83, 0.3);
        transition: all 0.2s ease;
    }
    
    .btn-next:not(:disabled):active, 
    .btn-reserve:not(:disabled):active {
        transform: translateY(2px);
        box-shadow: 0 2px 5px rgba(27, 94, 83, 0.3);
    }
    
    /* Botão Voltar mais compacto */
    .btn-back {
        top: 5px;
        margin-bottom: 5px;
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 30px;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .btn-back i {
        font-size: 16px;
    }
}

/* Ajuste específico para telas muito pequenas (menos de 360px) */
@media (max-width: 360px) {
    .steps-indicator {
        padding: 10px 12px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    /* Cards ajustados para telas muito pequenas */
    .property-card img {
        height: 140px;
    }
    
    .property-card h3 {
        font-size: 14px;
        padding-right: 25px;
    }
    
    .property-card .price {
        font-size: 13px;
    }
    
    .btn-next, .btn-reserve {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Ajuste para garantir que o conteúdo não fique cortado */
.booking-step {
    min-height: auto;
    padding-bottom: 10px;
}

/* Melhorar a visualização do grid em telas médias */
@media (min-width: 481px) and (max-width: 768px) {
    .properties-grid {
        gap: 15px;
    }
    
    .property-card img {
        height: 160px;
    }
    
    .step-navigation {
        margin-top: 20px;
        padding-bottom: 20px;
        position: relative;
    }
}

/* Ajuste específico para telas muito pequenas (menos de 360px) */
@media (max-width: 360px) {
    .steps-indicator {
        padding: 10px 12px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    /* Cards ajustados para telas muito pequenas */
    .property-card img {
        height: 140px; /* Aumentado de 100px para 140px */
    }
    
    .property-card h3 {
        font-size: 14px;
        padding-right: 25px;
    }
    
    .property-card .price {
        font-size: 13px;
    }
    
    .btn-next, .btn-reserve {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Ajuste para garantir que o conteúdo não fique cortado */
.booking-step {
    min-height: auto;
    padding-bottom: 10px;
}

/* Melhorar a visualização do grid em telas médias */
@media (min-width: 481px) and (max-width: 768px) {
    .properties-grid {
        gap: 15px;
    }
    
    .property-card img {
        height: 160px;
    }
    
    .step-navigation {
        margin-top: 20px;
        padding-bottom: 20px;
    }
}

/* ===== CORREÇÃO MOBILE BOTÃO CORTADO ===== */
@media (max-width: 480px) {

    .booking-system {
        height: 100dvh; /* viewport real do celular */
    }

    .booking-container {
        height: 100dvh;
        padding-bottom: 120px; /* espaço extra para o botão */
    }

    .step-navigation {
        position: sticky;
        bottom: 10px;
        background: #f4efe9;
        padding: 15px 0;
        z-index: 20;
    }

    .btn-reserve,
    .btn-next {
        width: 90%;
        max-width: 320px;
    }
}