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

:root{
    --primary: #d43030;
    --primary-dark: #ad2929;
    --bg-light: #fdf1f1;
    --border-light: #ffd1d1;
}

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

html{
    scroll-behavior: smooth;
}

body{
    background:#fff;
    color:#333;
}

/* ---------- Fade-in ao rolar a página ---------- */
.reveal{
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible{
    opacity: 1;
    transform: translateY(0);
}
.cards .item,
.info .card{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.visible .cards .item,
.info.visible .card{
    opacity: 1;
    transform: translateY(0);
}
.cards .item:nth-child(1){ transition-delay: 0.05s; }
.cards .item:nth-child(2){ transition-delay: 0.15s; }
.cards .item:nth-child(3){ transition-delay: 0.25s; }
.cards .item:nth-child(4){ transition-delay: 0.35s; }
.info .card:nth-child(1){ transition-delay: 0.05s; }
.info .card:nth-child(2){ transition-delay: 0.2s; }

/* ---------- Hover mais rico ---------- */
.item, .card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item:hover{
    transform: translateY(-8px) scale(1.05);
}
.card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}
.item i{
    transition: transform 0.3s ease;
}
.item: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(--primary);
    text-align: center;
    gap: 30px;
}
.stat-item{
    min-width: 160px;
}
.stat-number{
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--bg-light);
}
.stat-item p{
    margin-top: 10px;
    color: var(--bg-light);
}

/* ---------- Botões de localização ---------- */
.loc-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    width: fit-content;
}
.loc-btn{
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    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(255,255,255,0.3);
}

/* ---------- 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);
}


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

.hp-btn{
    text-decoration: none;
    background-color: #d43030;
    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%;
}
.hp-btn:hover{
    background-color: #ad2929;
}
img{
    max-width: 350px;
    width: 100%;
    height: auto;
}
.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.ds.png) center / cover no-repeat;
    filter: blur(6px);
    transform: scale(1.05); /* evita bordas brancas causadas pelo blur */
    z-index: -1;
}
.hero .hp-btn{
    align-self: flex-start;
    margin-bottom: 6px;
}
.hero .texto{
    padding: 18px 22px;
    display: inline-block;
    max-width: 600px;
}
.hero h1{
    color:#d43030;
    font-size: clamp(28px, 5.5vw, 50px);
    margin-bottom: 20px;
    line-height: 1.2;
    white-space: nowrap;
}

.hero p{
    font-size: clamp(15px, 2.4vw, 22px);
    max-width: 520px;
    line-height: 1.5;
}


.motivos{
    padding: 50px clamp(20px, 5vw, 50px);
    text-align:center;
    background-color: #fff;
    color: #ad2929;
}

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

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


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

.item i{
    color:#d43030;
    margin-bottom:15px;
}

.info{
    display:flex;
    gap:30px;
    padding: 50px clamp(20px, 5vw, 50px);
    flex-wrap:wrap;
}

.card{
    flex:1;
    min-width: min(300px, 100%);
    background:#fff5f5;
    border:2px solid #ffd1d1;
    border-radius:20px;
    padding: clamp(20px, 4vw, 30px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.281);
}

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

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

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

#footer-container {
    background-color: #d43030;
    color: #fff5f5;
    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 #fff5f5;
    padding-right: 20px;
}

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

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

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

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

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

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

#copyright {
    text-align: center;
    color: #fff5f5;
    background-color: #af2b2b;
    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 #fff5f5;
        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;
    }

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

    .item{
        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 #fff5f5;
        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;
    }

    .card{
        padding: 18px;
    }

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

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

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