/* =========================================================================
   MAISON DETAILING V4 — PREMIUM AUTOMOTIVE AESTHETICS
   Aesthetic: Dark Luxury, Glassmorphism, Gold Accents, Precision UX
   ========================================================================= */

:root {
    --color-bg-dark: #050505;
    --color-bg-panel: #0d0d0d;
    --color-bg-section: #0a0a0a;
    --color-gold: #d4af37;
    --color-gold-light: #f5d76e;
    --color-gold-glow: rgba(212, 175, 55, 0.35);
    --color-text-main: #f0f0f0;
    --color-text-muted: #777;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --header-h: 90px;
    --glass-bg: rgba(10, 10, 10, 0.75);
    --transition-smooth: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --radius: 10px;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Corrige sobreposição do header fixo */
main { padding-top: var(--header-h); }

/* =========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================= */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }

mark {
    background: transparent;
    color: var(--color-gold);
    font-style: italic;
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.75rem;
}

.section-header { margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.sub-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

.text-center { text-align: center; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 6%; }
.section-padding { padding: 7rem 0; scroll-margin-top: var(--header-h); }
.dark-bg { background-color: var(--color-bg-section); }

/* =========================================================================
   HEADER
   ========================================================================= */
#site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}

.brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

#desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

#desktop-nav a {
    color: rgba(240, 240, 240, 0.8);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

#desktop-nav a:hover { color: var(--color-gold); }

.btn-nav-outline {
    border: 1px solid var(--color-gold) !important;
    padding: 0.55rem 1.3rem !important;
    border-radius: 2px;
    color: var(--color-gold) !important;
}

.btn-nav-outline:hover {
    background: var(--color-gold) !important;
    color: #000 !important;
    box-shadow: 0 0 18px var(--color-gold-glow);
}

/* =========================================================================
   HERO
   ========================================================================= */
#hero {
    position: relative;
    height: calc(100vh - var(--header-h));
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5,5,5,0.3) 0%,
        rgba(5,5,5,0.5) 50%,
        rgba(5,5,5,0.95) 100%
    );
}

/* Fallback texture when video fails */
.hero-video-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(0, 100, 150, 0.04) 0%, transparent 50%),
        #090909;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-inner-spacer { max-width: 900px; margin: 0 auto; }

.hero-headline {
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.gold-text {
    color: var(--color-gold);
    font-style: italic;
    display: block;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(240, 240, 240, 0.85);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.btn-solid-gold {
    display: inline-block;
    background: var(--color-gold);
    color: #050505;
    padding: 1.1rem 2.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    border-radius: 2px;
    box-shadow: 0 6px 30px var(--color-gold-glow);
    transition: var(--transition-smooth);
}

.btn-solid-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.55);
}

/* =========================================================================
   PHILOSOPHY TICKER
   ========================================================================= */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(212, 175, 55, 0.08);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.75rem 0;
    overflow: hidden;
    z-index: 10;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
}

.ticker-item .dot { color: rgba(255,255,255,0.2); font-size: 1rem; }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.scroll-cue {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.scroll-cue span {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* =========================================================================
   STATS — A MATEMÁTICA DA PERFEIÇÃO
   ========================================================================= */
#stats {
    padding: 5rem 0;
    background: var(--color-bg-panel);
    position: relative;
}

#stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}

.stats-rack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    text-align: center;
}

.stat-block {
    padding: 2.5rem 2rem;
    position: relative;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(212,175,55,0.4), transparent);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.stat-icon svg { stroke: var(--color-gold); opacity: 0.8; }

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.stat-value small { font-size: 0.45em; vertical-align: super; }
.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* =========================================================================
   PPF VERTICAL STACK
   ========================================================================= */
/* =========================================================================
   MAISON REELS — 9:16 VERTICAL GRID
   ========================================================================= */
.ppf-reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.reels-item {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
}

.reels-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px var(--color-gold-glow);
}

.reels-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s;
}

.reels-item:hover video {
    opacity: 1;
}

.reels-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    pointer-events: none;
}

.reels-overlay h3 {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-style: italic;
}

.reels-overlay p {
    font-size: 0.85rem;
    color: #fff;
    opacity: 0.8;
}

/* Progress bar style on top (Simulating Reels) */
.reels-item::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    z-index: 5;
}

@media (max-width: 1024px) {
    .ppf-reels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .ppf-reels-grid { grid-template-columns: 1fr; }
}


/* Checklist Box */
.checklist-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.checklist-box::after {
    content: 'CHECKLIST';
    position: absolute;
    top: -20px; right: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.03);
    z-index: 0;
    user-select: none;
}

.checklist-img { position: relative; z-index: 1; }
.checklist-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.checklist-content { position: relative; z-index: 1; }
.checklist-content h3 { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--color-gold); }
.checklist-list { list-style: none; margin-top: 2rem; }
.checklist-list li { margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1.5rem; font-size: 1.1rem; color: var(--color-text-main); }
.checklist-list .gold-shield { font-size: 1.2rem; color: var(--color-gold); }

/* =========================================================================
   SERVICES GRID (REPLACEMENT)
   ========================================================================= */
/* =========================================================================
   SERVICES GRID — INSTAGRAM FEED STYLE (4:5)
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.service-header-ui {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.service-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    color: #000;
}

.service-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.service-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background: #000;
}

.service-media video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: filter 0.6s ease; 
}

.service-desc { 
    padding: 1.25rem; 
}

.service-desc h3 { 
    color: var(--color-gold); 
    margin-bottom: 0.5rem; 
    font-size: 1.2rem; 
    font-weight: 700; 
}

.service-desc p { 
    font-size: 0.9rem; 
    color: rgba(255,255,255,0.7); 
    line-height: 1.5; 
}


/* Instagram Premium Button */
.btn-instagram-premium {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.2rem 2.2rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(188, 24, 136, 0.25);
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.btn-instagram-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(188, 24, 136, 0.45);
}

.inst-icon { font-size: 1.2rem; }

/* =========================================================================
   PREMIUM VIDEO PLAYER UI
   ========================================================================= */
.maison-player-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.maison-player-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
    z-index: 10;
}

.maison-player-container.is-playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-button-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
}

.maison-player-container:hover .play-button-icon {
    transform: scale(1.1);
    background: var(--color-gold);
    box-shadow: 0 0 50px var(--color-gold-glow);
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top: 3px solid var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    z-index: 11;
}

.maison-player-container.is-loading .loading-spinner {
    display: block;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}



.video-status-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-gold);
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 12;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.sound-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.8;
    z-index: 12;
}

/* =========================================================================
   TRANSFORMATION SECTION
   ========================================================================= */
.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.transformation-video-box {
    position: relative;
    width: 100%;
    max-width: 400px; /* Reels width */
    aspect-ratio: 9 / 16;
    margin: 0 0 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.transformation-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
}

.video-overlay-text {
    position: absolute;
    bottom: 2rem; /* Move to bottom for vertical format */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 5;
}

.video-overlay-text span {
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .transformation-grid { gap: 2rem; }
}

@media (max-width: 768px) {
    .transformation-grid { grid-template-columns: 1fr; text-align: center; }
    .transformation-video-box { margin: 2rem auto 0; max-width: 320px; }
    .transformation-grid .section-header { text-align: center; }
    .transformation-grid .sub-intro { margin-left: auto; margin-right: auto; }
}

/* =========================================================================
   GALERIA MAISON — MASONRY
   ========================================================================= */
#v2-portfolio {
    background: linear-gradient(to bottom, var(--color-bg-section), var(--color-bg-dark));
}

#v2-portfolio .section-header { text-align: left; }

.masonry-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 1.5rem;
}

.masonry-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0d0d0d;
}

.masonry-item.feature {
    grid-row: span 2;
}

.masonry-item video,
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.7) contrast(1.1) saturate(0.9);
}

.masonry-item:hover video,
.masonry-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.85) contrast(1.05) saturate(1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 2;
}

.item-overlay h4 {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 0.2rem;
}

.item-overlay p {
    font-size: 0.85rem;
    color: rgba(240,240,240,0.75);
}

/* Gold border on feature card */
.masonry-item.feature {
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

/* =========================================================================
   CTA BANNER SECTION
   ========================================================================= */
#n8n-conversion-section {
    position: relative;
    background: var(--color-bg-dark);
    overflow: hidden;
}

#n8n-conversion-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, transparent 100%);
}

.cta-banner-content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.75rem; }
.cta-banner-content p { color: var(--color-text-muted); max-width: 520px; line-height: 1.7; }

/* =========================================================================
   LIGHTBOX — MULTISTEP FORM MODAL
   ========================================================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-container {
    position: relative;
    width: 92%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0d0d0d;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(212, 175, 55, 0.08);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.is-open .lightbox-container {
    transform: translateY(0) scale(1);
}

body.lightbox-active { overflow: hidden; }

/* Close button */
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s, transform 0.3s;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

/* =========================================================================
   STEP PROGRESS
   ========================================================================= */
.step-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition-fast);
}

.step-dot.active {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.step-dot.done {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #050505;
}

/* =========================================================================
   FORM STEPS
   ========================================================================= */
.form-step {
    display: none;
    animation: stepFadeIn 0.4s ease;
}

.form-step.active { display: block; }

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-step h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    color: var(--color-text-main);
}

.step-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Inputs inside lightbox */
.lightbox-container .input-group { margin-bottom: 1.5rem; }

.lightbox-container .input-group label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.lightbox-container .input-group input,
.lightbox-container .input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-main);
    font-size: 1rem;
    padding: 0.7rem 0.25rem;
    font-family: var(--font-body);
    transition: border-color 0.3s, background 0.3s;
    border-radius: 0;
}

.lightbox-container .input-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.lightbox-container .input-group input::placeholder,
.lightbox-container .input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.lightbox-container .input-group input:focus,
.lightbox-container .input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.03);
}

/* Input error state */
.lightbox-container .input-group input.input-error {
    border-bottom-color: #ff6b7a;
}

/* =========================================================================
   RADIO CARD GRID (Step 2)
   ========================================================================= */
.service-radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.radio-card {
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
}

.radio-card input[type="radio"]:checked + .radio-card-inner {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.12);
}

.radio-card:hover .radio-card-inner {
    border-color: rgba(212, 175, 55, 0.4);
}

.radio-icon { font-size: 1.3rem; flex-shrink: 0; }

.radio-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-main);
    line-height: 1.3;
}

/* =========================================================================
   STEP ACTION BUTTONS
   ========================================================================= */
.step-actions {
    margin-top: 1.5rem;
}

.step-actions.two-buttons {
    display: flex;
    gap: 1rem;
}

.btn-step-next,
.btn-step-submit {
    flex: 1;
    background: var(--color-gold);
    color: #050505;
    border: none;
    padding: 0.95rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.btn-step-next:hover,
.btn-step-submit:hover {
    box-shadow: 0 8px 25px var(--color-gold-glow);
    transform: translateY(-2px);
}

.btn-step-back {
    flex: 0.6;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.95rem 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.btn-step-back:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.arrow { font-style: normal; }

/* =========================================================================
   SUCCESS STATE (Step 4)
   ========================================================================= */
.success-content {
    text-align: center;
    padding: 2rem 0 1rem;
}

.success-check {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: #050505;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.success-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.success-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto 2rem;
}

.btn-whatsapp-success {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-fast);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.wpp-icon { font-size: 1.2rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
#site-footer {
    padding: 1.5rem 0;
    background: var(--color-bg-panel);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
}

.partner-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: var(--transition-fast);
    filter: grayscale(1) brightness(1.5);
}

.partner-link:hover .partner-logo {
    opacity: 1;
    filter: grayscale(0) brightness(1.2);
}

/* =========================================================================
   SCROLL & ENTRANCE ANIMATIONS (KINETIC)
   ========================================================================= */
.js-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Elite Stagger System */
.js-stagger-1 { transition-delay: 0.1s; }
.js-stagger-2 { transition-delay: 0.2s; }
.js-stagger-3 { transition-delay: 0.3s; }
.js-stagger-4 { transition-delay: 0.4s; }

/* Grid Auto-Stagger */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }

.ppf-panel:nth-child(1) { transition-delay: 0.1s; }
.ppf-panel:nth-child(2) { transition-delay: 0.2s; }
.ppf-panel:nth-child(3) { transition-delay: 0.3s; }
.ppf-panel:nth-child(4) { transition-delay: 0.4s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
    .cta-banner { flex-direction: column; text-align: center; padding: 3rem 2rem; }
    .cta-banner-content p { margin: 0 auto; }
    .masonry-grid { grid-template-columns: 1fr; grid-template-rows: 350px 250px 250px; }
    .masonry-item.feature { grid-row: span 1; }
    .checklist-box { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 2rem; }
    .checklist-box::after { font-size: 4rem; }
}

@media (max-width: 768px) {
    #desktop-nav { display: none; }
    .ppf-panel { height: 300px; }
    .ppf-panel-info { padding: 2rem; }
    .ppf-panel-info h3 { font-size: 1.6rem; }
    .ppf-panel-info p { font-size: 0.95rem; }
    .checklist-content h3 { font-size: 2.2rem; }
    .section-padding { padding: 5rem 0; }
    .stats-rack { grid-template-columns: 1fr; }
    .stat-block:not(:last-child)::after { display: none; }

    /* Lightbox mobile */
    .lightbox-container { width: 96%; padding: 1.75rem 1.5rem 1.5rem; }
    .service-radio-grid { grid-template-columns: 1fr; }
    .step-actions.two-buttons { flex-direction: column-reverse; }
    .btn-step-back { flex: 1; }
}

@media (max-width: 480px) {
    .section-padding { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 2rem; }
    .checklist-box { padding: 2rem 1.5rem; gap: 2rem; }
    .checklist-box::after { display: none; }
    .checklist-content h3 { font-size: 1.8rem; }
    .cta-banner { padding: 2.5rem 1.5rem; }
    .btn-solid-gold { padding: 1rem 2rem; width: 100%; text-align: center; }
    .hero-ticker { font-size: 0.7rem; }
    .masonry-grid { grid-template-rows: 250px 200px 200px; }
    .footer-partners { flex-direction: column; gap: 2rem; }
}
