/* =============================================================
   PROFESSOR.CSS - Estilos Específicos da Página "Seja Professor"
   Versão: 2.0 | Janeiro 2026
   
   Este arquivo contém APENAS os estilos específicos desta página.
   Os estilos globais (header, footer, variáveis, etc.) estão no global.css
   ============================================================= */

/* =============================================================
   SEÇÃO HERO - HISTÓRIA DOS PROFESSORES
   ============================================================= */
.historia-professores {
    position: relative;
    background: url('https://tiexames.com.br/novosite2026/imagens/fundo_professor.jpg') center center / cover no-repeat;
    padding: 120px 0 60px;
}

.historia-professores::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 1;
}

.historia-professores > .container {
    position: relative;
    z-index: 2;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.historia-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.historia-content h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.historia-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.historia-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.historia-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(83, 113, 245, 0.08) 0%, rgba(83, 113, 245, 0.12) 100%);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-top: 24px;
}

.historia-highlight-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.historia-highlight-icon svg {
    width: 22px;
    height: 22px;
    color: var(--bg-white);
}

.historia-highlight p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* =============================================================
   TIMELINE - TRAJETÓRIA DOS PROFESSORES
   ============================================================= */
.historia-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 32px;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 40px;
    bottom: 10px;
    width: 2px;
    background: var(--primary-light);
}

.timeline-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-left: 0;
    margin-left: -32px;
}

.timeline-item {
    position: relative;
    background: linear-gradient(135deg, #1a2854 0%, #2d3a6d 100%);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    box-shadow: 0 0 0 3px rgba(83, 113, 245, 0.3);
}

.timeline-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.timeline-step {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-step-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    font-weight: 300;
}

.timeline-title {
    display: inline;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-white);
    line-height: 1.3;
}

.timeline-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 6px 0 0 0;
}

/* =============================================================
   SEÇÃO "O QUE BUSCAMOS"
   ============================================================= */
.o-que-buscamos {
    background: var(--bg-light);
    padding: 60px 0;
}

.buscamos-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.buscamos-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.buscamos-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.buscamos-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.buscamos-item-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.buscamos-item-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.buscamos-item-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* =============================================================
   SEÇÃO CANDIDATURA
   ============================================================= */
.candidatura {
    background: var(--bg-light);
    padding: 60px 0 80px;
}

.candidatura-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: start;
}

.candidatura-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.candidatura-info h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.candidatura-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.candidatura-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checklist-icon {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-icon svg {
    width: 10px;
    height: 10px;
    color: var(--green-accent);
}

.checklist-text {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Box de contato */
.candidatura-contact {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
}

.candidatura-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.candidatura-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.candidatura-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.candidatura-contact-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.candidatura-contact-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.candidatura-contact-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.candidatura-contact-text a {
    color: var(--primary);
    font-weight: 600;
}

.candidatura-contact-text a:hover {
    text-decoration: underline;
}

/* =============================================================
   FORMULÁRIO DE CANDIDATURA
   ============================================================= */
.candidatura-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-section {
    margin-bottom: 20px;
}

.form-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-label .required {
    color: #ef4444;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.938rem;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(83, 113, 245, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-textarea.large {
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-message {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.938rem;
    line-height: 1.5;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* Turnstile Container */
.turnstile-container {
    margin: 16px 0;
    display: flex;
    justify-content: center;
}

/* Botão de envio */
.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient);
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 113, 245, 0.35);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* =============================================================
   MENSAGEM DE SUCESSO
   ============================================================= */
.success-message-box {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(83, 113, 245, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
}

.success-icon-wrapper svg {
    width: 36px;
    height: 36px;
    color: white;
}

.success-message-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.success-message-box p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.success-message-box p:last-of-type {
    margin-bottom: 20px;
}

.success-highlight {
    font-weight: 600;
    color: var(--text-primary);
}

.success-quote {
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(83, 113, 245, 0.15);
}

.success-proverb {
    font-size: 0.813rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: normal;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    margin-top: 16px;
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* =============================================================
   MEDIA QUERIES - RESPONSIVIDADE
   ============================================================= */
@media (max-width: 1024px) {
    .historia-grid,
    .candidatura-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .buscamos-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .historia-professores {
        padding: 100px 0 32px;
    }

    .o-que-buscamos {
        padding: 40px 0;
    }

    .candidatura {
        padding: 32px 0 40px;
    }

    .buscamos-grid-compact {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .historia-content h2,
    .candidatura-info h2 {
        font-size: 1.5rem;
    }

    .candidatura-form-wrapper {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .historia-highlight {
        flex-direction: column;
        gap: 12px;
    }

    .candidatura-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}