/* Variáveis de cores */
:root {
    --primary: #3a0ca3;       /* Roxo escuro */
    --secondary: #4361ee;     /* Azul médio */
    --accent: #4cc9f0;        /* Azul claro/ciano */
    --dark: #0d1b2a;          /* Azul escuro quase preto */
    --light: #f8f9fa;         /* Branco suave */
    --gray: #6c757d;          /* Cinza médio */
    --success: #4cc9f0;       /* Azul claro para sucesso */
    --gradient-1: linear-gradient(135deg, #3a0ca3, #4361ee);
    --gradient-2: linear-gradient(135deg, #4361ee, #4cc9f0);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --white-color: #fff;
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.center{
	max-width: 1280px;
	padding:0 0%;
	margin:0 auto;
}

.w100{
	width: 100%;
}

.w80{
	width: 77%;
}


.w70{
	width: 70%;
}

.w50{
	width: 50%;
}

.w30{
	width: 30%;
}

.w32{
	width: 32.1%;
}

.w33{
	width: 33.3%;
}

.w23{
	width: 23%;
}
.w25{
	width: 24%;
}

.w39{
	width: 35%;
}
.w20{
	width: 20%;
}

.left{
	float: left;
}

.right{
	float: right;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.underline {
    height: 4px;
    width: 70px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-2);
    transition: 0.5s ease;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn:hover {
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.4);
    transform: translateY(-3px);
}

section {
    padding: 30px 0;
}

/* Header e Menu */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(13, 27, 42, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    font-family: 'Montserrat', sans-serif;
}

.logo span {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
    transition: var(--transition);
}

.menu ul {
    display: flex;
}

.menu ul li {
    margin-left: 30px;
}

.menu ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light);
    position: relative;
    padding: 5px 0;
}

.menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.menu ul li a:hover {
    color: var(--accent);
}

.menu ul li a:hover::after {
    width: 100%;
}

/* Seção Hero com Carrossel */
.hero {
    padding: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    text-align: center;
    color: var(--light);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease forwards;
}

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

.carousel-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-prev,
.carousel-next {
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    margin: 0 15px;
    transition: var(--transition);
}

.carousel-prev:hover,
.carousel-next:hover {
    color: var(--accent);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* Seção Sobre */
.sobre {
    background-color: var(--light);
}

.sobre-content {
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.sobre-img {
    flex: 1;
    min-width: 300px;
}

.img-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.img-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent);
    border-radius: 10px;
    z-index: -1;
}

.sobre-text {
    flex: 1;
    min-width: 300px;
}

.sobre-text h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
}

.sobre-text p {
    margin-bottom: 25px;
    color: var(--gray);
}

.valores {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.valor-item {
    text-align: center;
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.valor-item:hover {
    background-color: rgba(67, 97, 238, 0.05);
    transform: translateY(-5px);
}

.valor-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.valor-item h4 {
    font-size: 1.1rem;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

/* Seção Produtos */
.produtos {
    background-color: #f8f9fa;
    position: relative;
}

.produtos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='%234cc9f0' 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");
    opacity: 0.5;
    z-index: 0;
}

.produtos .container {
    position: relative;
    z-index: 1;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.produto-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.produto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    z-index: -1;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.produto-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.produto-icon i {
    font-size: 2rem;
    color: var(--light);
}

.produto-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.produto-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Seção Portfólio */
.portfolio {
    background-color: var(--light);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    border-radius: 30px;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-1);
    color: var(--light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: var(--light);
    width: 100%;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.portfolio-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.portfolio-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--light);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Seção Contato */
.contato {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95), rgba(58, 12, 163, 0.9)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
}

.contato .section-header h2 {
    color: var(--light);
}

.contato-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contato-info {
    flex: 1;
    min-width: 300px;
}

.contato-info h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.social-media {
    display: flex;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.contato-form {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-strong);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light);
}

.form-group input,
.form-group textarea,
.form-group select{
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus, 
.form-group select:focus{
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder{
    color: rgba(255, 255, 255, 0.5);
}

.btn-form {
    width: 100%;
    background: var(--gradient-2);
}

.btn-form:hover {
    background: var(--gradient-1);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.footer-logo span {
    color: var(--accent);
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
}

.footer-links h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter {
    flex: 1;
    min-width: 250px;
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    height: 45px;
}

.newsletter-form input {
    flex: 1;
    padding: 0 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    width: 45px;
    background-color: var(--accent);
    color: var(--light);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animações */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* =================================== */
/* ==== ESTILOS DO MODAL (POP-UP) ==== */
/* =================================== */

.modal-container {
    display: none; /* Inicia escondido */
    position: fixed; /* Fica fixo na tela */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite rolagem se o conteúdo for grande */
    background-color: rgba(0, 0, 0, 0.6); /* Fundo preto semi-transparente */
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    opacity: 0; /* Começa invisível para a transição */
    transition: opacity 0.3s ease;
}

.modal-container.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    width: 90%;
    max-width: 600px; /* Largura máxima */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Garante que o header não vaze das bordas */
    transform: scale(0.95); /* Efeito de zoom na entrada */
    transition: transform 0.3s ease;
}

.modal-container.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 18px 25px;
    background-color: #1A2C5B; /* Azul escuro do seu header */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.modal-close {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    text-decoration: none;
}

.modal-body {
    padding: 25px;
    line-height: 1.6;
    color: #333;
}

/* Estilo para o botão "Saiba Mais" - opcional mas recomendado */
.btn-saiba-mais {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #3686E9; /* Azul dos ícones */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-saiba-mais:hover {
    background-color: #1A2C5B; /* Azul escuro no hover */
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--dark);
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 99999;
    }

    .menu.active {
        left: 0;
    }

    .menu ul {
        flex-direction: column;
        padding: 40px 20px;
    }

    .menu ul li {
        margin: 0 0 20px 0;
    }

    .menu ul li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    .carousel-content h2 {
        font-size: 2.5rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    section {
        padding: 70px 0;
    }

    .sobre-content,
    .contato-container {
        flex-direction: column;
    }

    .valores {
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-grid,
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .carousel-content h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
        margin: 5px 0;
    }
}
.video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: none;
}

.titulo-categoria {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    border-left: 5px solid var(--accent);
    padding-left: 10px;
}

/* ==========================================================
   BOTÕES FLUTUANTES (WHATSAPP, TELEFONE E REDES SOCIAIS)
   - VERSÃO FINAL CONSOLIDADA -
   ========================================================== */

/* Regra geral para ambos os containers */
.floating-buttons,
.floating-buttons-redes {
    position: fixed;
    z-index: 9999;
    display: flex;
    gap: 15px;
    transform: translateZ(0); /* Melhora a performance de renderização */
}

/* Posição do container da DIREITA (WhatsApp/Telefone) */
.floating-buttons {
    bottom: 25px;
    right: 25px;
    flex-direction: column;
}

/* Posição do container da ESQUERDA (Redes Sociais) */
.floating-buttons-redes {
    bottom: 25px;
    left: 25px;
    flex-direction: column; /* <-- GARANTE A POSIÇÃO VERTICAL */
}

/* Estilo geral para TODOS os botões (links <a>) */
.floating-buttons a,
.floating-buttons-redes a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
   color: #ffffff4d;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.floating-buttons a:hover,
.floating-buttons-redes a:hover {
    transform: scale(1.1);
    background-color: #9CACF8;
}

/* Tamanhos específicos */
.floating-buttons a {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
}

.floating-buttons-redes a {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
}

/* --- CORES DE FUNDO ESPECÍFICAS --- */

/* Botões da Direita */
.whatsapp-float {
    background-color: #25d36654;
}
.phone-float {
    background-color: rgba(52,152,219,0.33);
}

/* COR ÚNICA para TODAS as redes sociais da Esquerda */
.floating-buttons-redes a {
    background-color: #4361ee47;
}

/* Garante que o clique não seja no ícone, mas no link */
.floating-buttons i,
.floating-buttons-redes i {
    pointer-events: none;
}

/* ==========================================================
   MODAL DE CARREGAMENTO (LOADING) PARA FORMULÁRIO
   ========================================================== */

.loading-overlay {
    position: fixed; /* Cobre a tela inteira */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo preto transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Garante que fique acima de tudo */
    opacity: 0; /* Começa invisível */
    visibility: hidden; /* Começa inacessível */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Animação do Spinner (ícone que gira) */
.spinner {
    border: 5px solid rgba(255, 255, 255, 0.3); /* Cinza claro da borda */
    border-top-color: var(--accent); /* Cor azul do seu tema para a parte que gira */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}