/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8b5cf6;
    --primary-pink: #ec4899;
    --secondary-pink: #f472b6;
    --light-pink: #fce7f3;
    --dark-purple: #581c87;
    --cosmic-dark: #0f0f23;
    --space-dark: #1e1b4b;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(236, 72, 153, 0.3);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    padding-top: 80px; /* Espaço para o header fixo */
}

/* Tipografia */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Cores */
.text-primary { color: var(--primary-pink); }
.text-secondary { color: var(--secondary-pink); }
.text-purple { color: var(--primary-purple); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary-pink); }
.bg-secondary { background-color: var(--secondary-pink); }
.bg-purple { background-color: var(--primary-purple); }
.bg-cosmic { background-color: var(--cosmic-dark); }
.bg-space { background-color: var(--space-dark); }
.bg-light-pink { background-color: var(--light-pink); }
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-800 { background-color: var(--gray-800); }

/* Container e Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.container-sm { max-width: 640px; }
.container-md { max-width: 768px; }
.container-lg { max-width: 1024px; }
.container-xl { max-width: 1200px; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Bordas e Sombras */
.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-glow { box-shadow: var(--shadow-glow); }

.border { border: 1px solid var(--gray-200); }
.border-gray-200 { border-color: var(--gray-200); }
.border-pink { border: 1px solid var(--primary-pink); }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-pink) 0%, var(--primary-pink) 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(236, 72, 153, 0.1);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(236, 72, 153, 0.3);
}

.card-cosmic {
    background: linear-gradient(135deg, var(--space-dark) 0%, var(--cosmic-dark) 100%);
    color: var(--white);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.card-cosmic:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-pink);
}

.card-header {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Hero Section - Responsivo com imagens otimizadas */
.hero {
    height: calc(70vh - 120px);
    min-height: 200px;
    background-image: url('/assets/images/hero-cosmic-bg.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--cosmic-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 45px;
    width: 100%;
}

/* Imagem otimizada para mobile */
@media (max-width: 768px) {
    .hero {
        background-image: url('/assets/images/hero-cosmic-mobile-bg.png');
        background-size: cover;
        background-position: center center;
        height: auto !important;
        min-height: 50vh !important;
        margin-top: 0 !important;
        align-items: flex-start;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .hero-logo {
        font-size: clamp(0.9rem, 5vw, 1.3rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Máscara lateral para dissolver a imagem nas cores de fundo */
    background:
        linear-gradient(to right, var(--cosmic-dark) 0%, transparent 20%, transparent 80%, var(--cosmic-dark) 100%),
        rgba(15, 15, 35, 0.1);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-pink), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--secondary-pink), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--primary-purple), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-pink), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--secondary-pink), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    opacity: 0.4;
    animation: sparkle 20s linear infinite;
    z-index: 2;
}

@keyframes sparkle {
    0% { transform: translateX(0); }
    100% { transform: translateX(200px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem 1rem 4rem;
    width: 100%;
    max-width: 1200px;
}

.hero-logo {
    font-size: 3rem;
    font-weight: 300;
    color: var(--white);
    text-shadow: 0 0 30px rgba(236, 72, 153, 0.8);
    margin-bottom: 1rem;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    font-weight: 600;
}

/* Scroll down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
}

/* Seção de Introdução */
.intro-section {
    background: linear-gradient(135deg, var(--cosmic-dark) 0%, var(--space-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 15px 25px, rgba(236, 72, 153, 0.3), transparent),
        radial-gradient(1px 1px at 35px 65px, rgba(244, 114, 182, 0.2), transparent),
        radial-gradient(1px 1px at 85px 35px, rgba(139, 92, 246, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 80px;
    opacity: 0.5;
}

.intro-content {
    position: relative;
    z-index: 1;
}

.intro-section h1 {
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    margin-bottom: 2rem;
}

.text-cosmic-gold {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

/* Efeitos especiais */
.cosmic-text {
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-purple), var(--secondary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-icon {
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-30px,0);
    }
    70% {
        transform: translate3d(0,-15px,0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
    }
}

/* Utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Responsivo */
@media (min-width: 769px) {
    /* Desktop - Mostrar menus normais */
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .navbar-nav {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .text-6xl { font-size: 2.5rem; }
    .text-5xl { font-size: 2rem; }
    .text-4xl { font-size: 1.875rem; }
    
    .py-16 { padding-top: 2rem; padding-bottom: 2rem; }
    .py-12 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    
    .hero {
        height: auto !important;
        min-height: 50vh !important;
        margin-top: 0 !important;
        align-items: flex-start;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .hero-logo {
        font-size: clamp(0.9rem, 5vw, 1.3rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .intro-section {
        padding: 3rem 0;
    }
    
    .navbar {
        height: 70px;
    }
    
    /* Navbar mobile ajustada */
    .navbar .flex {
        justify-content: space-between;
        gap: 1rem;
    }
    
    /* Logo mobile menor */
    .navbar .flex > div:first-child a {
        font-size: clamp(1rem, 5vw, 1.5rem);
    }
    
    /* Mobile - Esconder menu desktop e mostrar botão mobile */
    .navbar-nav {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    /* Dropdown desktop não funciona em mobile */
    .dropdown-menu {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto !important;
        min-height: 50vh !important;
        margin-top: 0 !important;
        background-position: center center;
        align-items: flex-start;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .navbar {
        height: 65px;
    }
    
    /* Logo ainda menor em mobile pequeno */
    .navbar .flex > div:first-child a {
        font-size: clamp(0.8rem, 6vw, 1.1rem);
    }
    
    .hero-logo {
        font-size: clamp(0.8rem, 6vw, 1.1rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem 3rem;
    }
}

/* Navbar - Corrigida */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    height: 80px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom-color: rgba(236, 72, 153, 0.2);
}

/* Flexbox da navbar ajustado */
.navbar .flex {
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}

/* Logo do site - tamanho responsivo */
.navbar .flex > div:first-child a {
    font-family: "MV Boli", "Brush Script MT", cursive, sans-serif;
    font-size: clamp(0.8rem, 6vw, 1.5rem) !important;
    font-weight: normal;
    margin-left: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    margin-left: 0;
}

.navbar-nav > li {
    position: relative;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-pink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Styles - Completamente refeito */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0.75rem 0;
    margin-top: 0.25rem;
    border: 1px solid var(--gray-200);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: var(--light-pink);
    color: var(--primary-pink);
}

/* Mobile Menu - Simplificado */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: var(--transition);
    display: none;
}

.mobile-menu-btn:hover {
    background-color: var(--gray-100);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    border-top: 1px solid var(--gray-200);
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu ul {
    padding: 1rem 0;
    margin: 0;
    list-style: none;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.mobile-menu .nav-link:hover {
    background-color: var(--gray-50);
    color: var(--primary-pink);
}

.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

/* Ajustes do Header no Mobile */
@media (max-width: 768px) {
    .navbar .flex {
        gap: 1rem;
    }
    .navbar .flex > div:first-child a {
        white-space: nowrap;
    }
}
@media (max-width: 480px) {
    .navbar .flex {
        gap: 0.5rem;
    }
    .navbar .flex > div:first-child a {
        white-space: nowrap;
    }
}

/* Imagens responsivas com largura máxima de 400px */
.img-responsive-400 {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
} 

/* Imagens responsivas com largura máxima de 200px */
.img-responsive-200 {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
} 

/* Imagens responsivas com largura máxima de 100px */
.img-responsive-100 {
    max-width: 100px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
} 