/* VARIÁVEIS 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;
}

/* ==================== CABEÇALHO ATUALIZADO ==================== */
.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;
    top: 0;
}

.logoCabecalho img {
    height: 60px;
    width: 90px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.logoCabecalho img:hover {
    transform: scale(1.05);
}

.navCabecalho ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.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,
.navCabecalho a.ativo::after {
    width: 100%;
}

.navCabecalho a.ativo {
    color: var(--verde);
}

.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: all 0.3s;
}

.doeAgora:hover {
    background: var(--verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 203, 147, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    min-width: 48px;
    min-height: 48px;
    z-index: 10002;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* CONTEÚDO PRINCIPAL */
.voluntario-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 3rem;
}

/* ANIMAÇÃO DE GRATIDÃO */
.gratitude-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--azulEscuro) 0%, var(--azulClaro) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gratitude-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.gratitude-container {
    text-align: center;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% {
        transform: scale(0) rotateZ(-10deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotateZ(0);
        opacity: 1;
    }
}

.hearts-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.heart {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--verde);
    transform: rotate(-45deg);
    animation: floatUp 2s ease-out infinite;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--verde);
    border-radius: 50%;
}

.heart::before {
    top: -15px;
    left: 0;
}

.heart::after {
    left: 15px;
    top: 0;
}

.heart:nth-child(1) { left: 10px; animation-delay: 0s; }
.heart:nth-child(2) { left: 35px; animation-delay: 0.2s; }
.heart:nth-child(3) { left: 60px; animation-delay: 0.4s; }
.heart:nth-child(4) { left: 35px; top: 30px; animation-delay: 0.6s; }
.heart:nth-child(5) { left: 10px; top: 30px; animation-delay: 0.3s; }

@keyframes floatUp {
    0% {
        transform: rotate(-45deg) translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translateY(-80px) scale(0.5);
        opacity: 0;
    }
}

.gratitude-title {
    font-size: 3.5rem;
    color: var(--verde);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.8s ease-out 0.3s backwards;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.messages {
    margin: 2rem 0;
}

.message-1, .message-2, .message-3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0.8rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.message-1 { animation-delay: 1s; }
.message-2 { animation-delay: 0.8s; }
.message-3 { animation-delay: 1.1s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--verde);
    animation: bounce 1.4s infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ==================== HERO SECTION REDESENHADA ==================== */
.volunteer-hero {
    background: linear-gradient(135deg, var(--azulEscuro) 0%, var(--azulClaro) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: center;
}

.hero-image-container {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.98;
}

.btn-voluntario {
    background: var(--verde);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(101, 203, 147, 0.3);
    font-family: "Poppins", sans-serif;
}

.btn-voluntario:hover {
    background: var(--verde-escuro);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(101, 203, 147, 0.4);
}

/* SEÇÃO DE INFORMAÇÕES */
.volunteer-info {
    margin-bottom: 3rem;
}

.volunteer-info h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--azulEscuro);
    margin-bottom: 2rem;
    text-decoration: underline;
    text-decoration-color: var(--verde);
    text-underline-offset: 10px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--azulEscuro);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* ==================== CARROSSEL COM AUTOPLAY ==================== */
.volunteer-requirements {
    margin-bottom: 3rem;
}

.volunteer-requirements h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--azulEscuro);
    margin-bottom: 2rem;
    text-decoration: underline;
    text-decoration-color: var(--verde);
    text-underline-offset: 10px;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.carousel-image-wrapper {
    width: 600px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    background: #f0f0f0;
    flex-shrink: 0;
    user-select: none;
    cursor: grab;
}

.carousel-image-wrapper.dragging {
    cursor: grabbing;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.carousel-image.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    background: var(--verde);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(101, 203, 147, 0.3);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--verde-escuro);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(101, 203, 147, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #999;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #b8b5b5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--azulEscuro);
    transform: scale(1.3);
}

/* SEÇÃO CTA */
.volunteer-cta {
    background: linear-gradient(135deg, var(--azulEscuro) 0%, var(--azulClaro) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.volunteer-cta h2 {
    color: white;
    text-decoration-color: var(--verde);
    margin-bottom: 1rem;
}

.volunteer-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-voluntario-large {
    background: var(--verde);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(101, 203, 147, 0.3);
    font-family: "Poppins", sans-serif;
}

.btn-voluntario-large:hover {
    background: var(--verde-escuro);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(101, 203, 147, 0.4);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s;
    animation: pulse 3s infinite;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==================== FOOTER ATUALIZADO ==================== */
.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 h1 {
    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;
    }

    .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);
        overflow-y: auto;
        transform: translateX(100%);
    }

    .navCabecalho.active {
        transform: translateX(0);
    }

    .navCabecalho ul {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 3rem;
    }

    .voluntario-main {
        padding: 5rem 1rem 2rem;
    }

    /* Hero responsivo */
    .hero-title {
        font-size: 2rem;
    }

    .hero-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-image-container {
        width: 100%;
        max-width: 350px;
        height: 300px;
    }

    .hero-content {
        text-align: center;
    }

    .carousel-image-wrapper {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .carousel-btn {
        position: absolute;
        z-index: 20;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-image-container {
        height: 250px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .carousel-image-wrapper {
        height: 280px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}