/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 🎨 Paleta Pantone 306 - Azul Ciano Médico Profissional */
    --primary-color: #00B5E2;        /* Pantone 306 C - Azul Ciano */
    --primary-dark: #0096BF;         /* Pantone 306 Escuro */
    --primary-light: #66D4F1;        /* Pantone 306 Claro */
    --secondary-color: #4DD0E1;      /* Turquesa Água - Confiança */
    --accent-color: #26A69A;         /* Verde Água Médico - Saúde */
    --accent-gold: #FFB74D;          /* Laranja Suave - Acolhimento */
    --accent-light: #E0F7FA;         /* Azul Água Claro */
    
    /* Textos Suaves e Elegantes */
    --text-primary: #2c3e50;         /* Cinza Ardósia Mais Escuro */
    --text-secondary: #546e7a;       /* Cinza Azulado */
    --text-light: #90a4ae;           /* Cinza Azul Claro */
    
    /* Backgrounds com Toque Ciano */
    --bg-primary: #ffffff;           /* Branco Puro */
    --bg-secondary: #f0f9fc;         /* Azul Ciano Muito Claro */
    --bg-accent: #e6f7fb;            /* Azul Ciano Claro */
    --bg-dark: #d9f2f8;              /* Azul Ciano Suave */
    
    /* Bordas Ciano Suaves */
    --border-color: #b3e5f3;         /* Borda Azul Ciano Suave */
    --border-light: #e0f4f9;         /* Borda Ciano Clara */
    
    /* Sombras com Toque Ciano */
    --shadow-sm: 0 1px 2px 0 rgba(0, 181, 226, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 181, 226, 0.1), 0 2px 4px -1px rgba(0, 181, 226, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 181, 226, 0.12), 0 4px 6px -2px rgba(0, 181, 226, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 181, 226, 0.15), 0 10px 10px -5px rgba(0, 181, 226, 0.06);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 181, 226, 0.25);
    
    /* Gradientes com Pantone 306 */
    --gradient-primary: linear-gradient(135deg, #00B5E2 0%, #4DD0E1 100%);
    --gradient-secondary: linear-gradient(135deg, #66D4F1 0%, #00B5E2 100%);
    --gradient-accent: linear-gradient(135deg, #26A69A 0%, #4DD0E1 100%);
    --gradient-premium: linear-gradient(135deg, #00B5E2 0%, #0096BF 100%);
    --gradient-fresh: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
    
    /* Tamanhos Responsivos */
    --text-xs: clamp(0.75rem, 2vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2.5vw, 1rem);
    --text-base: clamp(1rem, 3vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3.5vw, 1.5rem);
    --text-xl: clamp(1.5rem, 4vw, 2rem);
    --text-2xl: clamp(2rem, 5vw, 3rem);
    
    /* Espaçamentos Responsivos */
    --space-xs: clamp(0.25rem, 1vw, 0.5rem);
    --space-sm: clamp(0.5rem, 2vw, 1rem);
    --space-md: clamp(1rem, 3vw, 1.5rem);
    --space-lg: clamp(1.5rem, 4vw, 2rem);
    --space-xl: clamp(2rem, 5vw, 3rem);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-brand img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.nav-brand i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #26A69A, #4DD0E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(244, 167, 185, 0.3));
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFB74D;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    max-width: 300px;
    box-shadow: var(--shadow-xl);
}

.hero-card i {
    font-size: 3rem;
    color: #FFB74D;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
    text-shadow: 0 1px 3px rgba(252, 211, 77, 0.5);
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vagas-limitadas {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

/* Buttons */
/* ==================== SISTEMA DE BOTÕES UNIFICADO ==================== */

/* Base Button - Totalmente Responsivo */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: clamp(8px, 2vw, 12px);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    line-height: 1.2;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Acessibilidade - área de toque mínima */
    white-space: nowrap;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 181, 226, 0.2);
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Primary Button - Ação principal */
.btn-primary {
    background: linear-gradient(135deg, #00B5E2 0%, #4DD0E1 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 181, 226, 0.4),
                0 2px 6px rgba(0, 181, 226, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0096BF 0%, #d9f2f8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 181, 226, 0.5),
                0 4px 12px rgba(0, 181, 226, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary i,
.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Secondary Button - Ação secundária */
.btn-secondary {
    background: white;
    color: #00B5E2;
    border-color: white;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3),
                0 2px 6px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: #eff6ff;
    color: #0096BF;
    border-color: #00B5E2;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4),
                0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Outline Button - Ação terciária */
.btn-outline {
    background: transparent;
    color: #00B5E2;
    border-color: #00B5E2;
    box-shadow: none;
}

.btn-outline:hover {
    background: #1e40af;
    color: white;
    border-color: #00B5E2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 181, 226, 0.3),
                0 3px 10px rgba(0, 181, 226, 0.2);
}

/* Outline Light - Para fundos escuros */
.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: white;
    color: #10b981;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3),
                0 3px 10px rgba(255, 255, 255, 0.2);
}

/* Tamanhos de Botão Responsivos */
.btn-small {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    border-radius: clamp(6px, 1.5vw, 8px);
    min-height: 36px;
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
    border-radius: clamp(10px, 2.5vw, 14px);
    min-height: 52px;
}

.btn-full {
    width: 100%;
    display: flex;
}

/* Responsividade Mobile para Botões */
@media (max-width: 640px) {
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: var(--space-sm) var(--space-lg);
        font-size: 1rem;
    }
}

/* Variantes de Estilo */
.btn-icon {
    padding: 0.75rem;
    width: auto;
    aspect-ratio: 1;
}

.btn-icon-left i {
    margin-right: 0.5rem;
}

.btn-icon-right i {
    margin-left: 0.5rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-sm);
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cursos Section */
.cursos {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .cursos-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (min-width: 1024px) {
    .cursos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.curso-card {
    background: var(--bg-primary);
    border-radius: clamp(12px, 2vw, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.curso-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.curso-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de overlay animado no hover do card */
.curso-card:hover .curso-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 181, 226, 0.1) 0%, rgba(146, 168, 200, 0.1) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

/* Efeito de zoom na imagem de fundo no hover */
.curso-card-header {
    background-size: cover !important;
    background-position: center !important;
    transition: all 0.5s ease;
}

.curso-card:hover .curso-card-header {
    background-size: 110% !important;
}

/* Badge responsivo */
.curso-card-header .curso-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Sombra forte nos ícones para visibilidade sobre imagem limpa */
.curso-card-header i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) !important;
}

/* Overlay escuro sutil apenas para legibilidade do conteúdo */
.curso-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Garantir que conteúdo fique acima do overlay */
.curso-card-header > div {
    position: relative;
    z-index: 2;
}

.curso-card-content {
    padding: 2rem;
}

.curso-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.curso-icon i {
    font-size: 1.5rem;
    color: white;
}

.curso-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.curso-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.curso-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.curso-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.curso-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.curso-preco {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sobre Section */
.sobre {
    padding: 5rem 0;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.sobre-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Depoimentos Section */
.depoimentos {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.depoimento-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.depoimento-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.depoimento-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.depoimento-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.depoimento-rating {
    color: var(--accent-color);
}

.depoimento-rating i {
    font-size: 0.875rem;
}

.depoimento-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* Contato Section */
.contato {
    padding: 5rem 0;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contato-dados {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contato-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contato-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contato-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand i {
    font-size: 1.75rem;
    color: var(--accent-color);
}

.footer-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    padding: 6px 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.footer-brand img:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
/* ==================== BREAKPOINTS ==================== */
/* Desktop: 1200px+ (padrão) */
/* Laptop: 1024px - 1199px */
/* Tablet: 768px - 1023px */
/* Mobile Large: 480px - 767px */
/* Mobile Small: < 480px */

/* Laptop (1024px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .cursos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* === CURSO CARDS - Breakpoints Específicos === */

/* Desktop Grande (1440px+) - 3 colunas espaçadas */
@media (min-width: 1440px) {
    .cursos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem !important;
        max-width: 1400px;
    }
    
    .curso-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Desktop Médio (1024px - 1439px) - 3 colunas */
@media (min-width: 1024px) and (max-width: 1439px) {
    .cursos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem !important;
    }
}

/* Tablet Grande (768px - 1023px) - 2 colunas */
@media (min-width: 768px) and (max-width: 1023px) {
    .cursos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem !important;
    }
    
    .curso-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Tablet Pequeno (640px - 767px) - 2 colunas compactas */
@media (min-width: 640px) and (max-width: 767px) {
    .cursos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem !important;
    }
    
    .curso-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Mobile Grande (480px - 639px) - 1 coluna */
@media (min-width: 480px) and (max-width: 639px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
}

/* Mobile Médio (375px - 479px) - 1 coluna otimizada */
@media (min-width: 375px) and (max-width: 479px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem !important;
        padding: 0 0.75rem !important;
    }
}

/* Mobile Pequeno (320px - 374px) - 1 coluna compacta */
@media (max-width: 374px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1rem !important;
        padding: 0 0.5rem !important;
    }
    
    .section-header {
        padding: 0 0.5rem !important;
    }
}

/* Hover effects apenas em dispositivos com hover */
@media (hover: hover) {
    .curso-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -10px rgba(0, 181, 226, 0.3);
    }
}

/* ==================== BOTÃO FLUTUANTE WHATSAPP ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulse-whatsapp 2s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5), 0 12px 32px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2FE370 0%, #15A085 100%);
}

.whatsapp-float i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6), 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.2);
    }
}

/* Tooltip do WhatsApp */
.whatsapp-float::before {
    content: 'Fale Conosco!';
    position: absolute;
    right: 70px;
    background: #25D366;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 62px;
    border: 8px solid transparent;
    border-left-color: #25D366;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
}

/* Animação de notificação */
@keyframes notification-ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ff4444;
    border-radius: 50%;
    border: 3px solid white;
    animation: notification-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Responsivo */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float::before {
        font-size: 12px;
        padding: 8px 12px;
        right: 65px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float::before {
        display: none;
    }
    
    .whatsapp-float::after {
        display: none;
    }
}

/* === FIM CURSO CARDS === */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .nav-brand img {
        height: 38px;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        order: -1;
    }
    
    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cursos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .depoimentos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Mobile Large (480px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-brand {
        font-size: 1.125rem;
    }
    
    .nav-brand img {
        height: 32px;
    }
    
    .nav-menu {
        top: 64px;
        height: calc(100vh - 64px);
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cursos,
    .sobre,
    .depoimentos,
    .contato {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .cursos-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .curso-card,
    .depoimento-card {
        padding: 1.5rem;
    }
    
    .curso-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .curso-footer .btn {
        width: 100%;
    }
    
    .feature {
        flex-direction: row;
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-small {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
}

/* Mobile Small (< 480px) */
@media (max-width: 479px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-brand img {
        height: 28px;
    }
    
    .nav-toggle span {
        width: 22px;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .cursos,
    .sobre,
    .depoimentos,
    .contato {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .curso-card,
    .depoimento-card {
        padding: 1.25rem;
    }
    
    /* Ajuste dos headers com imagem em mobile */
    .curso-card-header {
        min-height: 220px !important;
    }
    
    .curso-card-header i {
        font-size: 3rem !important;
    }
    
    .curso-card-header .curso-badge {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .curso-icon {
        width: 50px;
        height: 50px;
    }
    
    .curso-icon i {
        font-size: 1.25rem;
    }
    
    .curso-card h3 {
        font-size: 1.25rem;
    }
    
    .curso-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        font-size: 1.25rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    .btn-small {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
}

/* Landscape Mobile Adjustments */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        height: auto;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--text-secondary);
}

.bg-primary {
    background-color: var(--bg-primary);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

.back-to-top:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

@media (max-width: 479px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==================== BODY MENU OPEN STATE ==================== */
body.menu-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    body.menu-open {
        overflow: visible;
    }
}

/* ==================== HEADER SCROLL STATE ==================== */
.header {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

/* ==================== LOADING STATE FOR FORMS ==================== */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ==================== ANIMATION CLASSES ==================== */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ==================== ACCESSIBILITY IMPROVEMENTS ==================== */
/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-main:focus {
    top: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid white;
    }
    
    .btn-outline {
        border-width: 3px;
    }
    
    .nav-link::after {
        height: 3px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .header,
    .nav-toggle,
    .back-to-top,
    .hero-buttons,
    .footer-social,
    #particles-js {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section-title {
        page-break-after: avoid;
    }
    
    .curso-card,
    .depoimento-card {
        page-break-inside: avoid;
    }
}