:root {
	--accent: #569e37;
	--muted: #777;
	--bg: #fff;
	--text: #1f2933;
	--max-width: 1300px;
	--container-padding: 20px;
}

/* RESET BÁSICO */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

html,
body {
	margin: 0;
	padding: 0;
	max-width: 100%;
	overflow-x: hidden;
}

body {
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* UTILITÁRIOS */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.muted {
	color: var(--muted);
	font-size: 13px;
}

.column {
	flex-direction: column;
}

/* NAVBAR */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 91px;
	background: #fff;
	border-bottom: 1px solid #eee;
	display: flex;
	align-items: center;
	z-index: 1000;
}

.container {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	max-width: 20%;
}

.brand img {
	width: 100%;
}

.nav-links {
	display: flex;
	gap: 18px;
	align-items: flex-end;
}

.nav-links a {
	color: var(--text);
	text-decoration: none;
	padding: 10px 8px;
	border-radius: 8px;
	font-weight: 600;
}

.nav-links a:hover {
	background: rgba(45, 106, 58, 0.08);
	color: var(--accent);
}

.nav-links a:focus {
	outline: 3px solid rgba(45, 106, 58, 0.12);
	outline-offset: 2px;
}

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	font-size: 20px;
}

/* HERO
.hero {
	height: 600px;
	display: flex;
	align-items: center;
	background-image: url("img/hero2.png");
	background-size: cover;
	background-position: center center;
	padding-top: 60px;
	position: relative;
	color: #fff;
}*/

.hero {
	position: relative;
	height: 600px;
	display: flex;
	align-items: center;
	padding-top: 60px;
	color: #fff;
	overflow: hidden; /* garante que o canvas não “vaze” */
	background: #000; /* fallback se o WebGL não carregar */
}

.hero-3d {
	position: absolute;
	inset: 0; /* top:0; right:0; bottom:0; left:0; */
	z-index: 0;
	pointer-events: none;
}

/* Canvas do three.js como background "puro" */
.hero-3d canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-overlay {
	position: absolute;
	inset: 0;
}

.hero-inner {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 56px 48px;
	display: flex;
	gap: 36px;
	align-items: center;
	position: relative;
}

.hero-copy {
	flex: 1 1 0;
	min-width: 0;
}

.hero-copy h1 {
	font-size: clamp(34px, 5vw, 48px);
	margin: 0 0 12px;
	line-height: 1.03;
	font-weight: 600;
	width: 761px;
	max-width: 100%;
}

.hero-copy .subtitle {
	color: rgba(255, 255, 255, 0.95);
	margin: 0 0 20px;
	font-size: 1.05rem;
	max-width: 58ch;
	font-family: "Ovo", serif;
}

.hero-media {
	flex: 0 0 44%;
	min-height: 340px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-width: 0;
}

.hero-media img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hero-actions {
	display: flex;
	gap: 12px;
}

.hero-cta {
	display: inline-block;
	padding: 14px 20px;
	background: var(--accent);
	color: #fff;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
}

.hero-cta.ghost {
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.9);
	color: var(--accent);
	padding: 12px 18px;
	font-weight: 700;
}

.hero-cta:focus {
	outline: 3px solid rgba(255, 255, 255, 0.14);
	outline-offset: 3px;
}

/* SERVICES GRID */
.services .lead {
	color: var(--muted);
	max-width: 900px;
	margin-bottom: 18px;
}

.grid-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)); /* padrão: 2 colunas */
	gap: 18px;
	margin-top: 22px;
	justify-items: center;
}

.card {
	background: #fff;
	padding: 22px;
	border-radius: 12px;
	border: 1px solid #eceef0;
	box-shadow: 0 8px 28px rgba(20, 20, 60, 0.04);
}

.card h3 {
	margin: 0 0 10px;
	font-size: 1.05rem;
}

.card p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
	max-width: 52ch;
}

/* DEVICES */
.devices {
	display: flex;
	align-items: center;
	gap: 30px;
}

.devices-media {
	flex: 1;
}

.devices .content {
	flex: 1;
}

/* CLIENTS */
.clients-list {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 12px;
	justify-content: center;
}

.clients-list > div {
	background: #fff;
	padding: 10px 14px;
	border-radius: 6px;
	border: 1px solid #eee;
}

.clients-list a {
	display: block;
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
}

/* Hover/focus no link, aproveitando o "card" do <div> */
.clients-list a:hover,
.clients-list a:focus-visible {
	color: var(--accent);
}

.clients-list > div {
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.clients-list > div:hover,
.clients-list > div:focus-within {
	background: rgba(86, 158, 55, 0.04);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	transform: translateY(-1px);
}

/* SEÇÕES GENÉRICAS */
main.sections {
	max-width: var(--max-width);
	margin: 40px auto;
	padding: 0 var(--container-padding);
	display: flex;
	flex-direction: column;
	gap: 26px;
}

section.section {
	background: #fff;
	border-radius: 10px;
	padding: 28px;
	border: 1px solid #eee;
	display: flex;
	gap: 20px;
	align-items: center;
}

.section:nth-child(even) {
	flex-direction: row-reverse;
}

.section .media {
	flex: 0 0 40%;
	min-height: 160px;
	background: linear-gradient(90deg, #f6f7ff, #fff);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed #e6e6ff;
}

.section .content {
	flex: 1;
}

.section h2 {
	margin: 0 0 10px;
	font-size: 1.25rem;
}

.section p {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
	max-width: 70ch;
}

/* --- SOLUTIONS SECTION --- */
.solutions-section {
	padding: 80px 0;
	background: var(--bg);
}

.section-header {
	text-align: center;
	margin-bottom: 50px;
}

.section-header h2 {
	font-size: clamp(1.8rem, 4vw, 2.2rem);
	margin-bottom: 16px;
	font-weight: 700;
	color: #000;
	max-width: 70%;
	margin: auto;
}

.section-header p {
	color: var(--muted);
	max-width: 780px;
	margin: 0 auto;
	font-size: 1.1rem;
}

.card.solution-card {
	background: #fafafa;
	border: none;
	box-shadow: none;
	border-radius: 8px;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	width: 360px;
}

.solution-card .icon-box {
	margin-bottom: 20px;
	color: #000;
}

.solution-card .icon-box svg {
	width: 42px;
	height: 42px;
	stroke-width: 1.5px;
}

.solution-card h3 {
	text-align: center;
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 20px;
	min-height: 54px;
	color: #000;
}

.solution-card ul {
	text-align: left;
	padding-left: 20px;
	margin: 0;
	width: 100%;
}

.solution-card li {
	font-size: 0.95rem;
	color: var(--muted);
	margin-bottom: 8px;
	line-height: 1.5;
	list-style-type: disc;
}

.solution-card li::marker {
	color: #999;
	font-size: 0.8em;
}

/* --- QUALITY SECTION (AVIADOR) --- */
.quality-section {
	padding: 100px 0;
	background: #fff;
	overflow: hidden;
}

.quality-header {
	position: relative;
	text-align: center;
	margin-bottom: 50px;
}

.quality-header h2 {
	font-size: clamp(2rem, 5vw, 2.8rem);
	font-weight: 700;
	color: #0d1b3e;
	line-height: 1.1;
	position: relative;
	z-index: 2;
}

.plus-grid {
	position: absolute;
	top: 50%;
	right: 10%;
	transform: translateY(-50%);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	opacity: 0.4;
	z-index: 1;
}

.plus-grid span {
	font-family: monospace;
	font-size: 20px;
	color: #ccc;
	font-weight: bold;
}

.plus-grid span.active {
	color: var(--accent);
}

.quality-content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 60px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.quality-images {
	flex: 1;
	min-width: 0;
	width: 100%;
	display: flex;
	justify-content: center;
}

.img-box {
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.quality-list {
	flex: 1;
	min-width: 0;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-left: 1px solid #e0e0e0;
	padding-left: 40px;
	text-align: left; /* SEMPRE esquerda */
}

.q-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.q-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	color: var(--accent);
}

.q-item p {
	font-family: "Source Code Pro", monospace;
	font-size: 0.95rem;
	color: #1f2933;
	margin: 0;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.tech-detail {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
}

/* --- VR SECTION (ROSA) --- */
.vr-section {
	max-width: 100%;
	padding: 0;
	background: #fff;
}

.vr-header {
	text-align: center;
	margin-bottom: 50px;
}

.vr-header h2 {
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 10px;
	color: #000;
}

.vr-header .subtitle {
	font-style: italic;
	color: var(--muted);
	font-size: 1.1rem;
}

/* duas colunas espelhadas com quality-section */
.vr-content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 60px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
	flex-wrap: nowrap;
}

.vr-text {
	flex: 1;
	min-width: 0;
}

.vr-text p {
	color: var(--muted);
	margin-bottom: 24px;
	font-size: 1.05rem;
	max-width: 100%;
	word-wrap: break-word;
}

.vr-text strong {
	color: #000;
	font-weight: 700;
}

nav .btn-primary {
	padding: 4px 30px;
	align-self: flex-start;
	margin-top: 5px;
}

.btn-primary {
	display: inline-block;
	background: var(--accent);
	color: #fff !important;
	padding: 14px 28px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	margin-top: 10px;
	transition: background 0.2s;
}

.btn-primary:hover {
	filter: brightness(0.9);
}

.vr-media {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	display: flex;
	justify-content: center;
}

/* swiper / slide */
.slide-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.slide-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.slide-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}

.slide-overlay h3 {
	color: #fff;
	font-size: 1.5rem;
	max-width: 80%;
	line-height: 1.3;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.vrSwiper {
	padding-bottom: 40px !important;
}

.swiper-pagination-bullet {
	width: 60px;
	height: 6px;
	border-radius: 4px;
	background: #e0e0e0;
	opacity: 1;
	transition: width 0.3s;
	margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
	background: #ccc;
}

/* --- TEAM SECTION --- */
.team-section {
	padding: 100px 0 0 0;
	background: #fff;
	text-align: center;
}

.team-header {
	margin-bottom: 50px;
}

.team-header h2 {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	color: #000;
	max-width: 800px;
	margin: 0 auto;
}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
}

.team-member {
	width: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.member-photo {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin-bottom: 18px;
	background-color: #eee;
}

video.member-photo {
	background-color: #eee;
}

.team-member h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 4px;
	color: #000;
}

.member-role {
	color: #7c3aed;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 12px;
	display: block;
}

.member-bio {
	font-size: 0.8rem;
	color: var(--muted);
	line-height: 1.5;
	margin-bottom: 16px;
	max-width: 180px;
	height: auto;
}

/* --- CONTACT SECTION --- */
.contact-section {
	padding:	0;
	background: #fff;
}

.contact-header {
	text-align: center;
	margin-bottom: 50px;
}

.contact-header h2 {
	font-size: clamp(1.8rem, 4vw, 2.2rem);
	font-weight: 700;
	color: #000;
}

.contact-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 100px;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.contact-text {
	flex: 0 0 45%;
	max-width: 500px;
	text-align: left;
	padding-top: 20px;
}

.contact-text p {
	color: var(--muted);
	font-size: 1.15rem;
	margin: auto auto 32px auto;
	line-height: 1.6;
}

.contact-form {
	flex: 0 0 45%;
	max-width: 500px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-form label {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	color: var(--muted);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	font-family: "Inter", sans-serif;
	font-size: 0.95rem;
	color: var(--text);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(86, 158, 55, 0.1);
}

.btn-submit {
	background: var(--accent);
	color: #fff;
	border: none;
	padding: 16px 32px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	align-self: flex-start;
	transition: background 0.2s;
	margin-top: 10px;
}

.btn-submit:hover {
	background: #46852d;
}

.contact-info {
	width: 320px;
	flex: 0 0 320px;
}

/* FOOTER */
footer.footer {
	background: #f9f9f9;
	padding: 20px 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--muted);
}

footer.footer p {
	font-family: "Inter", sans-serif;
	margin: 4px 0;
	font-size: 10px;
}

/* Back to top button */
.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent);
	color: #fff;
	border: none;
	box-shadow: 0 6px 20px rgba(30, 40, 80, 0.18);
	cursor: pointer;
	transform: translateY(12px) scale(0.98);
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease, transform 220ms ease, box-shadow 150ms ease;
	z-index: 1100;
	font-size: 20px;
}

.back-to-top.show {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

/* --- INTEGRAÇÃO 3D (ROSA + AVIADOR) --- */
.patu-3d-window {
	position: relative;
	width: 100%;
	max-width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: transparent;
	flex: 0 0 auto;
}

.hero {
	position: relative;
	height: 600px;
	display: flex;
	align-items: center;
	padding-top: 60px;
	color: #fff;
	background: #000; /* fallback */
	overflow: hidden;
}

/* HERO: a cena 3D vira “fundo” em tela cheia */
.hero-3d {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	border-radius: 0 !important;
	flex: none !important;
	z-index: 0;
}

/* canvas do three.js preenche toda a hero */
.hero-3d canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* overlay por cima da cena 3D, mas atrás do texto */
.hero-overlay {
	position: absolute;
	inset: 0;
	/*background: radial-gradient(circle at 20% 20%, rgba(0,0,0,0.15), rgba(0,0,0,0.4));*/
	z-index: 1;
	pointer-events: none;
}

/* conteúdo da hero acima da cena+overlay */
.hero-inner {
	position: relative;
	z-index: 2;
}

.patu-3d-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 25px 40px;
	max-width: 90%;
	margin: 0 auto;
	box-sizing: border-box;
	text-align: center;
	font-size: 1.3rem;
	color: white;
	opacity: 0;
	transition: opacity 1s ease;
	line-height: 1.4;
	text-shadow: 0 0 12px rgba(0, 0, 0, 0.65);
}

.patu-3d-overlay.show {
	opacity: 1;
}

/* janelas específicas */
.box-principe-rosa,
.box-aviador {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
}

/* garante centralização dos containers das cenas 3D */
.quality-images,
.vr-media {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* ----------------- MEDIA QUERIES ----------------- */

/* <= 1000px */
@media (max-width: 1000px) {
	.devices {
		flex-direction: column;
		gap: 20px;
	}

	.hero-inner {
		padding: 40px 24px;
		gap: 20px;
	}

	.hero-copy h1 {
		width: auto;
		font-size: clamp(28px, 5vw, 40px);
	}
}

/* <= 900px – empilha aviador e rosa (texto + janela) */
@media (max-width: 900px) {
	.quality-content,
	.vr-content {
		display: block !important;
		width: 100% !important;
	}

	.quality-images,
	.vr-media,
	.quality-list,
	.vr-text {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: none !important;

		/* Como removemos o 'gap' do flex, usamos margem para separar */
		margin-bottom: 32px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.q-item p {
		margin: 0 0 0.5rem 0;
		line-height: 2;
	}

	.quality-content > *:last-child,
	.vr-content > *:last-child {
		margin-bottom: 0 !important;
	}

	.patu-3d-window,
	.box-aviador,
	.box-principe-rosa {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	.team-grid {
		gap: 32px;
		justify-content: center;
	}

	.section-header h2 {
		font-size: clamp(1.4rem, 4vw, 1.9rem);
	}

	.contact-content {
		flex-direction: column;
		justify-content: center;
		gap: 50px;
	}

	.contact-text,
	.contact-form {
		flex: 1;
		max-width: 100%;
		width: 100%;
		text-align: center;
	}

	.contact-text {
		padding-top: 0;
	}

	.btn-submit {
		width: 100%;
	}
}

/* <= 800px */
@media (max-width: 800px) {
	.grid-cards {
		grid-template-columns: 2fr;
		gap: 5px;
	}

	.brand {
		max-width: 30%;
	}

	.nav-links {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.hero-inner {
		flex-direction: column;
		padding: 36px 18px;
	}

	.section {
		flex-direction: column;
	}

	.section:nth-child(even) {
		flex-direction: column;
	}

	.section .media {
		width: 100%;
		flex-basis: auto;
	}

	/* cards em 1 coluna, centralizados */
	.grid-cards {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.grid-cards .card {
		width: 100%;
		max-width: 420px; /* ajusta o limite se quiser mais largo/estreito */
	}
}

/* <= 700px */
@media (max-width: 700px) {
	.grid-cards {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.brand {
		max-width: 35%;
	}

	.solution-card {
		width: 100%;
		padding: 20px;
	}

	.hero {
		height: auto;
		padding-top: 92px;
		padding-bottom: 36px;
	}

	.hero-copy h1 {
		font-size: clamp(22px, 6.5vw, 32px);
		width: auto;
	}

	.hero-actions {
		flex-direction: column;
		text-align: center;
	}

	.contact-info {
		width: 100%;
	}

	/* aqui não mexo em 3D pra não duplicar regras;
	   o comportamento base já é width:100% + aspect-ratio */
}

/* <= 600px – mobile */
@media (max-width: 600px) {
	main.sections {
		margin: 0;
		padding: 0;
	}

	/* o que você já tinha */
	.team-grid {
		gap: 40px;
	}

	.brand {
		max-width: 40%;
	}

	.contact-content {
		gap: 28px;
		padding: 0 12px;
	}

	.back-to-top {
		right: 12px;
		bottom: 12px;
		width: 44px;
		height: 44px;
	}

	/* --------- AVIADOR + ROSA EM COLUNA ---------- */

	/* as duas seções 3D viram coluna */
	.quality-content,
	.vr-content {
		flex-direction: column;
		align-items: center;
		gap: 24px;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin: 0 !important;
	}

	/* TIRA o padding lateral do container
	   SÓ nessas seções, pra permitir full-bleed */
	.quality-section > .container,
	.vr-section > .container {
		padding-left: 0;
		padding-right: 0;
	}

	.quality-section {
		padding: 0;
		background: #fff;
		overflow: hidden;
	}

	/* DEVOLVE o padding pros blocos de texto,
	   pra não colarem na borda da tela */
	.quality-header,
	.quality-list,
	.vr-header,
	.vr-text {
		padding-left: var(--container-padding);
		padding-right: var(--container-padding);
	}

	/* wrappers diretos das cenas 3D ocupam 100% */
	.quality-images,
	.vr-media {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	/* canvas 3D: full width, sem arredondado no mobile */
	.patu-3d-window {
		width: 100%;
		max-width: 100%;
		height: auto;
		border-radius: 0;
		overflow: hidden;
		margin: 0;
	}

	/* caixas específicas da rosa e aviador mais altas (retrato) */
	.box-principe-rosa,
	.box-aviador {
		width: 100%;
		max-width: 100%;
		aspect-ratio: 9 / 16; /* ajusta se quiser mais ou menos alto */
	}

	/* overlay mais confortável em telas estreitas */
	.patu-3d-overlay {
		max-width: 100%;
		padding: 16px 24px;
		font-size: 1rem;
		line-height: 1.35;
	}

	/* bullets menores pra caber em telas bem estreitas */
	.swiper-pagination-bullet {
		width: 24px;
		margin: 0 3px !important;
	}
}

/* >= 901px – layout 2 colunas estável pra aviador e rosa */
@media (min-width: 901px) {
	.quality-content,
	.vr-content {
		align-items: center;
	}

	.quality-images,
	.vr-media {
		flex: 1;
		max-width: 50%;
	}

	.quality-list,
	.vr-text {
		flex: 1;
		max-width: 50%;
	}

	/* ROSA e AVIADOR com limite parecido de largura */
	.box-principe-rosa,
	.box-aviador,
	.patu-3d-window {
		max-width: 500px;
		margin: 0 auto;
	}
}

/* >= 1150px – 3 colunas só em telas realmente largas */
@media (min-width: 1150px) {
	.grid-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.grid-cards-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* Usado somente até termos todos os links */
	}
}

.patu-3d-window canvas {
	border-radius: inherit;
	outline: none;
}

.patu-3d-window {
	/* ... suas regras atuais ... */
	transform: translateZ(0);
	overflow: hidden;
}

@media (max-width: 600px) {
	.patu-3d-window {
		aspect-ratio: 8 / 9 !important;
	}
}

/* --- AJUSTE FINO DE ALTURA (901px a 1200px) --- */
@media (min-width: 901px) and (max-width: 1200px) {
	.patu-3d-window {
		/* Desliga a trava de proporção original (16/9) para permitir esticar */
		aspect-ratio: auto !important;

		/* Garante que ocupe a largura da coluna */
		width: 100% !important;

		/* Fórmula Mágica de Interpolação:
       Em 900px:  450px - 90px  = 360px (Imagem Alta/Esticada)
       Em 1200px: 450px - 120px = 330px (Imagem Normal Widescreen)
    */
		height: calc(450px - 10vw) !important;
	}

	 .hero-3d {
		height: auto !important;
	 }
}


.ig-section{
	padding:	90px 0;
	background:	var(--bg);
}

.ig-grid{
	width:	100%;
	display:	grid;
	grid-template-columns:	repeat(4, 1fr);
	gap:	18px;
	align-items:	start;
}

.ig-item{
	background:	#fff;
	border:	1px solid #eceef0;
	border-radius:	12px;
	box-shadow:	0 8px 28px rgba(20, 20, 60, 0.04);
	overflow:	hidden;
	padding:	10px;
}

.ig-item .instagram-media{
	margin:	0 !important;
	min-width:	0 !important;
	width:	100% !important;
}

.ig-actions{
	margin-top:	18px;
	display:	flex;
	justify-content:	center;
}

@media (max-width: 1000px){
	.ig-grid{
		grid-template-columns:	repeat(2, 1fr);
	}
}

@media (max-width: 700px){
	.ig-grid{
		grid-template-columns:	1fr;
	}
}