/* RESET */

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

body{
font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
background:#f1f3f5;
color:#2b2b2b;
line-height:1.6;
}

/* CONTAINER */

.container{
width:90%;
max-width:1200px;
margin:0 auto;
}

/* HEADER */

header{
background:#f1f3f5;
padding:20px 0;
border-bottom:3px solid #1f2937;
}

header .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
height:74px;
}

/* AJUSTE PARA O MENU COM UL */

nav ul{
list-style:none;
display:flex;
margin:0;
padding:0;
}

nav a{
color:#1f2937;
text-decoration:none;
margin-left:30px;
font-weight:600;
transition:0.3s;
}

nav a:hover{
color:#3b82f6;
}

.btn-menu{
background:#3b82f6;
padding:8px 18px;
border-radius:4px;
color:white;
box-shadow:0 4px 10px rgba(0,0,0,0.6);
}

/* HERO */

.hero{
background:linear-gradient(rgba(18, 38, 100, 0.45),rgba(7, 37, 73, 0.75)),url("../image/foto1.jpg");
background-size:cover;
background-position:center;
color:white;
padding:120px 0;
text-align:left;
}

.hero h1{
font-size:clamp(32px,5vw,56px);
margin-bottom:20px;
text-transform:uppercase;
}

.hero p{
font-size:18px;
margin-bottom:30px;
color:#f3f5f8;
}

.btn{
background:#3b82f6;
color:white;
padding:14px 30px;
text-decoration:none;
font-weight:bold;
border-radius:4px;
transition:0.3s;
box-shadow:0 4px 10px rgba(0,0,0,0.6);
}

.btn:hover{
background:#2563eb;
}

/* SEÇÕES */

section{
padding:80px 0;
}

h2{
font-size:30px;
margin-bottom:30px;
text-transform:uppercase;
color:#111827;
border-left:6px solid #3b82f6;
padding-left:15px;
}

/* SOBRE */

.sobre-logo{
background:#e4e7eb;
padding:25px 5px;
border-radius:6px;
box-shadow:0 6px 15px rgba(50,80,220,0.6);
max-width:350px;
margin:0 auto 30px auto;
text-align:center;
}

.sobre-logo img{
width:100%;
max-width:250px;
height:auto;
}

.sobre img{
width:100%;
max-width:350px;
display:block;
margin:0 auto 25px;
}

/* SERVIÇOS */

.servicos{
background:#e5e7eb;
}

.cards{
display:flex;
gap:25px;
flex-wrap:wrap;
}

.card{
background:white;
padding:30px;
flex:1;
min-width:280px;
border-left:5px solid #3b82f6;
box-shadow:0 6px 15px rgba(0,0,0,0.08);
border-radius:6px;
transition:0.3s;
}

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

/* GALERIA */

.galeria{
display:flex;
gap:20px;
margin-top:30px;
flex-wrap:wrap;
justify-content:center;
}

.galeria img{
width:100%;
max-width:350px;
border-radius:8px;
box-shadow:0 8px 20px rgba(0,0,0,0.15);
transition: transform 0.4s ease, box-shadow 0.4s ease;
cursor:pointer;
}

.galeria img:hover{
transform:scale(1.05);
box-shadow:0 15px 35px rgba(0,0,0,0.3);
}

.destaque{
margin-top:30px;
font-weight:bold;
color:#1f2937;
text-align:center;
}

/* AUTORIDADE */

.autoridade{
background: #1F4A71 linear-gradient(to right,
rgba(31, 74, 113,0.1),
rgba(31, 74, 113,0.6),
rgba(31, 74, 113,0.1));
text-align: center;
padding: 0;
}

.autoridade img{
display:block;
max-width:100%;
height:auto;
margin:0 auto;
}

.autoridade h2{
color:white;
border-left:none;
}

/* CONTATO */

.contato{
background:#e5e7eb;
}

form{
display:flex;
flex-direction:column;
gap:15px;
margin-bottom:30px;
}

input,textarea{
padding:14px;
border:1px solid #cbd5e1;
border-radius:4px;
font-size:15px;
}

textarea{
height:120px;
resize:none;
}

button{
background:#111827;
color:white;
padding:14px;
border:none;
font-weight:bold;
cursor:pointer;
}

button:hover{
background:#1f2937;
}

/* REDES */

.social-icons{
margin-top:20px;
display:flex;
justify-content:center;
gap:35px;
}

.social-icons img{
width:35px;
}

/* FOOTER */

footer{
background:#0f172a;
color:#9ca3af;
text-align:center;
padding:20px 0;
font-size:14px;
}

/* WHATSAPP */

.whatsapp-fixo{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
width:65px;
height:65px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 6px 15px rgba(0,0,0,0.3);
z-index:999;
}

.whatsapp-fixo img{
width:34px;
}

/* RESPONSIVO */

.menu-mobile{
display:none;
}

@media(max-width:768px){

nav{
display:none;
}

nav ul{
flex-direction:column;
}

.menu-mobile{
display:block;
font-size:28px;
cursor:pointer;
}

.cards{
flex-direction:column;
}

.galeria{
flex-direction:column;
}

/* CORREÇÃO DO MENU MOBILE */

#menu.menu-ativo{
display:block;
position:absolute;
top:80px;
right:20px;
background:white;
padding:20px;
box-shadow:0 10px 20px rgba(0,0,0,0.2);
gap:15px;
}

}