body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #215a6b;
	/* Evita rolagem horizontal por quebras de layout em telas pequenas */
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

header {
	width: 100%;
	height: auto;
	background-size: cover;
	background-position: center;
	text-align: center;
	padding: 2rem 0;
	margin-bottom: 2rem;
}

header#inicio {
    position: relative;
    overflow: hidden;
    min-height: 600px; /* ajuste conforme necessário */
    margin-top: -200px; /* Pull header up behind nav */
    padding-top: 150px; /* Add padding to compensate for nav height */
    display: flex;
    align-items: center;
}

header#inicio::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("fundo/fundo.jpg") center/cover no-repeat;
    opacity: 0.7; /* 70% de opacidade */
    z-index: 0;
}

header#inicio .container {
    position: relative;
    z-index: 1;
}

h1 {
	margin: 0;
	font-size: 2.5rem;
	font-weight: bold;
}

.content {
	background-color: white;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

p {
	line-height: 1.6;
	color: #333;
}

/* Navbar */
nav {
    position: relative;
    z-index: 100; /* Ensure nav stays above header */
    background: transparent; /* Remove nav background */
}
.nav{
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffffff;
	border-radius: 40px;
	padding: 10px 28px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.brand {
	font-weight: 700;
	font-size: 1.25rem;
}
.brand a{
    text-decoration: none;
    color: #1a1a1a;
}
.brand img{
	height: 50px;
	width: auto;
	max-width: 100%;
}
.nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
}
.nav li {
	margin: 0;
	padding-left: 5px;
}
.nav li a {
	color: #1a1a1a;
	text-decoration: none;
	padding: 10px 0;
	display: inline-block;
	transition: color 0.2s ease-in-out;
}
.nav li a:hover {
	color: #14a8d4;
}
.nav li a.active {
	color: #215a6b;
}
/* Sections */
section {
	margin-bottom: 2rem;
}

/* Mission, Vision, Values Styles */
.mission-content,
.vision-content,
.values-content {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-top: 1.5rem;
}

.mission-text,
.vision-text,
.values-text {
	flex: 1;
}

.mission-list,
.vision-list,
.values-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mission-list li,
.vision-list li,
.values-list li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 1rem;
	line-height: 1.6;
	color: #333;
}

.mission-list li:before,
.vision-list li:before,
.values-list li:before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #215a6b;
	font-weight: bold;
	font-size: 1.2rem;
}

.values-list li {
	font-size: 0.95rem;
}

.values-list li strong {
	color: #215a6b;
}

/* Structure Section */
.team-members {
	margin-bottom: 2rem;
	
}

.team-members .structure-text {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.structure-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
	flex: 1;
	min-width: 200px;
	max-width: 300px;
	text-align: center;
	background: rgb(247, 247, 247);
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.separator {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}
.team-member img {
	width: 300px;
	height: 300px;
	border-radius: 5%;
	object-fit: cover;
	margin-bottom: 1rem;
	border: 3px solid white;
}

.team-member img {
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 5%;
}

/* Mantém foto quadrada e consistente em qualquer dispositivo */
.team-member img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.team-member h4 {
	color: #215a6b;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.team-member p {
	color: #666;
	margin: 0;
	font-weight: 500;
}

.structure-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-top: 1.5rem;
}
.structure-text h3,
.structure-map h3 {
	color: #215a6b;
	margin-bottom: 1rem;
	font-size: 1.3rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.location-info {
    flex: 1;
}

.location-info h3 {
    color: #014F86;
    margin-bottom: 15px;
}

.location-info p {
    margin: 5px 0;
    color: #555;
}

.map-container {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	margin-bottom: 1rem;
}

.map-container {
    flex: 1;
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    border: none;
}

/* Mantém proporção responsiva do mapa sem distorcer */
.map-container iframe {
	height: auto;
	aspect-ratio: 16 / 9;
}

.map-note {
	text-align: center;
	color: #215a6b;
	font-weight: 600;
	margin-top: 0.5rem;
}

/* Services Grid */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.service-item {
	background: white;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-image {
	width: 100%;
    height: 200px;
    object-fit: cover;
	border-radius: 6px;
	margin-bottom: 1rem;
}

/* Garante mesma proporção visual dos cards de serviço */
.service-image {
	height: auto;
	aspect-ratio: 16 / 9;
}

.service-item h3 {
	color: #215a6b;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
}

.service-item p {
	color: #666;
	line-height: 1.6;
}
/* Tabs Section */
.tabs-section {
	background: #fff;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tabs {
	padding-left: 35%;
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.tab-button {
	background: #f0f0f0;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	color: #215a6b;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.gallery_button{background: #f0f0f0;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	color: #215a6b;
	transition: all 0.3s ease;
	font-size: 1rem;
}
.gallery_button:hover {
	background: #d7e8ec;
}

.tab-button:hover {
	background: #d7e8ec;
}

.tab-button.active {
	background: #215a6b;
	color: #fff;
	box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.tab-content {
	display: none;
	animation: fadeIn 0.4s ease;
}

.tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Service Gallery */
.service-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.service-gallery .service-image {
    height: 100px;
    object-fit: cover;
	border-radius: 4px;
	transition: transform 0.2s ease;
}

/* Miniaturas quadradas consistentes na galeria */
.service-gallery .service-image {
	height: auto;
	aspect-ratio: 1 / 1;
}

.service-gallery .service-image:hover {
	transform: scale(1.05);
	cursor: pointer;
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
	animation: fadeIn 0.3s ease;
}

.modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: zoomIn 0.3s ease;
}

#caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
	cursor: pointer;
	z-index: 10001;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

@keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}

@keyframes zoomIn {
	from {transform: translate(-50%, -50%) scale(0.5);}
	to {transform: translate(-50%, -50%) scale(1);}
}

/* Footer */
footer {
	background-color: #215a6b;
	color: #ffffff;
	margin-top: 2rem;
	padding: 2rem 0;
}
footer p {
	color: #ffffff;
	margin: 0.25rem 0;
}

footer a {
	color: #ffffff;
	text-decoration: none;
}
footer a:hover {
	opacity: 0.85;
}

/* Footer layout */
.footer-top {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-col h3 {
	margin: 0 0 0.75rem 0;
	font-size: 1.1rem;
	color: #ffffff;
}
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-links li {
	margin: 0.4rem 0;
}
.social {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.75rem;
}
.social a {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255,255,255,0.6);
	border-radius: 50%;
}
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	padding-left: 32.5%;
}

/* Form Styles */
.recruitment-form {
	max-width: 600px;
	margin: 0 auto;
	padding: 2rem;
	background: #f8f9fa;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #333;
}
.bev h2{
	text-align: center;
}
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
	transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #215a6b;
	box-shadow: 0 0 0 2px rgba(33, 90, 107, 0.1);
}

.submit-btn {
	background: #215a6b;
	color: white;
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.submit-btn:hover {
	background: #1a4a5a;
}

/* Responsive */
@media (max-width: 768px) {
	/* Container padding mais compacto */
	.container {
		padding: 12px;
	}

	/* Header mais baixo para caber melhor em celulares */
	header#inicio {
		min-height: 320px;
		margin-top: -90px;
		padding-top: 70px;
	}

	/* Navbar empilhada */
	.nav-bar {
		flex-direction: column;
		align-items: center;
		gap: 12px;
		padding: 12px 16px;
	}
	.nav {
		flex-wrap: wrap;
		gap: 16px;
		justify-content: center;
	}
	.brand img{
		height: 44px;
	}

	.footer-top {
		grid-template-columns: 1fr 1fr;
	}
	.recruitment-form {
		padding: 1.5rem;
	}
	.services-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.service-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
	.mission-content,
	.vision-content,
	.values-content {
		flex-direction: column;
		gap: 1rem;
	}
	.structure-content {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.team-members .structure-text {
		flex-direction: column;
		gap: 1rem;
	}
	.team-member {
		min-width: auto;
	}

	/* Tabs sem recuo e com quebra de linha */
	.tabs {
		padding-left: 0;
		flex-wrap: wrap;
		gap: 0.5rem;
	}
	.tab-button {
		padding: 0.6rem 1rem;
		font-size: 0.95rem;
	}
}
@media (max-width: 480px) {
	.footer-top {
		grid-template-columns: 1fr;
	}
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
	.recruitment-form {
		padding: 1rem;
	}

	/* Ajustes extras para telas muito pequenas */
	header#inicio {
		min-height: 260px;
		margin-top: -80px;
		padding-top: 70px;
	}
	.service-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
	.nav {
		gap: 12px;
	}
}

html{
	scroll-behavior: smooth;
}


