/* 
 * LUMI - Premium Design System & Core Styles
 * Engineered for PH (Senior Architect)
 */

:root {
    /* Color Palette - Luxury High-Contrast */
    --primary: #c5a16f;
    --primary-light: #d4bc94;
    --secondary: #0d1216;
    --accent: #f8f5f2;
    --white: #ffffff;
    --text: #2c2c2c;
    --text-muted: #666666;

    /* Typography - Fluid Scale */
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --fs-h1: clamp(2.5rem, 8vw, 5.5rem);
    --fs-h2: clamp(2rem, 5vw, 3.5rem);
    --fs-h3: clamp(1.2rem, 3vw, 1.8rem);
    --fs-body: clamp(0.95rem, 2vw, 1.15rem);

    /* Layout & Spacing */
    --container-max: 1400px;
    --section-padding: clamp(60px, 10vh, 120px) 0;

    /* Effects */
    --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

html {
    scroll-behavior: initial;
    /* Handled by JS for better control if needed, but smooth for default */
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Hide scrollbar specifically while maintaining functionality */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

h1,
h2,
h3,
.serif {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    text-wrap: balance;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Base height */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

header.scrolled .logo img {
    height: 40px;
    /* Smaller height when scrolled */
}

@media (max-width: 768px) {
    header { padding: 15px 0; }
    .logo img {
        height: 50px;
    }
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.6;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary);
    border: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--secondary);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 161, 111, 0.3);
}

/* Sections */
section {
    padding: var(--section-padding);
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #fdfcfb;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.experience-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(197, 161, 111, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border-radius: 50px;
}

.hero h1 {
    font-size: var(--fs-h1);
    margin-bottom: 20px;
    color: var(--secondary);
    letter-spacing: -2px;
}

.hero p {
    font-size: var(--fs-body);
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.section-header {
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    color: var(--text-muted);
}

.bg-alt {
    background: #fdfaf6;
}

.contact-title {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.contact-desc {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: url('assets/hero.png'), var(--accent);
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.9;
}

/* WhatsApp Floating Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition-smooth);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-sticky:hover {
    transform: scale(1.1) translateY(-5px);
    background: #20ba59;
}

.whatsapp-sticky i {
    width: 30px;
    height: 30px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 60px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.feature-card .icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.duo-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.duo-content {
    flex: 1;
    min-width: 300px;
}

.duo-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.duo-images {
    flex: 1.2;
    min-width: 350px;
    display: flex;
    gap: 30px;
    position: relative;
    padding: 40px 0;
}

.founder-card {
    flex: 1;
    position: relative;
    transition: var(--transition-smooth);
    background: var(--white);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.founder-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
    filter: brightness(0.98);
    transition: var(--transition-smooth);
}

.founder-card span {
    display: block;
    margin-top: 20px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

/* Staggered effect */
.founder-card.bruna {
    transform: translateY(-30px);
}

.founder-card.dayane {
    transform: translateY(30px);
}

.founder-card:hover {
    transform: translateY(0) scale(1.02);
    z-index: 5;
}

@media (max-width: 768px) {
    .duo-images {
        flex-direction: column;
        gap: 60px;
        padding-top: 40px;
    }
    .founder-card { 
        transform: none !important; 
        max-width: 400px;
        margin: 0 auto;
    }
}

/* AOS Simulation */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--accent);
    padding: 80px 0;
}

/* Mobile */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 90dvh;
        padding: 120px 0 60px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-bg {
        width: 100%;
        height: 400px;
        position: relative;
        margin-top: 40px;
        border-radius: 8px;
    }
}

/* Sticky Actions */
.sticky-actions {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.sticky-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.sticky-btn.whatsapp {
    background: #25d366;
    color: var(--white);
    animation: pulse-whatsapp 2s infinite;
}

#back-to-top {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .sticky-actions { right: 20px; bottom: 20px; }
    .sticky-btn { width: 50px; height: 50px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }
}