/* ===================================
   MUNDO ENCANTADO INFANTIL
   STYLE.CSS V5 PREMIUM
=================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Fredoka',sans-serif;
background:#fffdf8;
color:#333;
overflow-x:hidden;
line-height:1.6;
}

/* =========================
CONTAINER
========================= */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* =========================
HEADER
========================= */

.header{
position:fixed;
top:0;
left:0;
width:100%;
background:#ffffff;
z-index:9999;
box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.header .container{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 0;
}

.logo{
text-decoration:none;
font-size:1.5rem;
font-weight:700;
color:#ff6b6b;
}

.menu{
display:flex;
gap:25px;
}

.menu a{
text-decoration:none;
font-weight:600;
color:#444;
transition:.3s;
}

.menu a:hover,
.menu a.active{
color:#ff6b6b;
}

.btn-instagram{
background:linear-gradient(
45deg,
#833ab4,
#fd1d1d,
#fcb045
);

color:#fff;
padding:12px 25px;
border-radius:40px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-instagram:hover{
transform:translateY(-3px);
}

/* =========================
HERO
========================= */

.hero{

padding-top:160px;
padding-bottom:100px;

background:
linear-gradient(
135deg,
#4d96ff,
#6bcb77,
#ffd93d,
#ff6b6b
);

background-size:400% 400%;

animation:fundoAnimado 12s ease infinite;

text-align:center;
color:#fff;
}

@keyframes fundoAnimado{

0%{
background-position:0% 50%;
}

50%{
background-position:100% 50%;
}

100%{
background-position:0% 50%;
}

}

.hero-content{
max-width:800px;
margin:auto;
}

.hero h1{
font-size:4rem;
line-height:1.1;
margin-bottom:20px;
}

.hero p{
font-size:1.2rem;
margin-bottom:35px;
}

.btn-primary{
display:inline-block;
padding:18px 35px;
background:#fff;
color:#ff6b6b;
font-weight:700;
text-decoration:none;
border-radius:50px;
transition:.3s;
}

.btn-primary:hover{
transform:translateY(-4px);
}

/* =========================
STATS
========================= */

.stats{
padding:70px 0;
background:#fff;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.stat-box{
background:#fff;
padding:30px;
border-radius:25px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.stat-box h3{
font-size:2rem;
color:#4d96ff;
margin-bottom:10px;
}

/* =========================
SECTION TITLE
========================= */

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title h2{
font-size:2.7rem;
margin-bottom:10px;
}

.section-title p{
color:#666;
}

/* =========================
PRODUTOS
========================= */

.produtos{
padding:100px 0;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

.card{
background:#fff;
border-radius:25px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
}

.card img{
width:100%;
height:280px;
object-fit:cover;
}

.card-content{
padding:25px;
text-align:center;
}

.card-content h3{
margin-bottom:15px;
font-size:1.3rem;
}

.card-content p{
margin-bottom:20px;
}

.btn-card{
display:inline-block;
padding:12px 25px;
background:#4d96ff;
color:#fff;
text-decoration:none;
border-radius:40px;
font-weight:700;
}

/* =========================
BENEFÍCIOS
========================= */

.beneficios{
padding:100px 0;
background:#f5fbff;
}

.beneficios-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.beneficio-card{
background:#fff;
padding:35px;
border-radius:20px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,.05);
font-size:1.1rem;
}

.beneficio-card h3{
margin:15px 0;
}

/* =========================
DEPOIMENTOS
========================= */

.depoimentos{
padding:100px 0;
}

.depoimentos-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.depoimento-card{
background:#fff;
padding:30px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,.08);
text-align:center;
}

.depoimento-card p{
margin:15px 0;
}

/* =========================
FAQ
========================= */

.faq{
padding:100px 0;
background:#fafafa;
}

.faq-item{
background:#fff;
margin-bottom:15px;
border-radius:15px;
overflow:hidden;
box-shadow:0 3px 10px rgba(0,0,0,.05);
}

.faq-question{
width:100%;
border:none;
background:#fff;
padding:20px;
cursor:pointer;
font-size:1rem;
font-weight:600;
text-align:left;
}

.faq-answer{
max-height:0;
overflow:hidden;
padding:0 20px;
transition:max-height .4s ease;
}

.faq-item.active .faq-answer{
max-height:200px;
padding:0 20px 20px;
}

/* =========================
FOOTER
========================= */

.footer{
background:#222;
color:#fff;
padding:70px 0;
text-align:center;
}

.footer h3{
margin-bottom:15px;
font-size:1.8rem;
}

.footer p{
margin-bottom:10px;
}

/* =========================
ANIMAÇÕES
========================= */

.hidden{
opacity:0;
transform:translateY(40px);
transition:all .8s ease;
}

.show{
opacity:1;
transform:translateY(0);
}

.header-scroll{
box-shadow:0 5px 25px rgba(0,0,0,.15);
}

/* =========================
BOTÃO TOPO
========================= */

.scroll-top{
position:fixed;
right:25px;
bottom:25px;
width:50px;
height:50px;
border:none;
border-radius:50%;
background:#ff6b6b;
color:#fff;
font-size:22px;
cursor:pointer;
opacity:0;
visibility:hidden;
transition:.3s;
z-index:999;
}

.scroll-top.visible{
opacity:1;
visibility:visible;
}

/* =========================
RESPONSIVO
========================= */

@media(max-width:992px){

.stats-grid{
grid-template-columns:repeat(2,1fr);
}

.hero h1{
font-size:3rem;
}

}

@media(max-width:768px){

.header .container{
flex-direction:column;
gap:15px;
}

.menu{
flex-wrap:wrap;
justify-content:center;
}

.hero{
padding-top:220px;
}

.hero h1{
font-size:2.3rem;
}

.stats-grid{
grid-template-columns:1fr;
}

.section-title h2{
font-size:2rem;
}

.card img{
height:220px;
}

}