/* CSS Independente para C2 - Landing Page Moderna */

/* Reset e Variáveis */
:root {
    --primary-blue: #0066ff;
    --primary-green: #00c851;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #0052cc 50%, #004499 100%);
    --gradient-secondary: linear-gradient(135deg, #1e90ff 0%, #0066ff 50%, #0052cc 100%);
    --gradient-success: linear-gradient(135deg, #00a8ff 0%, #0078ff 50%, #0066ff 100%);
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fb;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Moderno */
.modern-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo-modern {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo-modern:hover {
    transform: scale(1.05);
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Container Principal */
.main-container {
    margin-top: 80px;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 4rem;
}

/* Hero Image */
.hero-image {
    margin: 1rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    max-width: 350px;
}

.hero-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Seção de Mídia (Lado Esquerdo) */
.media-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

.hero-content {
    text-align: left;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Vídeo Container */
.video-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-success);
}

.youtube-video-container {
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

#player {
    width: 100%;
    height: 100%;
}

/* Grid de Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.feature-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Seção do Formulário (Lado Direito) */
.form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.div-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.div-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066ff 0%, #0052cc 50%, #004499 100%);
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo-container img:hover {
    transform: scale(1.05);
}

.form-header {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

.div-label {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e3e8ee;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-control.is-invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Botões Modernos */
.div-buttom {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.div-buttom:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    text-decoration: none;
    color: var(--white);
}

.div-buttom:active {
    transform: translateY(0);
}

.div-buttom:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
}

.pulse-success {
    animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
    0% { box-shadow: 0 4px 15px rgba(0, 200, 81, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(0, 200, 81, 0.8); }
    100% { box-shadow: 0 4px 15px rgba(0, 200, 81, 0.4); }
}

/* Seção de Benefícios */
.benefits-section {
    background: var(--white);
    padding: 5rem 2rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefits-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefits-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    filter: blur(3px);
}

.benefits-content {
    position: relative;
    z-index: 2;
}

.benefits-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-success);
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: var(--white);
    text-decoration: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem;
    margin-top: 3rem;
}

/* Upload de Imagens */
.dropzone {
    border: 2px dashed var(--primary-blue) !important;
    border-radius: var(--border-radius) !important;
    background: rgba(0, 102, 255, 0.05) !important;
    transition: var(--transition) !important;
}

.dropzone:hover {
    border-color: var(--primary-green) !important;
    background: rgba(0, 200, 81, 0.05) !important;
}

.dropzone .dz-message {
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
}

/* Stats Section Moderna */
.stats-section {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 50%, #004499 100%);
    color: var(--white);
    padding: 4rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.stats-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    filter: blur(4px);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stats-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Layout para Tablets */
@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .media-section {
        order: 2;
    }
    
    .form-section {
        order: 1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .trust-indicators {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .media-section,
    .form-section {
        padding: 1rem;
        margin: 1rem;
    }
    
    .div-form {
        padding: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-title {
        font-size: 2rem;
    }
    
    .whatsapp-button {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Responsividade das Imagens */
    .hero-img {
        height: 150px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .success-image {
        max-width: 100%;
        height: 120px;
    }
    
    .success-image-container {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .div-form {
        padding: 1.5rem;
    }
    
    .form-header {
        font-size: 1.5rem;
    }
    
    .hero-img {
        height: 120px;
    }
    
    .success-image {
        height: 100px;
        max-width: 280px;
    }
}

/* Animações */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Feedback Visual */
.text-muted {
    color: var(--text-light) !important;
    font-size: 0.85rem;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Hover Effects */
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    transition: var(--transition);
}

.benefit-card:hover i {
    transform: scale(1.1);
    transition: var(--transition);
}

/* Typography Improvements */
.form-header {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Success States */
.success-highlight {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Hover Effects */
a:hover {
    text-decoration: none !important;
}

/* Focus States */
.form-control:focus,
button:focus,
.div-buttom:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Additional Hover Effects */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

/* Loader Overlay Compatibility */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

/* Success Image */
.success-image-container {
    margin-top: 2rem;
    text-align: center;
}

.success-image {
    max-width: 300px;
    width: 90%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.success-image:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Additional Image Styles */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
    border-radius: var(--border-radius);
}

/* Image Loading States */
.hero-img, .section-bg-image, .success-image {
    transition: opacity 0.3s ease;
}

.hero-img[data-loading="true"], 
.section-bg-image[data-loading="true"], 
.success-image[data-loading="true"] {
    opacity: 0.5;
}

/* Parallax Effect for Background Images */
.section-bg-image {
    transform: scale(1.02);
    transition: transform 0.5s ease-out;
}

.benefits-section:hover .section-bg-image {
    transform: scale(1.01);
}

/* Ensure all images maintain border radius */
.hero-img, .success-image, .section-bg-image, .stats-bg-image {
    border-radius: var(--border-radius);
}

.benefits-background, .stats-background {
    border-radius: var(--border-radius);
    overflow: hidden;
}