        :root {
            --primary-color: #6A1B9A;
            --secondary-color: #8E24AA;
            --accent-color: #AB47BC;
            --card-color: rgb(25, 46, 149);
            --bg-light: #f8f9fa;
            --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            font-weight: 400;
            line-height: 1.6;
        }

        .header-gradient {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            box-shadow: var(--shadow-lg);
        }

        .form-container {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
            padding: 2rem;
            margin: 2rem 0;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .section-card {
            background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 15px;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .section-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        }

        .card-header-modern {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
            color: white;
            padding: 1.5rem 2rem;
            border: none;
            font-weight: 600;
            letter-spacing: 0.3px;
            font-size: 1.1rem;
            text-align: left;
            position: relative;
            overflow: hidden;
        }

        .card-header-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg,
                    rgba(255, 255, 255, 0.15) 0%,
                    transparent 25%,
                    transparent 75%,
                    rgba(255, 255, 255, 0.15) 100%);
            background-size: 50px 50px;
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        .card-header-modern i {
            font-size: 1.5rem;
            margin-right: 1rem;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .card-header-modern .required {
            color: #fbbf24;
            font-weight: 700;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .card-header-modern .optional {
            color: rgba(255, 255, 255, 0.8);
            font-style: italic;
            font-weight: 400;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .card-body-modern {
            padding: 2rem;
            background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
        }

        .form-control,
        .form-select {
            border: 2px solid #e9ecef;
            border-radius: 10px;
            padding: 0.75rem 1rem;
            transition: all 0.3s ease;
            font-size: 0.95rem;
            font-weight: 400;
            background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(106, 27, 154, 0.15);
            background: #ffffff;
        }

        .form-label {
            font-weight: 500;
            color: #495057;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .form-label b,
        .form-label strong {
            font-weight: 600;
        }

        .required {
            color: #dc3545;
            font-weight: 600;
        }

        .optional {
            color: #6c757d;
            font-style: italic;
            font-weight: 400;
        }

        .alert-modern {
            border: none;
            border-radius: 15px;
            padding: 1.5rem;
            margin: 2rem 0;
            background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
            border-left: 5px solid #ffc107;
            box-shadow: 0 0.25rem 0.75rem rgba(255, 193, 7, 0.15);
        }

        .alert-modern h6 {
            font-weight: 600;
            color: #856404;
            font-size: 1.1rem;
            /* Aumentado */
        }

        .alert-modern p {
            font-weight: 400;
            color: #856404;
            margin: 0;
            font-size: 1rem;
            /* Aumentado */
            line-height: 1.6;
        }

        .alert-modern .fa-exclamation-triangle {
            color: #f59e0b !important;
            /* Cor mais vibrante */
            font-size: 2.5rem !important;
            /* Maior */
        }

        .btn-modern {
            border-radius: 10px;
            padding: 0.75rem 2rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            transition: all 0.3s ease;
            border: none;
            font-size: 0.95rem;
        }

        .btn-success-modern {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
        }

        .btn-success-modern:hover {
            background: linear-gradient(135deg, #218838 0%, #1a9970 100%);
            transform: translateY(-2px);
            box-shadow: 0 0.5rem 1rem rgba(40, 167, 69, 0.3);
        }

        .btn-warning-modern {
            background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
            color: white;
        }

        .btn-warning-modern:hover {
            background: linear-gradient(135deg, #e0a800 0%, #dc6509 100%);
            transform: translateY(-2px);
            box-shadow: 0 0.5rem 1rem rgba(255, 193, 7, 0.3);
        }

        .modal-content {
            border: none;
            border-radius: 20px;
            overflow: hidden;
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            padding: 2rem;
        }

        .modal-body {
            padding: 2rem;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .modal-footer {
            border: none;
            padding: 1.5rem 2rem 2rem;
        }

        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .footer-gradient {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            margin-top: 4rem;
            padding: 2rem 0;
        }

        .footer-content {
            padding: 2rem 0;
        }

        .footer-logo-section {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
        }

        /* Footer responsivo */
        .footer-img-responsive {
            transition: max-width 0.3s ease;
        }

        .footer-text-responsive {
            font-size: 12px;
            line-height: 1.4;
        }

        .footer-images-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .footer-image-item {
            width: 100%;
            text-align: center;
        }

        @media (max-width: 768px) {
            .footer-img-responsive {
                max-width: 60% !important;
            }

            .footer-text-responsive {
                font-size: 10px;
                line-height: 1.3;
                padding: 0 1rem;
            }

            .footer-logo-section img {
                max-width: 12% !important;
            }

            .footer-logo-section h4 {
                font-size: 1rem;
            }

            /* Imagens em duplas lado a lado */
            .footer-images-container {
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                gap: 1rem;
                flex-wrap: wrap;
            }

            .footer-image-item {
                flex: 1;
                min-width: 45%;
                max-width: 48%;
            }
        }

        @media (max-width: 576px) {
            .footer-img-responsive {
                max-width: 70% !important;
            }

            .footer-text-responsive {
                font-size: 9px;
                line-height: 1.2;
                padding: 0 0.5rem;
            }

            .footer-logo-section {
                flex-direction: column;
                gap: 0.5rem;
                margin-bottom: 1rem;
            }

            .footer-logo-section img {
                max-width: 20% !important;
            }

            .footer-logo-section h4 {
                font-size: 0.9rem;
                text-align: center;
            }

            .col-md-4 {
                margin-bottom: 1rem !important;
            }

            /* Manter imagens lado a lado em celulares */
            .footer-images-container {
                display: flex;
                flex-direction: row;
                justify-content: space-around;
                align-items: center;
                gap: 0.5rem;
            }

            .footer-image-item {
                flex: 1;
                min-width: 40%;
                max-width: 45%;
            }
        }

        @media (max-width: 480px) {
            .footer-img-responsive {
                max-width: 80% !important;
            }

            .footer-text-responsive {
                font-size: 8px;
                line-height: 1.1;
            }

            .footer-logo-section img {
                max-width: 25% !important;
            }

            .footer-logo-section h4 {
                font-size: 0.8rem;
            }

            /* Manter lado a lado mesmo em telas muito pequenas */
            .footer-images-container {
                gap: 0.25rem;
            }

            .footer-image-item {
                min-width: 35%;
                max-width: 40%;
            }
        }

        .title-section {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin: 2rem 0;
            box-shadow: var(--shadow);
            text-align: center;
        }

        .title-section h4 {
            color: var(--card-color);
            font-weight: 700;
            margin: 0;
        }

        .header-sobre-btn {
            position: absolute;
            right: 0;
            white-space: nowrap;
        }

        .header-title-content {
            justify-content: center;
        }

        @media (max-width: 992px) {
            .header-gradient .row {
                text-align: center;
            }

            .header-gradient .col-md-4 {
                margin-bottom: 2rem;
            }

            .header-gradient img {
                max-width: 90% !important;
            }

            .footer-responsive {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .footer-text-improved {
                font-size: 11px;
                padding: 0 2rem;
            }

            .card-header-modern {
                font-size: 1rem;
                padding: 1.25rem 1.5rem;
            }

            .card-header-modern i {
                font-size: 1.3rem;
                margin-right: 0.75rem;
            }
        }

        @media (max-width: 768px) {
            .form-container {
                margin: 0.5rem;
                padding: 1rem;
                border-radius: 15px;
            }

            .card-body-modern {
                padding: 1.5rem;
            }

            .section-card {
                margin-bottom: 1.5rem;
            }

            .card-header-modern {
                padding: 1rem 1.25rem;
                font-size: 0.95rem;
                font-weight: 600;
            }

            .card-header-modern i {
                font-size: 1.2rem;
                margin-right: 0.6rem;
            }

            .page-title {
                margin: 1rem 0;
                padding: 1.5rem;
            }

            .page-title h4 {
                font-size: 1.1rem;
                font-weight: 600;
            }

            .alert-modern {
                margin: 1.5rem 0;
                padding: 1.25rem;
                border-radius: 12px;
            }

            .alert-modern h6 {
                font-size: 1rem;
                margin-bottom: 0.75rem;
            }

            .alert-modern .fa-exclamation-triangle {
                font-size: 2.25rem !important;
            }

            .alert-modern p {
                font-size: 0.95rem;
                line-height: 1.5;
            }

            .btn-modern {
                padding: 0.6rem 1.5rem;
                font-size: 0.9rem;
                margin-bottom: 0.5rem;
                width: 100%;
                font-weight: 500;
            }

            .text-end {
                text-align: center !important;
            }

            .header-gradient h2 {
                font-size: 1.4rem;
                font-weight: 600;
            }

            .header-gradient img {
                max-width: 15% !important;
            }

            .footer-responsive {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .footer-text-improved {
                font-size: 10px;
                padding: 0 1rem;
            }

            .footer-column img {
                max-width: 70% !important;
            }

            .form-label {
                font-size: 0.9rem;
            }

            .form-control,
            .form-select {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 576px) {
            .container {
                padding-left: 0.5rem;
                padding-right: 0.5rem;
            }

            .form-container {
                margin: 0.25rem;
                padding: 0.75rem;
            }

            .card-body-modern {
                padding: 1rem;
            }

            .card-header-modern {
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }

            .card-header-modern i {
                font-size: 1.1rem;
                margin-right: 0.5rem;
            }

            .form-control,
            .form-select {
                font-size: 0.9rem;
                padding: 0.6rem 0.8rem;
            }

            .form-label {
                font-size: 0.9rem;
            }

            .page-title {
                padding: 1rem;
            }

            .page-title h4 {
                font-size: 1rem;
            }

            .alert-modern {
                margin: 1.25rem 0;
                padding: 1rem;
                border-radius: 10px;
            }

            .alert-modern .d-flex {
                flex-direction: column;
                text-align: center;
                align-items: center;
            }

            .alert-modern .fa-exclamation-triangle {
                font-size: 2.5rem !important;
                margin-bottom: 1rem !important;
                margin-right: 0 !important;
            }

            .alert-modern h6 {
                font-size: 1.1rem;
                margin-bottom: 0.75rem;
                text-align: center;
            }

            .alert-modern p {
                font-size: 1rem;
                line-height: 1.6;
                text-align: center;
            }

            .header-gradient {
                padding-top: 1rem;
                padding-bottom: 1rem;
            }

            .header-gradient h2 {
                font-size: 1.1rem;
            }

            .header-gradient img {
                max-width: 20% !important;
            }

            .header-gradient p {
                font-size: 10px !important;
            }

            .footer-text-improved {
                font-size: 9px;
                padding: 0 0.5rem;
            }

            .footer-column img {
                max-width: 80% !important;
            }

            .footer-images-container {
                gap: 0.75rem;
            }
        }

        .input-group-text {
            background: var(--primary-color);
            color: white;
            border: none;
        }

        .page-title {
            background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
            border-radius: 20px;
            padding: 2rem;
            margin: 2rem 0;
            box-shadow: var(--shadow-lg);
            text-align: center;
        }

        .animated-icon {
            animation: pulse 2s infinite;
        }

        .modal-custom {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
        }

        .modal-content-custom {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25);
            background: white;
            max-width: 500px;
            margin: 0 auto;
        }

        .modal-header-custom {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
            /* Azul escuro igual aos cards */
            border: none;
            padding: 1.6rem 2rem 2rem;
            /* Aumentado o padding top de 1.5rem para 2.5rem */
            text-align: center;
            position: relative;
            min-height: 120px;
            /* Altura mínima definida */
        }


        .modal-header-custom::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            /* Aumentado de 3px para 4px */
            background: linear-gradient(90deg, #3b82f6, #1e40af, #3b82f6, #1e40af, #3b82f6);
            /* Azuis mais escuros */
            background-size: 200% 100%;
            animation: shimmer-modal 3s linear infinite;
        }

        .modal-header-custom h5 {
            color: white;
            font-weight: 600;
            font-size: 1.3rem;
            /* Aumentado de 1.1rem */
            margin: 0;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            /* Adicionado text-shadow */
        }

        @keyframes shimmer-modal {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        .modal-content-custom {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25);
            background: white;
            max-width: 500px;
            margin: 0 auto;
        }

        .modal-body-custom {
            padding: 1.5rem 2rem;
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
            text-align: center;
        }

        .modal-body-custom .welcome-icon {
            font-size: 2.5rem;
            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
            /* Azul escuro para consistência */
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            animation: pulse-smooth 3s ease-in-out infinite;
        }

        .modal-body-custom h5 {
            color: #1e3a8a;
            /* Azul escuro consistente */
            font-weight: 600;
            margin-bottom: 0.8rem;
            font-size: 1.1rem;
        }

        .modal-footer-custom {
            border: none;
            padding: 1rem 2rem 1.5rem;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            display: flex;
            justify-content: center;
            gap: 0.75rem;
        }

        @keyframes pulse-smooth {

            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.05);
                opacity: 0.9;
            }
        }

        .modal-body-custom h5 {
            color: #2E6DA4;
            font-weight: 600;
            margin-bottom: 0.8rem;
            font-size: 1.1rem;
        }

        .modal-body-custom .lead {
            font-size: 0.95rem;
            margin-bottom: 1.2rem;
            color: #000000;
        }

        .modal-body-custom .options-container {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
            margin: 1rem 0;
        }

        .modal-body-custom .option-item {
            display: flex;
            align-items: center;
            padding: 0.75rem;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border: 1px solid #e2e8f0;
            transition: all 0.2s ease;
        }

        .modal-body-custom .option-item:hover {
            border-color: #4A90E2;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            transform: translateY(-1px);
            box-shadow: 0 0.25rem 0.5rem rgba(74, 144, 226, 0.15);
        }

        .modal-body-custom .option-item:last-child {
            margin-bottom: 0;
        }

        .modal-body-custom .option-item:first-child .option-icon {
            color: #4A90E2;
        }

        .modal-body-custom .option-item:last-child .option-icon {
            color: #28a745;
        }

        .modal-body-custom .option-icon {
            font-size: 1.5rem;
            margin-right: 0.75rem;
            min-width: 2rem;
        }

        .modal-body-custom .option-text {
            font-size: 0.9rem;
            font-weight: 500;
            color: #334155;
        }

        .modal-footer-custom {
            border: none;
            padding: 1rem 2rem 1.5rem;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            display: flex;
            justify-content: center;
            gap: 0.75rem;
        }

        .btn-modal-custom {
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            font-size: 0.9rem;
            border-radius: 10px;
            border: none;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 140px;
        }

        .btn-modal-primary {
            background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
            color: white;
            box-shadow: 0 0.25rem 0.75rem rgba(74, 144, 226, 0.25);
        }

        .btn-modal-primary:hover {
            background: linear-gradient(135deg, #357ABD 0%, #2E6DA4 100%);
            transform: translateY(-2px);
            box-shadow: 0 0.5rem 1rem rgba(74, 144, 226, 0.3);
            color: white;
        }

        .btn-modal-success {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
            box-shadow: 0 0.25rem 0.75rem rgba(40, 167, 69, 0.25);
        }

        .btn-modal-success:hover {
            background: linear-gradient(135deg, #218838 0%, #1a9970 100%);
            transform: translateY(-2px);
            box-shadow: 0 0.5rem 1rem rgba(40, 167, 69, 0.3);
            color: white;
        }

        @media (max-width: 768px) {
            .modal-content-custom {
                max-width: 95%;
                margin: 0.5rem auto;
            }

            .modal-body-custom {
                padding: 1rem 1.25rem;
            }

            .modal-header-custom {
                padding: 1.2rem 1.25rem 1.5rem;
                /* Mantido altura maior */
                min-height: 100px;
                /* Altura mínima reduzida para mobile */
            }

            .modal-header-custom h5 {
                font-size: 1.1rem;
                /* Tamanho ajustado para mobile */
            }

            .modal-footer-custom {
                padding: 0.5rem 1.25rem 1rem;
                flex-direction: column;
                gap: 0.5rem;
            }

            .btn-modal-custom {
                min-width: auto;
                width: 100%;
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
            }

            .modal-body-custom .welcome-icon {
                font-size: 1.8rem;
            }

            .modal-body-custom .option-icon {
                font-size: 1.1rem;
                margin-right: 0.5rem;
            }

            .modal-body-custom .option-text {
                font-size: 0.8rem;
            }

            .modal-body-custom h5 {
                font-size: 0.95rem;
                margin-bottom: 0.6rem;
            }

            .modal-body-custom .lead {
                font-size: 0.85rem;
                margin-bottom: 1rem;
            }

            .modal-body-custom .options-container {
                padding: 0.75rem;
                margin: 0.75rem 0;
            }

            .modal-body-custom .option-item {
                padding: 0.6rem;
                margin-bottom: 0.4rem;
            }
        }

        @media (max-width: 576px) {
            .modal-content-custom {
                max-width: 98%;
                margin: 0.25rem auto;
            }

            .modal-body-custom {
                padding: 0.75rem 1rem;
            }

            .modal-header-custom {
                padding: 1rem 1rem 1.25rem;
                /* Ainda mantém altura generosa */
                min-height: 90px;
                /* Altura mínima para mobile pequeno */
            }

            .modal-header-custom h5 {
                font-size: 1rem;
            }

            .modal-footer-custom {
                padding: 0.25rem 1rem 0.75rem;
            }

            .btn-modal-custom {
                padding: 0.5rem 0.75rem;
                font-size: 0.8rem;
            }

            .modal-body-custom .welcome-icon {
                font-size: 1.5rem;
            }

            .modal-body-custom .option-icon {
                font-size: 1rem;
                margin-right: 0.4rem;
            }

            .modal-body-custom .option-text {
                font-size: 0.75rem;
            }

            .modal-body-custom h5 {
                font-size: 0.9rem;
                margin-bottom: 0.5rem;
            }

            .modal-body-custom .lead {
                font-size: 0.8rem;
                margin-bottom: 0.8rem;
            }

            .modal-body-custom .options-container {
                padding: 0.6rem;
                margin: 0.6rem 0;
            }

            .modal-body-custom .option-item {
                padding: 0.5rem;
                margin-bottom: 0.3rem;
            }
        }

        /* Header Layout Responsivo - Versão Melhorada */
        .header-container {
            position: relative;
            width: 100%;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            min-height: 80px;
            padding: 1rem 0;
        }

        .header-title-content {
            display: flex;
            align-items: center;
            flex: 1;
            min-width: 0;
        }

        .header-title-content img {
            flex-shrink: 0;
            max-width: 110px;
            height: auto;
            margin-right: 1.5rem;
        }

        .header-title-content h2 {
            margin: 0;
            font-size: 2.1rem;
            font-weight: 600;
            line-height: 1.3;
            color: white;
        }

        .header-sobre-btn {
            flex-shrink: 0;
            white-space: nowrap;
            position: static !important;
            right: auto !important;
            font-size: 0.95rem;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        /* Estados do botão responsivo */
        .header-sobre-btn .btn-text {
            display: inline;
        }

        .header-sobre-btn .btn-icon-only {
            display: none;
        }

        /* Tablets */
        @media (max-width: 992px) {
            .header-content {
                padding: 0.75rem 0;
            }

            .header-title-content img {
                max-width: 100px;
                /* Aumentado de 80px */
                margin-right: 1.25rem;
            }

            .header-title-content h2 {
                font-size: 1.7rem;
                line-height: 1.3;
            }

            .header-sobre-btn {
                font-size: 0.9rem;
                padding: 0.5rem 1rem;
            }
        }

        /* Tablets pequenos */
        @media (max-width: 768px) {
            .header-content {
                gap: 1rem;
                min-height: 85px;
                /* Aumentado para acomodar logo maior */
                padding: 1.25rem 0;
            }

            .header-title-content img {
                max-width: 120px;
                /* MUITO MAIOR - era 100px */
                margin-right: 1rem;
            }

            .header-title-content h2 {
                font-size: 1.8rem;
                line-height: 1.3;
            }

            .header-sobre-btn {
                font-size: 0.95rem;
                padding: 0.55rem 1.1rem;
            }
        }


        /* Mobile landscape */
        @media (max-width: 640px) {
            .header-content {
                gap: 1rem;
                padding: 1.5rem 0;
                justify-content: space-between;
            }

            .header-title-content {
                justify-content: flex-start;
                flex: 1;
                min-width: 0;
            }

            .header-title-content img {
                max-width: 110px;
                /* MAIOR - era 100px */
                margin-right: 1rem;
            }

            .header-title-content h2 {
                font-size: 1.9rem;
                line-height: 1.25;
                text-align: left;
            }

            .header-sobre-btn {
                font-size: 0.95rem;
                padding: 0.55rem 1.1rem;
                flex-shrink: 0;
            }
        }


        /* Mobile portrait - MAIOR FOCO AQUI */
        @media (max-width: 576px) {
            .header-content {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                gap: 1rem;
                min-height: auto;
                padding: 2.5rem 0;
                /* Aumentado padding */
            }

            .header-title-content {
                justify-content: center;
                flex: 1;
                min-width: 0;
                flex-direction: row;
                align-items: center;
                text-align: center;
            }

            .header-title-content img {
                max-width: 130px;
                /* MUITO MAIOR - era 100px */
                margin-right: 1.25rem;
                flex-shrink: 0;
            }

            .header-title-content h2 {
                font-size: 2.2rem;
                text-align: center;
                line-height: 1.3;
                font-weight: 600;
                flex: 1;
                min-width: 0;
            }

            .header-sobre-btn {
                flex-shrink: 0;
                font-size: 0.9rem;
                padding: 0.6rem 1rem;
                border-radius: 8px;
                font-weight: 600;
                min-width: auto;
                width: auto;
                background: rgba(255, 255, 255, 0.15);
                border: 2px solid rgba(255, 255, 255, 0.8);
                backdrop-filter: blur(10px);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }

            .header-sobre-btn .btn-text {
                display: inline;
            }

            .header-sobre-btn .btn-icon-only {
                display: none;
            }

            .header-sobre-btn:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
                background: rgba(255, 255, 255, 0.25);
                border-color: white;
            }
        }

        /* Mobile pequeno - apenas ícone */
        @media (max-width: 480px) {
            .header-content {
                padding: 2.25rem 0;
                /* Aumentado */
                gap: 1rem;
            }

            .header-title-content {
                justify-content: center;
                text-align: center;
            }

            .header-title-content img {
                max-width: 120px;
                /* MUITO MAIOR - era 100px */
                margin-right: 1rem;
            }

            .header-title-content h2 {
                font-size: 2.1rem;
                text-align: center;
                line-height: 1.25;
            }

            .header-sobre-btn {
                font-size: 1.2rem;
                padding: 0.55rem;
                min-width: auto;
                width: 48px;
                height: 48px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .header-sobre-btn .btn-text {
                display: none;
            }

            .header-sobre-btn .btn-icon-only {
                display: inline;
                margin: 0;
            }

            .alert-modern {
                padding: 0.9rem;
                margin: 1rem 0;
            }

            .alert-modern h6 {
                font-size: 1rem;
            }

            .alert-modern p {
                font-size: 0.95rem;
                line-height: 1.5;
            }

            .alert-modern .fa-exclamation-triangle {
                font-size: 2.25rem !important;
            }
        }

        /* Mobile muito pequeno */
        @media (max-width: 380px) {
            .header-content {
                padding: 2rem 0;
                /* Aumentado */
                gap: 0.9rem;
            }

            .header-title-content {
                justify-content: center;
                text-align: center;
            }

            .header-title-content img {
                max-width: 110px;
                /* MUITO MAIOR - era 120px no CSS anterior mas pequeno demais */
                margin-right: 0.8rem;
            }

            .header-title-content h2 {
                font-size: 1.6rem;
                /* Mantido grande */
                text-align: center;
                line-height: 1.2;
            }

            .header-sobre-btn {
                font-size: 1.1rem;
                width: 44px;
                height: 44px;
                padding: 0.5rem;
            }

            .alert-modern {
                padding: 0.8rem;
                margin: 0.9rem 0;
            }

            .alert-modern h6 {
                font-size: 0.95rem;
            }

            .alert-modern p {
                font-size: 0.9rem;
                line-height: 1.4;
            }

            .alert-modern .fa-exclamation-triangle {
                font-size: 2rem !important;
            }
        }

        /* iPhone SE e similares */
        @media (max-width: 320px) {
            .header-content {
                padding: 1.75rem 0;
                /* Aumentado */
                gap: 0.75rem;
            }

            .header-title-content {
                justify-content: center;
                text-align: center;
            }

            .header-title-content img {
                max-width: 100px;
                /* MAIOR - era 90px */
                margin-right: 0.7rem;
            }

            .header-title-content h2 {
                font-size: 1.7rem;
                text-align: center;
                line-height: 1.15;
            }

            .header-sobre-btn {
                font-size: 1rem;
                width: 40px;
                height: 40px;
                padding: 0.45rem;
            }
        }


        /* FOOTER RESPONSIVO MELHORADO */

        /* Reset do footer existente */
        .footer-gradient {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            margin-top: 4rem;
            padding: 2rem 0;
        }

        .footer-content {
            padding: 1.5rem 0;
        }

        .footer-logo-section {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .footer-logo-section img {
            max-width: 60px;
            height: auto;
        }

        .footer-logo-section h4 {
            margin: 0;
            font-size: 1.3rem;
            font-weight: 600;
            text-align: center;
            line-height: 1.3;
        }

        /* Grid do footer para desktop */
        .footer-main-content {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            gap: 2rem;
            align-items: start;
            margin-top: 1rem;
        }

        .footer-images-left,
        .footer-images-right {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .footer-text-center {
            text-align: center;
            padding: 0 1rem;
        }

        .footer-text-center p {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1.25rem;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 400;
        }

        .footer-image-item {
            max-width: 80%;
            height: auto;
            border-radius: 8px;
        }

        .img-0 {
            max-width: 90%;
            height: auto;
            border-radius: 8px;
        }

        .img-1 {
            max-width: 55%;
            height: auto;
            border-radius: 8px;
        }

        /* Tablets */
        @media (max-width: 992px) {
            .footer-logo-section h4 {
                font-size: 1.3rem;
            }

            .footer-text-center p {
                font-size: 0.85rem;
                line-height: 1.5;
            }

            .footer-main-content {
                gap: 1.5rem;
            }
        }

        /* Tablets pequenos */
        @media (max-width: 768px) {
            .footer-main-content {
                grid-template-columns: 1fr;
                gap: 2.5rem;
                text-align: center;
            }

            .footer-images-left,
            .footer-images-right {
                flex-direction: row;
                justify-content: center;
                gap: 2.5rem;
            }

            .footer-logo-section {
                flex-direction: column;
                gap: 0.75rem;
            }

            .footer-logo-section img {
                max-width: 55px;
            }

            .footer-logo-section h4 {
                font-size: 1.2rem;
            }

            .footer-text-center p {
                font-size: 0.8rem;
                line-height: 1.5;
                padding: 0 1rem;
            }
        }

        /* Mobile */
        @media (max-width: 576px) {
            .footer-gradient {
                margin-top: 2rem;
                padding: 2rem 0;
            }

            .footer-content {
                padding: 1.5rem 0;
            }

            .footer-logo-section img {
                max-width: 55px;
            }

            .footer-logo-section h4 {
                font-size: 1.1rem;
                line-height: 1.3;
            }

            .footer-main-content {
                gap: 2rem;
            }

            .footer-images-left,
            .footer-images-right {
                gap: 2rem;
            }

            .footer-image-item {
                flex: 1;
                max-width: 130px;
            }

            .footer-text-center p {
                font-size: 0.85rem;
                line-height: 1.6;
                padding: 0 0.5rem;
                margin-bottom: 1.5rem;
            }
        }

        /* Mobile pequeno */
        @media (max-width: 480px) {
            .footer-logo-section img {
                max-width: 50px;
            }

            .footer-logo-section h4 {
                font-size: 1rem;
                line-height: 1.25;
            }

            .footer-images-left,
            .footer-images-right {
                gap: 1.75rem;
            }

            .footer-image-item {
                max-width: 120px;
            }

            .footer-text-center p {
                font-size: 0.8rem;
                line-height: 1.5;
                margin-bottom: 1.25rem;
            }
        }

        /* Mobile muito pequeno */
        @media (max-width: 380px) {
            .footer-gradient {
                padding: 1.5rem 0;
            }

            .footer-logo-section img {
                max-width: 45px;
            }

            .footer-logo-section h4 {
                font-size: 0.95rem;
                line-height: 1.2;
            }

            .footer-images-left,
            .footer-images-right {
                gap: 1.5rem;
            }

            .footer-image-item {
                max-width: 100px;
            }

            .footer-text-center p {
                font-size: 0.75rem;
                line-height: 1.4;
                margin-bottom: 1rem;
            }
        }

        /* Correções gerais de responsividade */
        @media (max-width: 768px) {
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }

            .form-container {
                margin: 1rem 0;
                padding: 1.5rem;
                border-radius: 15px;
            }

            .section-card {
                margin-bottom: 1.5rem;
            }

            .card-header-modern {
                padding: 1rem 1.5rem;
                font-size: 1rem;
            }

            .card-body-modern {
                padding: 1.5rem;
            }

            .page-title {
                padding: 1.5rem;
                margin: 1rem 0;
            }

            .page-title h4 {
                font-size: 1.1rem;
            }

            .alert-modern {
                padding: 1rem;
                margin: 1rem 0;
            }

            .btn-modern {
                width: 100%;
                margin-bottom: 0.5rem;
            }

            .text-end {
                text-align: center !important;
            }
        }

        @media (max-width: 576px) {
            .container {
                padding-left: 0.75rem;
                padding-right: 0.75rem;
            }

            .form-container {
                margin: 0.5rem 0;
                padding: 1rem;
            }

            .card-header-modern {
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }

            .card-body-modern {
                padding: 1rem;
            }

            .page-title {
                padding: 1rem;
            }

            .page-title h4 {
                font-size: 1rem;
            }

            .form-control,
            .form-select {
                font-size: 0.9rem;
                padding: 0.6rem 0.8rem;
            }

            .form-label {
                font-size: 0.85rem;
            }
        }

        /* Remove regras antigas que conflitam */
        .d-flex.align-items-center.justify-content-center.position-relative {
            position: static !important;
        }

        /* Adicionar essas regras ao seu CSS para melhorar a modal "Sobre" existente */

        /* Modal Sobre - Melhorias sem alterar HTML */
        #sobreModal .modal-dialog {
            max-width: 600px;
            /* Controla a largura máxima */
        }

        #sobreModal .modal-content {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
        }

        #sobreModal .modal-header {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%) !important;
            border: none;
            padding: 1.25rem 2rem !important;
            /* Reduzido de 2rem */
            text-align: center;
        }

        #sobreModal .modal-title {
            font-size: 1.1rem;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            margin: 0;
        }

        #sobreModal .modal-body {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%) !important;
            padding: 1.25rem 1.5rem !important;
            /* Reduzido padding */
        }

        /* Otimização das imagens */
        #sobreModal .row.text-center {
            margin-bottom: 1rem !important;
            /* Reduzido espaçamento */
            padding: 0.75rem !important;
            /* Reduzido padding */
        }

        #sobreModal .col-6 {
            margin-bottom: 0.75rem !important;
            /* Reduzido espaçamento */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #sobreModal .col-6 img {
            border-radius: 8px;
        }

        /* Seção de informações mais compacta */
        #sobreModal .mt-4 {
            margin-top: 1rem !important;
            /* Reduzido de mt-4 */
        }

        #sobreModal .mt-4 h5 {
            font-size: 1rem;
            margin-bottom: 0.75rem !important;
            font-weight: 600;
        }

        #sobreModal .mt-4 p {
            margin-bottom: 0.75rem !important;
            font-size: 0.9rem;
        }

        #sobreModal .mt-4 ul {
            margin-bottom: 0;
        }

        #sobreModal .mt-4 li {
            margin-bottom: 0.35rem !important;
            /* Reduzido espaçamento */
            font-size: 0.85rem;
            line-height: 1.3;
        }

        #sobreModal hr {
            margin: 0.75rem 0 !important;
            /* Reduzido espaçamento */
            opacity: 0.3;
        }

        /* Footer mais compacto */
        #sobreModal .modal-footer {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
            border: none;
            padding: 0.75rem 1.5rem 1rem !important;
            /* Reduzido padding */
            text-align: center;
        }

        #sobreModal .modal-footer label {
            font-size: 0.8rem !important;
            margin-bottom: 0.75rem !important;
            line-height: 1.3;
        }

        #sobreModal .modal-footer .btn {
            padding: 0.5rem 1.5rem;
            font-size: 0.85rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        #sobreModal .modal-footer .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        /* Responsividade */
        @media (max-width: 768px) {
            #sobreModal .modal-dialog {
                max-width: 95%;
                margin: 1rem auto;
            }

            #sobreModal .modal-header {
                padding: 1rem 1.5rem !important;
            }

            #sobreModal .modal-title {
                font-size: 1rem;
            }

            #sobreModal .modal-body {
                padding: 1rem !important;
            }

            #sobreModal .row.text-center {
                padding: 0.5rem !important;
            }

            #sobreModal .col-6 {
                margin-bottom: 0.5rem !important;
            }

            #sobreModal .mt-4 h5 {
                font-size: 0.95rem;
            }

            #sobreModal .mt-4 p {
                font-size: 0.85rem;
            }

            #sobreModal .mt-4 li {
                font-size: 0.8rem;
                margin-bottom: 0.25rem !important;
            }

            #sobreModal .modal-footer {
                padding: 0.6rem 1rem 0.8rem !important;
            }

            #sobreModal .modal-footer label {
                font-size: 0.75rem !important;
                margin-bottom: 0.5rem !important;
            }

            #sobreModal .modal-footer .btn {
                padding: 0.45rem 1.25rem;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 576px) {
            #sobreModal .modal-dialog {
                max-width: 98%;
                margin: 0.5rem auto;
            }

            #sobreModal .modal-header {
                padding: 0.85rem 1.25rem !important;
            }

            #sobreModal .modal-title {
                font-size: 0.95rem;
            }

            #sobreModal .modal-body {
                padding: 0.85rem !important;
            }

            #sobreModal .col-6 img {
                max-width: 85% !important;
            }

            #sobreModal .mt-4 h5 {
                font-size: 0.9rem;
                margin-bottom: 0.5rem !important;
            }

            #sobreModal .mt-4 p {
                font-size: 0.8rem;
                margin-bottom: 0.5rem !important;
            }

            #sobreModal .mt-4 li {
                font-size: 0.75rem;
                margin-bottom: 0.2rem !important;
                line-height: 1.2;
            }

            #sobreModal .modal-footer {
                padding: 0.5rem 1rem 0.7rem !important;
            }

            #sobreModal .modal-footer label {
                font-size: 0.7rem !important;
                margin-bottom: 0.4rem !important;
            }

            #sobreModal .modal-footer .btn {
                padding: 0.4rem 1rem;
                font-size: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            #sobreModal .col-6 img {
                max-width: 80% !important;
            }

            #sobreModal .mt-4 li {
                font-size: 0.7rem;
            }
        }

        /* Animação suave para abertura */
        #sobreModal.fade .modal-dialog {
            transition: transform 0.3s ease-out;
        }

        #sobreModal.show .modal-dialog {
            transform: none;
        }