/* CSS Variables & Theme Setup */
:root {
    --primary: #0C3C78;      
    --primary-dark: #061e3e;
    --primary-gradient: linear-gradient(135deg, #092C5A 0%, #15509c 100%);
    --accent: #FCE66B;       /* Softer, more elegant yellow */
    --accent-gradient: linear-gradient(135deg, #FCE66B 0%, #F59E0B 100%);
    --btn-green: #22C55E;    
    --btn-green-hover: #16A34A;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #475569;
    --text-light: #FFFFFF;
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 20px;
    --border-radius-lg: 32px;
    
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.06);
    --shadow-hover: 0 30px 60px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-main); 
    color: var(--text-main); 
    background-color: #ffffff; 
    line-height: 1.7; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.text-center { text-align: center; }

/* Botão Verde Destaque */
.btn {
    display: inline-block;
    padding: 18px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    letter-spacing: 0.5px;
}

.btn-green {
    background: var(--btn-green);
    color: #fff;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.btn-green:hover {
    background: var(--btn-green-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.5);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        transform: scale(1);
    }
}

.btn-hero-pulse {
    padding: 22px 55px;
    font-size: 1.25rem;
    animation: pulse-green 2s infinite;
    margin-top: 10px;
}

.btn-hero-pulse:hover {
    animation: none;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.5);
}

.cta-spacing {
    margin-top: 50px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* 1. Hero Ref Layout */
.ref-hero {
    background: url('assets/hero_andes_snow_1784999669416.png') center/cover no-repeat;
    color: var(--text-light);
    padding: 140px 0 120px;
    overflow: hidden;
    position: relative;
}

.ref-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(9, 44, 90, 0.92) 0%, rgba(21, 80, 156, 0.85) 100%);
    z-index: 0;
}

.ref-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: #fff;
    transform: skewY(-2deg);
    z-index: 1;
}

.ref-hero-container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 30px;
    display: block;
}

.ref-hero-text {
    flex: 1;
    max-width: 620px;
}

.ref-hero-text h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.ref-hero-text h1 span {
    color: var(--primary-dark);
    background: var(--accent-gradient);
    padding: 2px 16px;
    border-radius: 8px;
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.ref-hero-text .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ref-hero-text .hero-description {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 3rem;
}

.cta-note {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.ref-hero-image {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.ref-hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

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

/* 2. Package & Presentation */
.section { padding: 120px 0; }
.ref-presentation-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.ref-presentation-header h2 { color: var(--primary); font-size: 2.5rem; margin-bottom: 1.2rem; }
.ref-presentation-header p { color: var(--text-muted); font-size: 1.15rem; }

.package-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

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

.package-content { 
    padding: 60px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: flex-start;
}
.package-image img { width: 100%; height: 100%; object-fit: cover; }
.badge-dark { background: rgba(12, 60, 120, 0.08); color: var(--primary); border-color: transparent; }
.package-card h2 { color: var(--primary); margin-bottom: 0.5rem; font-size: 2.2rem; }
.package-subtitle { color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 500; font-size: 1.1rem; }
.quick-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 2.5rem; width: 100%; }
.info-item { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.4; }
.info-item span { color: var(--text-muted); }
.info-item strong { color: var(--primary-dark); font-weight: 700; margin-right: 4px; }
.info-item i { color: var(--accent); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* 4. Details Ref Layout (Barra + Cartões Empilhados) */
.ref-details-section { padding-bottom: 120px; }
.ref-title-bar {
    background: var(--primary-gradient);
    color: #fff;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(12, 60, 120, 0.2);
}
.ref-title-bar h2 { font-size: 2.5rem; }

.ref-details-container {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.ref-details-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ref-stacked-card {
    background: var(--primary-gradient);
    color: #fff;
    padding: 26px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(12, 60, 120, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ref-stacked-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(12, 60, 120, 0.25);
    background: linear-gradient(135deg, #15509c 0%, #092C5A 100%);
}

.ref-stacked-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.ref-stacked-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.ref-details-right {
    flex: 0.9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.vertical-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
    transition: var(--transition);
}

.ref-details-right:hover .vertical-img {
    transform: scale(1.05);
}

/* 6. Experiências Ref Layout (Fundo Amarelo + Fotos Verticais) */
.ref-yellow-section {
    background: var(--accent);
    background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
    padding: 120px 0;
    position: relative;
}

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

.ref-yellow-header h2 {
    color: var(--primary-dark);
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.ref-yellow-header p {
    color: rgba(0,0,0,0.7);
    font-size: 1.15rem;
    font-weight: 500;
}

.ref-photos-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ref-photo-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 9/16;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.ref-photo-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.ref-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ref-photo-card:hover img {
    transform: scale(1.1);
}

.ref-photo-label {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(5px);
}

/* 5. Incluso */
.included-section { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { color: var(--primary); font-size: 2.5rem; }

.included-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.included-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.included-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.included-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.included-header i {
    color: var(--primary);
    width: 28px;
    height: 28px;
    background: rgba(12, 60, 120, 0.08);
    padding: 14px;
    border-radius: 50%;
    box-sizing: content-box;
}

.included-header h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 0;
}

.included-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-card ul li {
    margin-bottom: 18px;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
    padding-left: 36px;
    line-height: 1.5;
}

.included-card ul li:last-child {
    margin-bottom: 0;
}

.included-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #fff;
    background: var(--btn-green);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

/* 9. Publico Ref Layout (Grid 4 colunas cards azuis) */
.ref-target-section {
    background: #ffffff;
    padding-bottom: 120px;
}

.ref-target-header {
    text-align: center;
    margin-bottom: 60px;
}

.ref-target-header h2 {
    color: var(--primary);
    font-size: 2.5rem;
}

.ref-target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 50px;
    max-width: 900px;
    margin: 0 auto;
}

.ref-target-card {
    background: transparent;
    color: var(--text-main);
    padding: 10px 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    box-shadow: none;
    border: none;
}

.ref-target-card:hover {
    transform: translateX(5px);
    box-shadow: none;
    background: transparent;
}

.ref-target-card::before {
    content: '✓';
    color: #fff;
    background: var(--btn-green);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.ref-target-card p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-main);
}

/* Footer */
.footer { background: #041022; color: rgba(255,255,255,0.4); text-align: center; padding: 50px 0; font-size: 0.95rem; }

/* Animações */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsividade */
@media (max-width: 1024px) {
    .ref-hero-container { flex-direction: column; text-align: center; gap: 50px; }
    .hero-logo { margin-left: auto; margin-right: auto; }
    .ref-hero-text { max-width: 100%; }
    .ref-hero-image { transform: none; width: 100%; max-width: 700px; }
    .ref-hero-image:hover { transform: translateY(-10px); }
    .ref-details-container { flex-direction: column; gap: 40px; text-align: center; }
    .ref-details-right { height: 500px; }
    .ref-photos-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .included-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .ref-target-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .package-card { grid-template-columns: 1fr; }
    .package-image { height: 400px; }
}

@media (max-width: 768px) {
    .ref-hero-text h1 { font-size: 2.8rem; }
    .ref-hero { padding: 100px 0 80px; }
    .ref-photos-row { grid-template-columns: 1fr; }
    .ref-photo-card { height: 300px; aspect-ratio: auto; }
    .included-grid { grid-template-columns: 1fr; }
    .ref-target-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .ref-title-bar h2, .ref-yellow-header h2, .ref-target-header h2, .ref-presentation-header h2 { font-size: 2rem; }
    .ref-stacked-card { padding: 20px; }
    .package-content { padding: 30px; }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
