body {
    font-family: 'Rubik', sans-serif;
    background-color: #f5f7fa;
}

.text-destaque {
    color: #F2A81D;
}

.button-default {
    background-color: #F2A81D;
    color: #0F2940;
}

.button-default:hover {
    background-color: #e09a18;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    outline: none;
    transition: background 0.3s ease;
}

.dark .slider {
    background: #2a3f52;
}

.light .slider {
    background: #d1d5db;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F2A81D;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(242, 168, 29, 0.3);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 8px rgba(242, 168, 29, 0.3);
}

.slider::-moz-range-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F2A81D;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(242, 168, 29, 0.3);
    transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
    box-shadow: 0 0 0 8px rgba(242, 168, 29, 0.3);
}

.custom-radio {
    width: 30px;
    height: 30px;
    border: 3px solid #F2A81D;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 12px;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.custom-radio.checked {
    border-color: #F2A81D;
}

.custom-radio.checked:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #F2A81D;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.2s ease;
}

.flag-card {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.flag-card.show {
    transform: translateY(0);
    opacity: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.form-input {
    transition: all 0.3s ease;
    border: 2px solid;
}

.dark .intSimula {
    background-color: #122b41;
}

.dark .item {
    background-color: #122b41;
}

.dark .contact-form {
    background-color: #122b41 !important; 
}


.dark #contactForm {
    background-color: #122b41 !important; 
}

.dark .form-input {
    border-color: #2a3f52;
    background-color: rgba(255, 255, 255, 0.9);
}

.light .form-input {
    border-color: #d1d5db;
    background-color: white;
}

.form-input:focus {
    border-color: #F2A81D !important;
    box-shadow: 0 0 0 3px rgba(242, 168, 29, 0.3);
}

.simularInfo {
    max-height: 0;
    overflow: hidden; 
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0; 
}

.simularInfo.show {
    max-height: 2000px;
    opacity: 1;
}

.contact-form {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.contact-form.show {
    max-height: 1200px;
    opacity: 1;
}

.radio-container {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dark .radio-container:hover {
    background-color: rgba(11, 2, 24, 0.2);
}

.light .radio-container:hover {
    background-color: rgba(11, 2, 24, 0.2);
}

.radio-container.selected {
    background-color: rgba(11, 2, 24, 0.2);
}

.voltar-site {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    width: 180px;
    height: 50px;
    border-radius: 50px;
    background-color: #2B88D9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    padding: 0 15px;
    /*gap: 8px;*/
    font-weight: 400;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.voltar-site:hover {
    transform: scale(1.1);
}

/* Container do texto para animar */
.voltar-site .texto {
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Quando o texto estiver escondido */
.voltar-site.hide-text .texto {
    opacity: 0;
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Ajusta o tamanho do botão quando texto escondido */
.voltar-site.hide-text {
    width: 50px; /* só o tamanho da seta */
    padding: 0;
    justify-content: center;
}

.voltar-site svg {
    stroke: #ffffff;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #222222;
}

.dark .theme-toggle {
    background-color: #2B88D9;
    color: white;
}

.light .theme-toggle {
    background-color: #2B88D9;
    color: white;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.main-container {
    transition: all 0.3s ease;
}

.dark .main-container {
    background-color: #0F2940;
    background-image: linear-gradient(to bottom right, #0F2940, #1a3d5c);
    color: white;
}

.light .main-container {
    background-color: white;
    background-image: none;
    color: #0F2940;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #F2A81D;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 12px;
    vertical-align: middle;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.custom-checkbox.checked {
    background-color: #F2A81D;
}

.custom-checkbox.checked:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    top: 3px;
    left: 8px;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    background-color: rgba(242, 168, 29, 0.05);
}

.checkbox-label {
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label a {
    color: #F2A81D;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.checkbox-label a:hover {
    color: #e09a18;
}

.pattern-bg {
    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' fill-rule='evenodd'%3E%3Cg fill='%23f2a81d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 4px;
    display: none;
}

.error .error-message {
    display: block;
}

.error .custom-checkbox {
    border-color: #ef4444;
}

.error #email {
    border-color: #ef4444;
}

    /* Loading Spinner Styles */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            backdrop-filter: blur(5px);
        }

        .loading-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(242, 168, 29, 0.3);
            border-top: 4px solid #F2A81D;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .loading-text {
            color: white;
            font-size: 18px;
            font-weight: 500;
            margin-top: 20px;
            text-align: center;
        }

        .loading-progress {
            width: 200px;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            margin-top: 15px;
            overflow: hidden;
        }

        .loading-progress-bar {
            height: 100%;
            background: #F2A81D;
            border-radius: 2px;
            animation: progress 5s linear;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes progress {
            0% { width: 0%; }
            100% { width: 100%; }
        }
        
             .hidden {
            display: none !important;
        }

        /* Estilo para o botão voltar ao site */
        .back-to-site-btn {
            background: linear-gradient(135deg, #F2A81D, #e09a18);
            /*color: #0F2940;*/
            color:#ffffff;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(242, 168, 29, 0.3);
        }

        .back-to-site-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(242, 168, 29, 0.4);
            background: linear-gradient(135deg, #e09a18, #d18a15);
        }

        .back-to-site-btn svg {
            transition: transform 0.3s ease;
        }

        .back-to-site-btn:hover svg {
            transform: translateX(-2px);
        }
        
        @media screen and (max-width: 500px) {
            .logo { margin-top: 60px; }
        }

@media screen and (max-width: 500px) {
    .logo { margin-top: 60px; }
    .custom-radio {
        width: 25px;
        height: 20px;
        border: 3px solid #F2A81D;
        border-radius: 50%;
        display: inline-block;
        position: relative;
        cursor: pointer;
        margin-right: 12px;
        vertical-align: middle;
        transition: all 0.2s ease;
    }
    .custom-radio.checked:after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        background-color: #F2A81D;
        border-radius: 50%;
        top: -2px;
        left: -1px;
        transition: all 0.2s ease;
    }
}
