@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Fredoka:wght@400;500;600;700&display=swap');

:root {
    --azul: #27a5ff;
    --azul-escuro: #0066ff;
    --amarelo: #ffd93d;
    --verde: #35d07f;
    --rosa: #ff6bb5;
    --laranja: #ff914d;
    --branco: #ffffff;
    --texto: #263238;
    --cinza: #eef4ff;
    --sombra: 0 15px 40px rgba(0, 0, 0, .12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(to bottom, #f7fbff, #eef5ff);
    font-family: 'Fredoka', sans-serif;
    color: var(--texto);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(39, 165, 255, .10), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 217, 61, .12), transparent 30%);
    z-index: -1;
}

.hero {
    position: relative;
    padding: 20px 20px 90px;
    overflow: hidden;
    background: linear-gradient(135deg, #22b0ff 0%, #0066ff 100%);
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    top: -180px;
    right: -120px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
    bottom: -140px;
    left: -100px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .15), rgba(0, 0, 0, .10));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.logo {
    width: calc(250px + 12vw);
    margin-bottom: 10px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .25));
}

.hero h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.hero p {
    font-size: 20px;
    line-height: 1.9;
    color: #f8fbff;
    max-width: 950px;
    margin: 0 auto 18px;
    font-weight: 500;
}

.filtro {
    margin-top: -40px;
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

.filtro form {
    max-width: 750px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: var(--sombra);
    border: 4px solid rgba(255, 255, 255, .4);
    backdrop-filter: blur(10px);
}

.filtro select {
    padding: 15px 20px;
    border: none;
    border-radius: 16px;
    background: #f4f8ff;
    font-size: 16px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: var(--texto);
    min-width: 180px;
    outline: none;
}

.filtro button {
    padding: 15px 28px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amarelo), #ffb300);
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 10px 20px rgba(255, 179, 0, .25);
}

.filtro button:hover {
    transform: translateY(-4px) scale(1.03);
}

.cards {
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    position: relative;
    overflow: hidden;
    padding: 45px 35px;
    border-radius: 35px;
    color: #fff;
    box-shadow: var(--sombra);
    transition: .35s;
}

.card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, .12);
    border-radius: 50%;
    top: -70px;
    right: -50px;
}

.card:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.card h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 32px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.card span {
    font-size: 42px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.arrecadado {
    background: linear-gradient(135deg, #34d399, #00a86b);
}

.despesas {
    background: linear-gradient(135deg, #ff6b6b, #ff3d3d);
}

.caixa {
    background: linear-gradient(135deg, #4d96ff, #005eff);
}

.producao {
    padding: 40px 20px 70px;
    max-width: 1300px;
    margin: auto;
}

.producao h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 52px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--azul-escuro);
}

.producao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
}

.producao-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--sombra);
    position: relative;
    overflow: hidden;
    transition: .35s;
}

.producao-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--azul), var(--rosa), var(--amarelo));
}

.producao-card:hover {
    transform: translateY(-8px);
}

.producao-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--azul-escuro);
}

.producao-card p {
    font-size: 20px;
    font-weight: 600;
    color: #555;
}

.relatorio {
    padding: 70px 20px;
    max-width: 1300px;
    margin: auto;
}

.relatorio h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 52px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--azul-escuro);
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--sombra);
}

thead {
    background: linear-gradient(135deg, var(--azul), var(--azul-escuro));
}

th {
    padding: 22px;
    font-family: 'Baloo 2', cursive;
    font-size: 22px;
    color: #fff;
}

td {
    padding: 18px;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid #edf2ff;
}

tbody tr {
    transition: .2s;
}

tbody tr:hover {
    background: #f5f9ff;
    transform: scale(1.005);
}



.apoiadores {
    padding: 90px 0;
    background: linear-gradient(180deg, #eef5ff, #dcecff);
    margin-top: 60px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: hidden;
}

.apoiadores h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 56px;
    text-align: center;
    margin-bottom: 55px;
    color: var(--azul-escuro);
}

.apoiadores-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.apoiadores-track {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 25px;
    width: max-content;
    animation: scrollInfinito 45s linear infinite;
}

.apoiadores-track:hover {
    animation-play-state: paused;
}

@keyframes scrollInfinito {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 12.5px));
    }

}

.apoiador-card {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    background: #fff;
    padding: 40px 30px;
    border-radius: 35px;
    text-align: center;
    box-shadow: var(--sombra);
    transition: .35s;
    position: relative;
    overflow: hidden;
}

.apoiador-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--rosa), var(--amarelo), var(--azul));
}

.apoiador-card:hover {
    transform: translateY(-10px);
}

.apoiador-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 8px solid #f2f7ff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
}

.apoiador-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 30px;
    color: var(--azul-escuro);
    margin-bottom: 12px;
}

.apoiador-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.apoio-total {
    font-size: 32px;
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    color: #00b86b;
    margin-top: 12px;
    margin-bottom: 6px;
}

.apoio-quantidade {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    margin-bottom: 14px;
}




footer {
    background: linear-gradient(135deg, #0047b3, #002766);
    padding: 35px 20px;
    text-align: center;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    margin-top: 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--azul), var(--azul-escuro));
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #e8f1ff;
}

@media(max-width:992px) {

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .relatorio {
        overflow-x: auto;
    }

    table {
        min-width: 900px;
    }

}

@media(max-width:768px) {

    .hero {
        padding: 20px 20px 10px;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }

    .logo {
        width: calc(200px + 25vw);
    }

    .hero h1 {
        font-size: calc(38px + 5vw);
    }

    .hero p {
        font-size: 16px;
        line-height: 1.8;
    }

    .cards {
        margin-top: 40px;
    }

    .card {
        padding: 35px 25px;
    }

    .card h2 {
        font-size: 28px;
    }

    .card span {
        font-size: 32px;
    }

    .producao h2,
    .relatorio h2,
    .apoiadores h2 {
        font-size: 40px;
    }

    .filtro {
        margin-top: -10px;
    }

    .filtro form {
        padding: 20px;
        border-radius: 25px;
    }

    .filtro select,
    .filtro button {
        width: 100%;
    }

    .apoiadores-wrapper {
        overflow: hidden;
    }

    .apoiadores-track {
        display: flex;
        align-items: stretch;
        gap: 25px;
        width: max-content;
        will-change: transform;
    }

    .apoiador-card {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }

}

@media(max-width:480px) {

    .hero h1 {
        font-size: 32px;
    }

    .producao h2,
    .relatorio h2,
    .apoiadores h2 {
        font-size: 32px;
    }

    .card span {
        font-size: 28px;
    }

    th,
    td {
        padding: 14px;
        font-size: 14px;
    }

}