/* ==========================================================================
   DESIGN SYSTEM & CORE STYLES - LOKI PLANTAS
   ========================================================================== */

/* Google Fonts & Icons */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&family=Space+Mono&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

:root {
    /* Brand Identity colors */
    --color-brand-primary: #8124E4;
    --color-brand-light: #8D4EF7;
    --color-brand-green: #A4C23B;
    --color-brand-whatsapp: #1EBEA5;
    --color-brand-whatsapp-hover: #16a08b;
    
    /* Dark Theme Neutral Values (Default) */
    --color-bg-deep: #0a0b0d;
    --color-bg-card: #121418;
    --color-bg-card-hover: #181b21;
    --color-border-glow: rgba(129, 36, 228, 0.15);
    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    
    /* Support Colors */
    --color-yellow: #FFC107;
    
    /* Sizing & Borders */
    --radius-pill: 9999px;
    --radius-2xl: 40px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Layout Dotted Guidelines (from reference build) */
.layout-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 0 4%;
}

.layout-line {
    width: 1px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.04) 8px,
        transparent 8px,
        transparent 16px
    );
    transition: var(--transition-smooth);
}

/* ==========================================================================
   NAVIGATION BAR (FLOATING HEADER)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(18, 20, 24, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    padding: 0 0.75rem 0 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.logo-link img {
    height: 28px;
    display: block;
    transition: var(--transition-smooth);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.25rem;
}

.nav-link {
    position: relative;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding-bottom: 4px;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--color-brand-green), var(--color-brand-light));
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Header right-side actions (WhatsApp CTA + mobile toggle) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-brand-whatsapp);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-pill);
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.btn-nav-whatsapp i {
    font-size: 16px;
}

.btn-nav-whatsapp:hover {
    background: var(--color-brand-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 190, 165, 0.35);
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border-subtle);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.nav-toggle-bar {
    width: 18px;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--color-text-primary);
    transition: var(--transition-bounce);
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown panel */
.mobile-nav {
    position: fixed;
    top: 104px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: 90%;
    max-width: 480px;
    background: rgba(18, 20, 24, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mobile-nav-link {
    display: block;
    color: var(--color-text-primary);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--color-border-subtle);
    transition: var(--transition-smooth);
}

.mobile-nav-menu li:last-child .mobile-nav-link {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-nav-link:hover {
    color: var(--color-brand-green);
}

.mobile-nav-whatsapp {
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 9, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    transition: opacity 0.4s ease;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* replaced by the mobile dropdown panel */
    }
    .btn-nav-whatsapp span {
        display: none;
    }
    .btn-nav-whatsapp {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .btn-nav-whatsapp i {
        font-size: 18px;
    }
    .nav-toggle {
        display: flex;
    }
    .main-header {
        padding: 0 0.6rem 0 1.25rem;
    }
    .mobile-nav {
        top: 92px;
    }
}

@media (min-width: 769px) {
    .mobile-nav,
    .mobile-nav-backdrop {
        display: none !important;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 4% 80px 4%;
    overflow: hidden;
    z-index: 2;
}

/* Background video */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

/* Video mask overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(10, 11, 13, 0.15) 0%, rgba(10, 11, 13, 0.65) 90%);
    z-index: -1;
    transition: var(--transition-smooth);
}

/* Ambient Glow Lights in Hero */
.hero-glow {
    position: absolute;
    width: 45vw;
    height: 45vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-glow-purple {
    top: 5%;
    left: 10%;
    background: radial-gradient(circle, var(--color-brand-light) 0%, transparent 70%);
    animation: floatGlowPurple 25s infinite alternate ease-in-out;
}

.hero-glow-green {
    bottom: 5%;
    right: 10%;
    background: radial-gradient(circle, var(--color-brand-green) 0%, transparent 70%);
    animation: floatGlowGreen 30s infinite alternate ease-in-out;
}

@keyframes floatGlowPurple {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(80px, 40px) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-40px, 80px) scale(0.9) rotate(360deg);
    }
}

@keyframes floatGlowGreen {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-60px, -60px) scale(1.15) rotate(-180deg);
    }
    100% {
        transform: translate(50px, 30px) scale(0.95) rotate(-360deg);
    }
}

/* Foreground Blurred Leaves (Depth of Field 3D Effect) */
.foreground-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    filter: blur(8px) brightness(1.15) contrast(1.1) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
    opacity: 0.85;
    transition: transform 0.1s ease-out, opacity 0.6s ease;
}

.leaf-left {
    top: -10%;
    left: -12%;
    width: 45vw;
    max-width: 500px;
    height: 45vw;
    max-height: 500px;
    background: url('../img/palm_leaf.webp') no-repeat center center/contain;
    -webkit-mask-image: url('../img/palm_leaf.webp');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-source-type: luminance;
    mask-image: url('../img/palm_leaf.webp');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-mode: luminance;
    transform: rotate(45deg) scale(1.1);
}

.leaf-right {
    bottom: -15%;
    right: -12%;
    width: 40vw;
    max-width: 450px;
    height: 40vw;
    max-height: 450px;
    background: url('../img/monstera_leaf.webp') no-repeat center center/contain;
    -webkit-mask-image: url('../img/monstera_leaf.webp');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-source-type: luminance;
    mask-image: url('../img/monstera_leaf.webp');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-mode: luminance;
    transform: rotate(-25deg) scale(1.2);
}

/* Glassmorphic main content card */
.hero-card {
    position: relative;
    width: 100%;
    max-width: 820px;
    background: rgba(18, 20, 24, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Flashlight spot glow effect */
.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(141, 78, 247, 0.12), transparent 40%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Content Elements */
.hero-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-brand-green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    color: #ffffff;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    .hero-card {
        padding: 2rem;
    }
    .foreground-leaf {
        opacity: 0.6;
        filter: blur(12px) brightness(1.1) contrast(1.1);
    }
    .leaf-left {
        width: 55vw;
        height: 55vw;
        top: -12%;
        left: -15%;
    }
    .leaf-right {
        width: 50vw;
        height: 50vw;
        bottom: -15%;
        right: -15%;
    }
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 680px;
    z-index: 2;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
    z-index: 2;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
    transition: var(--transition-smooth);
}

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

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--color-text-muted);
    border-radius: 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouseWheel 1.6s infinite ease-in-out;
}

@keyframes scrollMouseWheel {
    0% {
        top: 6px;
        opacity: 1;
    }
    50% {
        top: 16px;
        opacity: 0;
    }
    100% {
        top: 6px;
        opacity: 1;
    }
}

/* Responsive adjust for short viewports/laptops */
@media (max-height: 800px) {
    .hero-wrapper {
        padding-top: 90px;
        padding-bottom: 70px;
    }
    .hero-card {
        padding: 2rem 2.5rem;
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .scroll-indicator {
        bottom: 15px;
    }
}

/* ==========================================================================
   BUTTONS (Primary Border Beam & Secondary Static)
   ========================================================================== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.border-beam-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 1px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.border-beam-gradient {
    position: absolute;
    inset: -100%;
    animation: spin 4s linear infinite;
    transition: opacity 0.3s ease;
}

.border-beam-bg {
    position: absolute;
    inset: 1px;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
}

.border-beam-content {
    position: relative;
    z-index: 10;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.border-beam-content i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.border-beam-btn:hover .border-beam-content i {
    transform: translateX(3px) translateY(-1px);
}

/* Primary variant */
.border-beam-btn.btn-primary .border-beam-gradient {
    background: conic-gradient(from 90deg at 50% 50%, transparent 0%, transparent 65%, var(--color-brand-light) 85%, var(--color-brand-green) 100%);
    animation: spin 3.5s linear infinite;
    opacity: 0.75;
}

.border-beam-btn.btn-primary:hover .border-beam-gradient {
    opacity: 1;
}

.border-beam-btn.btn-primary .border-beam-bg {
    background: linear-gradient(180deg, #1b0d2d 0%, #0a0512 100%);
}

.border-beam-btn.btn-primary:hover .border-beam-bg {
    background: linear-gradient(180deg, #271243 0%, #0e071c 100%);
}

.border-beam-btn.btn-primary .border-beam-content {
    color: #ffffff;
    font-weight: 700;
}

.border-beam-btn.btn-primary:hover {
    box-shadow: 0 0 25px rgba(141, 78, 247, 0.35);
    transform: translateY(-2px);
}

/* Secondary static variant */
.btn-brand-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-pill);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-brand-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.btn-brand-secondary i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-brand-secondary:hover i {
    transform: translateX(3px) translateY(-1px);
}

/* Sizing modifiers */
.btn-small {
    padding: 6px 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* ==========================================================================
   PORTFOLIO SECTION (EVENTS GALLERY CARROSSEL)
   ========================================================================== */
.portfolio-section {
    padding: 80px 4% 100px 4%;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.portfolio-title-block {
    flex: 1;
}

.portfolio-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-brand-green);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* H2 — Título de seção. Um degrau abaixo do H1 (hero, 56px) para
   criar hierarquia tipográfica clara entre hero e seções internas. */
.portfolio-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    /* 32px */
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.portfolio-desc {
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin-top: 0.5rem;
}

/* Navigation controls at top-right */
.portfolio-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.portfolio-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.portfolio-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-dot.active {
    background-color: #ffffff;
    transform: scale(1.4);
}

.portfolio-arrows {
    display: flex;
    gap: 10px;
}

/* Slider main container */
.portfolio-slider-container {
    position: relative;
    width: 100%;
}

.portfolio-slider {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    snap-x: snap-mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 10px 0 20px 0;
    width: 100%;
    
    /* Edge fade gradient */
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    
    /* Hide scrollbars */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

/* Slides */
.portfolio-slide {
    flex-shrink: 0;
    width: 85vw;
    max-width: 380px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    background-color: var(--color-bg-card);
}

.portfolio-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-slide:hover .portfolio-slide-bg {
    transform: scale(1.06);
}

/* Favorite button (circular heart icon) */
.slide-select-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(10, 11, 13, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-bounce);
}

.slide-select-btn i {
    font-size: 20px;
    color: #ffffff;
    transition: var(--transition-bounce);
}

.slide-select-btn:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.75);
}

.portfolio-slide.slide-selected {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 0 3px var(--color-brand-green), 0 0 25px rgba(164, 194, 59, 0.4);
}

.portfolio-slide.slide-selected .slide-select-btn {
    background: var(--color-brand-green);
    border-color: var(--color-brand-green);
}

.portfolio-slide.slide-selected .slide-select-btn i {
    color: #ffffff;
}

@media (max-width: 768px) {
    .slide-select-btn {
        width: 36px;
        height: 36px;
    }
    .slide-select-btn i {
        font-size: 18px;
    }
}

/* Slide overlay */
.portfolio-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(10, 11, 13, 0) 40%, rgba(10, 11, 13, 0.5) 60%, rgba(10, 11, 13, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    transition: var(--transition-smooth);
}

/* Slide Content */
.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-10px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-slide:hover .slide-header {
    transform: translateY(0);
    opacity: 1;
}

.slide-index {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.slide-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-brand-green);
    background: rgba(164, 194, 59, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.slide-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.portfolio-slide:hover .slide-footer {
    transform: translateY(0);
}

.slide-title-card {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.slide-desc-card {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-slide:hover .slide-desc-card {
    opacity: 1;
    max-height: 80px;
    margin-top: 4px;
}

/* Scroll indicator on mobile */
.portfolio-swipe-hint {
    display: none;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .portfolio-nav {
        width: 100%;
        justify-content: space-between;
    }
    .portfolio-title {
        font-size: 1.5rem;
        /* 24px */
    }
    .portfolio-slide {
        max-width: 290px;
    }
    .portfolio-swipe-hint {
        display: flex;
    }
}

/* ==========================================================================
   FAVORITOS (Seleção de fotos + envio via WhatsApp)
   ========================================================================== */
.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-brand-whatsapp);
    box-shadow: 0 10px 25px rgba(30, 190, 165, 0.4);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition-bounce);
}

.cart-fab i {
    color: #ffffff;
    font-size: 28px;
}

.cart-fab:hover {
    transform: scale(1.08);
    background: var(--color-brand-whatsapp-hover);
}

.cart-fab.empty {
    opacity: 0.55;
}

.cart-fab.has-items {
    animation: cartPulse 2s infinite;
}

@keyframes cartPulse {
    0% { box-shadow: 0 10px 25px rgba(30, 190, 165, 0.4); }
    50% { box-shadow: 0 10px 35px rgba(30, 190, 165, 0.7); }
    100% { box-shadow: 0 10px 25px rgba(30, 190, 165, 0.4); }
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: var(--radius-pill);
    background: var(--color-brand-green);
    color: #0a0b0d;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-deep);
    transform: scale(0);
    transition: var(--transition-bounce);
}

.cart-badge.show {
    transform: scale(1);
}

.cart-panel {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 340px;
    max-width: calc(100vw - 48px);
    max-height: 70vh;
    background: rgba(18, 20, 24, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border-subtle);
}

.cart-panel-header h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.cart-panel-close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    padding: 4px;
}

.cart-panel-close:hover {
    color: var(--color-text-primary);
}

.cart-panel-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.cart-item:hover {
    background: var(--color-bg-card-hover);
}

.cart-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-tag {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    padding: 4px;
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-empty-msg {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cart-panel-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--color-border-subtle);
}

.btn-clear-cart {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    align-self: center;
}

.btn-clear-cart:hover {
    color: var(--color-text-secondary);
}

.btn-send-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-brand-whatsapp);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-send-whatsapp:hover:not(:disabled) {
    background: var(--color-brand-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 190, 165, 0.3);
}

.btn-send-whatsapp:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cart-fab {
        bottom: 16px;
        right: 16px;
    }
    .cart-panel {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 90px;
    }
}

/* ==========================================================================
   TOAST SYSTEM (for interactions)
   ========================================================================== */
.toast-box {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-brand-light);
    box-shadow: 0 10px 25px rgba(129, 36, 228, 0.2);
    color: var(--color-text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(150px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-box.show {
    transform: translateY(0);
}

.toast-close-btn {
    cursor: pointer;
    color: var(--color-brand-light);
    font-weight: bold;
}

/* ==========================================================================
   TEAM SECTION (Time Lokiplantas)
   ========================================================================== */
.team-section {
    padding: 40px 4% 120px 4%;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.team-header {
    max-width: 640px;
    margin: 0 auto 3.5rem auto;
    text-align: center;
}

.team-eyebrow {
    justify-content: center;
}

.team-title {
    margin-bottom: 0.5rem;
}

.team-desc {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid of specialty cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(129, 36, 228, 0.3);
    box-shadow: 0 20px 40px rgba(129, 36, 228, 0.08);
}

/* Mouse-tracked flashlight glow, shared behavior with .glow-card */
.glow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(129, 36, 228, 0.14),
        transparent 45%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.team-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.team-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(129, 36, 228, 0.18), rgba(164, 194, 59, 0.1));
    border: 1px solid var(--color-border-glow);
    transition: var(--transition-bounce);
}

.team-icon-badge i {
    font-size: 24px;
    color: var(--color-brand-light);
    transition: var(--transition-bounce);
}

.team-card:hover .team-icon-badge {
    background: var(--color-brand-primary);
    transform: rotate(-8deg) scale(1.08);
}

.team-card:hover .team-icon-badge i {
    color: #ffffff;
}

.team-card-index {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.team-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--color-text-primary);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 2;
}

.team-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    position: relative;
    z-index: 2;
}

/* Stats strip */
.team-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.team-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, var(--color-brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-stat-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
    max-width: 200px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .team-stat-label {
        white-space: normal;
    }
}

.team-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--color-border-subtle);
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 20px 6% 80px 6%;
    }
    .team-stats-row {
        flex-direction: column;
        gap: 2rem;
    }
    .team-stat-divider {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 560px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FOOTER (Contato, Localização & Redes Sociais)
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding: 80px 4% 0 4%;
    background: linear-gradient(180deg, transparent 0%, rgba(129, 36, 228, 0.05) 100%), var(--color-bg-card);
    border-top: 1px solid var(--color-border-subtle);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

/* Brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 30px;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition-bounce);
}

.footer-social-btn i {
    font-size: 17px;
}

.footer-social-btn:hover {
    background-color: var(--color-brand-primary);
    border-color: var(--color-brand-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(129, 36, 228, 0.35);
}

/* Generic column titles + link lists */
.footer-col-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
}

.footer-links,
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-links a,
.footer-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--color-brand-light);
    transform: translateX(3px);
}

.footer-contact-list i {
    font-size: 16px;
    color: var(--color-brand-green);
    flex-shrink: 0;
}

.footer-contact-list .fa-whatsapp {
    font-size: 15px;
    color: var(--color-brand-whatsapp);
}

/* Bottom bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 0;
    border-top: 1px solid var(--color-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-bottom-made {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-bottom-made a {
    color: var(--color-brand-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-bottom-made a:hover {
    color: var(--color-brand-light);
    text-shadow: 0 0 8px rgba(164, 194, 59, 0.4);
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        row-gap: 3rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 60px 6% 0 6%;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================================================
   LIGHTBOX (Ampliar foto do portfólio)
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(10, 11, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.96);
    transition: var(--transition-smooth);
}

.lightbox-overlay.open .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    background: var(--color-bg-card);
}

.lightbox-caption {
    text-align: center;
    padding: 1.5rem 1rem 0;
    max-width: 600px;
}

.lightbox-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-brand-light);
    margin-bottom: 0.5rem;
}

.lightbox-caption h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.4rem;
}

.lightbox-caption p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    background: rgba(18, 20, 24, 0.6);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-primary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10002;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--color-brand-primary);
    border-color: var(--color-brand-primary);
}

.lightbox-close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
}

.lightbox-close i {
    font-size: 22px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
}

.lightbox-nav i {
    font-size: 18px;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

@media (max-width: 768px) {
    .lightbox-overlay {
        padding: 5rem 1rem 2rem;
    }
    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-img {
        max-height: 55vh;
    }
}
