/* ============================================
   CASTEBE V2 — Modern Luxury Landing
   Palette: Ink black + Ivory + Castebe Blue
   Type:    Cormorant Garamond + Inter
   ============================================ */

:root {
    --bg:        #0a0a0c;
    --bg-2:      #111114;
    --bg-3:      #18181c;
    --ivory:     #f5f0e6;
    --ivory-2:   #ddd3bd;
    --bronze:    #6f84c8;
    --bronze-2:  #4f66b0;
    --bronze-3:  #33478a;
    --line:      rgba(245,240,230,.12);
    --line-2:    rgba(245,240,230,.06);
    --serif:     'Cormorant Garamond', 'Times New Roman', serif;
    --sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --easing:    cubic-bezier(.2,.8,.2,1);
    --easing-2:  cubic-bezier(.65,0,.35,1);
}

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

html { scroll-behavior: smooth; }
html, body {
    background: var(--bg);
    color: var(--ivory);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
body.lb-open { overflow: hidden; }

::selection { background: var(--bronze); color: var(--bg); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: grid; place-items: center;
    transition: opacity .8s var(--easing), visibility .8s;
}
body:not(.loading) .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { width: min(360px, 80vw); text-align: center; }
.preloader__brand {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-style: italic;
    color: var(--ivory);
    letter-spacing: 0.04em;
    margin-bottom: 1.6rem;
}
.preloader__brand-c {
    color: var(--bronze);
    display: inline-block;
    animation: prePulse 1.6s var(--easing) infinite;
}
@keyframes prePulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-4px); opacity: .6; }
}
.preloader__bar {
    height: 1px; width: 100%;
    background: rgba(245,240,230,0.1);
    overflow: hidden;
    margin-bottom: 0.8rem;
}
.preloader__bar-fill {
    display: block;
    height: 100%; width: 0;
    background: linear-gradient(90deg, transparent, var(--bronze), transparent);
    transition: width .3s var(--easing);
}
.preloader__pct {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--ivory-2);
    text-transform: uppercase;
}
.preloader__pct i { font-style: normal; opacity: .5; margin-left: 1px; }

/* ============================================
   CURSOR
   ============================================ */
.cursor {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: opacity .3s;
}
.cursor__dot {
    position: absolute; top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--ivory);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .3s var(--easing), height .3s var(--easing);
}
.cursor__ring {
    position: absolute; top: 0; left: 0;
    width: 32px; height: 32px;
    border: 1px solid rgba(245,240,230,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .3s var(--easing), height .3s var(--easing), border-color .3s;
}
.cursor__label {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, 22px);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .3s;
}
.cursor.is-link .cursor__dot { width: 0; height: 0; }
.cursor.is-link .cursor__ring { width: 48px; height: 48px; border-color: var(--ivory); }
.cursor.is-zoom .cursor__dot { width: 0; height: 0; }
.cursor.is-zoom .cursor__ring { width: 80px; height: 80px; background: rgba(245,240,230,0.1); border-color: var(--ivory); }
.cursor.is-zoom .cursor__label { opacity: 1; }
@media (hover: none), (max-width: 768px) { .cursor { display: none; } }

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.4rem 0;
    transition: background .4s var(--easing), padding .4s var(--easing), border-color .4s;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(10,10,12,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.9rem 0;
    border-bottom-color: var(--line);
}
.nav__inner {
    max-width: 1480px; margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 3rem);
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem;
}
.nav__brand {
    display: flex; align-items: center; gap: 0.7rem;
    color: var(--ivory);
    transition: opacity .3s;
}
.nav__brand:hover { opacity: .85; }
.nav__brand-img {
    height: 56px; width: auto;
    display: block;
    filter: brightness(1.05);
    transition: transform .5s var(--easing), height .4s var(--easing);
}
.nav.is-scrolled .nav__brand-img { height: 44px; }
.nav__brand:hover .nav__brand-img { transform: scale(1.04); }
.nav__menu {
    display: flex; gap: 2.4rem;
}
.nav__link {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory-2);
    position: relative;
    padding: 0.4rem 0;
    transition: color .3s;
}
.nav__link span { position: relative; display: inline-block; }
.nav__link::after {
    content: ''; position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--bronze);
    transition: width .4s var(--easing);
}
.nav__link:hover { color: var(--ivory); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.7rem 1.3rem;
    border: 1px solid var(--bronze);
    color: var(--ivory);
    font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
    border-radius: 999px;
    overflow: hidden; position: relative;
    transition: color .4s, border-color .4s;
}
.nav__cta::before {
    content: ''; position: absolute; inset: 0;
    background: var(--bronze);
    transform: translateX(-101%);
    transition: transform .4s var(--easing);
    z-index: -1;
}
.nav__cta:hover { color: var(--bg); }
.nav__cta:hover::before { transform: translateX(0); }
.nav__cta svg { transition: transform .4s var(--easing); }
.nav__cta:hover svg { transform: translateX(3px); }

.nav__burger {
    display: none;
    width: 28px; height: 22px; position: relative;
    cursor: pointer;
}
.nav__burger span {
    position: absolute; left: 0; right: 0;
    height: 1px; background: var(--ivory);
    transition: transform .35s var(--easing), opacity .25s;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger span:nth-child(3) { bottom: 0; }
.menu-open .nav__burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.menu-open .nav__burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobileMenu {
    position: fixed; inset: 0; z-index: 999;
    background: var(--bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.6rem;
    opacity: 0; visibility: hidden;
    transition: opacity .5s, visibility .5s;
}
.menu-open .mobileMenu { opacity: 1; visibility: visible; }
.mobileMenu__link {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--ivory);
    transform: translateY(20px);
    opacity: 0;
    transition: transform .6s var(--easing), opacity .6s, color .3s;
}
.menu-open .mobileMenu__link { transform: translateY(0); opacity: 1; }
.menu-open .mobileMenu__link:nth-child(1) { transition-delay: 0.15s; }
.menu-open .mobileMenu__link:nth-child(2) { transition-delay: 0.25s; }
.menu-open .mobileMenu__link:nth-child(3) { transition-delay: 0.35s; }
.menu-open .mobileMenu__cta { transition-delay: 0.5s; }
.mobileMenu__link:hover { color: var(--bronze); }
.mobileMenu__cta {
    margin-top: 1.4rem;
    padding: 0.9rem 2rem;
    border: 1px solid var(--bronze); color: var(--bronze);
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
    border-radius: 999px;
    transform: translateY(20px); opacity: 0;
    transition: transform .6s var(--easing), opacity .6s, background .3s, color .3s;
}
.menu-open .mobileMenu__cta { transform: translateY(0); opacity: 1; }
.mobileMenu__cta:hover { background: var(--bronze); color: var(--bg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex; align-items: center;
    overflow: hidden;
    color: var(--ivory);
}
.hero__bgs { position: absolute; inset: 0; z-index: 0; }
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s var(--easing), transform 8s linear;
}
.hero__bg.is-active { opacity: 1; transform: scale(1); }
.hero__bg.is-prev   { opacity: 0; transform: scale(1.12); }

.hero__veil {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(10,10,12,0.45) 0%, rgba(10,10,12,0.1) 30%, rgba(10,10,12,0.85) 90%, var(--bg) 100%),
        linear-gradient(90deg, rgba(10,10,12,0.65) 0%, rgba(10,10,12,0.1) 50%, rgba(10,10,12,0.65) 100%);
    pointer-events: none;
}
.hero__grain {
    position: absolute; inset: 0; z-index: 2;
    pointer-events: none;
    opacity: .12; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.7' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
    position: relative; z-index: 3;
    max-width: 1480px; width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 3rem);
    padding-top: 8rem;
}
.hero__kicker {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.72rem; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--bronze);
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 2px 6px rgba(0,0,0,0.8), 0 0 18px rgba(0,0,0,0.55);
}
.hero__line { box-shadow: 0 0 8px rgba(0,0,0,0.5); }
.hero__line {
    width: 64px; height: 1px;
    background: var(--bronze);
    transform-origin: left;
    transform: scaleX(0);
    animation: lineGrow 1.2s var(--easing) 0.4s forwards;
}
@keyframes lineGrow { to { transform: scaleX(1); } }

.hero__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.6rem, 8vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: -0.01em;
    margin-bottom: 2.4rem;
    max-width: 16ch;
}
.hero__title-row { display: block; }
.hero__title-row--it { font-style: italic; color: var(--ivory-2); }
.hero__title-row--it em { color: var(--bronze); font-style: italic; }

.hero__lede {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
    max-width: 52ch;
    color: var(--ivory-2);
    margin-bottom: 2.4rem;
    font-weight: 300;
}
.hero__actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 1rem 1.6rem;
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    border: 1px solid var(--bronze);
    border-radius: 999px;
    position: relative; overflow: hidden;
    transition: color .4s, border-color .4s;
}
.btn span { position: relative; z-index: 2; }
.btn svg { position: relative; z-index: 2; transition: transform .4s var(--easing); }
.btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--bronze);
    transform: translateY(101%);
    transition: transform .5s var(--easing);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--bronze); color: var(--bg); }
.btn--solid::before { background: var(--ivory); }
.btn--solid:hover { color: var(--bg); border-color: var(--ivory); }
.btn--ghost { color: var(--ivory); }

.hero__counters {
    display: flex; gap: 3rem; flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    max-width: 600px;
}
.hero__counter b {
    display: block;
    font-family: 'Fraunces', var(--serif);
    font-optical-sizing: auto;
    font-variation-settings: 'opsz' 144;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    font-weight: 300;
    color: var(--bronze);
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    letter-spacing: 0;
    text-indent: 0;
    margin-left: 0;
    padding-left: 0;
    font-kerning: none;
}
.hero__counter span {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory-2);
}

.hero__pager {
    position: absolute; right: clamp(1rem, 3vw, 3rem);
    top: 50%; transform: translateY(-50%);
    z-index: 4;
    display: flex; flex-direction: column; gap: 0.8rem;
}
.hero__pager-dot {
    width: 8px; height: 8px;
    border: 1px solid rgba(245,240,230,0.4);
    border-radius: 50%;
    transition: all .4s var(--easing);
    cursor: pointer;
    background: transparent;
}
.hero__pager-dot.is-active {
    background: var(--bronze);
    border-color: var(--bronze);
    transform: scale(1.4);
}
.hero__pager-dot:hover { border-color: var(--bronze); }

.hero__scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ivory-2);
}
.hero__scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--bronze), transparent);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute; top: -100%; left: 0;
    width: 100%; height: 50%;
    background: var(--ivory);
    animation: scrollDot 2s var(--easing) infinite;
}
@keyframes scrollDot {
    0% { top: -50%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ============================================
   ROMAN NUMERAL ACCENT
   ============================================ */
.section__index .roman {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15em;
    color: var(--bronze);
    letter-spacing: 0.06em;
    margin-right: 0.15em;
    font-feature-settings: 'lnum';
}

/* ============================================
   PANORAMAS — CINEMA auto-fade
   ============================================ */
.panoramas {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
    max-width: 1480px;
    margin: 0 auto;
    position: relative;
}
.panoramas__head {
    margin-bottom: 3rem;
    max-width: 800px;
}

.cinema {
    position: relative;
}
.cinema__stage {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
}
.cinema__slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.cinema__slide.is-active { opacity: 1; }
.cinema__slide img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.02);
    filter: saturate(0.95);
}
.cinema__slide.is-active img {
    animation: cinemaKenBurns 9s ease-out both;
}
@keyframes cinemaKenBurns {
    from { transform: scale(1.02) translate(0,0); }
    to   { transform: scale(1.08) translate(-1.2%, -0.8%); }
}
.cinema__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,12,0.55) 100%);
    pointer-events: none;
    z-index: 2;
}
.cinema__caption {
    position: absolute; left: 1.4rem; bottom: 1.4rem;
    z-index: 3;
    display: flex; align-items: center; gap: 0.9rem;
    color: var(--ivory);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.cinema__num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--bronze);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 2px 6px rgba(0,0,0,0.8), 0 0 14px rgba(0,0,0,0.6);
}
.cinema__line { width: 28px; height: 1px; background: var(--bronze); }
.cinema__label { color: var(--ivory-2); }

.cinema__progress {
    position: absolute; left: 0; right: 0; bottom: 0;
    z-index: 3;
    height: 2px;
    background: rgba(245,240,230,0.08);
    overflow: hidden;
}
.cinema__progress i {
    display: block;
    height: 100%;
    background: var(--bronze);
    transform-origin: left;
    width: 100%;
    transform: scaleX(0);
}
.cinema.is-playing .cinema__progress i {
    animation: cinemaProgress var(--cinema-duration, 6s) linear;
}
@keyframes cinemaProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.cinema__controls {
    display: flex; align-items: center; justify-content: center; gap: 1.6rem;
    margin-top: 1.6rem;
}
.cinema__nav {
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ivory-2);
    display: grid; place-items: center;
    transition: color .3s, border-color .3s, background .3s;
}
.cinema__nav:hover {
    color: var(--bg);
    background: var(--bronze);
    border-color: var(--bronze);
}
.cinema__dots {
    display: flex; gap: 0.5rem;
}
.cinema__dot {
    width: 24px; height: 1px;
    background: rgba(245,240,230,0.2);
    transition: background .35s, height .35s;
    cursor: pointer;
}
.cinema__dot:hover { background: var(--ivory-2); }
.cinema__dot.is-active {
    background: var(--bronze);
    height: 2px;
}

@media (max-width: 768px) {
    .cinema__stage { aspect-ratio: 4/3; }
    .cinema__nav { width: 38px; height: 38px; }
}

/* ============================================
   BENTO FEATURED
   ============================================ */
.bento {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 280px 280px;
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.bento__card {
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color .35s, box-shadow .4s;
    height: 100%;
    min-height: 240px;
}
.bento__card:hover {
    border-color: rgba(111,132,200,0.45);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.bento__card--lg { grid-row: 1 / 3; grid-column: 1; }
.bento__card--sm:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.bento__card--sm:nth-of-type(3) { grid-column: 2; grid-row: 2; }

.bento__media {
    position: absolute; inset: 0;
    overflow: hidden;
    background-color: var(--bg-3);
    background-size: 108% 108%;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-size 1.6s var(--easing), background-position 1.6s var(--easing), filter .8s;
    filter: saturate(0.88);
}
.bento__card:hover .bento__media {
    background-size: 118% 118%;
    background-position: 48% 48%;
    filter: saturate(1.08) brightness(1.04);
}
.bento__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,10,12,0.85) 100%);
}
.bento__caption {
    position: absolute; left: 1.4rem; bottom: 1.4rem; right: 1.4rem;
    z-index: 2; color: var(--ivory);
}
.bento__tag {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 2px 6px rgba(0,0,0,0.8), 0 0 14px rgba(0,0,0,0.6);
}
.bento__title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    line-height: 1;
    color: var(--ivory);
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 0 28px rgba(0,0,0,0.5);
}
.bento__meta {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory-2);
    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 16px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .bento {
        grid-template-columns: 1fr;
        grid-template-rows: 320px 240px 240px;
    }
    .bento__card--lg { grid-row: 1; grid-column: 1; }
    .bento__card--sm:nth-of-type(2) { grid-column: 1; grid-row: 2; }
    .bento__card--sm:nth-of-type(3) { grid-column: 1; grid-row: 3; }
}

/* ============================================
   TIMELINE — Trajetória vertical
   ============================================ */
.timeline {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem);
    max-width: 1480px; margin: 0 auto;
    position: relative;
}
.timeline__head { margin-bottom: 4rem; max-width: 800px; }

.timeline__list {
    position: relative;
    padding: 2rem 0;
    list-style: none;
}
.timeline__list::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 2rem;
    margin-bottom: 4rem;
}
.timeline__item:last-child { margin-bottom: 0; }

/* explicit grid placement — todos na mesma linha */
.timeline__marker { grid-column: 2; grid-row: 1; justify-self: center; }
.timeline__item:nth-child(odd) .timeline__year { grid-column: 1; grid-row: 1; text-align: right; padding-right: 0; }
.timeline__item:nth-child(odd) .timeline__card { grid-column: 3; grid-row: 1; }
.timeline__item:nth-child(even) .timeline__year { grid-column: 3; grid-row: 1; text-align: left; padding-left: 0; }
.timeline__item:nth-child(even) .timeline__card { grid-column: 1; grid-row: 1; text-align: right; }

.timeline__year {
    font-family: 'Fraunces', var(--serif);
    font-optical-sizing: auto;
    font-variation-settings: 'opsz' 144;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--bronze);
    letter-spacing: 0;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-kerning: none;
    align-self: center;
}
.timeline__marker {
    grid-column: 2;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-2);
    position: relative;
    z-index: 2;
    transition: border-color .4s, transform .4s var(--easing);
}
.timeline__marker i {
    color: var(--bronze);
    font-style: normal;
    font-size: 0.6rem;
    line-height: 1;
}
.timeline__item.is-revealed .timeline__marker {
    border-color: var(--bronze);
    transform: scale(1.05);
}
.timeline__marker--now {
    background: var(--bronze);
    border-color: var(--bronze);
    box-shadow: 0 0 0 6px rgba(111,132,200,0.18), 0 0 0 12px rgba(111,132,200,0.08);
    animation: nowPulse 2.6s var(--easing) infinite;
}
.timeline__marker--now i { color: var(--bg); }
@keyframes nowPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(111,132,200,0.18), 0 0 0 12px rgba(111,132,200,0.08); }
    50% { box-shadow: 0 0 0 10px rgba(111,132,200,0.24), 0 0 0 22px rgba(111,132,200,0.0); }
}

.timeline__card {
    padding: 1.6rem 1.8rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 4px;
    position: relative;
    transition: border-color .4s, background .4s, transform .4s var(--easing);
    max-width: 480px;
}
.timeline__item:nth-child(even) .timeline__card { margin-left: auto; }
.timeline__card:hover {
    border-color: var(--bronze);
    background: var(--bg-3);
    transform: translateY(-3px);
}
.timeline__card h4 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--ivory);
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}
.timeline__card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ivory-2);
    font-weight: 300;
}

@media (max-width: 768px) {
    .timeline__list::before {
        left: 20px;
        transform: none;
    }
    .timeline__item {
        grid-template-columns: 40px 1fr;
        gap: 1.2rem;
        text-align: left !important;
    }
    .timeline__year,
    .timeline__item:nth-child(even) .timeline__year {
        grid-column: 2;
        text-align: left !important;
        margin-bottom: 0.6rem;
        font-size: 1.4rem;
    }
    .timeline__marker {
        grid-column: 1;
        margin-left: 2px;
    }
    .timeline__card,
    .timeline__item:nth-child(even) .timeline__card {
        grid-column: 2;
        text-align: left !important;
        margin: 0;
        max-width: none;
    }
}

/* cursor preview removido p/ performance */
.cursor__preview { display: none; }

/* ============================================
   ORNAMENT DIVIDER
   ============================================ */
.ornament {
    display: flex; align-items: center; justify-content: center;
    gap: 1.4rem;
    padding: 4rem clamp(1.2rem, 4vw, 3rem);
    max-width: 1480px; margin: 0 auto;
}
.ornament__line {
    flex: 1;
    height: 1px;
    max-width: 200px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.ornament__diamond {
    color: var(--bronze);
    font-size: 0.6rem;
    transform: rotate(0deg);
    animation: ornamentSpin 12s linear infinite;
    line-height: 1;
}
@keyframes ornamentSpin { to { transform: rotate(360deg); } }

/* ============================================
   SECTION COMMON
   ============================================ */
.section__index {
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 1.2rem;
}
.section__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5.5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 1.8rem;
    max-width: 18ch;
}
.section__title em { font-style: italic; color: var(--bronze); }
.section__lede {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ivory-2);
    max-width: 60ch;
    font-weight: 300;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem);
    max-width: 1480px;
    margin: 0 auto;
}
.portfolio__head { margin-bottom: 3rem; }
.portfolio__filters {
    display: flex; gap: 0.7rem; flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}
.filter {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ivory-2);
    transition: all .35s var(--easing);
}
.filter i {
    font-style: normal; font-size: 0.65rem;
    color: var(--bronze);
    padding: 0.1rem 0.4rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all .35s var(--easing);
}
.filter:hover { border-color: var(--bronze); color: var(--ivory); }
.filter.is-active {
    background: var(--bronze);
    border-color: var(--bronze);
    color: var(--bg);
}
.filter.is-active i { color: var(--bg); border-color: rgba(10,10,12,0.3); }

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
    gap: clamp(1.2rem, 2.5vw, 2rem);
}
.card {
    position: relative;
    cursor: pointer;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color .35s, box-shadow .4s;
    display: flex;
    flex-direction: column;
}
.card.is-hidden {
    opacity: 0 !important;
    transform: scale(0.96) !important;
    pointer-events: none;
    transition: opacity .4s, transform .4s var(--easing);
}
.card:hover {
    border-color: rgba(111,132,200,0.45);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(111,132,200,0.15) inset;
}

.card__media {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--bg-3);
    background-size: 105% 105%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: background-size .8s var(--easing), filter .5s;
    filter: saturate(0.92);
}
.card:hover .card__media {
    background-size: 115% 115%;
    filter: saturate(1.08) brightness(1.04);
}
.card:hover .card__media img {
    transform: scale(1.1);
    filter: saturate(1.08) brightness(1.04);
}
.card__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,10,12,0.85) 100%);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity .5s;
}
.card:hover .card__veil { opacity: 1; }

.card__num {
    position: absolute; top: 1rem; left: 1rem;
    z-index: 2;
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--bronze);
    letter-spacing: 0.1em;
    background: rgba(10,10,12,0.5);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
}
.card__count {
    position: absolute; top: 1rem; right: 1rem;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--ivory-2);
    background: rgba(10,10,12,0.5);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.card__body {
    padding: 1.4rem 1.4rem 1.6rem;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.card__tag {
    font-size: 0.65rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bronze);
}
.card__title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--ivory);
}
.card__title span { color: var(--bronze); margin: 0 0.3rem; font-style: normal; }

/* Shadow nos badges sobre imagem (card__num + card__count) */
.card__num,
.card__count {
    text-shadow: 0 1px 4px rgba(0,0,0,0.85);
}

.card__hover {
    position: absolute;
    bottom: 7.4rem; right: 1rem;
    z-index: 3;
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.7rem 1.1rem;
    background: var(--bronze);
    color: var(--bg);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s, transform .4s var(--easing);
}
.card:hover .card__hover {
    opacity: 1;
    transform: translateY(0);
}
.card:hover { border-color: var(--line); }

/* ============================================
   QUOTE
   ============================================ */
.quote {
    position: relative;
    padding: clamp(7rem, 18vw, 14rem) clamp(1.2rem, 4vw, 3rem);
    overflow: hidden;
    text-align: center;
    color: var(--ivory);
}
.quote__bg {
    position: absolute; inset: -10% 0;
    background-size: cover; background-position: center;
    background-attachment: fixed;
    z-index: 0;
}
@media (max-width: 1024px) { .quote__bg { background-attachment: scroll; } }
.quote__veil {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(10,10,12,0.7) 30%, rgba(10,10,12,0.7) 70%, var(--bg) 100%);
}
.quote__text {
    position: relative; z-index: 2;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.8rem, 4.5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -0.005em;
    max-width: 26ch; margin: 0 auto;
}
.quote__text span { display: block; overflow: hidden; }
.quote__text em { color: var(--bronze); font-style: italic; }
.quote__cite {
    position: relative; z-index: 2;
    display: block;
    margin-top: 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--bronze);
    font-style: normal;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem);
    max-width: 1480px; margin: 0 auto;
}
.about__head { margin-bottom: 4rem; }

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.4rem, 3vw, 2.4rem);
}
.pillar {
    position: relative;
    padding: 2.2rem 1.8rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color .35s, background .35s, transform .35s var(--easing);
}
.pillar::before {
    content: ''; position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--bronze), transparent);
    transform: translateX(-100%);
    transition: transform .8s var(--easing);
}
.pillar:hover::before { transform: translateX(100%); }
.pillar:hover {
    border-color: var(--bronze);
    background: var(--bg-3);
    transform: translateY(-4px);
}
.pillar__num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--bronze);
    letter-spacing: 0.1em;
    margin-bottom: 1.6rem;
    opacity: 0.6;
}
.pillar__icon {
    width: 56px; height: 56px;
    margin-bottom: 1.6rem;
    color: var(--bronze);
    display: grid; place-items: center;
    transition: transform .6s var(--easing);
}
.pillar:hover .pillar__icon { transform: rotate(8deg) scale(1.06); }
.pillar h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ivory);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}
.pillar p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ivory-2);
    font-weight: 300;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem);
    max-width: 1480px; margin: 0 auto;
}
.contact__head { margin-bottom: 4rem; }

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-bottom: 4rem;
}
.contact__card {
    display: block;
    padding: 2rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: border-color .35s, background .35s, transform .35s var(--easing);
    position: relative;
    overflow: hidden;
}
.contact__card::after {
    content: ''; position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--bronze);
    transition: width .5s var(--easing);
}
.contact__card:hover::after { width: 100%; }
.contact__card:hover {
    transform: translateY(-4px);
    border-color: var(--line);
    background: var(--bg-3);
}
.contact__card-icon {
    color: var(--bronze);
    margin-bottom: 1.4rem;
}
.contact__card-label {
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 0.8rem;
}
.contact__card-value {
    font-size: 0.95rem;
    color: var(--ivory);
    line-height: 1.5;
    font-weight: 300;
}
.contact__hint {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--ivory-2);
    font-style: italic;
}

.contact__map {
    position: relative;
    aspect-ratio: 21 / 9;
    border: 1px solid var(--line);
    overflow: hidden;
    filter: invert(1) hue-rotate(180deg) saturate(0.5);
}
.contact__map iframe {
    width: 100%; height: 100%;
    border: none; display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 4rem clamp(1.2rem, 4vw, 3rem) 0;
    overflow: hidden;
}
.footer__top {
    max-width: 1480px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: clamp(1.4rem, 3vw, 3rem);
    padding-bottom: 4rem;
}
.footer__logo {
    height: 96px; width: auto;
    margin-bottom: 1.6rem;
    display: block;
    filter: brightness(1.05);
}
.footer__brand p {
    font-size: 0.85rem;
    color: var(--ivory-2);
    line-height: 1.5;
}
.footer__col h4 {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bronze);
    font-weight: 500;
    margin-bottom: 1.2rem;
}
.footer__col ul li {
    list-style: none;
    font-size: 0.85rem;
    color: var(--ivory-2);
    line-height: 1.9;
    font-weight: 300;
}
.footer__col ul li a {
    color: var(--ivory-2);
    transition: color .3s;
    position: relative;
}
.footer__col ul li a:hover { color: var(--bronze); }

.footer__type {
    text-align: center;
    overflow: hidden;
    line-height: 0.85;
}
.footer__type span {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(5rem, 22vw, 18rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(245,240,230,0.18);
    letter-spacing: -0.02em;
    user-select: none;
}

.footer__base {
    border-top: 1px solid var(--line);
    padding: 1.4rem 0;
    max-width: 1480px;
    margin: 0 auto;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer__base small {
    font-size: 0.72rem;
    color: var(--ivory-2);
    letter-spacing: 0.05em;
}
.footer__base a:hover { color: var(--bronze); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lb {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(8,8,10,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--easing), visibility .5s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__close, .lb__nav {
    position: fixed;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(20,20,24,0.8);
    color: var(--ivory);
    display: grid; place-items: center;
    transition: background .3s, border-color .3s, transform .3s;
    z-index: 2;
}
.lb__close { top: 1.6rem; right: 1.6rem; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 1.6rem; }
.lb__nav--next { right: 1.6rem; }
.lb__close:hover, .lb__nav:hover {
    background: var(--bronze); color: var(--bg);
    border-color: var(--bronze);
}
.lb__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb__nav--next:hover { transform: translateY(-50%) translateX(3px); }

.lb__counter {
    position: fixed; top: 1.6rem; left: 1.6rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--bronze);
    z-index: 2;
}
.lb__title {
    position: fixed; top: 2rem; left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ivory-2);
    z-index: 2;
}

.lb__stage {
    position: relative;
    width: min(85vw, 1400px);
    height: min(78vh, 900px);
    display: grid; place-items: center;
}
.lb__stage img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity .5s, transform .5s var(--easing);
}
.lb__stage img.is-loaded { opacity: 1; transform: scale(1); }

.lb__thumbs {
    position: fixed;
    bottom: 1.4rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 0.5rem;
    max-width: 90vw;
    overflow-x: auto;
    padding: 0.5rem;
    z-index: 2;
    scrollbar-width: thin;
    scrollbar-color: var(--bronze) transparent;
}
.lb__thumbs::-webkit-scrollbar { height: 4px; }
.lb__thumbs::-webkit-scrollbar-thumb { background: var(--bronze); border-radius: 2px; }
.lb__thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    opacity: 0.5;
    transition: opacity .3s, border-color .3s, transform .3s;
    position: relative;
    /* skeleton shimmer enquanto carrega */
    background: linear-gradient(90deg,
        var(--bg-3) 0%,
        rgba(111,132,200,0.18) 50%,
        var(--bg-3) 100%);
    background-size: 200% 100%;
    animation: thumbShimmer 1.4s ease-in-out infinite;
}
.lb__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0;
    transition: opacity .35s;
}
.lb__thumb img.is-loaded { opacity: 1; }
.lb__thumb.is-ready {
    background: var(--bg-3);
    animation: none;
}
@keyframes thumbShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.lb__thumb:hover { opacity: 0.85; }
.lb__thumb.is-active {
    opacity: 1;
    border-color: var(--bronze);
    transform: scale(1.06);
}

/* spinner para imagem principal da lightbox */
.lb__stage::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 48px; height: 48px;
    margin: -24px 0 0 -24px;
    border: 1px solid rgba(245,240,230,0.15);
    border-top-color: var(--bronze);
    border-radius: 50%;
    animation: lbSpin 0.9s linear infinite;
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
    z-index: 1;
}
.lb__stage.is-loading::before { opacity: 1; }
@keyframes lbSpin {
    to { transform: rotate(360deg); }
}

/* ============================================
   FAB
   ============================================ */
.fab {
    position: fixed;
    right: 1.6rem; bottom: 1.6rem;
    z-index: 800;
    display: inline-flex; align-items: center; gap: 0;
    padding: 1rem;
    background: #25d366;
    color: white;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.6);
    overflow: hidden;
    transition: padding .4s var(--easing), gap .4s var(--easing);
    animation: fabPulse 2.5s var(--easing) infinite;
}
.fab svg { flex-shrink: 0; }
.fab__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    transition: max-width .4s var(--easing);
}
.fab:hover { padding: 1rem 1.4rem; gap: 0.6rem; }
.fab:hover .fab__label { max-width: 160px; }
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 12px 32px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.6); }
    70% { box-shadow: 0 12px 32px rgba(37,211,102,0.35), 0 0 0 16px rgba(37,211,102,0); }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal],
[data-reveal-delay] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--easing), transform .9s var(--easing);
}
[data-reveal].is-revealed,
[data-reveal-delay].is-revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-delay] { transition-delay: var(--reveal-delay, 0s); }

[data-split] { overflow: hidden; }
[data-split] .split-line { display: block; overflow: hidden; }
[data-split] .split-word {
    display: inline-block;
    transform: translateY(120%);
    transition: transform 1.1s var(--easing);
}
[data-split].is-revealed .split-word { transform: translateY(0); }
[data-split] .split-word:nth-child(1) { transition-delay: 0.05s; }
[data-split] .split-word:nth-child(2) { transition-delay: 0.12s; }
[data-split] .split-word:nth-child(3) { transition-delay: 0.19s; }
[data-split] .split-word:nth-child(4) { transition-delay: 0.26s; }
[data-split] .split-word:nth-child(5) { transition-delay: 0.33s; }
[data-split] .split-word:nth-child(6) { transition-delay: 0.4s; }

[data-split-line] span {
    transform: translateY(110%);
    transition: transform 1.2s var(--easing);
}
[data-split-line].is-revealed span { transform: translateY(0); }
[data-split-line] span:nth-child(1) { transition-delay: 0.05s; }
[data-split-line] span:nth-child(2) { transition-delay: 0.18s; }
[data-split-line] span:nth-child(3) { transition-delay: 0.31s; }
[data-split-line] span:nth-child(4) { transition-delay: 0.44s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer__col:nth-child(4), .footer__col:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 860px) {
    .nav__menu, .nav__cta { display: none; }
    .nav__burger { display: block; }
    .hero__pager { display: none; }
    .hero__counters { gap: 1.6rem; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: span 2; }
    .lb__close { top: 1rem; right: 1rem; }
    .lb__nav { width: 40px; height: 40px; }
    .lb__nav--prev { left: 0.8rem; }
    .lb__nav--next { right: 0.8rem; }
    .lb__counter { top: 1rem; left: 1rem; font-size: 0.95rem; }
    .lb__title { display: none; }
    .lb__thumbs { display: none; }
}
@media (max-width: 540px) {
    .footer__top { grid-template-columns: 1fr; }
    .footer__brand { grid-column: span 1; }
    .hero__counters { gap: 1.2rem; }
    .hero__counter b { font-size: 1.6rem; }
    .fab__label { display: none; }
    .fab:hover { padding: 1rem; }
    .quote__bg { background-attachment: scroll; }
}

/* no-js fallback: garante visibilidade se JS falhar */
.no-js .card,
.no-js .pillar,
.no-js .contact__card,
.no-js [data-reveal],
.no-js [data-reveal-delay] {
    opacity: 1 !important;
    transform: none !important;
}
.no-js .preloader { display: none !important; }
.no-js .cursor { display: none !important; }

/* Lenis smooth scroll body lock */
html.lenis { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto; }
html.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis.lenis-stopped body { overflow: hidden; }
html.lenis.lenis-scrolling iframe { pointer-events: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .card, .pillar, .contact__card, [data-reveal], [data-reveal-delay] {
        opacity: 1 !important;
        transform: none !important;
    }
}
