﻿:root {
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --color-bg: #F8FAFB;
    --color-text-main: #1F3A45;
    --color-primary: #0e4e68;
    --color-secondary: #68B0AB;
}

body {
    background-color: var(--color-bg);
    font-family: var(--font-sans);
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding-top: 0;
}

a {
    text-decoration: none;
}

.sticky-header-container {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.navbar {
    background-color: #fff;
    padding: 0.8rem 0;
}


.navbar-brand img {
    max-height: 85px;
    width: auto;
    display: block;
}

.offcanvas {
    max-width: 75%;
}

.offcanvas-header {
    background-color: var(--color-primary);
    color: white;
}

.offcanvas-title {
    font-family: var(--font-serif);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.nav-link-custom {
    color: #666 !important;
    font-weight: 500;
    margin-left: 0;
    font-size: 1rem;
    padding: 10px 0;
}

@media (min-width: 992px) {
    .nav-link-custom {
        margin-left: 25px;
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .navbar {
        padding: 1rem 0;
    }
}

.btn-login {
    background-color: var(--color-primary);
    color: white !important;
    border-radius: 50px;
    padding: 8px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
}

.tab-bar {
    background-color: #fff;
    padding-bottom: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.tab-buttons-container {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.btn-main-tab {
    border-radius: 6px 6px 0 0 !important;
    font-weight: 500;
    padding: 12px 15px;
    border: none;
    margin-right: 4px;
    font-size: 1rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tab-buttons-container {
        justify-content: space-between;
        gap: 2px;
    }

    .btn-main-tab {
        flex: 1;
        margin-right: 0;
        font-size: 0.85rem;
        padding: 10px 5px;
        border-radius: 0 !important;
        text-align: center;
    }

    .btn-main-tab-active {
        border-bottom: 3px solid var(--color-primary) !important;
    }

    .navbar-brand img {
        max-height: 60px;
    }
}

.btn-main-tab-active {
    background-color: var(--color-secondary) !important;
    color: white !important;
}

.btn-main-tab-inactive {
    background-color: #f3f4f6 !important;
    color: #6b7280 !important;
}

footer {
    background-color: #1F3A45;
    color: white;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
}

.btn-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    transition: transform 0.2s;
    width: 100%
}

@media (min-width: 768px) {
    .btn-donate {
        width: auto;
    }
}

.btn-donate:hover {
    transform: translateY(-2px);
    color: white;
}

.bg-pagseguro {
    background-color: #FF6B00;
}

.bg-picpay {
    background-color: #21C25E;
}

.bg-mercadopago {
    background-color: #009EE3; /* Azul oficial */
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

    .bg-mercadopago:hover {
        background-color: #007bbd; /* Azul mais escuro no hover */
        text-decoration: none;
    }

.bg-pix {
    background-color: #ffffff; /* Fundo branco para destacar o logo */
    color: #32BCAD; /* Texto na cor oficial Pix */
    font-weight: bold;
    border: 2px solid #32BCAD; /* Borda verde para manter identidade */
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .bg-pix:hover {
        background-color: #32BCAD; /* Verde oficial no hover */
        color: #fff; /* Texto branco no hover */
        text-decoration: none;
    }

.bg-whatsapp {
    background-color: #25D366; /* Verde oficial WhatsApp */
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.bg-whatsapp:hover {
    background-color: #1ebe5d; /* Verde mais escuro no hover */
    text-decoration: none;
}
