*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#f7f9fc;
color:#222;
line-height:1.6;
overflow-x:hidden;
}

/* HEADER */

:root{
--header-height:72px;
}

header{

position:fixed;
top:0;
left:0;

width:100%;

height:var(--header-height);

display:flex;
justify-content:space-between;
align-items:center;

padding:0 6%;

background:#ffffff;

box-shadow:0 3px 15px rgba(0,0,0,.05);

z-index:999;
}

.logo img{

height:55px;
width:auto;
display:block;

}

nav{

display:flex;
gap:32px;

}

nav a{

text-decoration:none;
color:#1d44b8;
font-weight:500;
font-size:.95rem;

transition:.3s;

}

nav a:hover{

color:#0d2f8f;

}

/* HERO */
.hero{

margin-top:var(--header-height);

height:calc(85vh - var(--header-height));

background:

linear-gradient(

135deg,

rgba(13,71,161,.88),

rgba(0,0,0,.82)

),

url("imgx.jpg");

background-size:cover;

background-position:center;

display:flex;

justify-content:center;

align-items:center;

text-align:center;

padding:0 20px;

}

.overlay{

max-width:760px;

}

.hero h1{

font-size:clamp(
1.6rem,
2.4vw,
2.5rem
);

line-height:1.15;

color:#fff;

margin-bottom:20px;

font-weight:700;

}

.hero p{

font-size:clamp(
1rem,
1.2vw,
1.15rem
);

color:#eaeaea;

max-width:600px;

margin:0 auto 30px;

}

.btn{

display:inline-block;

padding:13px 32px;

background:#fff;

color:#1d44b8;

font-weight:600;

text-decoration:none;

border-radius:40px;

transition:.3s;

}

.btn:hover{

transform:translateY(-3px);

box-shadow:0 8px 20px rgba(255,255,255,.25);

}

/* CURSOS */

#cursos{

padding:80px 7%;

}

.titulo{

text-align:center;

margin-bottom:55px;

}

.titulo h2{

font-size:1.5rem;

color:#1d44b8;

margin-bottom:10px;

}

.titulo p{

font-size:.95rem;

color:#666;

}

/* GRID */

.grid{

display:grid;

grid-template-columns:
repeat(
auto-fit,
minmax(280px,350px)
);

justify-content:center;

gap:35px;

}

/* CARD */

.card{

background:#fff;

border-radius:20px;

overflow:hidden;

box-shadow:
0 8px 25px rgba(0,0,0,.06);

transition:.35s;

display:flex;

flex-direction:column;

}

.card:hover{

transform:translateY(-8px);

box-shadow:
0 15px 35px rgba(0,0,0,.12);

}

.card img{

width:100%;

height:200px;

object-fit:cover;

}

.card-content{

padding:22px;

display:flex;

flex-direction:column;

flex:1;

}

/* Estilo dos cards igual à página de cursos do AVA */

.badge-gratis{

display:inline-block;

align-self:flex-start;

background:#e6f7ec;

color:#0f9d4f;

font-size:.72rem;

font-weight:700;

padding:3px 10px;

border-radius:20px;

margin-bottom:10px;

}

.card-preco{

font-weight:700;

color:#1d44b8;

font-size:1.15rem;

margin:2px 0 16px;

}

.card-preco .antigo{

text-decoration:line-through;

color:#aaa;

font-size:.85rem;

font-weight:400;

margin-right:8px;

}

.btn-curso{

display:block;

width:100%;

text-align:center;

padding:12px 20px;

background:#1d44b8;

color:#fff;

font-weight:600;

text-decoration:none;

border-radius:30px;

transition:.3s;

}

.btn-curso:hover{

background:#0d2f8f;

transform:translateY(-2px);

box-shadow:0 8px 20px rgba(29,68,184,.25);

}

.card-content h3{

font-size:1.15rem;

line-height:1.4;

margin-bottom:12px;

color:#1c1c1c;

}

.card-content p{

font-size:.92rem;

color:#666;

margin-bottom:18px;

flex:1;

}

.status{

display:inline-block;

align-self:flex-start;

padding:7px 14px;

border-radius:30px;

background:#eef4ff;

color:#1d44b8;

font-size:.82rem;

font-weight:600;

}

/* Card clicável (curso disponível) */
.card-link{

display:block;

text-decoration:none;

color:inherit;

-webkit-tap-highlight-color:transparent;

}

/* Status ativo (curso disponível) */
.status-ativo{

background:#e6f7ec;

color:#0f9d4f;

text-decoration:none;

transition:.3s;

}

/* botão muda de cor ao passar o mouse em qualquer parte do card */
.card-link:hover .status-ativo{

background:#0f9d4f;

color:#fff;

}

/* FOOTER */

footer{

background:#0d2f8f;

padding:25px;

text-align:center;

color:white;

font-size:.9rem;

margin-top:20px;

}

/* TABLETS */

@media(max-width:1024px){

.hero{

height:75vh;

}

.hero h1{

font-size:2.4rem;

}

}

/* CELULARES */

@media(max-width:768px){

header{

height:65px;

padding:0 20px;

}

.logo img{

height:45px;
width:auto;

}

nav{

gap:14px;

}

nav a{

font-size:.82rem;

}

.hero{
margin-top: 65px;
height:70vh;
}

.hero h1{

font-size:1.9rem;

}

.hero p{

font-size:.95rem;

}

.btn{

padding:12px 26px;

}

#cursos{

padding:65px 20px;

}

.titulo h2{

font-size:1.5rem;

}

.card img{

height:180px;

}

}

/* CELULARES PEQUENOS */

@media(max-width:480px){

.hero h1{

font-size:1.7rem;

}

.hero p{

font-size:.9rem;

}

.card{

border-radius:16px;

}

.card img{

height:170px;

}

}


/* BENEFÍCIOS */

.b{
    padding:55px 20px;

    text-align:center;

    background:#ffffff;
}


.beneficios{

    max-width:900px;

    margin:0 auto;

    display:flex;

    justify-content:center;

    gap:40px;

}

.beneficio{

    flex:1;

    background:#f7f9fc;

    padding:30px;

    border-radius:20px;

    box-shadow:
    0 5px 18px rgba(0,0,0,.12);

}

.beneficio h3{

    color:#1d44b8;

    margin-bottom:12px;

    font-size:1.2rem;

}

.beneficio p{

    color:#666;

    font-size:.95rem;

    line-height:1.6;

}

/* RESPONSIVO */

@media(max-width:768px){

    .beneficios{

        flex-direction:column;

        gap:25px;

    }

    .beneficio{

        padding:25px;

    }

}
/* Rodapé: contato e políticas */
.footer-contato,
.footer-links{
margin-top:8px;
font-size:.85rem;
}

footer a{
color:#cdd9ff;
text-decoration:none;
}

footer a:hover{
color:#ffffff;
text-decoration:underline;
}
