/* =============================================================
   GLOBAL.CSS - Estilos Globais do Site TIexames
   Versão: 1.0 | Janeiro 2026
   
   Este arquivo contém TODOS os estilos comuns a todas as páginas:
   - Variáveis CSS
   - Reset e Base
   - Header e Navegação Desktop
   - Menu Mobile
   - Footer
   - WhatsApp Flutuante
   - Animações globais
   - Media queries para componentes globais
   ============================================================= */

/* =============================================================
   VARIÁVEIS GLOBAIS
   ============================================================= */
:root {
    /* ----- CORES PRIMÁRIAS ----- */
    --primary: #5371F5;
    --primary-hover: #4862DC;
    --primary-light: #7B93F7;
    
    /* ----- GRADIENTES ----- */
    --gradient-start: #5371F5;
    --gradient-end: #4862DC;
    --gradient: linear-gradient(135deg, #5371F5 0%, #4862DC 100%);
    
    /* ----- CORES DE DESTAQUE ----- */
    --accent: #5371F5;
    --accent-light: rgba(83, 113, 245, 0.1);
    --accent-medium: rgba(83, 113, 245, 0.15);
    
    /* ----- CORES SECUNDÁRIAS (tons da logo) ----- */
    --secondary: #29528C;
    --secondary-dark: #2B487A;
    
    /* ----- VERDE PARA BADGES/DESTAQUES ----- */
    --green-accent: #10b981;
    
    /* ----- CORES ESCURAS (fundo hero/header) ----- */
    --dark: #061E49;
    --dark-blue: #04378F;
    --navy: #061E49;
    --hero-start: #061E49;
    --hero-end: #04378F;
    --blue-vivid: #04378F;
    
    /* ----- CORES DE TEXTO ----- */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* ----- CORES DE FUNDO ----- */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    
    /* ----- OUTRAS CORES ----- */
    --border: #e2e8f0;
    --gold: #fbbf24;
    
    /* ----- SOMBRAS ----- */
    --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-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* ----- BORDER RADIUS ----- */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* ----- TRANSIÇÕES ----- */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
    max-width: 100vw;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================================
   ESTILOS COMUNS DE SEÇÕES
   ============================================================= */
.section {
    padding: 48px 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-badge svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title-bar {
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-title-bar.left {
    margin: 20px 0 0;
}

.section-description {
    font-size: 1.063rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
}

.text-center {
    text-align: center;
}

.text-center .section-description {
    margin: 0 auto;
}

/* =============================================================
   HEADER / NAVEGAÇÃO DESKTOP
   ============================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #061E49;
    transition: var(--transition-slow);
}

.header.scrolled {
    background: #061E49;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.938rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
	line-height: 1.2;  
}

.nav-link:hover {
    color: var(--bg-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.nav-item {
    position: relative;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    padding: 28px 32px;
    min-width: 900px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--border);
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.dropdown-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.dropdown-section-icon {
    width: 36px;
    height: 36px;
    background: rgba(83, 113, 245, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-section-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.dropdown-section h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-links a {
    font-size: 0.813rem;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: var(--transition);
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.dropdown-links a:hover {
    color: var(--primary);
}

.dropdown-badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: auto;
}

.dropdown-badge.formacao {
    background: rgba(83, 113, 245, 0.1);
    color: var(--primary);
    border: 1px solid rgba(83, 113, 245, 0.3);
}

.dropdown-badge.novo {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Simple Dropdown */
.simple-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 16px;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.nav-item:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.simple-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.813rem;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.simple-dropdown a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.simple-dropdown a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-whatsapp {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header-whatsapp:hover {
    background: #25D366;
    transform: scale(1.1);
}

.header-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: var(--bg-white);
}

.header-whatsapp-tooltip {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.813rem;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
}

.header-whatsapp-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 16px;
    border: 8px solid transparent;
    border-bottom-color: var(--bg-white);
    border-top: 0;
}

.header-whatsapp-tooltip strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-whatsapp-tooltip span {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.header-whatsapp:hover .header-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 16px);
}

.btn-area-aluno {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
	line-height: 1.2;  
    text-align: center;  
}

.btn-area-aluno:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 113, 245, 0.4);
}

.btn-area-aluno svg {
    width: 18px;
    height: 18px;
}

/* =============================================================
   MENU MOBILE
   ============================================================= */
.mobile-login-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.mobile-login-btn svg {
    width: 20px;
    height: 20px;
    color: var(--bg-white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 999999;
    position: relative;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--bg-white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation - Full Screen */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: #061E49;
    z-index: 99999;
    padding: 100px 24px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    padding: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

/* Accordion styles */
.mobile-accordion {
    border-radius: var(--radius);
    overflow: hidden;
}

.mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.mobile-accordion-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.mobile-accordion-trigger svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mobile-accordion.open > .mobile-accordion-trigger {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
}

.mobile-accordion.open > .mobile-accordion-trigger svg {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.15);
}

.mobile-accordion.open > .mobile-accordion-content {
    max-height: 2000px;
}

.mobile-accordion-inner {
    padding: 8px 12px 12px;
}

/* Links diretos dentro do accordion (Pós/MBAs) */
.mobile-accordion-link {
    display: block;
    padding: 12px 14px;
    color: var(--bg-white);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-accordion-link:hover {
    background: rgba(255, 255, 255, 0.08);
    padding-left: 18px;
}

/* Link de login no menu mobile */
.mobile-login-link {
    display: flex !important;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sub-accordion (categorias dentro de Treinamentos) */
.mobile-sub-accordion {
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.mobile-sub-accordion:last-child {
    margin-bottom: 0;
}

.mobile-sub-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--primary-light);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.mobile-sub-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-sub-trigger svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.mobile-sub-accordion.open > .mobile-sub-trigger {
    background: rgba(83, 113, 245, 0.15);
    color: var(--bg-white);
}

.mobile-sub-accordion.open > .mobile-sub-trigger svg {
    transform: rotate(180deg);
    opacity: 1;
}

.mobile-sub-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.mobile-sub-accordion.open > .mobile-sub-content {
    max-height: 500px;
}

.mobile-sub-links {
    padding: 8px 0 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-sub-links a {
    display: block;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.mobile-sub-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    border-left-color: var(--primary);
}

/* Links diretos do Pós/MBAs */
.mobile-direct-links {
    padding: 8px 0;
}

.mobile-direct-links a {
    display: block;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-direct-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    padding-left: 18px;
}

.mobile-nav .btn-area-aluno {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
    background: #191E44;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-area {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo-area img {
    height: 50px;
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bg-white);
    line-height: 1;
}

.footer-brand-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    margin-top: 4px;
}

.footer-tagline {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-social-brand a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    transition: var(--transition);
}

.footer-social-brand a:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-social-brand svg {
    width: 20px;
    height: 20px;
}

.footer-column-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: var(--primary);
}

.footer-contact-section {
    display: flex;
    flex-direction: column;
}

.footer-cta-link {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    transition: var(--transition);
}

.footer-cta-link:hover {
    color: var(--primary);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    color: var(--bg-white);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-text {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact-text a:hover {
    color: var(--primary);
}

.footer-legal {
    background: #1E244B;
    padding: 32px 0;
}

.legal-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
}

.footer-bottom-wrapper {
    background: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.813rem;
    color: #1e293b;
}

.footer-policies {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-policies a {
    font-size: 0.813rem;
    color: #475569;
    transition: var(--transition);
}

.footer-policies a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* =============================================================
   WHATSAPP FLUTUANTE
   ============================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.813rem;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--dark);
    border-right: 0;
}

.whatsapp-tooltip strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.whatsapp-tooltip span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* =============================================================
   ANIMAÇÕES GLOBAIS
   ============================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* =============================================================
   MEDIA QUERIES GLOBAIS
   ============================================================= */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .header .btn-area-aluno {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-login-btn {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-area {
        display: flex;
        justify-content: center;
    }

    .footer-social-brand {
        align-items: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-contact-list {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}
