/* ----------------------------Header-------------------------------- */
/* Header Moderno */
.modern-header {
    background: linear-gradient(135deg, #004226 0%, #A0BE5C 100%);
    color: white;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 66, 38, 0.3);
    backdrop-filter: blur(10px);
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.modern-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #A0BE5C, #94c65a, #A0BE5C);
}

.header-container {
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.brand-item {
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: scale(1.05);
}

.brand-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.brand-secondary {
    height: 55px;
    width: auto;
    margin-left: 20px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-text {
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.info-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsivo */
@media (max-width: 768px) {
    .modern-header {
        padding: 12px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-brand {
        justify-content: center;
        gap: 20px;
    }

    .brand-secondary {
        margin-left: 0;
    }

    .brand-logo {
        height: 50px;
    }

    .brand-secondary {
        height: 45px;
    }

    .header-info {
        justify-content: center;
    }

    .info-text {
        font-size: 1rem;
    }

    .info-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        height: 45px;
    }

    .brand-secondary {
        height: 40px;
    }

    .header-brand {
        gap: 15px;
    }

    .info-text {
        font-size: 0.95rem;
    }
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content {
    animation: fadeInDown 0.8s ease-out;
}

/* ----------------------------Pesquisa-------------------------------- */
/* Estilos Personalizados Tela pesquisa*/
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.icon-circle-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    font-size: 1rem;
}

.form-check-card {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    user-select: none;
}

.form-check-card:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.form-check-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.form-check-card input[type="radio"]:checked + label {
    color: #007bff;
}

.form-check-card input[type="radio"]:checked ~ .form-check-card {
    border-color: #007bff;
    background-color: #e7f3ff;
}

.form-check-card input[type="radio"]:checked + label .card-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.form-check-card.border-primary {
    border-color: #007bff !important;
    background-color: #e7f3ff !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.form-check-card.border-primary .card-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.2rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.card-text {
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.input-group-lg .form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.input-group-text {
    padding: 0.75rem 1rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .icon-circle {
        height: 60px;
        width: 60px;
        font-size: 1.2rem;
    }
    
    .form-check-card {
        padding: 15px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}
/* ----------------------------Footer-------------------------------- */
/* Footer Moderno */
.modern-footer {
    background: linear-gradient(135deg, #004226 0%, #A0BE5C 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.modern-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #A0BE5C, #94c65a, #A0BE5C);
}

.footer-container {
    position: relative;
    z-index: 2;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 0 20px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #A0BE5C, #94c65a);
    border-radius: 1px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-item i {
    font-size: 1.2rem;
    color: #A0BE5C;
    width: 20px;
    text-align: center;
}

.footer-contact-item strong {
    font-weight: 600;
    color: #A0BE5C;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.footer-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-link-item:hover {
    transform: translateX(5px);
}

.footer-link-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link-item a:hover {
    color: #A0BE5C;
    text-decoration: none;
}

.footer-link-item i {
    color: #A0BE5C;
    font-size: 1.1rem;
}

.footer-logo-section {
    text-align: center;
    padding: 30px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-copyright {
    text-align: center;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-version {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsivo */
@media (max-width: 768px) {
    .footer-container {
        padding: 30px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }

    .footer-section {
        padding: 0 15px;
    }

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-logo img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        padding: 25px 0 10px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-contact-item {
        font-size: 0.9rem;
    }

    .footer-link-item {
        font-size: 0.9rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content {
    animation: fadeInUp 0.8s ease-out;
}


/* ----------------------------Preprocessual-------------------------------- */
/* Container principal */
.preprocessual-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

.preprocessual-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

/* Header */
.preprocessual-header {
    background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
    color: white;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
}

.preprocessual-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.preprocessual-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Body */
.preprocessual-body {
    padding: 3rem 2.5rem;
}

/* Alert moderno */
.alert-modern {
    border: none;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    font-weight: 500;
}

/* Seções */
.section-title {
    color: #004226;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
    font-family: 'Sora', Arial, sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: linear-gradient(90deg, #004226, #189D5C);
    border-radius: 2px;
}

.section-description {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.subsection-title {
    color: #495057;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-divider {
    background: linear-gradient(90deg, transparent, #004226, transparent);
    height: 2px;
    margin: 2rem 0;
    border-radius: 1px;
}

/* Form labels */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

/* Service options */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-option {
    position: relative;
}

.service-option input[type="radio"] {
    display: none;
}

.service-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.service-label:hover {
    border-color: #004226;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 38, 0.2);
}

.service-option input[type="radio"]:checked + .service-label {
    border-color: #004226;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    box-shadow: 0 5px 15px rgba(0, 66, 38, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-content h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.service-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Participants info */
.participants-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 4px solid #004226;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #004226;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.info-content h5 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.info-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Participants list */
.participants-list {
    margin: 1rem 0;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.participant-info {
    flex: 1;
}

.participant-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.participant-header h6 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.participant-details {
    display: flex;
    gap: 2rem;
}

.participant-details p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.badge-primary {
    background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Section header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h4 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

/* Step content */
.step-content {
    padding: 1rem 0;
}

/* Step actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 38, 0.4);
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* Form controls */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #004226;
    box-shadow: 0 0 0 0.2rem rgba(0, 66, 38, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Stepper customization */
.bs-stepper-header {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.bs-stepper-circle {
    background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.bs-stepper-label {
    color: #495057;
    font-weight: 600;
}

.step.active .bs-stepper-circle {
    background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
}

.step.active .bs-stepper-label {
    color: #004226;
}

/* Responsive */
@media (max-width: 768px) {
    .preprocessual-container {
        padding: 1rem;
    }
    
    .preprocessual-header {
        padding: 2rem 1rem;
    }
    
    .preprocessual-header h1 {
        font-size: 2rem;
    }
    
    .preprocessual-body {
        padding: 1.5rem;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .participants-info {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-actions .btn {
        width: 100%;
    }
}