﻿/* Google Fonts - Inter (Premium Typography) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ConfiguraÃ§Ã£o de cores personalizadas - Tema escuro/roxo */
:root {
    --primary: 270 50% 15%;
    --primary-foreground: 0 0% 100%;
    --accent: 270 80% 64%;
    /* Levemente mais brilhante */
    --accent-foreground: 0 0% 100%;
    --background: 270 30% 8%;
    --foreground: 0 0% 95%;
    --muted: 270 20% 15%;
    --muted-foreground: 0 0% 85%;
    --border: 270 20% 30%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll leak */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ðŸ’Ž HARD TOP PLUS: Elite Effects */
#custom-cursor {
    width: 30px;
    height: 30px;
    background: rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    /* MÃ¡ximo possÃ­vel */
    transition: transform 0.05s linear;
    /* Mais rÃ¡pido */
    mix-blend-mode: screen;
    filter: blur(8px);
    display: none;
}

@media (min-width: 1024px) {
    #custom-cursor {
        display: block;
    }

    body {
        cursor: none;
    }

    a,
    button,
    .card,
    .accordion-trigger {
        cursor: none;
    }
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    z-index: -1;
    transform: translate(-5%, -5%);
    pointer-events: none;
}

.particle {
    position: fixed;
    background: white;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

/* Animations */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.pulse-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-green 2s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.shimmer:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

/* Layout Utilities */
section {
    scroll-margin-top: 5rem;
    padding: 0;
    /* Let py classes handle it */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding_right: 1.5rem;
}

/* Components */
.card {
    background: hsl(var(--muted));
    border: 2px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    border-color: hsl(var(--accent));
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(270 80% 50%) 100%);
    color: hsl(var(--accent-foreground));
    box-shadow:
        0 4px 0 hsl(270 70% 35%),
        0 8px 20px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 6px 0 hsl(270 70% 35%),
        0 12px 30px rgba(168, 85, 247, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 0 hsl(270 70% 35%),
        0 4px 10px rgba(168, 85, 247, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

/* Audio Player Manifesto */
.audio-player-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -2.5rem;
    /* Ajustado para reduzir buraco */
    position: relative;
    z-index: 30;
}

.audio-player {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Reduzido de 1.5rem */
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    /* Indica que Ã© clicÃ¡vel */
    user-select: none;
    /* Evita seleÃ§Ã£o de texto ao clicar */
}

.play-btn {
    width: 60px;
    height: 60px;
    background: hsl(var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.play-btn:hover {
    transform: scale(1.05);
}

.audio-info {
    flex: 1;
    min-width: 0;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: hsl(var(--accent));
    width: 0%;
    transition: width 0.1s linear;
}

/* Accordion */
.accordion-item {
    border: 2px solid hsl(var(--border));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background: hsl(var(--muted));
}

.accordion-trigger {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: hsl(var(--foreground));
}

.accordion-trigger:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

.accordion-content.active {
    max-height: 500px;
    padding: 1rem 1.5rem 1.5rem;
}

.accordion-icon {
    transition: transform 0.3s;
    color: hsl(var(--accent));
}

.accordion-icon.active {
    transform: rotate(180deg);
}

/* Responsive Adjustments - Mobile */
@media (max-width: 767px) {
    section {
        padding: 2rem 0;
    }

    /* Mobile Typography - Reduced sizes */
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.15;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    .text-5xl,
    .text-4xl {
        font-size: 1.75rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
    }

    .text-2xl {
        font-size: 1.25rem !important;
    }

    .text-xl {
        font-size: 1.15rem !important;
    }

    .text-lg {
        font-size: 1.05rem !important;
    }

    /* Mobile Buttons */
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Audio Player Mobile */
    .audio-player {
        flex-direction: row;
        padding: 1rem;
        gap: 0.75rem;
        margin: 0 0.5rem;
        /* Performance Fix: Disable heavy blur on mobile */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(20, 10, 30, 0.95) !important;
        /* Solid fallback */
    }

    .play-btn {
        width: 45px;
        height: 45px;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Footer Mobile - Reduced to 1/3 */
    footer {
        padding: 1.5rem 0 !important;
    }

    footer img {
        width: 60px !important;
        height: auto !important;
    }

    footer p {
        font-size: 0.65rem !important;
    }

    /* Cards & Spacing */
    .card {
        padding: 1rem;
    }

    /* Hero spacing fix */
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .py-16 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .mb-16 {
        margin-bottom: 2rem !important;
    }

    .mb-12 {
        margin-bottom: 1.5rem !important;
    }

    .space-y-8>*+* {
        margin-top: 1.5rem !important;
    }

    .space-y-6>*+* {
        margin-top: 1rem !important;
    }
}

/* Specific Fixes */
.gradient-hero {
    background: linear-gradient(135deg, hsl(270 50% 10%) 0%, hsl(270 40% 15%) 50%, hsl(280 30% 12%) 100%);
}

.gradient-cta {
    background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(270 80% 50%) 100%);
}

i[data-lucide] {
    stroke-width: 2;
}

/* Tablet Breakpoint (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Sticky CTA for Mobile */
.sticky-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, hsl(var(--background)) 0%, hsl(var(--background) / 0.95) 100%);
    border-top: 1px solid hsl(var(--border) / 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.sticky-cta-mobile.visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .sticky-cta-mobile {
        display: none !important;
    }
}

/* Scroll Cue Animation */
.scroll-cue {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.8;
    }
}

/* Testimonials Carousel Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-left {
    animation: scroll-left 30s linear infinite;
}

.animate-scroll-left:hover {
    animation-play-state: paused;
}

.testimonial-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
    border-color: rgba(168, 85, 247, 0.3);
}