/* ========================================= */
/* VARIÁVEIS E CONFIGURAÇÕES GLOBAIS */
/* ========================================= */
:root {
    --primary-color: #7E6DDB;
    --primary-dark: #6151b8;
    --secondary-color: #F8B595;
    --accent-color: #A5DEE5;
    --dark-color: #2D3047;
    --light-color: #F9F9F9;
    --text-color: #4A4A68;
    --text-light: #8B8BA5;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    padding-top: 90px;
    overflow-x: hidden;
}

/* ========================================= */
/* NAVBAR ESTILIZADA */
/* ========================================= */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    z-index: 1030;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand-container {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 70px;
    width: auto;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-top: 3px;
    text-transform: uppercase;
}

.navbar-toggler {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    padding: 10px 15px;
    position: relative;
    transition: var(--transition);
    font-size: 1rem;
    border-radius: 8px;
}

    .nav-link:hover {
        color: var(--primary-color);
        background: rgba(126, 109, 219, 0.1);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--gradient);
        transition: var(--transition);
    }

    .nav-link:hover::after {
        width: 70%;
    }

.navbar-cta {
    margin-left: 15px;
}

.cta-button {
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(126, 109, 219, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        transition: var(--transition);
        z-index: -1;
    }

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(126, 109, 219, 0.4);
    }

        .cta-button:hover::before {
            width: 100%;
        }

.navbar-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================= */
/* CONTEÚDO PRINCIPAL */
/* ========================================= */
main {
    min-height: calc(100vh - 200px);
    padding-bottom: 2rem;
}

/* ========================================= */
/* FOOTER MODERNO */
/* ========================================= */
.footer-custom {
    background: var(--dark-color);
    color: white;
    position: relative;
    padding-top: 80px;
    margin-top: 50px;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .footer-wave svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 60px;
    }

    .footer-wave .shape-fill {
        fill: var(--dark-color);
    }

.footer-content {
    padding-bottom: 40px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    height: 220px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-style: italic;
    max-width: 250px;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--gradient);
        border-radius: 3px;
    }

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    transition: var(--transition);
}

    .footer-links li:hover {
        transform: translateX(5px);
    }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    position: relative;
    padding-left: 0;
}

    .footer-links a:hover {
        color: white;
        padding-left: 10px;
    }

    .footer-links a::before {
        content: '?';
        position: absolute;
        left: -15px;
        opacity: 0;
        transition: var(--transition);
    }

    .footer-links a:hover::before {
        left: 0;
        opacity: 1;
    }

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.8);
}

    .contact-item i {
        margin-right: 15px;
        font-size: 1.2rem;
        color: var(--accent-color);
        width: 20px;
        text-align: center;
    }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transition: var(--transition);
        font-size: 1.1rem;
    }

        .social-links a:hover {
            background: var(--gradient);
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    width: 100%;
}

/* ========================================= */
/* LINKS LEGAIS NO FOOTER */
/* ========================================= */
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
}

    .legal-link:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        text-decoration: none;
    }

.legal-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ========================================= */
/* RESPONSIVIDADE */
/* ========================================= */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--shadow);
        margin-top: 15px;
    }

    .navbar-nav {
        align-items: flex-start;
    }

    .nav-item {
        margin: 5px 0;
        width: 100%;
    }

    .nav-link {
        padding: 12px 15px;
        display: block;
    }

    .navbar-cta {
        margin: 10px 0 0 0;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        text-align: center;
    }

    .footer-logo-container {
        align-items: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-item {
        justify-content: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .legal-separator {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 80px;
    }

    .logo-img {
        height: 60px;
    }

    .logo-name {
        font-size: 1.3rem;
    }

    .logo-title {
        font-size: 0.75rem;
    }

    .footer-logo-img {
        height: 200px;
    }

    .footer-content > div {
        margin-bottom: 40px;
    }

    .footer-legal {
        gap: 10px;
    }

    .footer-legal-links {
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .logo-img {
        height: 50px;
        margin-right: 10px;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    .logo-title {
        font-size: 0.65rem;
    }

    .footer-logo-img {
        height: 200px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .legal-link {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content > div {
    animation: fadeIn 0.6s ease forwards;
}

    .footer-content > div:nth-child(2) {
        animation-delay: 0.2s;
    }

    .footer-content > div:nth-child(3) {
        animation-delay: 0.4s;
    }

/* Efeito de hover suave para links legais */
.legal-link {
    position: relative;
    overflow: hidden;
}

    .legal-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient);
        transition: var(--transition);
        z-index: -1;
    }

    .legal-link:hover::before {
        left: 0;
    }

    .legal-link:hover {
        color: white;
    }
