/*
Theme Name: Render Profissional
Theme URI: https://renderprofissional.com.br
Author: Render Profissional
Author URI: https://renderprofissional.com.br
Description: Tema profissional para visualização 3D imobiliária. Design moderno, escuro e focado em conversão.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: render-profissional
Tags: dark, real-estate, one-page, custom-logo

Este tema foi criado para a Render Profissional - Visualização 3D para Empreendimentos Imobiliários
*/

/* ==========================================
   CSS VARIABLES / DESIGN SYSTEM
   ========================================== */
:root {
    /* Premium Dark Theme */
    --background: hsl(222, 47%, 6%);
    --foreground: hsl(40, 33%, 95%);
    --card: hsl(222, 47%, 8%);
    --card-foreground: hsl(40, 33%, 95%);
    
    /* Gold Accent */
    --primary: hsl(38, 92%, 50%);
    --primary-foreground: hsl(222, 47%, 6%);
    
    /* Secondary */
    --secondary: hsl(222, 30%, 15%);
    --secondary-foreground: hsl(40, 33%, 90%);
    
    /* Muted */
    --muted: hsl(222, 30%, 12%);
    --muted-foreground: hsl(220, 15%, 55%);
    
    /* Border */
    --border: hsl(222, 30%, 18%);
    
    /* WhatsApp Green */
    --whatsapp: hsl(142, 70%, 45%);
    
    /* Navy variants */
    --navy: hsl(222, 47%, 6%);
    --navy-light: hsl(222, 47%, 12%);
    --navy-lighter: hsl(222, 30%, 18%);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, hsl(38, 92%, 50%), hsl(28, 90%, 45%));
    --gradient-dark: linear-gradient(180deg, hsl(222, 47%, 6%), hsl(222, 47%, 10%));
    
    /* Shadows */
    --shadow-gold: 0 4px 30px -5px hsla(38, 92%, 50%, 0.3);
    --shadow-card: 0 10px 40px -10px hsla(0, 0%, 0%, 0.5);
    
    /* Radius */
    --radius: 0.75rem;
    
    /* Fonts */
    --font-display: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 7rem 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 8rem 0;
    }
}

.text-center {
    text-align: center;
}

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

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted-foreground);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.heading-display {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-display {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .heading-display {
        font-size: 3.75rem;
    }
}

.heading-section {
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-section {
        font-size: 2.25rem;
    }
}

.heading-subsection {
    font-size: 1.25rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .heading-subsection {
        font-size: 1.5rem;
    }
}

.text-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .text-body {
        font-size: 1.125rem;
    }
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

/* ==========================================
   COMPONENTS
   ========================================== */

/* Cards */
.card-premium {
    background: linear-gradient(145deg, hsl(222, 47%, 10%), hsl(222, 47%, 7%));
    border-radius: var(--radius);
    border: 1px solid hsla(222, 30%, 18%, 0.5);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .card-premium {
        padding: 2rem;
    }
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px hsla(0, 0%, 0%, 0.6);
    border-color: hsla(38, 92%, 50%, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 25px -5px hsla(142, 70%, 45%, 0.5);
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 35px -5px hsla(142, 70%, 45%, 0.6);
}

.btn-whatsapp-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px -5px hsla(38, 92%, 50%, 0.5);
}

/* Divider */
.divider-gold {
    width: 5rem;
    height: 4px;
    border-radius: 9999px;
    background: var(--gradient-gold);
    margin: 0 auto;
}

/* Image Frame */
.image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-primary {
    background: hsla(38, 92%, 50%, 0.1);
    border: 1px solid hsla(38, 92%, 50%, 0.3);
    color: var(--primary);
}

.badge-pulse::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

/* Icon Box */
.icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: hsla(38, 92%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulseGold {
    0%, 100% {
        box-shadow: 0 0 0 0 hsla(38, 92%, 50%, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px hsla(38, 92%, 50%, 0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-gold {
    animation: pulseGold 2s ease-in-out infinite;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
}

.site-header.scrolled {
    background: hsla(222, 47%, 6%, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px hsla(0, 0%, 0%, 0.3);
    border-bottom: 1px solid hsla(222, 30%, 18%, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsla(40, 33%, 95%, 0.7);
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-nav {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid hsla(222, 30%, 18%, 0.5);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: hsla(40, 33%, 95%, 0.7);
}

.mobile-nav a:hover {
    color: var(--primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        hsla(222, 47%, 6%, 0.8) 0%, 
        hsla(222, 47%, 6%, 0.6) 50%, 
        hsl(222, 47%, 6%) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: 2rem;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.25rem;
    color: hsla(40, 33%, 95%, 0.8);
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-cta-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--primary);
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================
   PARA QUEM SECTION
   ========================================== */
.para-quem {
    background: hsla(222, 30%, 15%, 0.3);
}

.section-header {
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-header .section-label {
    margin-bottom: 1rem;
}

.section-header .heading-section {
    margin-bottom: 1.5rem;
}

.segments-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .segments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.segment-card {
    text-align: center;
}

.segment-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    background: hsla(38, 92%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.segment-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.segment-title {
    margin-bottom: 0.75rem;
}

.important-note {
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: hsla(38, 92%, 50%, 0.05);
    border: 1px solid hsla(38, 92%, 50%, 0.2);
}

.important-note svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.important-note h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.important-note p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================
   IMAGENS 3D SECTION
   ========================================== */
.gallery-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    cursor: pointer;
}

.gallery-stack {
    position: relative;
    height: 20rem;
    margin-bottom: 1.5rem;
}

.gallery-stack-image {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.5s ease;
}

.gallery-stack-image:nth-child(1) {
    z-index: 30;
}

.gallery-stack-image:nth-child(2) {
    z-index: 20;
    transform: translateX(10px) translateY(10px) rotate(2deg);
}

.gallery-stack-image:nth-child(3) {
    z-index: 10;
    transform: translateX(20px) translateY(20px) rotate(4deg);
}

.gallery-item:hover .gallery-stack-image:nth-child(1) {
    transform: translateY(-5px);
}

.gallery-stack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-title {
    text-align: center;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-title {
    color: var(--primary);
}

.gallery-description {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.gallery-hint {
    text-align: center;
    font-size: 0.75rem;
    color: var(--primary);
    margin-top: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-hint {
    opacity: 1;
}

.gallery-item.active .gallery-hint {
    opacity: 1;
}

.gallery-item.active .gallery-stack-image:nth-child(1) {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

/* Expanded Gallery */
.expanded-gallery {
    display: none;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.5s ease-out forwards;
}

.expanded-gallery.active {
    display: block;
}

.expanded-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.expanded-gallery-close {
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--foreground);
}

.expanded-gallery-close:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.expanded-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .expanded-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.expanded-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 10;
    transition: all 0.3s ease;
}

.expanded-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-gold);
}

.expanded-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expanded-gallery-grid .loading-text {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted-foreground);
    padding: 3rem 1rem;
    font-size: 0.875rem;
}

/* ==========================================
   VIDEOS SECTION
   ========================================== */
.videos-section {
    background: hsla(222, 30%, 15%, 0.3);
}

.features-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .features-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: hsla(222, 47%, 8%, 0.5);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsla(38, 92%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.videos-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-card .video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, hsla(38, 92%, 50%, 0.2), transparent);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: hsla(38, 92%, 50%, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary-foreground);
    margin-left: 0.25rem;
}

.video-label {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: hsla(222, 47%, 6%, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
}

.video-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.video-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================
   PLANTAS SECTION
   ========================================== */
.benefits-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.benefit-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: hsla(38, 92%, 50%, 0.1);
    border: 1px solid hsla(38, 92%, 50%, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
}

.benefit-tag svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.plantas-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .plantas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.planta-card .planta-image {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.planta-card .planta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.planta-card:hover .planta-image img {
    transform: scale(1.05);
}

.planta-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.planta-type svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.planta-type span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.planta-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.planta-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Planta Lightbox Overlay */
.planta-lightbox {
    cursor: pointer;
}

.planta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(222, 47%, 6%, 0.9) 0%, hsla(222, 47%, 6%, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.planta-image:hover .planta-overlay {
    opacity: 1;
}

.planta-overlay svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.planta-overlay span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

/* ==========================================
   PROSPECTO SECTION
   ========================================== */
.prospecto-section {
    background: hsla(222, 30%, 15%, 0.3);
}

.prospecto-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .prospecto-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.prospecto-feature {
    text-align: center;
    padding: 1.5rem;
}

.prospecto-feature .icon-box {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
}

.prospecto-feature .icon-box svg {
    width: 1.75rem;
    height: 1.75rem;
}

.prospecto-feature h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prospecto-feature p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.prospecto-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .prospecto-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prospecto-card .prospecto-preview {
    position: relative;
    aspect-ratio: 3/4;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-lighter));
    border: 1px solid hsla(222, 30%, 18%, 0.5);
}

.prospecto-preview-content {
    position: absolute;
    inset: 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom, hsla(40, 33%, 95%, 0.05), transparent);
}

.prospecto-preview-lines {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prospecto-preview-lines .line {
    height: 0.75rem;
    border-radius: 0.25rem;
    background: hsla(40, 33%, 95%, 0.1);
}

.prospecto-preview-lines .line:nth-child(1) {
    width: 75%;
    height: 2rem;
    background: hsla(38, 92%, 50%, 0.2);
}

.prospecto-preview-lines .line:nth-child(2) {
    height: 8rem;
}

.prospecto-preview-lines .line:nth-child(3),
.prospecto-preview-lines .line:nth-child(4),
.prospecto-preview-lines .line:nth-child(5) {
    background: hsla(40, 33%, 95%, 0.05);
}

.prospecto-preview-lines .line:nth-child(4) {
    width: 85%;
}

.prospecto-preview-lines .line:nth-child(5) {
    width: 80%;
}

.prospecto-qr {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: hsla(38, 92%, 50%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prospecto-qr svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.prospecto-card h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
}

.prospecto-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 0.5rem;
}

/* ==========================================
   SITE EMPREENDIMENTO SECTION
   ========================================== */
.site-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.site-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 20rem;
}

.site-feature .feature-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.site-feature .feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.site-feature h3 {
    font-family: var(--font-sans);
    font-weight: 600;
}

.site-feature p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.sites-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .sites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.site-card .browser-mockup {
    position: relative;
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-lighter);
    border: 1px solid hsla(222, 30%, 18%, 0.5);
}

.browser-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: var(--navy-light);
    border-bottom: 1px solid hsla(222, 30%, 18%, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
}

.browser-dots {
    display: flex;
    gap: 0.375rem;
}

.browser-dots span {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: hsla(0, 84%, 60%, 0.5);
}

.browser-dots span:nth-child(2) {
    background: hsla(38, 92%, 50%, 0.5);
}

.browser-dots span:nth-child(3) {
    background: hsla(142, 70%, 45%, 0.5);
}

.browser-url {
    flex: 1;
    height: 1rem;
    margin: 0 1rem;
    padding: 0 0.5rem;
    border-radius: 0.25rem;
    background: hsla(222, 47%, 6%, 0.2);
    display: flex;
    align-items: center;
    font-size: 0.625rem;
    color: var(--muted-foreground);
}

.browser-url svg {
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.25rem;
}

.browser-content {
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Iframe de Preview Real do Site */
.site-preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* Desabilita interação para evitar cliques acidentais */
}

.site-card:hover .site-preview-iframe {
    pointer-events: auto; /* Habilita no hover para demonstração */
}

.browser-content-inner {
    height: 100%;
    background: linear-gradient(135deg, hsla(38, 92%, 50%, 0.1), transparent);
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.browser-content-inner svg {
    width: 2.5rem;
    height: 2.5rem;
    color: hsla(38, 92%, 50%, 0.5);
    margin-bottom: 0.5rem;
}

.browser-content-inner span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.site-card h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
}

.site-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

/* Link "Visitar Site" */
.site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-link:hover {
    color: hsla(38, 92%, 60%, 1);
}

.site-link svg {
    width: 1rem;
    height: 1rem;
}

/* ==========================================
   BONUS IA SECTION
   ========================================== */
.bonus-section {
    background: linear-gradient(to bottom, hsla(222, 30%, 15%, 0.3), var(--background));
}

.bonus-badge {
    margin-bottom: 1.5rem;
}

.bonus-badge .badge {
    background: hsla(38, 92%, 50%, 0.2);
    border-color: hsla(38, 92%, 50%, 0.4);
}

.bonus-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.bonus-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: hsla(38, 92%, 50%, 0.1);
    border: 1px solid hsla(38, 92%, 50%, 0.3);
}

.bonus-benefit svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.bonus-benefit span {
    font-weight: 500;
}

.bonus-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .bonus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bonus-card {
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, hsla(38, 92%, 50%, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bonus-card:hover::before {
    opacity: 1;
}

.bonus-card-inner {
    position: relative;
}

.bonus-video-preview {
    position: relative;
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-lighter));
}

.construction-phases {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 0.75rem;
}

.construction-phase {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.construction-phase span {
    font-size: 0.625rem;
    color: var(--muted-foreground);
    width: 5rem;
}

.construction-phase-bar {
    flex: 1;
    height: 0.375rem;
    background: hsla(222, 47%, 6%, 0.2);
    border-radius: 9999px;
    overflow: hidden;
}

.construction-phase-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), hsla(38, 92%, 50%, 0.5));
    border-radius: 9999px;
}

.ai-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background: hsla(38, 92%, 50%, 0.8);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 500;
}

.ai-badge svg {
    width: 0.75rem;
    height: 0.75rem;
}

.bonus-card h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
}

.bonus-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 0.5rem;
}

/* ==========================================
   PROVAS SOCIAIS SECTION
   ========================================== */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 4rem;
    margin-bottom: 5rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: hsla(38, 92%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 3rem;
    }
}

.stat-label {
    color: var(--muted-foreground);
}

.guarantees-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .guarantees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guarantee-card {
    text-align: center;
}

.guarantee-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    background: hsla(38, 92%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

.guarantee-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.guarantee-description {
    color: var(--muted-foreground);
}

.social-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 3rem;
}

/* ==========================================
   CTA FINAL SECTION
   ========================================== */
.cta-final {
    background: linear-gradient(to bottom, hsla(222, 30%, 15%, 0.5), var(--background));
}

.cta-card {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24rem;
    height: 24rem;
    background: hsla(38, 92%, 50%, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-card-inner {
    position: relative;
}

.cta-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 2rem;
    border-radius: 1.5rem;
    background: hsla(38, 92%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.cta-title {
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 28rem;
    margin: 0 auto 2.5rem;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.include-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.include-item span {
    font-size: 0.875rem;
}

.cta-divider {
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-contact-info {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: hsla(222, 30%, 15%, 0.3);
    border-top: 1px solid hsla(222, 30%, 18%, 0.5);
}

.footer-inner {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand .site-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid hsla(222, 30%, 18%, 0.5);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================
   PORTFOLIO PAGE
   ========================================== */
.portfolio-header {
    padding-top: 8rem;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--secondary);
    color: var(--foreground);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: hsla(38, 92%, 50%, 0.2);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(222, 47%, 6%, 0.9), hsla(222, 47%, 6%, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

.portfolio-item:hover .portfolio-item-overlay {
    opacity: 1;
}

.portfolio-item-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.portfolio-item-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

.portfolio-cta p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: hsla(222, 47%, 6%, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--secondary);
    border: none;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.lightbox-content {
    max-width: 80rem;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    margin: 0 auto;
}

.lightbox-caption {
    margin-top: 1rem;
}

.lightbox-caption span {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.lightbox-caption h3 {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--whatsapp);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px -5px hsla(142, 70%, 45%, 0.5);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px -5px hsla(142, 70%, 45%, 0.6);
}

.whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* ==========================================
   RESPONSIVE UTILITIES
   ========================================== */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ==========================================
   VIDEO EMBED (YOUTUBE)
   ========================================== */
.video-embed {
    position: relative;
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-lighter);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bonus-video-embed {
    margin-bottom: 1rem;
}

/* ==========================================
   PROSPECTO GIF SECTION
   ========================================== */
.prospecto-gif {
    position: relative;
    aspect-ratio: 3/4;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-lighter));
    border: 1px solid hsla(222, 30%, 18%, 0.5);
}

.prospecto-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prospecto-lightbox {
    cursor: pointer;
}

.prospecto-lightbox:hover .prospecto-gif img {
    transform: scale(1.05);
}

.prospecto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prospecto-lightbox:hover .prospecto-overlay {
    opacity: 1;
}

.prospecto-overlay svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.prospecto-overlay span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

/* ==========================================
   BONUS IA SECTION (YOUTUBE)
   ========================================== */
.ai-badge-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: hsla(38, 92%, 50%, 0.9);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.ai-badge-overlay svg {
    width: 0.875rem;
    height: 0.875rem;
}

.bonus-card-inner {
    position: relative;
}

.bonus-card-inner h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    margin-top: 0.5rem;
}

.bonus-card-inner p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 0.25rem;
}

/* ==========================================
   SITE PREVIEW IMAGE (JPG instead of iframe)
   ========================================== */
.site-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.site-card:hover .site-preview-image {
    transform: scale(1.02);
}

/* ==========================================
   PORTFOLIO MAIN TABS (Fotos / Vídeos)
   ========================================== */
.portfolio-main-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    background: var(--muted);
    padding: 0.25rem;
    border-radius: var(--radius);
}

.main-tab-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--muted-foreground);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: calc(var(--radius) - 2px);
    transition: all 0.3s ease;
}

.main-tab-btn:hover {
    color: var(--foreground);
}

.main-tab-btn.active {
    background: var(--background);
    color: var(--foreground);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.main-tab-content {
    display: none;
}

.main-tab-content.active {
    display: block;
}

/* ==========================================
   PORTFOLIO VIDEOS TAB
   ========================================== */
.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-item {
    position: relative;
    background: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, hsla(222, 47%, 6%, 0.9), transparent);
    pointer-events: none;
}

.video-category {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.video-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.video-helper-text {
    margin-top: 2rem;
    padding: 1rem;
    background: hsla(222, 30%, 15%, 0.5);
    border-radius: var(--radius);
    text-align: center;
}

.video-helper-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.video-helper-text code {
    color: var(--primary);
    font-family: monospace;
}

/* ==========================================
   PORTFOLIO PAGE LIGHTBOX
   ========================================== */
.portfolio-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: hsla(222, 47%, 6%, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.portfolio-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--navy-lighter);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

@media (min-width: 768px) {
    .lightbox-prev {
        left: 2rem;
    }
    
    .lightbox-next {
        right: 2rem;
    }
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--navy-lighter);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-info {
    margin-top: 1rem;
    text-align: center;
}

.lightbox-category {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.lightbox-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.lightbox-counter {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================
   PORTFOLIO EMPTY STATES
   ========================================== */
.portfolio-empty,
.videos-empty {
    text-align: center;
    padding: 3rem;
}

.portfolio-empty p,
.videos-empty p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.portfolio-instructions {
    background: hsla(222, 30%, 15%, 0.5);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.portfolio-instructions p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.portfolio-instructions ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.portfolio-instructions li {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    padding: 0.25rem 0;
}

.portfolio-instructions code {
    color: var(--primary);
    font-family: monospace;
    background: hsla(222, 47%, 6%, 0.5);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.portfolio-instructions pre {
    background: hsla(222, 47%, 6%, 0.5);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    overflow-x: auto;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}
