/* ========================================
   Gerente Diego / Mrtnx - Main Stylesheet
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e4e4e7;
    background-color: #09090b;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

em {
    font-style: italic;
    color: #a1a1aa;
}

/* --- Container --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 0;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.header.scrolled {
    background: rgba(9, 9, 11, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Logo */
.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Navigation */
.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #a1a1aa;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #ffffff;
}

.nav a:hover::after {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    100% { transform: translate(2%, -2%) scale(1.05); opacity: 1; }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Sections (General)
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
    margin-top: 16px;
}

.section-text {
    font-size: 1.05rem;
    color: #a1a1aa;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
}

.section-text:last-child {
    margin-bottom: 0;
}

.section-text em {
    color: #c4b5fd;
    font-weight: 500;
}

/* ========================================
   Valores (Values Grid)
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.value-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 12px;
    color: #8b5cf6;
    position: relative;
    z-index: 1;
}

.value-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.value-text {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ========================================
   Quem Somos (About)
   ======================================== */
.sobre .section-text strong {
    color: #a78bfa;
}

/* ========================================
   Privacidade (Privacy)
   ======================================== */
.privacy-content {
    margin-top: 16px;
}

.privacy-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.privacy-item:hover {
    border-color: rgba(99, 102, 241, 0.15);
}

.privacy-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.privacy-item p {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-item p:last-child {
    margin-bottom: 0;
}

.privacy-item ul {
    padding-left: 0;
    margin-top: 8px;
}

.privacy-item ul li {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.7;
    padding: 6px 0 6px 24px;
    position: relative;
}

.privacy-item ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
}

.privacy-item ul li strong {
    color: #e4e4e7;
}

.privacy-update {
    font-size: 0.85rem !important;
    color: #71717a !important;
    font-style: italic;
    margin-top: 8px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 0 32px;
}

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

.footer-content p {
    font-size: 0.85rem;
    color: #71717a;
    line-height: 1.8;
    margin-bottom: 6px;
}

.footer-content p:first-child {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-content p:first-child strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

.footer-tagline {
    color: #a1a1aa !important;
    font-weight: 500;
    font-size: 0.95rem !important;
    margin-top: 20px !important;
    margin-bottom: 8px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content p:last-child {
    color: #52525b;
    font-size: 0.8rem;
    margin-top: 12px;
}

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* ========================================
   Selection
   ======================================== */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 16px 24px;
        gap: 12px;
    }

    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .hero {
        min-height: 80vh;
        padding: 120px 20px 60px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 24px 20px;
    }

    .privacy-item {
        padding: 20px 20px;
    }

    .footer {
        padding: 32px 0 24px;
    }

    .footer-content p {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.25rem;
    }

    .nav {
        gap: 14px;
    }

    .nav a {
        font-size: 0.75rem;
    }

    .section-text {
        font-size: 0.95rem;
    }
}
