/* HERO */

.home{
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:0 20px;
background-image:url("../img/fundo.png");
background-size:cover;
background-position:center;
position:relative;
}

/* overlay */

.home::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.65);
}

/* conteúdo */

.home-content{
position:relative;
max-width:800px;
z-index:2;
}

/* título */

.home h1{
font-size:60px;
font-weight:700;
margin-bottom:20px;
color: #0069be;
}

/* texto */

.home p{
font-size:18px;
margin-bottom:35px;
color:#ddd;
line-height:1.6;
}

/* BOTÕES */

.home-buttons{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
margin-bottom:50px;
}

/* botão principal */

.btn-primary{
background: #0086f3;
color:black;
padding:14px 30px;
border-radius:8px;
text-decoration:none;
font-weight:bold;
transition:0.3s;
}

.btn-primary:hover{
transform:translateY(-3px);
box-shadow:0 10px 20px rgba(0, 17, 255, 0.3);
color: #fff;
}

/* botão secundário */

.btn-secondary{
background:transparent;
border:2px solid #0086f3;
color:white;
padding:12px 26px;
border-radius:8px;
text-decoration:none;
display:flex;
align-items:center;
gap:8px;
transition:0.3s;
}

.btn-secondary:hover{
background:#0086f3;
color:black;
font-weight: 700;
}

/* ======================
STATS
====================== */

.home-stats{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
}

.stat h3{

font-size:28px;
color: #bdc4ca;
margin-bottom:5px;
}

.stat p{
font-size:14px;
color:#c2c2c291;
}

/* ======================
ANIMAÇÃO TEXTO
====================== */

.reveal{
opacity:0;
transform:translateY(40px);
animation:reveal 1s forwards;
}

.delay{
animation-delay:0.3s;
}

.delay2{
animation-delay:0.6s;
}

@keyframes reveal{

to{
opacity:1;
transform:translateY(0);
}

}

/* ======================
SCROLL INDICATOR
====================== */

.scroll-indicator{

position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);
}

.scroll-indicator span{
display:block;
width:22px;
height:35px;
border:2px solid white;
border-radius:15px;
position:relative;
}

.scroll-indicator span::before{
content:"";
position:absolute;
top:6px;
left:50%;
width:4px;
height:6px;
background:#00ff88;
border-radius:2px;
transform:translateX(-50%);
animation:scroll 2s infinite;
}

@keyframes scroll{
0%{opacity:0; transform:translate(-50%,0);}
50%{opacity:1;}
100%{opacity:0; transform:translate(-50%,10px);}
}

@media (max-width:768px){

.home{
min-height:100vh;
align-items:flex-start;
padding-top:120px;
padding-left:25px;
padding-right:25px;
text-align:center;
padding-top:120px;
}

/* conteúdo */

.home-content{
max-width:100%;
}

/* título */

.home h1{
font-size:32px;
line-height:1.2;
margin-bottom:15px;
}

/* texto */

.home p{
font-size:15px;
margin-bottom:25px;
}

/* botões */

.home-buttons{
flex-direction:column;
gap:15px;
align-items:center;
}

/* botões ocupam largura */

.btn-primary,
.btn-secondary{
width:90%;
justify-content:center;
}

/* ESTATÍSTICAS */

.home-stats{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin-top:30px;
margin-bottom:40px;
justify-items:center;
}

.home-stats .stat:nth-child(3){
grid-column:span 2;
}

/* scroll indicator */

.scroll-indicator{
position:absolute;
bottom:10px;
left:50%;
transform:translateX(-50%);
opacity:0.7;
}

.stat p{
font-size:14px;
opacity:0.8;
}

}