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

:root {
    --primary-color: #ff6600;
    --secondary-color: #e55a00;
    --success-color: #ff6600;
    --error-color: #e74c3c;
    --warning-color: #ff8533;
    --background-color: #f5f5f5;
    --card-background: #ffffff;
    --text-color: #333333;
    --border-color: #dddddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Cabeçalho Mundial Logistics */
.main-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

/* Seção do Logo */
.logo-section {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 100%;
}

/* Seção de Contato */
.contact-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon {
    color: #ff6600;
    font-size: 18px;
}

.phone-number {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
}

/* Seção de Redes Sociais */
.social-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-text {
    color: #666666;
    font-size: 14px;
}

.separator {
    width: 1px;
    height: 20px;
    background-color: #cccccc;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f8f9fa;
    color: #666666;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Container principal */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Cabeçalho da página */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: #666666;
    font-weight: 400;
}

/* Seção do vídeo */
.video-section {
    background: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.video-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-note {
    color: #666666;
    font-style: italic;
    text-align: center;
    font-size: 0.9rem;
}

/* Formulário */
.certification-form {
    background: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #666666;
    font-size: 0.85rem;
}

/* Questões do quiz */
.quiz-instructions {
    color: #666666;
    margin-bottom: 25px;
    font-style: italic;
}

.question-group {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.question-group h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.option:hover {
    background-color: rgba(255, 102, 0, 0.05);
}

.option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.option-text {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}

/* Seção de aceite */
.consent-group {
    margin-bottom: 20px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.consent-checkbox:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 102, 0, 0.02);
}

.consent-checkbox input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.consent-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* Botões */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

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

/* Mensagem de resultado */
.result-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.result-message.show {
    opacity: 1;
    transform: translateY(0);
}

.result-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .video-section,
    .certification-form {
        padding: 20px;
    }
    
    .question-group {
        padding: 15px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .phone-number {
        font-size: 14px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
}