*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f9f6;
    color:#333;
}

/* HEADER */

header{
    position:fixed;
    top:0;
    width:100%;
    height:80px;
    background:linear-gradient(135deg,#2e7d32,#43a047);
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    z-index:1000;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

header h1{
    font-size:28px;
}

header input{
    width:280px;
    padding:12px;
    border:none;
    border-radius:25px;
    outline:none;
    font-size:15px;
}

/* CONTAINER */

.container{
    display:flex;
    margin-top:80px;
}

/* MENU */

nav{
    position:fixed;
    width:250px;
    height:100vh;
    background:white;
    padding:25px;
    box-shadow:2px 0 10px rgba(0,0,0,.08);
}

nav a{
    display:block;
    margin:12px 0;
    text-decoration:none;
    color:#333;
    padding:12px;
    border-radius:10px;
    transition:.3s;
}

nav a:hover,
nav a.ativo{
    background:#2e7d32;
    color:white;
    transform:translateX(8px);
}

/* CONTEÚDO */

main{
    margin-left:270px;
    padding:35px;
    width:100%;
}

section{
    background:white;
    padding:30px;
    margin-bottom:35px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);

    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

section.show{
    opacity:1;
    transform:translateY(0);
}

section h2{
    margin-bottom:15px;
    color:#2e7d32;
}

section p{
    margin:12px 0;
    line-height:1.6;
}

/* IMAGENS */

img{
    display:block;
    width:50%;
    max-width:500px;
    margin:20px auto;
    border-radius:12px;
    transition:.3s;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

img:hover{
    transform:scale(1.02);
}

/* CARD */

.card{
    background:#f1f8f4;
    border-left:6px solid #43a047;
    padding:20px;
    margin-top:20px;
    border-radius:10px;
}

.card ol{
    margin-left:20px;
}

/* FAQ */

.faq{
    display:block;
    width:320px;
    padding:12px 20px;
    margin:15px auto;
    border:none;
    background:#2e7d32;
    color:white;
    cursor:pointer;
    font-size:16px;
    border-radius:10px;
    transition:.3s;
}

.faq:hover{
    background:#1b5e20;
}

.resposta{
    width:320px;
    margin:0 auto 15px auto;
    max-height:0;
    overflow:hidden;
    background:#edf7ee;
    transition:.4s;
    padding:0 15px;
    border-radius:0 0 10px 10px;
}

.resposta.abrir{
    max-height:200px;
    padding:15px;
}

/* Botão voltar ao topo */

#topo{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#2e7d32;
    color:white;
    font-size:24px;
    cursor:pointer;
    display:none;
    box-shadow:0 5px 12px rgba(0,0,0,.25);
    transition:.3s;
}

#topo:hover{
    background:#1b5e20;
    transform:scale(1.1);
}