/* ===========================
   RESET
=========================== */

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

body{
    background:#f7f9fc;
    color:#222;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* ===========================
   NAVBAR
=========================== */

header{
    width:100%;
    min-height:100vh;
    background:linear-gradient(135deg,#0f172a,#2563eb);
    color:white;
}

.navbar{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 10%;
    position:fixed;
    top:0;
    left:0;
    backdrop-filter:blur(10px);
    background:rgba(15,23,42,.85);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:1.5rem;
    font-weight:700;
}

.logo i{
    color:#38bdf8;
}

.navbar ul{
    display:flex;
    gap:30px;
}

.navbar a{
    color:white;
    transition:.3s;
    font-weight:500;
}

.navbar a:hover{
    color:#38bdf8;
}

/* ===========================
   HERO
=========================== */

.hero{
    max-width:1200px;
    margin:auto;
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 10%;
    gap:50px;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:3.5rem;
    line-height:1.1;
    margin-bottom:20px;
}

.hero-text p{
    font-size:1.1rem;
    line-height:1.8;
    color:#dbeafe;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:white;
    color:#2563eb;
    padding:15px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(0,0,0,.25);
}

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:100%;
    max-width:500px;
    animation:flutuar 4s ease-in-out infinite;
}

@keyframes flutuar{
    0%{transform:translateY(0);}
    50%{transform:translateY(-15px);}
    100%{transform:translateY(0);}
}

/* ===========================
   SEÇÕES
=========================== */

section{
    padding:90px 10%;
}

section h2{
    text-align:center;
    font-size:2.5rem;
    margin-bottom:20px;
    color:#0f172a;
}

section p{
    text-align:center;
    max-width:850px;
    margin:auto;
    line-height:1.8;
    color:#555;
}

/* ===========================
   CARDS
=========================== */

.cards{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:white;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:45px;
    color:#2563eb;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
    color:#111827;
}

.card p{
    color:#666;
}/* ===========================
   ESTRATÉGIAS
=========================== */

.estrategias{
    background:#eef4ff;
}

.grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.box{
    background:white;
    padding:35px 30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
    border:1px solid transparent;
}

.box:hover{
    transform:translateY(-10px);
    border-color:#2563eb;
}

.box i{
    font-size:50px;
    color:#2563eb;
    margin-bottom:20px;
}

.box h3{
    margin-bottom:15px;
    color:#111827;
}

.box p{
    color:#666;
    line-height:1.7;
}

/* ===========================
   CURIOSIDADES
=========================== */

.curiosidades{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:50px;
}

.info{
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:white;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    transition:.3s;
}

.info:hover{
    transform:scale(1.05);
}

.info h3{
    font-size:1.8rem;
    margin-bottom:10px;
}

.info p{
    color:white;
}

/* ===========================
   QUIZ
=========================== */

#quiz{
    background:#f8fafc;
}

.quiz-box{
    max-width:700px;
    margin:50px auto 0;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

#pergunta{
    font-size:1.4rem;
    font-weight:600;
    margin-bottom:30px;
}

#respostas{
    display:flex;
    flex-direction:column;
    gap:15px;
}

#respostas button{
    padding:15px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:#eef4ff;
    font-size:1rem;
    transition:.3s;
}

#respostas button:hover{
    background:#2563eb;
    color:white;
}

#proxima{
    margin-top:30px;
    width:100%;
    padding:15px;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:12px;
    font-size:1rem;
    cursor:pointer;
    transition:.3s;
}

#proxima:hover{
    background:#1d4ed8;
}

/* ===========================
   GALERIA
=========================== */

.galeria{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.galeria img{
    display:block;
    width:100%;
    max-width:1280px;
    height:auto;
    margin:0 auto;
    border-radius:20px;
}

.foto{
    height:250px;
    border-radius:20px;
    background:#dbeafe;
    border:3px dashed #2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#2563eb;
    font-weight:600;
    font-size:1.1rem;
    transition:.3s;
}

.foto::before{
    content:"Adicionar Foto";
}

.foto:hover{
    transform:scale(1.03);
    background:#bfdbfe;
}

/* ===========================
   RODAPÉ
=========================== */

footer{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:50px 20px;
}

footer h2{
    color:white;
    margin-bottom:15px;
}

footer p{
    color:#cbd5e1;
    margin-top:8px;
}

/* ===========================
   RESPONSIVIDADE
=========================== */

@media (max-width:900px){

    .navbar{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        flex-direction:column;
        text-align:center;
        padding-top:170px;
    }

    .hero-text h1{
        font-size:2.5rem;
    }

    .hero-image img{
        max-width:350px;
    }

    section h2{
        font-size:2rem;
    }
}

@media (max-width:600px){

    .hero-text h1{
        font-size:2rem;
    }

    .hero-text p{
        font-size:1rem;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .quiz-box{
        padding:25px;
    }
}