/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --primary: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #D4AF37;
    --secondary-dark: #B8941F;
    --secondary-light: #F4E4BC;
    
    /* Cores neutras */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --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);
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Espaçamentos */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Prevenir overflow horizontal global */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Containers padronizados */
.container,
.hero-container,
.course-container,
.benefits-container,
.testimonials-container,
.faq-container,
.cta-container,
.footer-container,
.contact-form-container,
.video-container,
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    width: 100%;
}

/* Prevenir overflow de texto */
h1, h2, h3, h4, h5, h6, p, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Garantir que elementos flex não extrapolem */
.flex, .flex-col, .flex-row {
    min-width: 0;
    flex-shrink: 1;
}

/* Utilitários */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--secondary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-large {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-dark);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-4) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
}

.logo i {
    font-size: var(--font-size-2xl);
    color: var(--primary-dark);
}

/* Logo de imagem na navbar */
.nav-logo {
    height: 42px;      /* altura fixa para manter alinhamento na navbar */
    width: auto;       /* largura automática para preservar proporção e evitar corte lateral */
    max-width: 160px;  /* limite razoável para largura em telas maiores */
    object-fit: contain; /* garante a imagem inteira visível dentro da caixa */
    border-radius: 6px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-8);
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-dark);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-900);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--white);
    padding: calc(80px + var(--spacing-4)) 0 var(--spacing-4) 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-6);
    align-items: center;
    justify-items: center;
}

.form-content {
    background: var(--white);
    padding: var(--spacing-3);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
}

.form-header {
    text-align: left;
    margin-bottom: var(--spacing-2);
    flex-shrink: 0;
}

.form-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--spacing-1);
    line-height: 1.2;
}

.form-subtitle {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    line-height: 1.4;
}

.contact-form {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    padding-right: var(--spacing-1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-2);
}

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

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-1);
    display: block;
    transition: color 0.3s ease;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-2);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    background: var(--white);
    color: var(--gray-700);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
    opacity: 1;
}

.form-error {
    color: var(--error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-1);
    display: none;
}

.form-error.show {
    display: block;
}

.form-input:hover,
.form-textarea:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1), 0 2px 4px rgba(239, 68, 68, 0.1);
    background-color: rgba(239, 68, 68, 0.02);
}

.form-actions {
    text-align: center;
}

.form-privacy {
    margin-top: var(--spacing-2);
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-1);
    text-align: center;
}

.form-privacy i {
    color: var(--success);
    font-size: var(--font-size-sm);
}

/* Form Image Section */
.form-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.image-container {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: calc(100vh - 150px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.prof-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Scrollbar personalizada para o formulário */
.contact-form::-webkit-scrollbar {
    width: 6px;
}

.contact-form::-webkit-scrollbar-track {
    background: transparent;
}

.contact-form::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

.contact-form::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Estados de validação */
.form-group.success .form-input,
.form-group.success .form-textarea {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group.success .form-label {
    color: var(--success);
}

/* Loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: calc(80px + var(--spacing-20)) 0 var(--spacing-20);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: var(--white);
    line-height: 1.6;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-8);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--white);
    opacity: 0.9;
}

.feature i {
    color: var(--secondary);
    font-size: var(--font-size-xl);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

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

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    max-width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--secondary);
}

/* Stats Section */
.stats {
    background: var(--gray-50);
    padding: var(--spacing-20) 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-8);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--spacing-2);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    font-weight: 500;
}

/* Course Section */
.course {
    padding: var(--spacing-24) 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
}

.course-card {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-6);
}

.card-icon i {
    font-size: var(--font-size-2xl);
    color: var(--white);
}

.course-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--spacing-4);
}

.course-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    background: var(--gray-50);
    padding: var(--spacing-24) 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-4);
    align-items: flex-start;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: var(--font-size-xl);
    color: var(--white);
}

.benefit-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--spacing-2);
}

.benefit-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

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

.benefits-image .image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-image .image-placeholder i {
    font-size: 8rem;
    color: var(--secondary);
}

/* Video Section */
.video-section {
    background: var(--gray-50);
    padding: var(--spacing-24) 0;
}


.video-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-12);
    align-items: start;
}

.video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: var(--gradient-primary);
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--white);
}

.play-button i {
    font-size: var(--font-size-2xl);
    color: var(--primary);
    margin-left: 4px; /* Ajuste visual para centralizar o ícone */
}

.video-overlay {
    text-align: center;
    color: var(--secondary);
}

.video-overlay h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    color: var(--secondary);
}

.video-overlay p {
    font-size: var(--font-size-lg);
    color: var(--secondary);
    opacity: 0.8;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.video-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.video-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.video-feature:hover span {
    color: var(--gray-900);
}

/* vídeo features usam estilos gerais de .video-feature (sem ícones) */

.video-feature span {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--secondary);
}

/* Ícone simples à esquerda do texto */
.video-icon {
    color: var(--primary-dark);
    font-size: 0.6rem; /* pequeno ponto */
    width: 12px;
    height: 12px;
    line-height: 12px;
    display: inline-block;
}

#videoIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
}

/* Estilo do player de vídeo local */
#videoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
    background: black;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-24) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 0 0 0 100%;
    opacity: 0.1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stars {
    display: flex;
    gap: var(--spacing-1);
    margin-bottom: var(--spacing-4);
}

.stars i {
    color: var(--secondary);
    font-size: var(--font-size-lg);
}

.testimonial-content p {
    font-size: var(--font-size-lg);
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.author-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--spacing-1);
}

.author-info span {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}


/* FAQ Section */
.faq {
    padding: var(--spacing-24) 0;
}

.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-6);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--secondary);
}

.faq-question i {
    color: var(--secondary);
    font-size: var(--font-size-lg);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-6) var(--spacing-6);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-24) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.cta-container {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
    color: var(--white);
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: var(--white);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-8);
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-lg);
    color: var(--white);
    opacity: 0.9;
}

.cta-guarantee i {
    color: var(--secondary);
    font-size: var(--font-size-xl);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-20) 0 var(--spacing-8);
}

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

.footer-section h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-6);
    color: var(--white);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-3);
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: var(--spacing-4);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
    color: var(--gray-400);
}

.contact-info i {
    color: var(--secondary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-8);
    text-align: center;
    color: var(--gray-400);
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats {
        padding: var(--spacing-16) 0;
    }
    
    .contact-form-section {
        min-height: auto;
        padding: var(--spacing-16) 0;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-12);
        align-items: center;
    }
    
    .form-content {
        padding: var(--spacing-6);
        margin: 0;
        order: 2;
        max-height: none;
        max-width: 100%;
        display: block;
    }
    
    .contact-form {
        overflow-y: visible;
        flex: none;
        padding-right: 0;
    }
    
    .form-image {
        order: 1;
        margin-bottom: var(--spacing-8);
        padding: 0 var(--spacing-4);
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: var(--shadow-xl);
    }
    
    .prof-image {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        object-position: center;
    }
    
    .form-grid {
        gap: var(--spacing-4);
    }
    
    .form-title {
        font-size: var(--font-size-3xl);
        text-align: center;
    }
    
    .form-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: var(--spacing-4) var(--spacing-6);
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .stats {
        padding: var(--spacing-12) 0;
    }
    
    .course {
        padding: var(--spacing-16) 0;
    }
    
    .benefits {
        padding: var(--spacing-16) 0;
    }
    
    .video-section {
        padding: var(--spacing-16) 0;
    }
    
    .testimonials {
        padding: var(--spacing-16) 0;
    }
    
    .faq {
        padding: var(--spacing-16) 0;
    }
    
    .cta {
        padding: var(--spacing-16) 0;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: var(--font-size-3xl);
    }
    
    .cta-content p {
        font-size: var(--font-size-lg);
    }
    
    /* Formulário responsivo */
    .contact-form-section {
        padding: var(--spacing-16) 0;
        min-height: auto;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        align-items: center;
    }
    
    .form-content {
        padding: var(--spacing-5);
        margin: 0;
        order: 2;
        max-height: none;
        max-width: 100%;
        display: block;
    }
    
    .contact-form {
        overflow-y: visible;
        flex: none;
        padding-right: 0;
    }
    
    .form-image {
        order: 1;
        margin-bottom: var(--spacing-6);
        padding: 0 var(--spacing-4);
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }
    
    .prof-image {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        object-position: center;
        max-height: 400px;
    }
    
    .form-title {
        font-size: var(--font-size-2xl);
        text-align: center;
    }
    
    .form-subtitle {
        font-size: var(--font-size-sm);
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
    
    .form-privacy {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-1);
    }
    
    .overlay-content {
        padding: var(--spacing-4);
    }
    
    .overlay-content h3 {
        font-size: var(--font-size-2xl);
    }
    
    .overlay-content p {
        font-size: var(--font-size-base);
    }
    
    .stats-mini {
        grid-template-columns: 1fr;
        gap: var(--spacing-2);
    }
    
    /* Corrigir overflow em tablet */
    .image-placeholder {
        width: 100%;
        max-width: 280px;
    }
    
    .benefits-image .image-placeholder {
        width: 100%;
        max-width: 350px;
    }
    
    .hero-features {
        gap: var(--spacing-3);
    }
    
    .benefit-item {
        gap: var(--spacing-3);
    }
    
    /* Video section responsivo */
    .video-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .video-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-4);
    }
    
    .video-feature {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: var(--spacing-4) var(--spacing-4);
    }
    
    .container {
        padding: 0 var(--spacing-3);
    }
    
    .hero {
        padding: calc(80px + var(--spacing-16)) 0 var(--spacing-16);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    /* Formulário mobile */
    .contact-form-section {
        padding: var(--spacing-12) 0;
        min-height: auto;
    }
    
    .contact-form-wrapper {
        gap: var(--spacing-6);
        align-items: center;
    }
    
    .form-content {
        padding: var(--spacing-4);
        margin: 0;
        order: 2;
        max-height: none;
        max-width: 100%;
        display: block;
    }
    
    .contact-form {
        overflow-y: visible;
        flex: none;
        padding-right: 0;
    }
    
    .form-image {
        order: 1;
        margin-bottom: var(--spacing-4);
        padding: 0 var(--spacing-3);
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        max-height: none;
        margin: 0 auto;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }
    
    .prof-image {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        object-position: center;
        max-height: 350px;
    }
    
    .form-title {
        font-size: var(--font-size-xl);
        text-align: center;
    }
    
    .form-subtitle {
        font-size: var(--font-size-xs);
        text-align: center;
    }
    
    .form-input,
    .form-textarea {
        padding: var(--spacing-3);
        font-size: var(--font-size-sm);
    }
    
    .form-grid {
        gap: var(--spacing-3);
    }
    
    .form-label {
        font-size: var(--font-size-xs);
    }
    
    .overlay-content {
        padding: var(--spacing-3);
    }
    
    .overlay-content h3 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-2);
    }
    
    .overlay-content p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-4);
    }
    
    .stat-mini {
        padding: var(--spacing-2);
    }
    
    .stat-mini .stat-number {
        font-size: var(--font-size-lg);
    }
    
    /* Corrigir overflow horizontal */
    .image-placeholder {
        width: 100%;
        max-width: 250px;
        height: 250px;
    }
    
    .benefits-image .image-placeholder {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
    
    .hero-features {
        gap: var(--spacing-2);
    }
    
    .feature {
        font-size: var(--font-size-base);
    }
    
    .stats-container {
        gap: var(--spacing-4);
    }
    
    .stats {
        padding: var(--spacing-10) 0;
    }
    
    .course {
        padding: var(--spacing-12) 0;
    }
    
    .benefits {
        padding: var(--spacing-12) 0;
    }
    
    .video-section {
        padding: var(--spacing-12) 0;
    }
    
    .testimonials {
        padding: var(--spacing-12) 0;
    }
    
    .faq {
        padding: var(--spacing-12) 0;
    }
    
    .cta {
        padding: var(--spacing-12) 0;
    }
    
    .course-grid {
        gap: var(--spacing-4);
    }
    
    .testimonials-grid {
        gap: var(--spacing-4);
    }
    
    /* Video section mobile */
    .video-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .video-features {
        flex-direction: column;
        gap: var(--spacing-3);
    }
    
    .video-feature {
        min-width: auto;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: var(--font-size-xl);
    }
    
    .video-overlay h3 {
        font-size: var(--font-size-xl);
    }
    
    .video-overlay p {
        font-size: var(--font-size-base);
    }
}

/* Telas muito pequenas (320px) */
@media (max-width: 320px) {
    .nav-container {
        padding: var(--spacing-3) var(--spacing-3);
    }
    
    .contact-form-section {
        padding: var(--spacing-8) 0;
        min-height: auto;
    }
    
    .form-content {
        padding: var(--spacing-3);
        max-height: none;
        max-width: 100%;
        display: block;
    }
    
    .contact-form {
        overflow-y: visible;
        flex: none;
        padding-right: 0;
    }
    
    .form-image {
        padding: 0 var(--spacing-2);
        margin-bottom: var(--spacing-3);
    }
    
    .image-container {
        max-height: none;
        max-width: 100%;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }
    
    .prof-image {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
    
    .form-title {
        font-size: var(--font-size-lg);
    }
    
    .form-subtitle {
        font-size: 0.7rem;
    }
    
    .form-input,
    .form-textarea {
        padding: var(--spacing-2);
        font-size: 0.8rem;
    }
    
    .form-label {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: var(--spacing-2) var(--spacing-4);
        font-size: var(--font-size-sm);
    }
}

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

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

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states para acessibilidade */
.btn:focus,
.nav-link:focus,
.faq-question:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .cta,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: var(--gray-900);
    }
}
