/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Configurações de tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

/* Container principal dos slides */
.slide-container {
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Container da seção de conclusão com background diferente */
.slide-container-conclusion {
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    color: white;
    scroll-snap-align: start;
}

/* Scroll snap para navegação suave - apenas desktop */
html {
    scroll-snap-type: y mandatory;
}

section {
    scroll-snap-align: start;
}

/* Desabilitar scroll snap em mobile */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none !important;
        scroll-behavior: auto;
    }
    
    body {
        scroll-snap-type: none !important;
    }
    
    section {
        scroll-snap-align: none !important;
    }
    
    .slide-container, .slide-container-conclusion {
        scroll-snap-align: none !important;
        min-height: auto;
    }
    
    /* Permitir scroll livre em mobile */
    .mobile-device {
        scroll-snap-type: none !important;
    }
    
    .mobile-device section {
        scroll-snap-align: none !important;
    }
}

/* Texto com gradiente */
.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Texto destacado na conclusão */
.highlight-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Bordas de destaque */
.accent-border {
    border-left: 6px solid #3b82f6;
}

/* Caixas de destaque */
.highlight-box {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

/* Padrões de fundo decorativos */
.tech-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, #3b82f6 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.15;
    z-index: 0;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    z-index: 0;
}

/* Cards de funcionalidades */
.feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Itens de tarefa */
.task-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.energy-indicator {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
}

.mental-load-meter {
    height: 20px;
    border-radius: 10px;
    background: #e5e7eb;
    overflow: hidden;
}

.mental-load-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Cards de área */
.area-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.area-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* Cards de exemplo */
.example-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.example-card .grid.grid-cols-2.gap-4 {
    padding-top: 1.5rem;
}

.before-after {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.before-after::before {
    content: "Antes";
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(239, 68, 68, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.before-after::after {
    content: "Depois";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Cards de resultado */
.result-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

/* Tabela de comparação */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 12px;
    text-align: center;
}

.comparison-table td {
    padding: 12px;
    text-align: center;
    background: white;
}

.comparison-table tr:nth-child(even) td {
    background: #f8fafc;
}

/* Habilidades humanas */
.human-skill {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.human-skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Cards de ideia */
.idea-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.idea-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Timeline */
.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    margin-right: 12px;
    flex-shrink: 0;
}

.timeline-line {
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    height: 100%;
    position: absolute;
    left: 7px;
    top: 0;
    z-index: 0;
}

/* Etapas do processo */
.process-step {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 16px;
    flex-shrink: 0;
}

/* Cards de especialista */
.expert-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.expert-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.vs-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto;
}

/* Pontos principais */
.key-point {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    color: #1f2937;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.key-point:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.point-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

/* Botão de CTA */
.cta-button {
    background: white;
    color: #3b82f6;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #3b82f6;
}

/* Navegação */
.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover,
.nav-dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

/* 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;
}

/* Container dos gráficos */
.chart-container {
    position: relative;
    height: 350px;
    max-height: 550px;
    width: 100%;
    overflow: hidden;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
    width: auto !important;
}

/* Lightbox de Contato */
.contact-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.contact-lightbox-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.contact-lightbox.active .contact-lightbox-content {
    transform: scale(1) translateY(0);
}

.contact-lightbox-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-lightbox-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.contact-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.contact-lightbox-body {
    padding: 1rem 2rem 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* Loading state */
.contact-loading {
    text-align: center;
    padding: 3rem 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Message state */
.contact-message {
    text-align: center;
    padding: 3rem 2rem;
}

.message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.message-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-message.success .message-icon {
    background: #10b981;
    color: white;
}

.contact-message.error .message-icon {
    background: #ef4444;
    color: white;
}

.message-text {
    font-size: 1.125rem;
    color: #374151;
    margin: 0;
}

/* Elemento "Pronto para começar?" da seção 10 */
.section10-cta-box {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1f2937 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.section10-cta-box:hover {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.section10-cta-box i {
    color: #3b82f6;
}

/* Responsividade */
@media (max-width: 1280px) {
    .slide-container,
    .slide-container-conclusion {
        width: 100vw;
        padding: 3rem 2rem;
    }
    
    .text-7xl {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .text-5xl {
        font-size: 2.75rem;
        line-height: 1.2;
    }
    
    .text-4xl {
        font-size: 2.25rem;
    }
    
    .text-3xl {
        font-size: 1.875rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .slide-container,
    .slide-container-conclusion {
        padding: 2rem 1rem;
        min-height: 100vh;
    }
    
    /* Layout responsivo */
    .grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flex.space-x-6 > *,
    .flex.space-x-8 > *,
    .flex.space-x-12 > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Tipografia mobile */
    .text-7xl {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .text-5xl {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .text-4xl {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .text-3xl {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .text-2xl {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .text-xl {
        font-size: 1.125rem;
        line-height: 1.5;
    }
    
    /* Cards e componentes mobile */
    .feature-card,
    .area-card,
    .example-card,
    .result-card,
    .human-skill,
    .idea-card,
    .process-step {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .highlight-box {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }
    
    /* Navegação mobile */
    nav {
        display: none; /* Ocultar navbar em mobile */
    }
    
    /* Alternativa: Mostrar navbar apenas quando necessário
    nav.mobile-visible {
        display: flex;
        bottom: 1rem;
        padding: 0.75rem 1.5rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    } */
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Seção 1 mobile */
    #section1 .flex.space-x-12 {
        flex-direction: row;
        justify-content: space-around;
        gap: 0.5rem;
    }
    
    #section1 .text-center {
        padding: 0 0.5rem;
    }
    
    /* Gráficos mobile */
    .chart-container {
        height: 200px;
        max-height: 200px;
        margin: 1rem 0;
    }
    
    /* Tabelas mobile */
    .comparison-table {
        font-size: 0.875rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table th,
    .comparison-table td,
    .comparison-table tr {
        display: block;
    }
    
    .comparison-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .comparison-table tr {
        border: 1px solid #e2e8f0;
        margin-bottom: 10px;
        padding: 0.5rem;
        border-radius: 8px;
        background: white;
    }
    
    .comparison-table td {
        border: none;
        position: relative;
        text-align: left;
        white-space: normal;
        min-height: 1.5rem;
        display: flex;
        align-items: center;
    }

    .comparison-table td span {
        padding: 0.5rem 0.5rem 0.5rem 30%;
        text-align: left;
        white-space: normal;
        display: flex;
        align-items: center;
    }
    
    .comparison-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 35%;
        text-align: left;
        font-weight: 600;
        color: #3b82f6;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Timeline mobile */
    .timeline-line {
        left: 1rem;
    }
    
    .timeline-dot {
        left: 0.75rem;
    }
    
    /* Ajustes específicos de seções */
    .w-1\/2 {
        width: 100%;
    }
    
    .w-1\/3 {
        width: 100%;
    }
    
    .w-2\/3 {
        width: 100%;
    }
    
    /* Stats cards mobile */
    .stat-circle {
        width: 80px;
        height: 80px;
    }
    
    .stat-circle .text-2xl {
        font-size: 1.125rem;
    }
    
    /* Expert cards mobile */
    .expert-card {
        padding: 0.75rem;
    }
    
    .expert-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.5rem;
    }
    
    /* Responsividade da Lightbox */
    .contact-lightbox-content {
        width: 95%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .contact-lightbox-header,
    .contact-lightbox-body {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-lightbox-content {
        width: 98%;
        border-radius: 15px;
        max-height: 98vh;
    }
    
    .contact-lightbox-header h3 {
        font-size: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Evita zoom no iOS */
        padding: 1rem;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}

/* Acessibilidade e touch targets */
@media (max-width: 768px) {
    .contact-close {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        font-size: 1rem;
    }
}

/* Performance - GPU acceleration */
.contact-lightbox,
.contact-lightbox-content {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

/* Scroll otimizado para lightbox */
.contact-lightbox-content {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.contact-lightbox-content::-webkit-scrollbar {
    width: 6px;
}

.contact-lightbox-content::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.contact-lightbox-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.contact-lightbox-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}
