/* ============================================
   PAGE-FORMS-HERO.CSS - Hero Sections dos Formulários
   ============================================ */

/* ============================================
   HERO SECTION - ESTILO EMPRESARIAL (AZUL)
   ============================================ */

/* Hero Section Principal */
.hero-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    max-height: 450px;
    display: flex;
    align-items: center;
}

/* SVG Empresarial de Fundo - Estilo Jogo da Velha */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M0 20 L60 20'/%3E%3Cpath d='M0 40 L60 40'/%3E%3Cpath d='M20 0 L20 60'/%3E%3Cpath d='M40 0 L40 60'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

/* SVG Secundário - X e O */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1.5'%3E%3Cpath d='M10 10 L50 50 M50 10 L10 50'/%3E%3Ccircle cx='90' cy='30' r='20'/%3E%3Cpath d='M70 70 L110 110 M110 70 L70 110'/%3E%3Ccircle cx='30' cy='90' r='20'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

/* Container centralizado - 80% no desktop, 100% no mobile */
.hero-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Conteúdo do Hero */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: #bfdbfe;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Título */
.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
}

/* Descrição Principal */
.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 1rem;
    }
}

/* Descrição Extra (apenas para candidatos) */
.hero-description-extra {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-description-extra {
        font-size: 0.9375rem;
    }
}

/* Botão CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a8a;
    background: #ffffff;
    border: none;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover {
    background: #f8fafc;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.hero-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
        min-height: 300px;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description-extra {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.25rem 0;
        min-height: 280px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description-extra {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-cta {
        padding: 0.75rem 1.75rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

.hero-content {
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-description-extra {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}