/* VARIAVEIS E RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azulEscuro: #173C7D;
    --azulClaro: #4360A4;
    --verde: #65CB93;
    --verde-escuro: #39855b;
    --corFundo: #E6EDEA;
}

body {
    background: linear-gradient(135deg, #E6EDEA 0%, #d4e4de 100%);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    color: #333;
}

body.menu-open {
    overflow: hidden;
}

/* CABECALHO - Desktop */
.Cabecalho {
    background: var(--azulClaro);
    position: fixed;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2%;
    margin: 1rem 0;
    width: 90%;
    max-width: 1400px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.logoCabecalho img {
    height: 60px;
    width: 90px;
    border-radius: 20px;
}

.navCabecalho ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navCabecalho a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
    white-space: nowrap;
}

.navCabecalho a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--verde);
    transition: width 0.3s;
}

.navCabecalho a:hover::after {
    width: 100%;
}

.menu-mobile-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.doeAgora {
    background: var(--verde);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s;
}

.doeAgora:hover {
    background: var(--verde-escuro);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    min-width: 48px;
    min-height: 48px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* CONTEUDO PRINCIPAL */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 3rem;
}

/* TITULO DA PAGINA */
.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

.page-title h1 {
    color: var(--azulEscuro);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.page-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: var(--verde);
    border-radius: 2px;
}

/* MENSAGEM INSPIRADORA */
.inspirational-message {
    background: linear-gradient(135deg, var(--azulEscuro) 0%, var(--azulClaro) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.inspirational-message h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.inspirational-message p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.inspirational-message p:last-child {
    margin-bottom: 0;
    font-size: 1.15rem;
}

/* CARD DE DOACAO */
.donation-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* HEADER PIX */
.pix-header {
    background: linear-gradient(135deg, var(--azulEscuro) 0%, var(--azulClaro) 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pix-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pix-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.pix-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* SECAO DO QR CODE */
.qr-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2.5rem 0;
}

.qr-code-container {
    width: 280px;
    height: 280px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.qr-code-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.qr-instructions {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* SECAO DE VALORES */
.amount-section {
    margin-bottom: 3rem;
    padding: 0 2.5rem;
    justify-content: center;
    justify-items: center;
}

.amount-section h3{
    max-width: 600px;
}

.section-title {
    font-size: 1.3rem;
    color: var(--azulEscuro);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.amount-btn {
    background: white;
    border: 2px solid var(--azulClaro);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--azulEscuro);
}

.amount-btn:hover {
    background: var(--azulClaro);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(67, 96, 164, 0.3);
}

.amount-btn.selected {
    background: var(--verde);
    border-color: var(--verde);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(101, 203, 147, 0.4);
}

.amount-value {
    display: block;
    font-size: 1.1rem;
}

/* SECAO DO CODIGO PIX */
.pix-code-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 0 2.5rem 2rem;
}

.pix-code-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.pix-code-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.pix-code {
    flex: 1;
    min-width: 250px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #333;
    word-break: break-all;
    line-height: 1.5;
}

.copy-btn {
    background: var(--verde);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
}

.copy-btn svg {
    width: 20px;
    height: 20px;
}

.copy-btn:hover {
    background: var(--verde-escuro);
    transform: scale(1.05);
}

.success-message {
    width: 100%;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CAIXA DE INFORMACOES */
.info-box {
    background: #fff9e6;
    border-left: 4px solid var(--verde);
    border-radius: 8px;
    padding: 2rem;
    margin: 0 2.5rem 2.5rem;
}

.info-box h4 {
    color: var(--azulEscuro);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-box ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-box li {
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.6;
}

.contact-info {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

.contact-info a {
    color: var(--azulEscuro);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--verde);
}

/* RODAPE */
.footer-ccb {
    background: var(--azulClaro);
    color: #fff;
    margin-top: 3rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 250px;
    min-width: 220px;
}

.footer-logo {
    width: 120px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.footer-logo-info p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.footer-nav h3,
.footer-contato h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--verde);
}

.footer-contato {
    background: var(--azulEscuro);
    border-radius: 16px;
    padding: 2rem 1.5rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.label-formulario {
    font-size: 0.95rem;
    font-weight: 500;
}

.input-formulario,
.textarea-formulario {
    width: 100%;
    padding: 0.7rem;
    border-radius: 6px;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
}

.textarea-formulario {
    min-height: 100px;
    resize: vertical;
}

.button-formulario {
    background: var(--verde);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: "Poppins", sans-serif;
}

.button-formulario:hover {
    background: var(--verde-escuro);
}

.footer-social {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    padding: 1.5rem 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social a img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s;
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(23, 60, 125, 0.25);
}

.footer-social a img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(23, 60, 125, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.2rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copy {
    font-size: 1rem;
    color: #e0e0e0;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .Cabecalho {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0.8rem 3%;
        border-radius: 0;
        transform: none;
    }

    .menu-toggle {
        display: block;
        z-index: 102;
    }

    .logoCabecalho img {
        height: 50px;
        width: 75px;
    }

    .navCabecalho {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--azulClaro);
    transition: transform 0.5s ease-in-out;
    z-index: 101;
    padding: 2rem 1rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    overflow-y: auto;
}

    .navCabecalho.active {
        transform: translateX(0);
    }

    .navCabecalho ul {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 3rem;
    }

    .navCabecalho a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

    main {
        padding: 5rem 1rem 2rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .inspirational-message {
        padding: 2rem 1.5rem;
    }

    .inspirational-message h2 {
        font-size: 1.5rem;
    }

    .inspirational-message p {
        font-size: 1rem;
    }

    .donation-card {
        padding: 0;
    }

    .pix-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .pix-header h2 {
        font-size: 1.6rem;
    }

    .qr-section {
        padding: 2rem 1.5rem 0;
    }

    .qr-code-container {
        width: 240px;
        height: 240px;
    }

    .amount-section {
        padding: 0 1.5rem;
    }

    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pix-code-section {
        margin: 0 1.5rem 2rem;
    }

    .pix-code-container {
        flex-direction: column;
    }

    .pix-code {
        width: 100%;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .info-box {
        margin: 0 1.5rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo-info {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 1.8rem;
    }

    .inspirational-message h2 {
        font-size: 1.3rem;
    }

    .qr-code-container {
        width: 200px;
        height: 200px;
    }

    .amount-btn {
        padding: 1.2rem 0.8rem;
        font-size: 0.9rem;
    }

    .amount-value {
        font-size: 1rem;
    }

    .info-box {
        padding: 1.5rem;
    }
}