body {
	margin: 0;
	background-color: #2f5061;
}

img {
	max-width: 100%;
	height: auto;
}

.centra {
	width: 96vw;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.cabec {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 1000;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between; 
	height: 12vh;
	background-color: black;
	transition: height 0.3s ease, padding 0.3s ease, transform 0.3s ease;
}

.cabec.minimizado {
	height: 7vh;

}

.cabec.oculto {
	transform: translateY(-100%);
}

.cabec.minimizado.oculto {
	height: 7vh;
	transform: translateY(-100%);
}

.logo-cabec img {
	height: 100%;
	max-height: 10vh;
	width: auto;
	margin-left:20px;
	transition: max-height 0.3s ease;
}

.cabec.minimizado .logo-cabec img {
	max-height: 7vh;
}

.links {
	display: flex;
	gap: 2vw;
}

.links a {
	color: #d9b382;
	text-decoration: none;
	font-size: 1.2rem;
	position: relative;
	padding-bottom: 2px;
	margin-right: 10px;
}

.links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0%;
	height: 2px;
	background-color: #a97d50;
	transition: width 0.3s ease;
}

.links a:hover::after {
	width: 100%;
}	

.links a:focus {
	outline: 2px dashed #a97d50;
	outline-offset: 4px;
}

.menu{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	width:97vw;
	height:10vh;
	background-color:#6C757D;
}

.dropdown {
	position: relative;
}

.dropdown::before {
	content: '';
	position: absolute;
	top: 0;
	right: 100%;
	width: 20px;
	height: 100%;
}

.submenu {
	position: absolute;
	background-color: #000;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	z-index: 1001;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.submenu-vertical {
	top: 100%;
	left: 0;
	width: 180px;
	max-height: 0;
	transition: max-height 0.8s ease;
}

.dropdown:hover .submenu-vertical {
	max-height: 500px;
}

.submenu-horizontal {
	top: 50%;
	left: auto;
	right: 100%;
	transform: translate(-10px, -50%);
	min-width: 180px;
	opacity: 0;
	transform: scale(0.95) translate(-10px, -50%);
	transform-origin: right center;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .submenu-horizontal {
	opacity: 1;
	scale: 1;
	pointer-events: auto;
}

.submenu a {
	color: #d9b382;
	padding: 10px 15px;
	text-decoration: none;
	font-size: 1rem;
	white-space: nowrap;
}

.submenu a:hover {
	background-color: #333;
}


.corpo {
	margin-left: 10px;
	margin-right: 10px;
	display: flex;
	flex-direction: column;
	color: black;
	align-items: center;
	justify-content: center;
	width: 95vw;
	min-height: 90vh;
	background-color: #e9f0f4;
	font-size: 1.2rem;
}

.corpo-destaque {
	background-color: #f8fbfd;
	border-radius: 20px;
	padding: 3rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	color: #2e4a5a;
	font-size: 1.5rem;
	line-height: 1.4;
	text-align: justify;
	max-width: 70%;
	margin: 0 auto;
}

@media (max-width: 600px) {
	.corpo-destaque {
		padding: 2rem 1.5rem;
		font-size: 1rem;
	}

	.link-uteis-item {
		width: 100px;
		height: 50px;
	}
}

.imagem-banner {
	position: relative;
	width: 100%;
	height: 65vh;
	overflow: hidden;
	margin-top: 0;
}

.imagem-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.titulo{
	display:flex;
	color: #2f5061;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-size: 2rem;
}

.servicos-section {
	padding: 2rem 1rem;
	background-color: #e9f0f4;
	text-align: center;
}

.titulo h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
}

.servicos-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-top: 2rem;
}

.servico-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	width: 240px;
	cursor: pointer;
}

.servico-btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.servico-btn svg {
	width: 60px;
	height: 60px;
	margin-bottom: 1rem;
	fill: #003366;
	transition: fill 0.3s ease;
}

.servico-btn:hover svg {
	fill: #a97d50;
}

.servico-btn p {
	font-size: 1rem;
	color: #333;
	font-weight: 500;
	margin: 0;
	text-align: center;
}

.separar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 20vh;
	font-size: 2.5rem;
	color: black;
	background-color: #d9b382;
	overflow: hidden;
}

.separar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('FundoSepara.png'); 
	background-size: cover;
	background-position: center;
	opacity: 0.1;
	z-index: 0;
}

.separar h2 {
	position: relative;
	z-index: 1;
}


.contacto {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 15vh;
  padding: 0 5vw;
  font-size: 2rem;
  color: white;
  background-color: #a97d50;
  overflow: hidden;
  flex-wrap: wrap;
  gap: 20px;
}

.contacto h2 {
  margin: 0;
  font-size: 1.8rem;
  text-align: center;
}

.contacto h2 strong {
  font-weight: 700;
}

.botoes-contacto {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.botao-contacto {
  background-color: #2f5061;
  color: white;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.botao-contacto:hover {
  background-color: white;
  color: black;
}

.grid-valores {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	padding-top:30px;
	padding-bottom: 8vh;
}

.valor {
	background-color: #f1f6f9;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	max-width: 250px;
	width: 100%;
}

.valor img {
	width: 50px;
	height: 50px;
	margin-bottom: 15px;
}

.valor h3 {
	color: #003366; 
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.valor p {
	color: #333;
	font-size: 1rem;
}

.grid-servicos {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	padding: 20vh 30px 10vh;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.servico {
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: left;
	height: 100%;
}

.servico img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}

.conteudo-servico {
	display: flex;
	flex-direction: column;
	padding: 1rem;
	flex-grow: 1;
}

.conteudo-servico h3 {
	font-size: 1.3rem;
	color: #222;
	font-weight: bold;
	margin: 0 0 0.4rem 0;
}

.conteudo-servico p {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.4;
	margin: 0 0 0.4rem 0;
}

.espaco-flex {
	flex-grow: 1;
}

.btn-saber-mais {
	padding: 0.8rem 0.6rem;
	background-color: #a97d50;
	color: white;
	text-decoration: none;
	border-radius: 3px;
	font-size: 0.8rem;
	width: fit-content;
	transition: background-color 0.3s ease;
}

.btn-saber-mais:hover {
	background-color: #d9b382;
}

.links-uteis {
	display: flex;
	flex-wrap: wrap;            
	justify-content: center;   
	align-items: center;        
	gap: 40px;                 
	padding: 40px 0;              
	background-color: #e9f0f4;    
}

.link-uteis-item img {
	display: block;
	height: 80px;          
	width: auto;
	object-fit: contain;
	transition: opacity 0.3s ease;
}


.link-uteis-item {
	position: relative;
	display: inline-block;
	overflow: hidden;
}


.link-uteis-item .hover-img {
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	pointer-events: none;   
}

.link-uteis-item:hover .hover-img {
	opacity: 1;
}

.link-uteis-item:hover .normal {
	opacity: 0;
}

.formulario-secao {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 80px 5vw;
	min-height: 100vh;
	background-image: url('FotoEmpresa.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
}	

.formulario-secao::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 0;
}

.formulario-bloco {
	position: relative;
	z-index: 1;
	max-width: 600px;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 40px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.formulario-bloco h2 {
	margin-bottom: 20px;
	font-size: 2.5rem;
	color: #fff;
	align-self: flex-start;
}

.formulario {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.formulario label {
	font-size: 1.1rem;
	color: #fff;
}

.formulario input,
.formulario textarea {
	width: 100%;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 1rem;
}

.formulario textarea {
	resize: vertical;
	min-height: 120px;
}

.formulario button {
	align-self: flex-start;
	padding: 10px 20px;
	background-color: #a97d50;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
}

.formulario button:hover {
	background-color: #d9b382;
}

.formulario-secao-c {
	width: 100%;
	padding: 40px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 2vh;
	padding-top: 12vh;
}

.formulario-secao-c h2 {
	color: #003366;
	margin-bottom: 20px;
	font-size: 2rem;
}

.formulario-clientes {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 600px;
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	gap: 15px;
}

.formulario-clientes label {
	font-size: 1.1rem;
	color: #003366;
}

.formulario-clientes input,
.formulario-clientes textarea {
	width: 100%;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 1rem;
}

.rodape {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	color: white;
	background-color: black;
	padding: 15px;
}

.conteudo-rodape-flex {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start !important;
	flex-wrap: wrap;
	width: 100%;
	max-width: 95vw;
	gap: 20px;
}

.coluna-rodape {
	flex: 1 1 30%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.texto-rodape p {
	color: white;
	margin: 4px 0;
}

.texto-rodape a {
	color: white;
	text-decoration: none;
}

.texto-rodape a:hover {
	color: #a97d50;
}

.links-rodape {
	display: flex;
	flex-direction: column;
	align-items: flex-start;    
	gap: 1rem;
	height: 100%;
	margin-left: 0px;
	padding-left: 1rem;
}

.icones-sociais {
	display: flex;
	gap: 12px; 
	align-items: center;
	margin-top: 10px;
}

.svg-hover {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 40px;
}

.svg-hover svg {
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
}

.svg-hover .icon-default {
	opacity: 1;
	z-index: 1;
}

.svg-hover .icon-hover {
	opacity: 0;
	z-index: 2;
}

.svg-hover:hover .icon-default {
	opacity: 0;
}

.svg-hover:hover .icon-hover {
	opacity: 1;
}

.logo {
	max-width: 30vw;
	max-height: 20vh;
	height: auto;
	width: auto;
}

::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
	background: #999;
	border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
	background: #666;
}

* {
	scrollbar-width: thin;
	scrollbar-color: #999 #f0f0f0;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.titulo h2 {
		font-size: 1.5rem;
	}
	.corpo {
		font-size: 1rem;
	    padding-top: 16vh;
	}
	.conteudo-rodape-flex {
		flex-direction: column;
		align-items: center;
	}
	.coluna-rodape {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.corpo {
		padding: 0 5px;
		width: 100%;
	}
}