/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Cabeçalho */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0a0a0a;
    position: relative;
    min-height: 80px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

/* Navegação */
nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover, nav a.active {
    color: #9c27b0;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.connect-btn, .login-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.connect-btn {
    background-color: #9c27b0;
    color: white;
    border: none;
}

.login-btn {
    background-color: transparent;
    color: white;
    border: 1px solid #6a1b9a;
}

.connect-btn:hover, .connect-btn.active-btn {
    background-color: #7b1fa2;
}

.login-btn:hover, .login-btn.active-btn {
    background-color: rgba(156, 39, 176, 0.2);
}

/* Dashboard do usuário */
.user-dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.user-dashboard-header span {
    color: #ffffff;
    font-weight: 500;
}

.user-dashboard-header button {
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background-color: transparent;
    color: white;
    border: 1px solid #6a1b9a;
}

.user-dashboard-header button:hover {
    background-color: rgba(156, 39, 176, 0.2);
}

/* Conteúdo principal */
main {
    flex: 1;
    padding: 2rem;
    width: 100%;
}

.container {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.left-section {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.right-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Cards */
.main-card, .info-card, .small-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.main-card {
    height: 400px;
    background-color: #1a1a1a;
}

.main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.card-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9c27b0;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.info-card {
    background-color: #2e1a47;
    min-height: 130px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.info-card p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(156, 39, 176, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    flex-shrink: 0;
}

.small-card {
    height: 170px;
    background-color: #1a1a1a;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.small-card:hover {
    transform: scale(1.02);
}

.small-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(46, 26, 71, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-label span {
    font-size: 0.9rem;
    font-weight: 500;
}

.circle-icon {
    width: 24px;
    height: 24px;
    background-color: #9c27b0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    flex-shrink: 0;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #0a0a0a;
    font-size: 0.8rem;
    color: #b39ddb;
}

/* Estilos para páginas internas */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9c27b0;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.content-box {
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-box p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Estilos para a página Sobre */
.about-list {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-list li {
    margin-bottom: 0.5rem;
}

.team-section {
    margin-top: 2rem;
}

.team-section h3 {
    font-size: 1.5rem;
    color: #9c27b0;
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-member {
    text-align: center;
}

.member-placeholder {
    width: 120px;
    height: 120px;
    background-color: #2e1a47;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    display: block;
}

.team-member h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Estilos para a página Doações */
.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.donation-card {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.donation-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.donation-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #9c27b0;
}

.donation-card p {
    margin-bottom: 1.5rem;
}

.donate-btn {
    background-color: #9c27b0;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.donate-btn:hover {
    background-color: #7b1fa2;
}

.bank-info {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.bank-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #9c27b0;
}

.bank-info p {
    margin-bottom: 0.5rem;
}

.donation-impact h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #9c27b0;
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.impact-item {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.impact-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #9c27b0;
}

/* Estilos para a página Relatos */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.testimonial-card {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background-color: #9c27b0;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.testimonial-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
}

.share-story {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.share-story h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #9c27b0;
}

.share-btn {
    background-color: #9c27b0;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.share-btn:hover {
    background-color: #7b1fa2;
}

/* Estilos para a página Informações */
.info-section {
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 10px;
}

.info-section:hover {
    background-color: rgba(139, 92, 246, 0.02);
    transform: translateY(-1px);
}

.info-section h3 {
    font-size: 1.5rem;
    color: #9c27b0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: 2px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.violence-card {
    background-color: #2e1a47;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 250px;
}

.violence-title {
    background-color: #9c27b0;
    padding: 1rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.violence-title h4 {
    font-size: 1.2rem;
    color: white;
    text-align: center;
    margin: 0;
}

.violence-content {
    padding: 1rem;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: #9c27b0 #2e1a47;
}

.violence-content::-webkit-scrollbar {
    width: 8px;
}

.violence-content::-webkit-scrollbar-track {
    background: #2e1a47;
}

.violence-content::-webkit-scrollbar-thumb {
    background-color: #9c27b0;
    border-radius: 10px;
}

.violence-content p {
    margin-bottom: 1rem;
}

.violence-content p:last-child {
    margin-bottom: 0;
}

.info-card {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #9c27b0;
}

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

.channel-item {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.channel-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.channel-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #9c27b0;
}

.legislation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.law-item {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
}

.law-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #9c27b0;
}

/* Estilos para a página Contato */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-method {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-method h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #9c27b0;
}

.social-media {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 1.5rem;
}

.social-media h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #9c27b0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: #9c27b0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #7b1fa2;
}

.contact-form {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 2rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #9c27b0;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #fff;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #9c27b0;
}

.submit-btn {
    background-color: #9c27b0;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #7b1fa2;
}

/* Estilos para páginas de Login e Cadastro */
.login-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.login-form {
    margin-bottom: 2rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.remember-me, .terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot-password {
    color: #9c27b0;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #444;
}

.login-divider span {
    padding: 0 1rem;
    color: #b39ddb;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #444;
    background-color: transparent;
    color: #fff;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.register-link {
    text-align: center;
    font-size: 0.9rem;
}

.register-link a {
    color: #9c27b0;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.terms a {
    color: #9c27b0;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Estilos para mensagens de alerta */
.alert {
    padding: 15px;
    margin: 20px auto;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    max-width: 80%;
    font-weight: 500;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Botão de Modo Claro/Escuro */
.theme-toggle-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8576FF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.theme-toggle-button:hover {
    background-color: #A294F9;
}

/* Estilos para o Modo Claro */
body.light-mode {
    background-color: #CDC1FF;
    color: #333333;
}

body.light-mode header,
body.light-mode footer {
    background-color: #A294F9;
}

body.light-mode .logo {
    background-color: transparent;
}

body.light-mode .logo-text h1,
body.light-mode nav a,
body.light-mode .connect-btn,
body.light-mode .login-btn {
    color: #333333;
}

body.light-mode nav a:hover,
body.light-mode nav a.active {
    color: #8576FF;
}

body.light-mode .connect-btn {
    background-color: #8576FF;
    color: white;
}

body.light-mode .login-btn {
    border-color: #8576FF;
    color: #8576FF;
}

body.light-mode .connect-btn:hover {
    background-color: #A294F9;
}

body.light-mode .login-btn:hover {
    background-color: rgba(133, 118, 255, 0.2);
}

body.light-mode .main-card,
body.light-mode .info-card,
body.light-mode .small-card,
body.light-mode .content-box,
body.light-mode .donation-card,
body.light-mode .bank-info,
body.light-mode .impact-item,
body.light-mode .testimonial-card,
body.light-mode .share-story,
body.light-mode .violence-card,
body.light-mode .channel-item,
body.light-mode .law-item,
body.light-mode .contact-method,
body.light-mode .social-media,
body.light-mode .contact-form {
    background-color: #E0D9FF;
}

body.light-mode .card-overlay h2,
body.light-mode .page-title,
body.light-mode .info-card p,
body.light-mode .donation-card h3,
body.light-mode .bank-info h3,
body.light-mode .donation-impact h3,
body.light-mode .impact-item h4,
body.light-mode .info-section h3,
body.light-mode .info-card h4,
body.light-mode .channel-info h4,
body.light-mode .law-item h4,
body.light-mode .contact-method h3,
body.light-mode .social-media h3,
body.light-mode .contact-form h3 {
    color: #8576FF;
}

body.light-mode .arrow-icon,
body.light-mode .circle-icon,
body.light-mode .donate-btn,
body.light-mode .share-btn,
body.light-mode .violence-title,
body.light-mode .social-icon {
    background-color: #8576FF;
}

body.light-mode .arrow-icon svg,
body.light-mode .circle-icon svg,
body.light-mode .donate-btn,
body.light-mode .share-btn,
body.light-mode .violence-title h4,
body.light-mode .social-icon {
    color: white;
}

body.light-mode .donate-btn:hover,
body.light-mode .share-btn:hover,
body.light-mode .social-icon:hover {
    background-color: #A294F9;
}

body.light-mode .card-label {
    background-color: rgba(133, 118, 255, 0.9);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background-color: #F0EDFF;
    border-color: #A294F9;
    color: #333333;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    border-color: #8576FF;
}

body.light-mode .submit-btn {
    background-color: #8576FF;
    color: white;
}

body.light-mode .submit-btn:hover {
    background-color: #A294F9;
}

body.light-mode .forgot-password,
body.light-mode .register-link a,
body.light-mode .terms a {
    color: #8576FF;
}

body.light-mode .social-btn {
    border-color: #A294F9;
    color: #333333;
}

body.light-mode .social-btn:hover {
    background-color: rgba(133, 118, 255, 0.05);
}

body.light-mode .violence-content::-webkit-scrollbar-thumb {
    background-color: #8576FF;
}

body.light-mode .violence-content::-webkit-scrollbar-track {
    background: #E0D9FF;
}

/* Controle de visibilidade das logos */
.logo img.logo-light {
    display: none;
}

body.light-mode .logo img.logo-dark {
    display: none;
}

body.light-mode .logo img.logo-light {
    display: inline-block;
}

/* Estilos melhorados para a seção de busca de academias */
.location-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.location-section:hover {
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.search-section {
    margin-bottom: 2rem;
}

.search-section h4 {
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.search-inputs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input, .search-select {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus, .search-select:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-select option {
    background-color: #1a1a2e;
    color: #ffffff;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h4 {
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.filter-checkbox:hover {
    background-color: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
}

.filter-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #8B5CF6;
    cursor: pointer;
}

.filter-checkbox span {
    font-size: 0.95rem;
    color: #ffffff;
    user-select: none;
}

.location-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.location-btn:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.location-btn:active {
    transform: translateY(0);
}

.location-results {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

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

.academy-result {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.academy-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    transition: width 0.3s ease;
}

.academy-result:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.academy-result:hover::before {
    width: 8px;
}

.academy-result h5 {
    color: #8B5CF6;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.academy-result p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.academy-result p:last-child {
    margin-bottom: 0;
}

.academy-result strong {
    color: #ffffff;
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(220, 38, 127, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeIn 0.5s ease-in-out;
}

.no-results h4 {
    color: #8B5CF6;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-results p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.no-results ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.no-results li {
    margin: 0.5rem 0;
    padding: 8px 12px;
    background-color: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    display: inline-block;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.no-results li:hover {
    background-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-1px);
}

.no-results a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.no-results a:hover {
    color: #7C3AED;
}

/* Animações de carregamento */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    border-top-color: #8B5CF6;
    animation: spin 1s ease-in-out infinite;
}

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

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

/* ========================================
   MEDIA QUERIES - RESPONSIVIDADE COMPLETA
   ======================================== */

/* Tablets grandes e laptops pequenos (1024px e abaixo) */
@media (max-width: 1024px) {
    header {
        padding: 1rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .container {
        flex-direction: column;
    }

    .left-section, .right-section {
        width: 100%;
    }

    .main-card {
        height: 350px;
    }

    .card-overlay h2 {
        font-size: 2rem;
    }

    .small-card {
        height: 150px;
    }

    .page-title {
        font-size: 2rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    .team-grid, .donation-options, .impact-items, .info-cards {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .testimonials {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .channels {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Tablets (768px e abaixo) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 1rem;
        padding: 1rem;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    nav {
        width: 100%;
        order: 3;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        order: 2;
    }

    main {
        padding: 1.5rem 1rem;
    }

    .container {
        gap: 1rem;
    }

    .main-card {
        height: 300px;
    }

    .card-overlay {
        bottom: 15px;
        left: 15px;
    }

    .card-overlay h2 {
        font-size: 1.8rem;
    }

    .info-card {
        min-height: 100px;
        padding: 1rem 1.5rem;
    }

    .info-card p {
        font-size: 1rem;
    }

    .small-card {
        height: 140px;
    }

    .page-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .content-box {
        padding: 1.5rem;
    }

    .team-grid, .donation-options, .impact-items, .info-cards, .testimonials, .channels {
        grid-template-columns: 1fr;
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .team-member h4 {
        font-size: 1.1rem;
    }

    .donation-card, .bank-info, .impact-item {
        padding: 1.2rem;
    }

    .donation-card h3, .bank-info h3 {
        font-size: 1.2rem;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-info h3 {
        font-size: 1.1rem;
    }

    .location-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .search-inputs {
        flex-direction: column;
    }

    .search-input, .search-select {
        min-width: 100%;
    }

    .filter-options {
        grid-template-columns: 1fr;
    }

    .academy-result {
        padding: 1.2rem;
    }

    .no-results {
        padding: 2rem 1rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Smartphones (480px e abaixo) */
@media (max-width: 480px) {
    header {
        padding: 0.8rem;
    }

    .logo img {
        height: 32px;
    }

    .logo-text h1 {
        font-size: 0.9rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .connect-btn, .login-btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .user-dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .user-dashboard-header button {
        width: 100%;
    }

    main {
        padding: 1rem 0.5rem;
    }

    .container {
        gap: 0.8rem;
    }

    .main-card {
        height: 250px;
    }

    .card-overlay {
        bottom: 10px;
        left: 10px;
    }

    .card-overlay h2 {
        font-size: 1.5rem;
    }

    .info-card {
        min-height: 80px;
        padding: 0.8rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }

    .arrow-icon {
        width: 32px;
        height: 32px;
    }

    .small-card {
        height: 120px;
    }

    .card-label {
        bottom: 10px;
        left: 10px;
        padding: 0.4rem 0.8rem;
    }

    .card-label span {
        font-size: 0.8rem;
    }

    .circle-icon {
        width: 20px;
        height: 20px;
    }

    .page-container {
        padding: 0 0.5rem;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-box {
        padding: 1rem;
    }

    .content-box p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .member-photo {
        width: 80px;
        height: 80px;
    }

    .team-member h4 {
        font-size: 1rem;
    }

    .team-member p {
        font-size: 0.85rem;
    }

    .donation-card, .bank-info, .impact-item {
        padding: 1rem;
    }

    .donation-card h3, .bank-info h3 {
        font-size: 1.1rem;
    }

    .donation-card p, .bank-info p {
        font-size: 0.9rem;
    }

    .donate-btn, .share-btn, .submit-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-avatar {
        width: 45px;
        height: 45px;
    }

    .testimonial-info h3 {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .info-section {
        padding: 1rem;
    }

    .info-section h3 {
        font-size: 1.3rem;
    }

    .violence-card {
        height: 220px;
    }

    .violence-title h4 {
        font-size: 1.1rem;
    }

    .violence-content {
        font-size: 0.9rem;
    }

    .channel-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .channel-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .channel-info h4 {
        font-size: 1.1rem;
    }

    .law-item {
        padding: 1rem;
    }

    .law-item h4 {
        font-size: 1.1rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .contact-method h3 {
        font-size: 1.1rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form h3 {
        font-size: 1.3rem;
    }

    .form-group input, .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .location-section {
        padding: 1rem;
    }

    .search-section h4, .filter-section h4 {
        font-size: 1rem;
    }

    .search-input, .search-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .location-btn {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
    }

    .academy-result {
        padding: 1rem;
    }

    .academy-result h5 {
        font-size: 1.1rem;
    }

    .academy-result p {
        font-size: 0.9rem;
    }

    .no-results {
        padding: 1.5rem 0.8rem;
    }

    .no-results h4 {
        font-size: 1.1rem;
    }

    .no-results p {
        font-size: 0.9rem;
    }

    .theme-toggle-button {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.3rem;
    }

    footer {
        font-size: 0.75rem;
        padding: 1rem;
    }
}

/* Smartphones muito pequenos (360px e abaixo) */
@media (max-width: 360px) {
    .logo img {
        height: 28px;
    }

    .logo-text h1 {
        font-size: 0.8rem;
    }

    nav a {
        font-size: 0.8rem;
    }

    .main-card {
        height: 200px;
    }

    .card-overlay h2 {
        font-size: 1.3rem;
    }

    .small-card {
        height: 100px;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .content-box {
        padding: 0.8rem;
    }

    .member-photo {
        width: 70px;
        height: 70px;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }

    .violence-card {
        height: 200px;
    }
}


/* Estilos melhorados para a página de contato */
.contact-intro {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.3);
}

.contact-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.contact-intro p {
    font-size: 1.1rem;
    color: #e1bee7;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    background-color: #2e1a47;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9c27b0, #6a1b9a);
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: #9c27b0;
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.3);
}

.contact-method h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #9c27b0;
    font-weight: 600;
}

.contact-method p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: #b39ddb;
    font-style: italic;
}

.contact-cta {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(211, 47, 47, 0.3);
    margin-bottom: 2rem;
}

.cta-content h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1rem;
    color: #ffcdd2;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.emergency-btn {
    background-color: #ffffff;
    color: #d32f2f;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emergency-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: linear-gradient(135deg, #2e1a47, #1a0d2e);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(46, 26, 71, 0.4);
    border: 1px solid #4a2c6a;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #9c27b0;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #e1bee7;
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #4a2c6a;
    border-radius: 8px;
    background-color: #1a0d2e;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9c27b0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
    background-color: #2e1a47;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(156, 39, 176, 0.5);
    background: linear-gradient(135deg, #ad2cc6, #7b1fa2);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.6);
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .contact-intro {
        padding: 1.5rem;
    }
    
    .contact-intro h3 {
        font-size: 1.5rem;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }
    
    .contact-method {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-cta {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-method,
.contact-intro,
.contact-cta,
.contact-form {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-method:nth-child(2) {
    animation-delay: 0.1s;
}

.contact-method:nth-child(3) {
    animation-delay: 0.2s;
}

.contact-method:nth-child(4) {
    animation-delay: 0.3s;
}

/* Correções adicionais para evitar elementos cinzas */
.page-container {
    background-color: transparent;
}

.content-box {
    background-color: transparent;
}

/* Garantir que todos os textos secundários tenham cor adequada */
.contact-method p,
.contact-form label,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b39ddb;
    opacity: 0.8;
}

/* Melhorar contraste de elementos de foco */
.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #e1bee7;
    opacity: 0.6;
}

/* Estilização adicional para o botão de emergência */
.emergency-btn {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    color: #d32f2f;
    border: 2px solid #d32f2f;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.emergency-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
    transition: left 0.5s;
}

.emergency-btn:hover::before {
    left: 100%;
}

.emergency-btn:hover {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.3);
    border-color: #b71c1c;
}

.emergency-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

/* Garantir que o footer tenha cor adequada */
footer {
    background-color: #0a0a0a;
    border-top: 1px solid #2e1a47;
}

footer p {
    color: #b39ddb !important;
}


/* Estilos para a seção de ONGs */
.ongs-section {
    background-color: #2e1a47;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.ongs-section h3 {
    font-size: 1.5rem;
    color: #9c27b0;
    margin-bottom: 1rem;
}

.ongs-section > p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.ongs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.ong-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #9c27b0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ong-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(156, 39, 176, 0.2);
    background-color: #242424;
}

.ong-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.ong-header h4 {
    font-size: 1.2rem;
    color: #9c27b0;
    margin: 0;
    flex: 1;
}

.ong-badge {
    background-color: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
}

.ong-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #d0d0d0;
}

.ong-contact {
    background-color: rgba(156, 39, 176, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.ong-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #c0c0c0;
}

.ong-contact p:last-child {
    margin-bottom: 0;
}

.ong-contact strong {
    color: #9c27b0;
}

.ong-link-btn {
    display: inline-block;
    background-color: #9c27b0;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
}

.ong-link-btn:hover {
    background-color: #7b1fa2;
    transform: scale(1.02);
}

.ong-link-btn:active {
    transform: scale(0.98);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .ongs-grid {
        grid-template-columns: 1fr;
    }
    
    .ong-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ong-badge {
        align-self: flex-start;
    }
}


/* Botão Flutuante "Voltar ao Topo" */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9c27b0 0%, #6a1b9a 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    /* Usar flexbox para centralizar o conteúdo */
    display: flex; 
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
    /* Transição para fade-in/out */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    /* Estado inicial: invisível */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Leve movimento para o efeito */
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #b039d6 0%, #7e2ba3 100%);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.6);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Estilo para o Botão de Alternância de Tema (Minimalista) */
.theme-toggle-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #1a1a1a; /* Fundo escuro para minimalismo */
    color: #ffffff;
    border: 1px solid #6a1b9a; /* Borda sutil */
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 998; /* Z-index menor que o do scroll-to-top */
}

.theme-toggle-button:hover {
    background-color: #2e1a47;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Ajuste do Botão "Voltar ao Topo" para ficar acima do botão de tema */
.scroll-to-top {
    bottom: 7rem; /* 2rem (botão de tema) + 50px (altura do botão de tema) + 1rem (espaçamento) = 2rem + 3.125rem + 1rem = 6.125rem (aproximadamente 7rem) */
    right: 2rem; /* Garantir que a posição horizontal seja a mesma */
    z-index: 999; /* Garante que fique por cima */
}

/* Ajustes responsivos para o botão de tema */
@media (max-width: 768px) {
    .theme-toggle-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .scroll-to-top {
        bottom: 6rem; /* Ajuste para telas menores */
    }
}

@media (max-width: 480px) {
    .theme-toggle-button {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .scroll-to-top {
        bottom: 5rem; /* Ajuste para telas muito pequenas */
    }
}
