/* ============================================
   CASA VIWS - A Casa Mais Visualizada do Brasil
   Ultra-Modern, Ultra-Digital, Ultra-Premium
============================================ */

:root {
    --black: #0a0a0a;
    --black-soft: #111;
    --orange: #ff6b35;
    --gold: #f7931e;
    --pink: #ff0080;
    --white: #ffffff;
    --gradient-fire: linear-gradient(135deg, #ff0080 0%, #ff6b35 50%, #f7931e 100%);
    --gradient-dark: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.92) 100%);
    --gradient-neon: linear-gradient(90deg, #ff0080, #ff6b35, #f7931e);
    --shadow-cinema: 0 30px 80px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    font-family: 'Montserrat', -apple-system, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   SCROLL SNAP CONTAINER
============================================ */
.snap-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    height: 100svh;
}

/* ============================================
   NAVIGATION
============================================ */
.nav-logo {
    position: fixed;
    top: 24px;
    left: 28px;
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--white);
    mix-blend-mode: difference;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo .dot {
    width: 10px;
    height: 10px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.nav-burger {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 101;
    width: 52px;
    height: 52px;
    background: rgba(10,10,10,0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: all 0.4s cubic-bezier(.65,0,.35,1);
}

.nav-burger:hover {
    background: var(--orange);
    transform: scale(1.05);
}

.nav-burger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.external-tabs {
    position: fixed;
    top: 24px;
    right: 92px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.external-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(10,10,10,0.68);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--white);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    box-shadow: 0 18px 45px rgba(0,0,0,0.24);
    transition: all .3s ease;
}

.external-tabs a:first-child {
    background: linear-gradient(135deg, rgba(255,0,128,.78), rgba(255,107,53,.78), rgba(247,147,30,.78));
    border-color: rgba(255,255,255,.2);
}

.external-tabs a:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 22px 60px rgba(255,107,53,0.26);
}

@media (max-width: 900px) {
    .external-tabs {
        top: 82px;
        left: 18px;
        right: 18px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .external-tabs a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .external-tabs { top: 74px; }
    .external-tabs a {
        flex: 1 1 auto;
        max-width: calc(50% - 5px);
        text-align: center;
        line-height: 1.15;
        padding: 0 9px;
    }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.7s cubic-bezier(.77,0,.18,1);
    padding: 80px 24px;
    overflow-y: auto;
}

.menu-overlay.active { transform: translateY(0); }

.menu-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,107,53,0.25), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255,0,128,0.2), transparent 50%);
    pointer-events: none;
}

.menu-list {
    list-style: none;
    text-align: center;
    position: relative;
    z-index: 1;
}

.menu-list li {
    margin: 12px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s;
}

.menu-overlay.active .menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active .menu-list li:nth-child(1) { transition-delay: 0.2s; }
.menu-overlay.active .menu-list li:nth-child(2) { transition-delay: 0.25s; }
.menu-overlay.active .menu-list li:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .menu-list li:nth-child(4) { transition-delay: 0.35s; }
.menu-overlay.active .menu-list li:nth-child(5) { transition-delay: 0.4s; }
.menu-overlay.active .menu-list li:nth-child(6) { transition-delay: 0.45s; }
.menu-overlay.active .menu-list li:nth-child(7) { transition-delay: 0.5s; }
.menu-overlay.active .menu-list li:nth-child(8) { transition-delay: 0.55s; }

.menu-list a {
    font-size: clamp(28px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s;
    display: inline-block;
}

.menu-list a:hover {
    transform: scale(1.1) translateX(10px);
    letter-spacing: 4px;
}

.menu-footer {
    margin-top: 40px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    letter-spacing: 2px;
}

/* Section Dots */
.section-dots {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-dots .dot-item {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.section-dots .dot-item.active {
    background: var(--orange);
    box-shadow: 0 0 12px var(--orange);
    transform: scale(1.5);
}

.section-dots .dot-item:hover::after {
    content: attr(data-label);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.85);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 1px;
    white-space: nowrap;
    color: var(--white);
}

/* Floating CTA */
.cta-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    background: var(--gradient-fire);
    color: var(--white);
    padding: 16px 26px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(255,107,53,0.5);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255,107,53,0.7);
}

.cta-float .arrow {
    transition: transform 0.3s;
}

.cta-float:hover .arrow {
    transform: translateX(4px);
}

/* ============================================
   FULLSCREEN SECTIONS
============================================ */
.section {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transition: transform 1.2s ease-out;
}

.section.active .section-bg img {
    transform: scale(1.05);
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    z-index: 1;
}

.section-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 6vw 90px;
}

.section-number {
    position: absolute;
    top: 90px;
    left: 6vw;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--orange);
    opacity: 0.95;
    z-index: 3;
}

.section-number::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--orange);
    vertical-align: middle;
    margin-right: 12px;
}

.section-tag {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(14px, 1.6vw, 22px);
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(.65,0,.35,1);
}

.section-title {
    font-size: clamp(48px, 12vw, 200px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(.65,0,.35,1) 0.1s;
}

.section-title.gradient {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-concept {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(16px, 2vw, 26px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(.65,0,.35,1) 0.25s;
}

.section-text {
    font-size: clamp(15px, 1.6vw, 22px);
    color: rgba(255,255,255,0.92);
    max-width: 720px;
    line-height: 1.55;
    margin-bottom: 24px;
    font-weight: 400;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(.65,0,.35,1) 0.4s;
}

.section.in-view .section-tag,
.section.in-view .section-title,
.section.in-view .section-concept,
.section.in-view .section-text,
.section.in-view .section-specs,
.section.in-view .section-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Specs Bar */
.section-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(.65,0,.35,1) 0.55s;
}

.spec-badge {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,107,53,0.4);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
}

.spec-badge .icon {
    color: var(--orange);
    margin-right: 6px;
}

.section-cta {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(.65,0,.35,1) 0.65s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(.65,0,.35,1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(255,107,53,0.45);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255,107,53,0.65);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

/* ============================================
   HERO SECTION
============================================ */
.hero .section-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

.hero .hero-badge {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
    animation: heroFade 1s 0.2s both;
}

.hero .hero-badge .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px var(--pink);
}

.hero-title {
    font-size: clamp(64px, 18vw, 280px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -6px;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    animation: heroFade 1.2s 0.4s both;
    filter: drop-shadow(0 0 40px rgba(255,107,53,0.4));
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(20px, 3vw, 38px);
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
    animation: heroFade 1s 0.7s both;
}

.hero-tagline {
    font-size: clamp(13px, 1.5vw, 18px);
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 24px;
    animation: heroFade 1s 0.9s both;
}

.hero-address {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: heroFade 1s 1.1s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    animation: heroFade 1s 1.4s both;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    margin: 8px auto 0;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   GRID SECTIONS (Públicos & Programas)
============================================ */
.grid-section {
    background: var(--black);
    padding: 80px 6vw;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.grid-section .section-header h2 {
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 12px;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid-section .section-header p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(16px, 2vw, 24px);
    color: rgba(255,255,255,0.7);
}

.publics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.public-card {
    aspect-ratio: 1;
    background: linear-gradient(145deg, rgba(255,107,53,0.12), rgba(255,0,128,0.08));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(.65,0,.35,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.public-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-fire);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.public-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--orange);
    box-shadow: 0 20px 50px rgba(255,107,53,0.3);
}

.public-card:hover::before { opacity: 0.15; }

.public-card .icon {
    font-size: 42px;
    color: var(--orange);
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.public-card:hover .icon {
    transform: scale(1.2) rotate(-5deg);
    color: var(--white);
}

.public-card h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.public-card .num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    max-width: 1400px;
    margin: 0 auto;
}

.program-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 30px 26px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-fire);
    transition: height 0.4s;
}

.program-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,107,53,0.4);
    background: linear-gradient(145deg, rgba(255,107,53,0.08), rgba(255,0,128,0.05));
}

.program-card:hover::before { height: 100%; }

.program-card .num {
    font-size: 12px;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.program-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.program-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* ============================================
   METRICS SECTION
============================================ */
.metrics-section {
    background: var(--black);
    padding: 80px 6vw;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.metrics-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,107,53,0.18), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,0,128,0.15), transparent 50%);
    pointer-events: none;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.metric-card {
    text-align: center;
    padding: 30px 20px;
}

.metric-num {
    font-size: clamp(52px, 9vw, 110px);
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.metric-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.metric-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--gold);
    margin-top: 6px;
}

/* ============================================
   CTA FINAL SECTION
============================================ */
.cta-section .section-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
}

.cta-section .btn {
    padding: 18px 36px;
    font-size: 14px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--black);
    padding: 70px 6vw 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gradient-neon);
}

.footer-logo {
    font-size: clamp(60px, 12vw, 160px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    text-align: center;
}

.footer-tagline {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(18px, 2vw, 26px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: center;
}

.footer-block h4 {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
    font-weight: 800;
}

.footer-block p, .footer-block a {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    display: block;
    transition: color 0.3s;
}

.footer-block a:hover { color: var(--orange); }

.footer-social {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 30px 0;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--gradient-fire);
    transform: translateY(-3px) scale(1.1);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
}

/* ============================================
   DETAIL PAGES
============================================ */
.detail-hero {
    height: 100vh;
    height: 100svh;
    position: relative;
    overflow: hidden;
}

.detail-hero img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.detail-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.detail-hero .content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 6vw;
}

.detail-back {
    position: fixed;
    top: 22px;
    left: 24px;
    z-index: 100;
    background: rgba(10,10,10,0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.detail-back:hover {
    background: var(--orange);
    transform: translateX(-4px);
}

.detail-section {
    padding: 100px 6vw;
    background: var(--black);
}

.detail-section h2 {
    font-size: clamp(40px, 7vw, 90px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.detail-section .lead {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(18px, 2vw, 26px);
    color: rgba(255,255,255,0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Variations Grid (Bento) */
.variations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.variation-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(.65,0,.35,1);
    background: #111;
}

.variation-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.65,0,.35,1);
}

.variation-card:hover img { transform: scale(1.08); }

.variation-card .label {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.variation-card .label .tag {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 4px;
}

.variation-card .label h3 {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.variation-card .label p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}

/* Bento layout */
.variation-card.big { grid-column: span 4; grid-row: span 2; }
.variation-card.med { grid-column: span 2; grid-row: span 1; }
.variation-card.tall { grid-column: span 2; grid-row: span 2; }
.variation-card.wide { grid-column: span 4; grid-row: span 1; }
.variation-card.std { grid-column: span 2; grid-row: span 1; }

/* Specs Cards */
.specs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 1300px;
    margin: 60px auto 0;
}

.specs-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px 24px;
    transition: all 0.3s;
}

.specs-card:hover {
    background: rgba(255,107,53,0.08);
    border-color: var(--orange);
    transform: translateY(-4px);
}

.specs-card .icon {
    font-size: 28px;
    color: var(--orange);
    margin-bottom: 12px;
}

.specs-card h4 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 700;
}

.specs-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.use-case {
    background: linear-gradient(145deg, rgba(255,107,53,0.1), rgba(255,0,128,0.05));
    border: 1px solid rgba(255,107,53,0.2);
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s;
}

.use-case:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--orange);
}

.use-case .icon {
    font-size: 28px;
    color: var(--orange);
    margin-bottom: 8px;
}

.use-case h5 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Detail CTA */
.detail-cta {
    background: linear-gradient(135deg, rgba(255,0,128,0.1), rgba(255,107,53,0.15));
    padding: 80px 6vw;
    text-align: center;
    border-top: 1px solid rgba(255,107,53,0.2);
}

.detail-cta h3 {
    font-size: clamp(36px, 6vw, 70px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.detail-cta p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .nav-logo {
        top: 18px;
        left: 18px;
        font-size: 18px;
    }
    .nav-burger {
        top: 16px;
        right: 16px;
        width: 46px;
        height: 46px;
    }
    .section-content {
        padding: 50px 6vw 100px;
    }
    .section-number {
        top: 70px;
        font-size: 12px;
    }
    .section-title {
        letter-spacing: -1px;
    }
    .hero-title {
        letter-spacing: -3px;
    }
    .section-dots {
        display: none;
    }
    .cta-float {
        bottom: 18px;
        right: 18px;
        padding: 12px 20px;
        font-size: 11px;
    }
    .variations-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .variation-card.big,
    .variation-card.med,
    .variation-card.tall,
    .variation-card.wide,
    .variation-card.std {
        grid-column: span 1;
        grid-row: span 1;
    }
    .grid-section, .metrics-section { padding: 70px 6vw; }
    .footer { padding: 50px 6vw 30px; }
}

@media (max-width: 480px) {
    .section-specs { gap: 8px; }
    .spec-badge { padding: 8px 14px; font-size: 10px; letter-spacing: 1px; }
    .btn { padding: 12px 22px; font-size: 11px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
