/* ============================================================
   THOMAS CARMO — CINEMATIC EXPERIENCE
   Paleta: Preto / Off-white / Dourado
   ============================================================ */

:root {
    --black:      #080808;
    --dark:       #111111;
    --off-white:  #f2ede4;
    --cream:      #e0d8c8;
    --gold:       #c9a96e;
    --gold-light: #e2c98a;
    --gold-dark:  #8a6f3a;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
    background: var(--black);
    color: var(--off-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

/* ============================================================
   TIPOGRAFIA GLOBAL
   ============================================================ */

.label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--off-white);
}

h2 em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 3rem;
    transition: background 0.5s ease, padding 0.4s ease;
}

.nav.scrolled {
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(12px);
    padding: 1rem 3rem;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--off-white);
}

.nav-cta {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dark);
    padding: 0.6rem 1.4rem;
    transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--black);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img { will-change: transform; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8,8,8,0.55) 0%,
        rgba(8,8,8,0.5)  40%,
        rgba(8,8,8,0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(2.8rem, 8vw, 8rem);
    line-height: 1.0;
    letter-spacing: 0.05em;
    color: var(--off-white);
    overflow: hidden;
}

.hero-line {
    display: block;
    transform: translateY(120%);
    opacity: 0;
}

#hero-label {
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--gold-light);
    letter-spacing: 0.42em;
}

.hero-cities {
    font-weight: 200;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
}

.scroll-hint span {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cream);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%       { opacity: 0.3; transform: scaleY(0.6); }
}

/* ============================================================
   HERO VIDEO
   ============================================================ */

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   ZOOM SCRUBADO: FOTO ANIMADA PELO SCROLL
   ============================================================ */

.section-img-zoom {
    position: relative;
    height: 350vh;
}

.img-zoom-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.img-zoom-wrap {
    position: absolute;
    inset: -10%;
    transform-origin: center center;
    will-change: transform;
}

.img-zoom-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   VÍDEO SCROLL: SEÇÕES CONTROLADAS PELO SCROLL
   ============================================================ */

.section-vscroll {
    position: relative;
    height: 400vh;
}

.vscroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.vscroll-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vscroll-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(8,8,8,0.25) 0%,
        rgba(8,8,8,0.5)  50%,
        rgba(8,8,8,0.82) 100%
    );
}

.vscroll-text {
    position: absolute;
    z-index: 2;
    bottom: 12%;
    left: 6vw;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.vscroll-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.vscroll-text h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); }

/* ============================================================
   INTERIOR: JORNADA PELOS AMBIENTES
   ============================================================ */

.section-interior {
    height: 600vh;
    position: relative;
}

.interior-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.interior-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.interior-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    will-change: opacity;
}

.interior-slide[data-slide="0"] { opacity: 1; }

.interior-slide img { transform: scale(1.05); }

.interior-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8,8,8,0.82) 0%,
        rgba(8,8,8,0.55) 45%,
        rgba(8,8,8,0.15) 100%
    );
}

.interior-panel {
    position: relative;
    z-index: 2;
    width: 42%;
    max-width: 500px;
    margin-left: 6vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interior-text-item {
    position: absolute;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.interior-text-item[data-text="0"] {
    opacity: 1;
    transform: translateY(0);
}

.interior-desc {
    margin-top: 1.2rem;
    font-size: 0.88rem;
    line-height: 1.85;
    color: rgba(242, 237, 228, 0.7);
    max-width: 340px;
}

.interior-progress {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 60px;
    height: 1px;
    background: rgba(242, 237, 228, 0.15);
}

.interior-progress-bar {
    height: 100%;
    width: 20%;
    background: var(--gold);
    transition: width 0.4s ease;
}

/* ============================================================
   LITORAL: POR QUE SC
   ============================================================ */

.section-coast {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.coast-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.coast-bg img { will-change: transform; }

.coast-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(8,8,8,0.95) 0%,
        rgba(8,8,8,0.75) 50%,
        rgba(8,8,8,0.4)  100%
    );
}

.coast-content {
    position: relative;
    z-index: 2;
    padding: 8rem 6vw;
    max-width: 950px;
}

.coast-label {
    font-size: 0.85rem;
    color: var(--gold-light);
    letter-spacing: 0.42em;
}

.coast-title { margin-bottom: 4rem; }

.coast-reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
}

.reason {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(40px);
}

.reason-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    margin-top: -0.2rem;
}

.reason-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--off-white);
    margin-bottom: 0.6rem;
}

.reason-body p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(242, 237, 228, 0.75);
}

/* ============================================================
   PISCINA
   ============================================================ */

.section-pool {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pool-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.pool-bg img { will-change: transform; }

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

.pool-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(8,8,8,0.3)  0%,
        rgba(8,8,8,0.55) 60%,
        rgba(8,8,8,0.8)  100%
    );
}

.pool-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pool-title {
    font-size: clamp(2.8rem, 6vw, 6rem);
    opacity: 0;
    transform: translateY(50px);
}

/* ============================================================
   THOMAS CARMO
   ============================================================ */

.section-thomas {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: var(--dark);
    overflow: hidden;
}

.thomas-image-wrap {
    position: relative;
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-60px);
}

.thomas-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(10%) contrast(1.05);
}

.thomas-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(17,17,17,0.5) 100%);
}

.thomas-image-wrap::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 55%;
    background: linear-gradient(to right, transparent, var(--dark));
}

.thomas-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 6vw 6rem 3rem;
    opacity: 0;
    transform: translateX(60px);
}

.thomas-name { margin-bottom: 1.5rem; }

.thomas-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 2rem;
}

.thomas-bio {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(242, 237, 228, 0.68);
    max-width: 420px;
    margin-bottom: 2rem;
}

.thomas-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--gold-light);
    margin-bottom: 2.5rem;
}

/* ============================================================
   BOTÃO DOURADO
   ============================================================ */

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-gold-large {
    font-size: 0.72rem;
    padding: 1.2rem 2.6rem;
    align-self: center;
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.section-final {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.final-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.final-bg img { will-change: transform; }

.final-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(8, 8, 8, 0.65);
}

.final-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.final-label {
    font-size: 0.85rem;
    color: var(--gold-light);
    letter-spacing: 0.42em;
}

.final-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
    opacity: 0;
    transform: translateY(40px);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 768px) {
    .nav { padding: 1.2rem 1.5rem; }
    .nav.scrolled { padding: 0.8rem 1.5rem; }

    .section-img-zoom { height: 150vh; }
    .section-vscroll  { height: 100vh; }
    .section-interior { height: 400vh; }

    .interior-panel { width: 85%; margin-left: 5vw; }

    .coast-content { padding: 6rem 5vw; }
    .coast-reasons { grid-template-columns: 1fr; gap: 2rem; }

    .section-thomas { flex-direction: column; }
    .thomas-image-wrap { width: 100%; height: 55vw; transform: translateX(0); }
    .thomas-image-wrap::after { display: none; }
    .thomas-text { padding: 3rem 5vw; transform: translateX(0); }
}
