/* Design System - Gran Resort Reserva São Caetano */

html {
	scroll-behavior: smooth;
}

:root {
	--primary-blue: #1D2B42;
	--accent-blue: #263F68;
	--cta-red: #CD003B;
	--gold-light: #DDCFC0;
	--gold-dark: #DAB180;
	--bg-light: #F0F0F0;
	--text-dark: #333333;
	--white: #FFFFFF;
	--transition: all 0.3s ease;
}

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

body {
	font-family: 'Sarabun', sans-serif;
	color: var(--text-dark);
	line-height: 1.6;
	background-color: var(--white);
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: 'DM Serif Text', serif;
}

a {
	text-decoration: none;
	color: inherit;
}

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

/* Navigation */
.top-nav {
	position: fixed;
	top: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 50px;
	background: var(--primary-blue);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-logo {
	height: 50px;
}

.nav-right {
	display: flex;
	align-items: center;
}

.nav-links {
	display: flex;
	gap: 30px;
	margin-right: 40px;
}

.nav-links a {
	color: var(--white);
	font-size: 14px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: var(--transition);
	opacity: 0.8;
}

.nav-links a:hover, .nav-links a.active {
	opacity: 1;
	color: var(--gold-dark);
}

.btn-primary {
	background: var(--cta-red);
	color: var(--white);
	padding: 12px 25px;
	border-radius: 4px;
	font-weight: 700;
	transition: var(--transition);
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background: #b00033;
}

@media (max-width: 991px) {
	.top-nav {
		flex-direction: column;
		padding: 15px 20px;
		gap: 15px;
		align-items: center;
		text-align: center;
		width: 100vw;
	}
	
	.nav-left, .nav-right {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.nav-links {
		display: none;
	}

	.main-logo {
		height: 45px;
		margin: 0 auto;
	}

	.btn-primary {
		padding: 10px 25px;
		font-size: 14px;
		width: 100%;
		max-width: 280px;
	}
}

/* Floating Contact */
/* Floating Contact (Arkadio Style) */
.floating-contact {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 1000;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.8);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-contact.show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: scale(1);
}

.contact-badge {
	width: 5.5rem;
	height: 5.5rem;
	background: #25D366;
	color: white;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;
	box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-badge:hover {
	transform: scale(1.1) translateY(-5px);
	box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6);
	background: #20ba5a;
}

/* Hero Section */
.hero-section {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	padding-top: 80px;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(29, 43, 66, 0.2), rgba(29, 43, 66, 0.45));
	z-index: 0;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
}

.hero-brand-logo {
	width: 250px;
	margin-bottom: 30px;
}

.hero-title {
	font-size: 3.5rem;
	margin-bottom: 20px;
	line-height: 1.1;
}

.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 40px;
	font-weight: 300;
	letter-spacing: 2px;
}

/* Summary Section */
.project-summary {
	background: var(--primary-blue);
	color: var(--white);
	padding: 40px 0;
}

.summary-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
}

.summary-item .material-symbols-outlined {
	font-size: 40px;
	color: var(--gold-dark);
	margin-bottom: 10px;
}

.summary-item p {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Editorial Section */
.editorial {
	padding: 100px 5%;
}

.editorial-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: center;
	gap: 60px;
	max-width: 1400px;
	margin: 0 auto;
}

.editorial-image img {
	width: 100%;
	border-radius: 0 20px 20px 0;
	box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.editorial-content {
	padding-right: 80px;
}

.label-small {
	color: var(--cta-red);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 3px;
	display: block;
	margin-bottom: 15px;
}

.section-title {
	font-size: 2.8rem;
	margin-bottom: 30px;
	color: var(--primary-blue);
}

.diferenciais-list {
	list-style: none;
	margin-top: 40px;
}

.diferenciais-list li {
	margin-bottom: 15px;
	padding-left: 30px;
	position: relative;
}

.diferenciais-list li::before {
	content: "check";
	font-family: 'Material Symbols Outlined';
	position: absolute;
	left: 0;
	color: var(--gold-dark);
	font-weight: bold;
}

/* Gallery Section (Dynamic Slider) */
.resort-gallery {
	background: var(--bg-light);
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

.resort-header {
	text-align: center;
	margin-bottom: 60px;
	width: 100%;
}

.resort-header h2 {
	font-size: 3rem;
	color: var(--primary-blue);
}

.resort-header p {
	color: #666;
	max-width: 800px;
	margin: 15px auto 0;
}

.resort-track {
	display: flex;
	gap: 20px;
	padding: 0 5%;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none; /* Firefox */
}

.resort-track::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

.resort-gallery-item {
	flex: 0 0 70%;
	height: 500px;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	scroll-snap-align: center;
}

.resort-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.resort-gallery-item:hover img {
	transform: scale(1.05);
}

.resort-gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(29, 43, 66, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition);
}

.resort-gallery-item:hover .resort-gallery-overlay {
	opacity: 1;
}

.btn-outline-resort {
	padding: 12px 30px;
	border: 2px solid var(--white);
	color: var(--white);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	backdrop-filter: blur(5px);
}

.resort-nav {
	position: absolute;
	top: 60%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
	pointer-events: none;
	z-index: 10;
}

.resort-nav-btn {
	pointer-events: auto;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid rgba(29, 43, 66, 0.2);
	background: var(--white);
	color: var(--primary-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transition: var(--transition);
}

.resort-nav-btn:hover {
	background: var(--primary-blue);
	color: var(--white);
}

@media (max-width: 767px) {
	.resort-gallery-item {
		flex: 0 0 90%;
		height: 350px;
	}
	.resort-nav {
		display: none;
	}
}

/* Plants Section */
.plants-section {
	padding: 100px 0;
}

/* Ficha Técnica */
.ficha-tecnica-container {
	margin-bottom: 80px;
	background: #fdfdfd;
	padding: 40px;
	border-radius: 15px;
	border: 1px solid #eee;
}

.ficha-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.ficha-list {
	list-style: none;
}

.ficha-list li {
	margin-bottom: 15px;
	font-size: 15px;
	color: #555;
	line-height: 1.4;
}

.ficha-list li strong {
	color: var(--primary-blue);
	display: block;
	margin-bottom: 3px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ficha-areas {
	border-top: 1px solid #eee;
	padding-top: 30px;
}

.ficha-areas h4 {
	color: var(--primary-blue);
	margin-bottom: 20px;
}

.areas-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px 40px;
}

.area-item {
	font-size: 14px;
	color: #666;
	padding-bottom: 8px;
	border-bottom: 1px dashed #eee;
}

.area-obs {
	font-size: 12px;
	color: #999;
	margin-top: 15px;
	font-style: italic;
}

@media (max-width: 767px) {
	.ficha-grid, .areas-grid {
		grid-template-columns: 1fr;
	}
}

.plants-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.plant-card {
	text-align: center;
	padding: 20px;
	border: 1px solid #eee;
	border-radius: 12px;
	transition: var(--transition);
}

.plant-card:hover {
	border-color: var(--gold-dark);
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.plant-card img {
	width: 100%;
	margin-bottom: 20px;
}

/* Ebook Section */
.ebook-section {
	position: relative;
	height: 80vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: var(--white);
}

.video-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.video-background iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 100vh;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
	.video-background iframe {
		height: 56.25vw;
	}
}

@media (max-aspect-ratio: 16/9) {
	.video-background iframe {
		width: 177.78vh;
	}
}

.ebook-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(29, 43, 66, 0.9) 0%, rgba(29, 43, 66, 0.4) 100%);
	z-index: 0;
}

.ebook-content-wrapper {
	position: relative;
	z-index: 1;
	max-width: 700px;
}

.ebook-title {
	font-size: 3.5rem;
	margin-bottom: 20px;
	line-height: 1.1;
	color: var(--white);
}

.ebook-text {
	font-size: 1.2rem;
	margin-bottom: 40px;
	opacity: 0.9;
}

/* Form Section */
.form-section {
	padding: 100px 0;
	background: var(--primary-blue);
	color: var(--white);
}

.form-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.form-wrapper {
	background: var(--white);
	padding: 40px;
	border-radius: 15px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group input {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: inherit;
}

.btn-submit {
	width: 100%;
	padding: 15px;
	background: var(--cta-red);
	color: var(--white);
	border: none;
	border-radius: 5px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: var(--transition);
}

.btn-submit:hover {
	background: #b00033;
}

/* --- Signatures Section --- */
.wrapper-geral-assinaturas {
	padding: 100px 0;
	background-color: var(--gold-light);
	color: var(--primary-blue);
	text-align: center;
}

.assinaturas-titulo {
	font-size: 2.8rem;
	margin-bottom: 60px;
}

.assinaturas-titulo em {
	font-style: italic;
	font-weight: normal;
}

.assinaturas-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	text-align: left;
}

.box-assinatura {
	background: rgba(255, 255, 255, 0.3);
	padding: 30px;
	border-radius: 10px;
	transition: var(--transition);
}

.box-assinatura:hover {
	background: rgba(255, 255, 255, 0.5);
	transform: translateY(-5px);
}

.assinatura-img {
	width: 100%;
	border-radius: 5px;
	margin-bottom: 25px;
}

.assinatura-status {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 5px;
	color: var(--accent-blue);
}

.assinatura-name {
	font-size: 24px;
	color: var(--primary-blue);
}

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

@media (max-width: 767px) {
	.assinaturas-grid {
		grid-template-columns: 1fr;
	}
	.assinaturas-titulo {
		font-size: 2rem;
	}
}

/* Footer */
footer {
	padding: 80px 0 30px;
	background: #151e2e;
	color: rgba(255,255,255,0.6);
}

.footer-grid {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
	height: 40px;
	margin-bottom: 20px;
}

.footer-nav a {
	margin-left: 30px;
	font-size: 14px;
}

.footer-nav a:hover {
	color: var(--white);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	font-size: 13px;
}

/* Responsive */
@media (max-width: 991px) {
	.top-nav { padding: 15px 20px; }
	.nav-links { display: none; }
	.hero-title { font-size: 2.5rem; }
	.editorial-grid, .form-container { grid-template-columns: 1fr; }
	.editorial-content { padding-right: 0; }
	.gallery-grid, .plants-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.summary-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.gallery-grid, .plants-grid { grid-template-columns: 1fr; }
}
/* Final Mobile Optimizations */
@media (max-width: 767px) {
	.hero-title {
		font-size: 2.2rem;
	}
	
	.hero-subtitle {
		font-size: 1rem;
	}

	.ebook-title {
		font-size: 2.2rem;
	}

	.ebook-section {
		height: auto;
		padding: 80px 0;
		text-align: center;
	}

	.resort-header h2 {
		font-size: 2rem;
	}

	.footer-grid {
		flex-direction: column;
		gap: 40px;
		text-align: center;
	}

	.footer-info, .footer-nav {
		width: 100%;
		align-items: center;
	}

	.footer-nav {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.footer-nav a {
		margin-left: 0;
	}

	.plants-grid {
		grid-template-columns: 1fr;
	}

	.floating-contact {
		display: flex !important; /* Sempre visível no mobile */
		opacity: 1 !important;
		visibility: visible !important;
		transform: scale(1) !important;
		bottom: 1.5rem !important;
		right: 1.5rem !important;
		pointer-events: auto !important;
	}

	.contact-badge {
		width: 4rem !important;
		height: 4rem !important;
	}

	.contact-badge svg {
		width: 34px !important;
		height: 34px !important;
	}
}

.qr-container { margin-top: 1.5rem; display: flex; justify-content: flex-start; }
.qr-code { max-width: 150px; height: auto; border-radius: 10px; border: 3px solid rgba(255, 255, 255, 0.2); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease; }
.qr-code:hover { transform: scale(1.05); }

.form-text h2 {
	font-size: 3rem;
	margin-bottom: 1rem;
}

@media (max-width: 767px) {
	.form-text h2 {
		font-size: 2rem;
	}
}
