:root {
    --primary: #0a0a0a;
    --text-light: #f8f9fa;
    --accent: #1e90ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #000;
    color: var(--text-light);
    overflow-x: hidden;
}

/* The long scrollable track container */
.hero-track {
    height: 600vh;
    /* Scroll length matching narrative length */
    position: relative;
    width: 100%;
}

/* Fixed container holding the video and text during scroll */
.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    /* Técnicas para melhorar a nitidez no navegador */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.05) saturate(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark vignette gradient for text readability and cinematic feel */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    will-change: transform, opacity;
}

/* Typography styles */
.headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    padding: 0.2em 0;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, #ffffff 30%, #b3c5d7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.5));
}









@keyframes float {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

.next-section {
    min-height: 120vh;
    padding: 150px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 10;
}

.content-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffffff, #cbd5e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
    grid-template-areas: 
        "cruzeiros turquia curacao curacao"
        "egito turquia bahamas africa";
    gap: 15px;
    width: 100%;
}

.dest-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dest-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-image {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.dest-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
    transition: background 0.5s ease;
}

.dest-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
}

.card-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* Reveal Animation Class (Smoother) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggering Delays for Grid Cards */
.destinations-grid .dest-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible .destinations-grid .dest-card {
    opacity: 1;
    transform: translateY(0);
}

.card-cruzeiros { grid-area: cruzeiros; transition-delay: 0.1s; }
.card-egito { grid-area: egito; transition-delay: 0.2s; }
.card-turquia { grid-area: turquia; transition-delay: 0.3s; }
.card-curacao { grid-area: curacao; transition-delay: 0.4s; }
.card-bahamas { grid-area: bahamas; transition-delay: 0.5s; }
.card-africa { grid-area: africa; transition-delay: 0.6s; }

/* --- Premium Services Section (Static & White) --- */
/* --- Premium Services Section (Reimagined & Elevated) --- */
/* --- Final Content Group (Full Merge) --- */
#final-content-group {
    background: #ffffff;
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
    z-index: 10;
}

#final-content-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #fff, transparent 10%, transparent 90%, #fff);
    pointer-events: none;
    z-index: 1;
}

.premium-services-section-white {
    padding: 160px 0 60px; /* Reduced bottom padding */
    background: transparent !important;
    position: relative;
    z-index: 2;
}

#premium-services .section-header {
    max-width: 900px;
    margin: 0 auto 120px;
    text-align: center;
}

#premium-services .section-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    background: linear-gradient(to right, #000 30%, #444 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

#premium-services .section-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

#premium-services .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

#premium-services .service-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    position: relative;
}

/* Asymmetric Staggering */
#premium-services .service-card:nth-child(even) {
    margin-top: 60px;
}

#premium-services .service-card:hover {
    transform: translateY(-20px) rotate(1deg);
    box-shadow: 0 50px 100px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

#premium-services .service-image {
    height: 320px;
    position: relative;
    overflow: hidden;
}

#premium-services .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

#premium-services .service-card:hover .service-image img {
    transform: scale(1.15);
}

#premium-services .service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 10%, transparent 60%);
}

#premium-services .service-content {
    padding: 20px 40px 50px;
    position: relative;
    z-index: 2;
    margin-top: -60px; /* Overlap effect */
    background: transparent;
}

#premium-services .service-content h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

#premium-services .service-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

/* Artistic Numbering */
#premium-services .service-card::before {
    content: attr(data-index);
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 10rem;
    font-weight: 900;
    color: #f8f9fa;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
}

#premium-services .cta-container {
    margin-top: 150px;
    text-align: center; /* Centering fixed */
    width: 100%;
}

.cta-button-main {
    display: inline-block;
    padding: 22px 60px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: #000;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cta-button-main:hover {
    transform: translateY(-8px) scale(1.05);
    background: var(--accent);
    box-shadow: 0 30px 60px rgba(30, 144, 255, 0.3);
}

@media (max-width: 1200px) {
    #premium-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .premium-services-section-white {
        padding: 100px 0 40px;
    }
    #premium-services .section-header {
        margin-bottom: 60px;
    }
    #premium-services .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    #premium-services .service-card:nth-child(even) {
        margin-top: 0; /* Remove stagger on mobile */
    }
    #premium-services .service-image {
        height: 250px;
    }
    #premium-services .cta-container {
        margin-top: 60px;
    }
}

@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas: none;
    }
    
    .dest-card {
        grid-area: auto !important;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .next-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2.5rem 1.5rem;
    }

    .headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 2rem;
    }

    .cta-button {
        padding: 15px 30px;
    }

    .hero-track {
        height: 400vh;
    }
}

/* --- Scroll Stacking Storytelling Section --- */
.stacking-container {
    position: relative;
    width: 100%;
}

.stacking-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Box shadow adds depth between overlapping panels */
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

#panel-paris { z-index: 11; }
#panel-dubai { z-index: 12; }
#panel-maldivas { z-index: 13; }
#panel-novayork { z-index: 14; }

#premium-bg-white {
    background: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Slow visual zoom effect while panel is stable */
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.stacking-panel:hover .panel-bg img {
    transform: scale(1.05);
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic gradient overlay */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.panel-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.panel-content h2 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.panel-content p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.panel-btn {
    padding: 16px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    background: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.panel-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    background: #f0f0f0;
}

/* --- About Us Section (Merged Style) --- */
.about-section {
    padding: 60px 0 160px; /* Reduced top padding */
    background: transparent !important;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 120px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 60px 20px 60px 20px; /* Unique asymmetrical radius */
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
    display: block;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Secondary image accent (leaking effect) */
.about-image::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 60px 20px 60px 20px;
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02) rotate(-1deg);
}

.about-image:hover::after {
    transform: translate(20px, 20px);
    opacity: 0.5;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-header .section-title-dark {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    color: #000;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.about-header .section-subtitle-dark {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
    font-weight: 400;
}

/* Redesigned Floating Stats Cards */
.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 30px;
    transition: all 0.4s ease;
}

.stat-item:hover {
    background: #ffffff;
    border-color: var(--accent);
    transform: translateX(15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #000;
    min-width: 140px;
    background: linear-gradient(135deg, #000 0%, #444 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-container-left {
    margin-top: 20px;
}

/* Responsividade Global Overhaul */
@media (max-width: 1200px) {
    .about-grid {
        gap: 60px;
    }
    .about-image img { height: 600px; }
}

@media (max-width: 992px) {
    .about-section {
        padding: 40px 0 100px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .about-image { 
        max-width: 600px; 
        margin: 0 auto; 
        order: 2; /* Image after text on tablet/mobile */
    }
    .about-header { order: 1; }
    .about-description { order: 1; }
    .about-stats { order: 3; }
    .cta-container-left { order: 4; text-align: center; }
    
    .stat-item { 
        justify-content: center; 
        text-align: left; 
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .about-image img {
        height: 400px;
    }
    .about-image::after {
        top: -15px;
        left: -15px;
    }
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .stat-number {
        min-width: unset;
        font-size: 2.5rem;
    }
}

/* --- Footer & Final Section Styling --- */
.footer-section {
    padding: 150px 0 60px;
    background: #ffffff; /* Changed to white */
    position: relative;
    z-index: 20;
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.1); /* Lighter shadow for white bg */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr) 2fr;
    gap: 60px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Darker border for white bg */
    padding-bottom: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000000; /* Solid black for logo on white */
    letter-spacing: -0.02em;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111111; /* Dark grey for headings */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444444; /* Darker text for readability */
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.social-icon {
    font-size: 0.9rem;
    color: #666666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.social-icon:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col ul a {
    color: #555555;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: #000;
    transform: translateX(5px);
}

.footer-form {
    display: flex;
    background: #f8f9fa; /* Light grey for form on white bg */
    padding: 8px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.footer-form:focus-within {
    border-color: var(--accent);
}

.footer-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: #000;
    font-family: inherit;
    outline: none;
}

.footer-form button {
    background: #000000; /* Black button for contrast */
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-form button:hover {
    transform: scale(1.05);
    background: var(--accent);
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-section {
        padding: 100px 0 40px;
    }
}