/* --- RESET E VARIÁVEIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-color: #0b0c10;
    --bg-darker: #05070b;
    --card-bg: #14161f;
    --border-subtle: #1f222f;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-neon: #00ffcc;
    --accent-purple: #7000ff;
    --accent-gold: #ffc107;
    --accent-blue: #0077ff;
    --gradient-primary: linear-gradient(135deg, #00ffcc 0%, #7000ff 100%);
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(112, 0, 255, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- CABEÇALHO (TRAVA DE SEGURANÇA MANTIDA) --- */
.site-header, header {
    height: 80px;
    width: 100%;
    border-bottom: 1px solid #1e293b;
    background-color: rgba(5, 7, 11, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container, header .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-rs {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -2px;
    display: flex;
    gap: 0px;
}

.logo-rs span {
    background: linear-gradient(135deg, #00ffcc 0%, #7000ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

.logo-rs span.mirrored {
    transform: scaleX(-1);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(0, 255, 204, 0.08);
    color: #00ffcc;
    border: 1px solid rgba(0, 255, 204, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-voltar:hover {
    background: #00ffcc;
    color: #05070b;
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.4);
    transform: translateY(-1px);
}

/* --- CONTEÚDO PRINCIPAL --- */
main {
    flex: 1;
    padding: 72px 0 100px 0;
}

/* --- HERO --- */
.about-hero {
    text-align: center;
    margin-bottom: 88px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.25);
    color: var(--accent-neon);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.about-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.about-hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    color: var(--text-muted);
    font-size: 1.18rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.75;
}

/* --- TAGS DE SEÇÃO --- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-neon);
    margin-bottom: 12px;
}

/* --- SEÇÃO DE MISSÃO / PROPÓSITO --- */
.section-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 88px;
}

.text-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.text-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 18px;
    line-height: 1.8;
}

.text-content p strong {
    color: var(--text-main);
    font-weight: 600;
}

.mission-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.highlight-pill i {
    color: var(--accent-neon);
    font-size: 1.1rem;
}

.mission-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background-color: var(--card-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    aspect-ratio: 4 / 3;
}

.mission-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0) 60%, rgba(11, 12, 16, 0.55) 100%);
    pointer-events: none;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mission-image:hover img {
    transform: scale(1.03);
}

/* --- SEÇÃO DO FUNDADOR / CRIADOR --- */
.founder-box {
    background: linear-gradient(145deg, #14161f 0%, #10121a 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 44px;
    margin-bottom: 96px;
    display: flex;
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.founder-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.founder-box:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 204, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(112, 0, 255, 0.12);
}

.founder-avatar-wrapper {
    flex-shrink: 0;
    position: relative;
    padding: 4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 28px rgba(0, 255, 204, 0.22), 0 0 40px rgba(112, 0, 255, 0.25);
}

.founder-avatar {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background-color: var(--bg-darker);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--card-bg);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.founder-avatar-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 204, 0.15), rgba(112, 0, 255, 0.25));
    color: var(--accent-neon);
    font-size: 3.8rem;
}

.founder-content {
    flex: 1;
}

.founder-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.founder-name {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.founder-role {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-neon);
    background-color: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.25);
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.founder-bio {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.founder-bio strong {
    color: var(--text-main);
    font-weight: 600;
}

/* --- SEÇÃO DE PILARES / VALORES --- */
.values-section {
    text-align: center;
    margin-bottom: 96px;
}

.values-header {
    max-width: 640px;
    margin: 0 auto 48px auto;
}

.values-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.values-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

.value-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(112, 0, 255, 0.6);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.value-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.value-icon-box.neon {
    background-color: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.25);
    color: var(--accent-neon);
}

.value-icon-box.blue {
    background-color: rgba(0, 119, 255, 0.1);
    border: 1px solid rgba(0, 119, 255, 0.25);
    color: var(--accent-blue);
}

.value-icon-box.gold {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.25);
    color: var(--accent-gold);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* --- CTA FINAL --- */
.cta-section {
    background: linear-gradient(135deg, #14161f 0%, rgba(112, 0, 255, 0.14) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-darker);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 204, 0.25);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.06);
}

/* --- RODAPÉ (TRAVA DE SEGURANÇA MANTIDA) --- */
.site-footer, footer {
    border-top: 1px solid #1e293b;
    background-color: #0b0f19;
    padding: 44px 0 28px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* LINK DA PÁGINA ATIVA DESTACADO EM VERDE/CIANO NEON */
.footer-links a.active,
.footer-links a[aria-current="page"] {
    color: #00ffcc !important;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111827;
    border: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    color: #00ffcc;
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.08);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
}

.footer-update-note {
    color: #475569;
    font-size: 0.75rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    main {
        padding: 48px 0 72px 0;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .mission-highlights {
        justify-content: center;
    }

    .founder-box {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .founder-box::before {
        width: 100%;
        height: 4px;
    }

    .founder-header {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }

    .value-card {
        text-align: center;
        align-items: center;
    }

    .cta-section {
        padding: 44px 24px;
    }
}

/* ==========================================================================
   DROPDOWN DE INTERNACIONALIZAÇÃO (i18n) E NAVEGAÇÃO NO CABEÇALHO
   ========================================================================== */
nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin-left: 32px;
    align-items: center;
}

.lang-selector-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-lang-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main, #f3f4f6);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    user-select: none;
}

.btn-lang-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-neon, #00ffcc);
    color: #ffffff;
}

.btn-lang-trigger i.ph-globe {
    font-size: 1.15rem;
    color: var(--accent-neon, #00ffcc);
}

.btn-lang-trigger i.ph-caret-down {
    font-size: 0.8rem;
    color: var(--text-muted, #9ca3af);
    transition: transform 0.2s ease;
}

.dropdown-idiomas-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 17, 26, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(0, 255, 204, 0.3);
    border-radius: 12px;
    padding: 6px;
    min-width: 175px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 255, 204, 0.15);
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
    animation: fadeInDropdown 0.18s ease-out;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-menu-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.lang-menu-option:hover {
    background: rgba(0, 255, 204, 0.12);
    color: #ffffff;
}

.lang-menu-option.active {
    background: rgba(0, 255, 204, 0.18);
    color: var(--accent-neon, #00ffcc);
    font-weight: 800;
}

.btn-planos {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.btn-planos:hover {
    color: var(--text-main);
}

.btn-register {
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid var(--accent-neon);
    color: var(--accent-neon);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-register:hover {
    background: var(--accent-neon);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0, 255, 204, 0.25);
}

.btn-entrar {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    text-decoration: none;
}

.btn-entrar:hover {
    color: var(--accent-neon);
}

@media (max-width: 768px) {
    .btn-planos {
        display: none !important;
    }
    .btn-register {
        padding: 6px 12px;
        font-size: 0.82rem;
    }
    nav ul {
        margin-left: 12px;
    }
    .header-actions {
        gap: 12px;
    }
}
