/* =============================================
   UNNE - LANDING PAGE (WIREFRAME EXACT)
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores do Wireframe */
    --primary-blue: #258ac2;
    --dark-blue: #201c4c;
    --light-blue: #c2e6f1;
    --teal-bg: #6da3b5;
    
    /* Cores Neutras */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Espaçamentos */
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transições */
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
    width: auto;
}

/* ===== NAV-LINKS (Desktop) ===== */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 300;
    font-size: 16px;
    transition: color var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* ===== AUTH BUTTONS (Desktop - inline com os nav-links) ===== */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.btn-login {
    color: var(--dark-blue);
    background: transparent;
    border: none;
    padding: 0.625rem 1.5rem;
    font-weight: 300;
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-login:hover {
    color: var(--primary-blue);
}

.btn-register {
    background: var(--dark-blue);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 300;
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
}

/* ===== HERO SECTION (WIREFRAME EXACT) ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Images/african-american-woman-scientist-holding-test-tube-laboratory.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xl);
}

.hero-card {
    background: rgba(167, 223, 250, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    max-width: 550px;
}

.hero-title {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.hero-title b {
    font-weight: 700;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 400;
    font-size: 18px;
    transition: all var(--transition-base);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-decoration {
    display: none;
}

.scroll-indicator {
    display: none;
}

/* ===== SEÇÃO DOCUMENTOS ===== */
.documentos-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.documentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.documento-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.documento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-sm);
}

.card-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
    text-align: left;
}

/* ===== SEÇÃO VANTAGENS ===== */
.vantagens-section {
    padding: var(--spacing-2xl) 0;
    background: var(--light-blue);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-2xl);
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.vantagem-card {
    position: relative;
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

    .vantagem-card:nth-child(1) {
        background-image: url('../Images/freelancer-replying-emails-laptop.jpg');
    }

    .vantagem-card:nth-child(2) {
        background-image: url('../Images/young-student-learning-library.jpg');
    }

    .vantagem-card:nth-child(3) {
        background-image: url('../Images/portrait-scientist.jpg');
    }

.vantagem-card:hover {
    transform: scale(1.02);
}

.vantagem-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background: rgba(37, 57, 110, 0.7);
}

.vantagem-content {
    position: relative;
    z-index: 10;
    padding:4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--white);
}

.vantagem-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
}

.vantagem-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== SEÇÃO ESTATÍSTICAS ===== */
.estatisticas-section {
    padding: var(--spacing-2xl) 0;
    background-image: url('../Images/dc516fa027863fd55f97ba66323d982c.jpg');
     background-size: cover;
    background-position: center;
}

.estatisticas-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    color: var(--white);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    font-weight: 400;
    margin-top: 0.5rem;
}

.stat-divider {
    font-size: 36px;
    font-weight: 300;
    opacity: 0.6;
}

/* ===== SEÇÃO LÍNGUA DOS DOCUMENTOS (WIREFRAME EXACT) ===== */
.lingua-section {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.lingua-card {
    display: grid;
    gap: 0;
    align-items: stretch;
    /*background: rgba(12, 3, 113, 0.90);*/
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background-image: url('../Images/group-young-people-sitting-conference-together.jpg');
     background-size: cover;
    background-position: center;
}
.lingua-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(37, 57, 110, 0.7);
}
.lingua-image {
    height: 100%;
    min-height: 450px;
    background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=800');
    background-size: cover;
    background-position: center;
    position: relative;
}

.lingua-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 28, 76, 0.7);
}

.lingua-content {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lingua-title {
    font-size: 34px;
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-align: center;
    z-index:2;
}

.lingua-description {
    font-size: 20px;
    font-weight: 300;
    color:rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    z-index:2;
}

.lingua-content .btn-cta {
    align-self: flex-start;
}

/* ===== CTA FINAL (WIREFRAME EXACT) ===== */
.cta-final {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.cta-content {
    text-align: center;
    padding: 4rem 3rem;
    background: #fff;
}

.cta-title {
    font-size: 38px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.btn-cta-large {
    display: inline-block;
    padding: 1rem 3rem;
    background: #258ac2;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 300;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: #9ca3af;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.logo-u {
    color: var(--primary-blue);
}

.logo-nne {
    color: var(--white);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-links,
.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-contacts li {
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #374151;
    color: #9ca3af;
    border-radius: 0.5rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--spacing-lg);
    text-align: center;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ==============================================
   RESPONSIVIDADE COMPLETA
   ============================================== */

/* Tablets (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .documentos-grid,
    .vantagens-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-card {
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lingua-card {
        grid-template-columns: 1fr;
    }
    
    .lingua-image {
        min-height: 300px;
        order: -1;
    }
    
    .lingua-content {
        padding: 2.5rem 2rem;
    }
    
    .lingua-title {
        font-size: 28px;
    }
    
    .lingua-description {
        font-size: 16px;
    }
    
    .cta-content {
        padding: 3rem 2rem;
    }
    
    .cta-title {
        font-size: 28px;
    }
}

/* ===== Mobile (768px e abaixo) - MENU TOGGLE CORRIGIDO ===== */
@media (max-width: 768px) {
    /* Logo menor */
    .logo img {
        height: 50px;
    }
    
    /* ===== MENU MOBILE - CORREÇÃO PRINCIPAL ===== */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 16px;
        border-bottom: 1px solid var(--gray-100);
        display: block;
    }
    
    /* ===== AUTH BUTTONS DENTRO DO MENU MOBILE ===== */
    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 2rem;
        border-top: 2px solid var(--gray-100);
        margin-left: 0; /* Remove o margin-left do desktop */
        margin-top: auto;
    }
    
    .btn-login,
    .btn-register {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 16px;
        display: block;
    }
    
    /* Mostrar toggle mobile */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 28px;
        height: 3px;
        background: var(--gray-800);
        border-radius: 3px;
        transition: all 0.3s ease;
        display: block;
    }
    
    /* Animação do X quando menu aberto */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 20px;
        margin-bottom: 1.5rem;
    }
    
    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }
    
    /* Documentos Section */
    .documentos-section {
        padding: 3rem 0;
    }
    
    .documentos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 15px;
    }
    
    /* Vantagens Section */
    .vantagens-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 2rem;
    }
    
    .vantagens-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vantagem-card {
        height: 300px;
    }
    
    .vantagem-title {
        font-size: 20px;
    }
    
    .vantagem-description {
        font-size: 15px;
    }
    
    /* Estatísticas */
    .estatisticas-section {
        padding: 3rem 0;
    }
    
    .estatisticas-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    /* Língua Section */
    .lingua-section {
        padding: 3rem 0;
    }
    
    .lingua-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    
    .lingua-content {
        padding: 2rem 1.5rem;
    }
    
    .lingua-title {
        font-size: 24px;
        margin-bottom: 1rem;
    }
    
    .lingua-description {
        font-size: 16px;
        margin-bottom: 1.5rem;
    }
    
    /* CTA Final */
    .cta-final {
        padding: 3rem 0;
    }
    
    .cta-content {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }
    
    .btn-cta-large {
        padding: 0.875rem 2rem;
        font-size: 16px;
        width: 100%;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-description,
    .footer-links a,
    .footer-contacts li {
        font-size: 14px;
    }
    
    /* Botão voltar ao topo */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* Mobile Pequeno (480px e abaixo) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .btn-cta {
        padding: 0.75rem 1.5rem;
        font-size: 15px;
    }
    
    .documentos-section,
    .vantagens-section,
    .estatisticas-section,
    .lingua-section,
    .cta-final {
        padding: 2.5rem 0;
    }
    
    .documento-card,
    .vantagem-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .vantagem-card {
        height: 350px;
    }
    
    .vantagem-title {
        font-size: 18px;
    }
    
    .vantagem-description {
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .lingua-content {
        padding: 1.5rem 1rem;
    }
    
    .lingua-title {
        font-size: 20px;
    }
    
    .lingua-description {
        font-size: 15px;
    }
    
    .cta-content {
        padding: 2rem 1rem;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .btn-cta-large {
        padding: 0.75rem 1.5rem;
        font-size: 15px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .nav-links {
        height: 100vh;
    }
}

/* Fix para scroll quando menu aberto */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
