   /* Estilo Geral */
   * {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #1e1e1e, #4b4b7c);
    color: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Animation */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c2c54;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
#loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ffeb3b;
    border-top: 5px solid #6c63ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Banner */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
    overflow: hidden;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #6c63ff, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 auto;
    max-width: 80%;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 80%;
    margin: 10px auto;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: -1;
    transform: translateY(0);
    transition: transform 0.2s ease;
}
.hero:hover .hero-video {
    transform: translateY(-10px);
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #1e1e1e, #333);
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.4s ease-in-out;
}
.navbar.scrolled {
    background: linear-gradient(90deg, #2c2c54, #1e1e1e) !important;
}
.navbar:hover {
    background: linear-gradient(90deg, #333, #4b4b7c);
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #6c63ff, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.nav-link {
    color: #ffeb3b !important;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.4s ease, transform 0.4s ease, background-color 0.4s ease;
    padding: 8px 15px;
    border-radius: 8px;
}
.nav-link i {
    margin-right: 8px;
    font-size: 1.2rem;
}
.nav-link:hover {
    color: #7b73ff !important;
    transform: scale(1.05);
    background: rgba(255, 235, 59, 0.1);
    animation: animate__pulse 0.8s;
}
.nav-link.active {
    background: #6c63ff;
    color: #fff !important;
}
.navbar-toggler {
    border: none;
    color: #ffeb3b;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 235, 59, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Formulário de Contato */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 50px 30px;
    max-width: 600px;
    margin: 100px auto 50px auto;
    border-radius: 18px;
    border: 4px solid transparent;
    border-image: linear-gradient(45deg, #6c63ff, #ffeb3b) 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}
.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.contact-form h2 {
    font-size: 2rem;
    background: linear-gradient(45deg, #6c63ff, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    animation: animate__fadeIn 0.8s ease-in;
}
.contact-form .form-group {
    position: relative;
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.contact-form label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    margin-bottom: 8px;
    color: #f4f4f4;
}
.contact-form label i {
    margin-right: 10px;
    color: #ffeb3b;
    font-size: 1.2rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: #3a3a5e;
    color: #f4f4f4;
    text-align: center;
    transition: box-shadow 0.4s ease, border 0.4s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
    border: 2px solid #ffeb3b;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    text-align: center;
}
.contact-form .validation-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    display: none;
}
.contact-form .valid .validation-icon.fa-check {
    display: block;
    color: #28a745;
}
.contact-form .invalid .validation-icon.fa-times {
    display: block;
    color: #dc3545;
}
.contact-form .char-counter {
    font-size: 0.9rem;
    color: #ddd;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 20px;
}
.contact-form button {
    background: #6c63ff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    width: 90%;
    margin: 0 auto;
    display: block;
    position: relative;
}
.contact-form button:hover {
    background: #7b73ff;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(123, 115, 255, 0.5);
    animation: pulse 1.5s infinite;
}
.contact-form button:disabled {
    background: #5a5a8c;
    cursor: not-allowed;
}
.contact-form button .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #ffeb3b;
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.contact-form button.loading .spinner {
    display: inline-block;
}
.contact-form button.loading span {
    visibility: hidden;
}
#responseMessage {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    display: none;
    animation: animate__fadeIn 0.5s ease-in;
    max-width: 90%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
#responseMessage.success {
    background: #28a745;
    color: #fff;
}
#responseMessage.error {
    background: #dc3545;
    color: #fff;
}
#responseMessage .close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(123, 115, 255, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(123, 115, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(123, 115, 255, 0); }
}

/* FAQ Section */
.faq {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 40px 20px;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 18px;
    border: 4px solid transparent;
    border-image: linear-gradient(45deg, #6c63ff, #ffeb3b) 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.faq h2 {
    font-size: 2rem;
    background: linear-gradient(45deg, #6c63ff, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}
.accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 10px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.accordion-button {
    background: #3a3a5e;
    color: #f4f4f4;
    font-weight: 600;
    border-radius: 10px !important;
    transition: background-color 0.4s ease;
    text-align: center;
}
.accordion-button:not(.collapsed) {
    background: #6c63ff;
    color: #fff;
}
.accordion-button:focus {
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}
.accordion-body {
    background: #2c2c54;
    color: #f4f4f4;
    border-radius: 0 0 10px 10px;
    text-align: center;
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 40px 20px;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 18px;
    border: 4px solid transparent;
    border-image: linear-gradient(45deg, #6c63ff, #ffeb3b) 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}
.contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.contact h2 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #6c63ff, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.contact p {
    margin: 10px auto;
    font-size: 1rem;
    color: #ddd;
    max-width: 80%;
}
.contact-info {
    background: #3a3a5e;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    width: 100%;
}
.contact-info i {
    margin-right: 10px;
    color: #ffeb3b;
    font-size: 1.2rem;
}
.contact a {
    color: #ffeb3b;
    text-decoration: none;
    transition: color 0.4s ease;
}
.contact a:hover {
    color: #7b73ff;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.social-icon {
    color: #f4f4f4;
    font-size: 1.8rem;
    transition: color 0.4s ease, transform 0.4s ease;
}
.social-icon:hover {
    color: #ffeb3b;
    transform: scale(1.1);
    animation: animate__tada 0.8s;
}

/* WhatsApp CTA Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.4s ease, background 0.4s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.2);
    background: #20c65b;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    animation: pulse 1.5s infinite;
}

/* Rodapé */
.footer {
    background: linear-gradient(180deg, #1e1e1e, #2c2c54);
    color: #f4f4f4;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 0.9rem;
    border-top: 2px solid #ffeb3b;
}
.footer p {
    margin: 0 auto;
    max-width: 80%;
}
.footer .social-links {
    margin-top: 10px;
}
.footer a {
    color: #ffeb3b;
    text-decoration: none;
    transition: color 0.4s ease;
}
.footer a:hover {
    color: #7b73ff;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .nav-link {
        font-size: 0.9rem;
        padding: 10px;
    }
    .nav-link i {
        font-size: 1rem;
    }
    .navbar-nav {
        gap: 10px;
        text-align: center;
    }
    .contact-form,
    .contact,
    .faq {
        padding: 20px;
        margin: 20px auto;
    }
    .contact-form h2,
    .contact h2,
    .faq h2 {
        font-size: 1.6rem;
    }
    .contact-form .form-group {
        max-width: 100%;
    }
    .contact-form input,
    .contact-form textarea {
        padding-left: 15px;
    }
    .contact-form label i {
        font-size: 1rem;
    }
    .accordion-button {
        font-size: 0.9rem;
    }
    .accordion-body {
        font-size: 0.9rem;
    }
    .social-icon {
        font-size: 1.5rem;
    }
    .whatsapp-btn {
        right: calc(50% - 30px);
        bottom: 30px;
    }
    [data-aos] {
        transition-duration: 800ms;
    }
}

/* Accessibility */
.navbar a:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form button:focus,
.social-icon:focus,
.whatsapp-btn:focus,
.accordion-button:focus {
    outline: 3px solid #ffeb3b;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-form:hover,
    .contact:hover,
    .faq:hover,
    .navbar a:hover,
    .contact-form button:hover,
    .social-icon:hover,
    .whatsapp-btn:hover,
    #responseMessage,
    .hero:hover .hero-video,
    [data-aos] {
        transform: none;
        animation: none;
        transition: none;
    }
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}