/* ========================================
   ClaudeFlaer - Premium Açaí Soft
   Design System & Styles
   ======================================== */

/* --- Custom Properties --- */
:root {
    --color-bg-primary: #0D0616;
    --color-bg-secondary: #1A0E2E;
    --color-bg-tertiary: #2D1B4E;
    --color-gold: #C9A96E;
    --color-gold-light: #D4B87A;
    --color-gold-dark: #A88B52;
    --color-purple-vibrant: #6B3FA0;
    --color-purple-light: #8B5CF6;
    --color-white: #FAFAFA;
    --color-white-muted: rgba(250, 250, 250, 0.6);
    --color-white-dim: rgba(250, 250, 250, 0.15);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(13, 6, 22, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-white-dim);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    z-index: 10;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-white-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-link-cta {
    border: 1px solid var(--color-gold);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    color: var(--color-gold);
    transition: all 0.3s ease;
}

.nav-link-cta:hover {
    background: var(--color-gold);
    color: var(--color-bg-primary);
}

.nav-link-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 30% 50%, rgba(45, 27, 78, 0.6) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(107, 63, 160, 0.3) 0%, transparent 50%),
                var(--color-bg-primary);
    overflow: hidden;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 63, 160, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.hero-badge-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.5;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--color-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 300;
    color: var(--color-white-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-bg-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* --- Section Shared Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-white-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-title-left {
    text-align: left;
}

/* --- Process Section --- */
.process {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    position: relative;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.timeline-line {
    display: none;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-marker {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gold);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-white-muted);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* --- Products Section --- */
.products {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-white-dim);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    cursor: default;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(201, 169, 110, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--product-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-emoji {
    font-size: 3rem;
    filter: grayscale(0.2);
    transition: transform 0.5s var(--ease-out-expo);
}

.product-card:hover .product-emoji {
    transform: scale(1.15) rotate(-5deg);
}

.product-info {
    padding: 1.25rem;
}

.product-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.product-desc {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--color-white-muted);
    line-height: 1.6;
}

/* --- About Section --- */
.about {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-white-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 50%;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.value-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-white-muted);
}

/* About visual card */
.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-white-dim);
    border-radius: 4px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.about-card-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

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

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white-muted);
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--color-white-dim);
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-white-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-whatsapp {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    max-width: fit-content;
}

.contact-whatsapp:hover {
    background: rgba(201, 169, 110, 0.08);
    border-color: var(--color-gold);
}

.whatsapp-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.whatsapp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.15rem;
}

.whatsapp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-white);
}

.whatsapp-arrow {
    margin-left: auto;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.contact-whatsapp:hover .whatsapp-arrow {
    transform: translate(3px, -3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-white-dim);
    border-radius: 4px;
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white-muted);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-white-dim);
    border-radius: 2px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(250, 250, 250, 0.25);
}

.form-input:focus {
    border-color: var(--color-gold);
    background: rgba(201, 169, 110, 0.04);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-white-dim);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.logo-text-footer {
    display: inline-block;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-white-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-white);
}

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

.footer-links a {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-white-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-white-dim);
    border-radius: 50%;
    color: var(--color-white-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

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

.footer-line {
    width: 100%;
    height: 1px;
    background: var(--color-white-dim);
    margin-bottom: 1.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(250, 250, 250, 0.35);
    letter-spacing: 0.05em;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.process-step.reveal:nth-child(2) { transition-delay: 0.1s; }
.process-step.reveal:nth-child(3) { transition-delay: 0.2s; }
.process-step.reveal:nth-child(4) { transition-delay: 0.3s; }
.process-step.reveal:nth-child(5) { transition-delay: 0.4s; }

.product-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.product-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.product-card.reveal:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 3rem;
    }

    .contact-grid {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 6, 22, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out-expo);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 1.25rem;
        text-align: left;
    }

    .step-marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step-icon {
        margin: 0 auto 0.75rem;
        width: 48px;
        height: 48px;
    }

    .step-desc {
        margin: 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-tagline {
        max-width: none;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-badge-line {
        width: 24px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* --- Selection --- */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: var(--color-white);
}
