/* ===========================
   Alinhamento
=========================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 190px;
}

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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   BODY
=========================== */

body{
    font-family: "Poppins", sans-serif;
    background: #F5F5F5;
    color: #333;
    line-height: 1.6;
}

/* ===========================
   HEADER
=========================== */

header{
    background: #1E88E5;
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img{
    width: 140px;
}

/* ===========================
   MENU
=========================== */

nav ul{

    display: flex;
    gap: 30px;

    list-style: none;

}

nav a{

    text-decoration: none;
    color: white;

    font-weight: 600;

    transition: .3s;

}

nav a:hover{

    color: #FB8C00;

}

/* ===========================
   BANNER
=========================== */

.banner{

    height: 90vh;

    background:rgb(156, 126, 43);

    background-size: cover;
    background-position: center;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    padding: 20px;

}

.banner-texto{

    max-width: 700px;

}

.banner h1{

    font-size: 3rem;

    margin-bottom: 20px;

}

.banner p{

    font-size: 1.2rem;

    margin-bottom: 35px;

}

/* ===========================
   BOTÃO
=========================== */

.botao{

    background: #43A047;

    color: white;

    padding: 15px 35px;

    text-decoration: none;

    border-radius: 10px;

    transition: .3s;

}

.botao:hover{

    background: #2E7D32;

}

/* ===========================
   SECTIONS
=========================== */

section{

    padding: 80px 10%;

}

section h2{

    text-align: center;

    margin-bottom: 50px;

    color: #1E88E5;

    font-size: 2rem;

}

/* ===========================
   SOBRE
=========================== */

.sobre{

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: center;

}

.sobre img{

    width: 100%;

    border-radius: 15px;

}

.sobre p{

    text-align: justify;

    font-size: 18px;

}

/* ===========================
   SERVIÇOS
=========================== */

.cards{

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));

    gap: 30px;

}

.card{

    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,.15);

    transition: .3s;

    aspect-ratio: 4/5;

}

.card:hover{

    transform: translateY(-10px);

}

.card img{

    width: 100%;

    height: 220px;

    object-fit: cover;

}

.card h3{

    margin:20px;

    color:#1E88E5;

}

.card p{

    margin:20px;

}

/* ===========================
   FORMULÁRIO
=========================== */

form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:20px;

}

input,
textarea{

    padding:15px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:16px;

}

textarea{

    resize:none;

}

button{

    background:#43A047;

    color:white;

    border:none;

    padding:15px;

    border-radius:8px;

    cursor:pointer;

    transition:.3s;

    font-size:16px;

}

button:hover{

    background:#2E7D32;

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#1E88E5;

    color:white;

    text-align:center;

    padding:40px;

}

footer h3{

    margin-bottom:20px;

}

footer p{

    margin:10px;

}

footer i{

    color:#FB8C00;

    margin-right:8px;

}

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

@media(max-width:900px){

header{

    flex-direction:column;

    gap:20px;

}

nav ul{

    flex-direction:column;

    text-align:center;

}

.banner h1{

    font-size:2.2rem;

}

.sobre{

    grid-template-columns:1fr;

}

.cards{

    grid-template-columns:1fr;

}

}