@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root{
    --primary: #d94a7b;
    --primary-dark: #c03b69;
    --bg-light: #ffdce8;
    --border-light: #ffd1df;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    color:#333;

}

.reveal{
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible{
    opacity: 1;
    transform: translateY(0);
}
.passos .passo,
.info .card{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.visible .passos .passo,
.info.visible .card{
    opacity: 1;
    transform: translateY(0);
}
.passos .passo:nth-child(1){ transition-delay: 0.05s; }
.passos .passo:nth-child(2){ transition-delay: 0.15s; }
.passos .passo:nth-child(3){ transition-delay: 0.25s; }
.passos .passo:nth-child(4){ transition-delay: 0.35s; }
.passos .passo:nth-child(5){ transition-delay: 0.45s; }
.info .card:nth-child(1){ transition-delay: 0.05s; }
.info .card:nth-child(2){ transition-delay: 0.2s; }

/* ---------- Hover mais rico ---------- */
.passo, .card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.passo:hover{
    transform: translateY(-8px) scale(1.05);
}
.card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}
.passo i{
    transition: transform 0.3s ease;
}
.passo:hover i{
    transform: scale(1.2) rotate(-5deg);
}

/* ---------- Estatísticas com contador animado ---------- */
.stats{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 50px 20px;
    background: var(--bg-light);
    text-align: center;
    gap: 30px;
}
.stat-item{
    min-width: 160px;
}
.stat-number{
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
}
.stat-item p{
    margin-top: 10px;
    color: #555;
}

/* ---------- Botões de localização ---------- */
.loc-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    width: fit-content;
}
.loc-btn{
    background: rgba(0,0,0,0.08);
    color: #ad2929;
    border: 1px solid rgba(173,41,41,0.3);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    width: fit-content;
}
.loc-btn:hover{
    background: rgba(0,0,0,0.15);
}

/* ---------- Seta para voltar ao topo ---------- */
.back-to-top{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 900;
}
.back-to-top.visible{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover{
    background: var(--primary-dark);
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    border-bottom:1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-hp{
    background-color: #ffdce8;
}

.hp-btn{
    text-decoration: none;
    background-color: #d94a7b;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    max-width: 100%;
}

img{
    max-width: 350px;
    width: 100%;
    height: auto;
}

.hp-btn:hover{
    background-color: #c03b69;
}

nav a{
    margin:0 15px;
    text-decoration:none;
    color:#333;
    font-weight:bold;
}

.ativo{
    color:#ff4f87;
}

.btn{
    background:#ff4f87;
    color:white;
    padding:12px 20px;
    border-radius:10px;
    text-decoration:none;
}

.hero{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 480px;
    padding: clamp(45px, 9vw, 80px) clamp(20px, 6vw, 60px) 40px;
    gap: 12px;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../img/fnd.ms.png) 70% center / cover no-repeat;
    filter: blur(4px);
    transform: scale(1.05); 
    z-index: -1;
}
.hero .hp-btn{
    align-self: flex-start;
    margin-bottom: 6px;
}
.hero .texto{
    padding: 18px 22px;
    border-radius: 16px;
    display: inline-block;
    max-width: 560px;
}
.hero h1{
    color:#d94a7b;
    font-size: clamp(26px, 5vw, 48px);
    margin-bottom:20px;
    line-height: 1.2;
}

.hero p{
    font-size: clamp(15px, 2.3vw, 20px);
    max-width: 500px;
    line-height: 1.5;
}


.como-doar{
    padding: 50px clamp(20px, 5vw, 50px);
    text-align:center;
    background-color: #faaeb8;
}

.como-doar h2{
    color:#be3144;
    margin-bottom:40px;
    font-size: clamp(22px, 4vw, 28px);
}

.passos{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap: 30px clamp(15px, 4vw, 30px);
}

.passo{
    flex: 1 1 140px;
    max-width: 170px;
}

.passo p{
    font-size: 15px;
}

.passo i{
    color:#be3144;
    margin-bottom:15px;
}
.info{
    display:flex;
    gap:30px;
    padding: 50px clamp(20px, 5vw, 50px);
    flex-wrap:wrap;
}
b{
    font-size: 15px;
}
.card{
    flex:1;
    min-width: min(300px, 100%);
    background:#fff5f8;
    border:2px solid #ffd1df;
    border-radius:20px;
    padding: clamp(20px, 4vw, 30px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.281);
}

.card h3{
    color:#d94a7b;
    margin-bottom:20px;
}

.card ul{
    padding-left:20px;
}

.card li{
    margin-bottom:10px;
}
.rdp {
    color: black;
    padding-top: 20px;
}

#footer-container {
    background-color: #faaeb8;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    border-radius: 30px 30px 0 0;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

#col {
    flex: 1;
    min-width: 200px;
    border-right: 2px solid #e07d8a;
    padding-right: 20px;
}

#col:last-child {
    border-right: none;
    padding-right: 0;
}

#col h3,
#col h4 {
    color: #ad2929;
    margin-bottom: 25px;
    font-size: 22px;
}

#item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: black;
    font-size: 16px;
    margin-bottom: 12px;
}

.icins,
.icinsds {
    font-size: 34px;
    color: #ad2929;
    transition: 0.3s;
}

.icins:hover,
.icinsds:hover {
    transform: scale(1.15);
}

.loc {
    color: #ad2929;
    font-size: 70px;
    margin-top: 20px;
}

#copyright {
    text-align: center;
    color: #ad2929;
    background-color: #fc9ba8;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    font-size: 16px;
}

@media (max-width: 1024px){
    header{
        padding: 18px 30px;
    }

    .stats{
        padding: 40px 20px;
    }

    #footer-container{
        flex-direction: row;
        flex-wrap: wrap;
    }

    #col{
        flex: 1 1 45%;
        border-right: none;
        border-bottom: 2px solid #e07d8a;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    #col:last-child{
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .loc{
        display: none;
    }
}

@media (max-width: 768px){
    header{
        flex-direction:column;
        text-align: center;
        gap:15px;
        padding: 15px 20px;
    }

    .hero{
        text-align:center;
        align-items: center;
        min-height: 420px;
    }

    .hero .hp-btn{
        align-self: center;
    }

    .hero p{
        margin: 0 auto;
    }

    .hero .texto{
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        border-radius: 16px;
    }

    .stats{
        text-align: center;
    }

    .stat-number{
        font-size: 40px;
    }

    .passos{
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .passo{
        flex: none;
        width: 100%;
        max-width: 260px;
    }

    .info{
        gap: 20px;
    }

    #footer-container{
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }

    #col{
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 2px solid #e07d8a;
        padding-bottom: 20px;
        margin-bottom: 0;
    }

    .loc-actions{
        margin-left: auto;
        margin-right: auto;
    }

    #col:last-child{
        border-bottom: none;
        padding-bottom: 0;
    }

    #item{
        justify-content: center;
    }
}

@media (max-width: 480px){
    .hero{
        min-height: 380px;
        padding-bottom: 35px;
    }

    .hp-btn{
        font-size: 13px;
        padding: 12px 18px;
    }

    .stat-item{
        min-width: 130px;
    }

    .stat-number{
        font-size: 34px;
    }

    .stat-item p{
        font-size: 13px;
    }

    .passo{
        flex: none;
        width: 100%;
        max-width: 220px;
    }

    .passo i{
        font-size: 26px !important;
    }

    .passo p{
        font-size: 13px;
    }

    .card{
        padding: 18px;
    }

    .card h3{
        font-size: 17px;
    }

    .card li,
    .card p{
        font-size: 14px;
    }

    #copyright{
        width: 100%;
        font-size: 13px;
        padding: 15px;
    }
}