:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #eff6ff;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
}

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

/* Typography */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Helpers */
.section-padding {
    padding: 100px 0;
}

.bg-primary-soft {
    background-color: var(--primary-light);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 3px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar .btn {
    font-size: 0.85rem;
    padding: 7px 12px !important;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(220, 235, 255, 0.6) 100%), url('../imagens/fundo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efeito Parallax */
}

.main-hero-img {
    max-height: 500px;
    filter: drop-shadow(0 20px 30px rgba(37, 99, 235, 0.1));
}

/* Cards & Components */
.icon-box-small i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.icon-box-small:hover i {
    transform: translateY(-5px);
}

.atuacao-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 250px;
}

.atuacao-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.icon-bg {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.atuacao-card:hover .icon-bg {
    background: var(--primary-color);
    color: #fff;
}

.help-box {
    background: #fff;
    transition: all 0.3s ease;
}

.help-box:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Projects */
.project-card {
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6 !important;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.project-icon {
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Dynamic Area */
#area-dinamica {
    transition: all 0.5s ease;
}

.dynamic-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    padding: 2rem;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.animate-open {
    animation: slideFadeIn 0.6s ease forwards;
}

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

.close-btn {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

/* Association Form Styles */
.selection-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.selection-card:hover {
    background-color: var(--primary-light);
}

.selection-card input:checked + label {
    color: var(--primary-color);
}

.terms-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 10px;
}

/* Members Page Styles */
.structure-header {
    border-left: 6px solid var(--primary-color) !important;
    border-right: 6px solid var(--primary-color) !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.ls-1 {
    letter-spacing: 1px;
}

.btn-pix {
    background-color: #32bcad;
    color: white;
}

.btn-pix:hover {
    background-color: #2a9d91;
    color: white;
}

/* Ambassadors */
.ambassador-card {
    transition: transform 0.3s ease;
}

.img-container img {
    transition: transform 0.5s ease;
}

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

.ambassador-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.85); /* Tom azul institucional */
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
    text-align: center;
}

.img-container:hover .ambassador-overlay {
    opacity: 1;
}

.ambassador-btn {
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.img-container:hover .ambassador-btn {
    transform: translateY(0);
}

.ambassador-text p {
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Partners Section (Novo Modelo: Grade Flutuante) */
.partner-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    position: relative;
    overflow: hidden;
}

.partner-logo {
    max-height: 80px;
    max-width: 85%;
    object-fit: contain;
    transition: all 0.5s ease;
    z-index: 2;
}

/* Efeito de Vidro/Glow no Hover */

.partner-card:hover {
    transform: translateY(-15px) scale(1.05);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.partner-card:hover .partner-logo {
    transform: scale(1.1);
}

/* Animações de Flutuação (Timings Diferentes) */
@keyframes floatingLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-anim-1 { animation: floatingLogo 4s ease-in-out infinite; }
.float-anim-2 { animation: floatingLogo 5s ease-in-out infinite; animation-delay: 0.5s; }
.float-anim-3 { animation: floatingLogo 6s ease-in-out infinite; animation-delay: 1s; }

.swiper-parceiros {
    display: none; /* Desativa estilos antigos se houver resquícios */
}

/* Audio Player */
.audio-container {
    max-width: 100%;
    background: #fff;
    transition: all 0.3s ease;
}

.audio-container:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1) !important;
}

.custom-audio {
    width: 100%;
    height: 40px;
    outline: none;
}

.social-links a.social-link-modern {
    transition: all 0.3s ease;
    display: inline-block;
    color: #fff !important;
}

.social-links a.social-link-modern:hover {
    transform: scale(1.3) rotate(10deg);
    color: #d1d5db !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

.whatsapp-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    right: 75px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Counters */
.counter {
    font-size: 3.5rem;
    display: block;
}

/* Contact */
.contact-card {
    border: none;
}

.form-control, .form-select {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

/* Footer */
footer .text-muted {
    color: #a0aec0 !important;
}

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

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

footer hr {
    opacity: 0.1;
}

footer a.text-muted:hover {
    color: #fff !important;
}

/* Mobile Adjustments */

/* Footer Social Icons */
.footer-social-icons a {
    transition: all 0.3s ease;
    display: inline-block;
    color: #fff !important;
    text-decoration: none;
    font-size: 1.5rem;
}

/* Modern Card Hover Effect */
.card-modern-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-modern-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}
