/*
	Theme Name: Sou + Agro Festival
	Theme URI: https://soumaisagro.com.br
	Description: Tema WordPress do Festival Sou + Agro - baseado no Hello Elementor, com suporte a JetEngine.
	Author: Sou + Agro
	Version: 3.4.6
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: soumaisagro
	Tags: festival, agro, custom-colors, custom-menu, featured-images
*/

/* ========== CSS Variables ========== */
:root {
	--agro-beige-light: #e9cd86;
	--agro-gold: #d2ab67;
	--agro-bronze: #ba8437;
	--agro-lime-light: #eaeb86;
	--agro-lime: #d5e05b;
	--agro-green-light: #a6ce39;
	--agro-green: #00732e;
	--agro-green-dark: #004d1e;
	--agro-yellow: #ffcb05;
}

/* ========== Base ========== 
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
*/
html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: #1a1a1a;
	overflow-x: hidden;
}

.font-script {
	font-family: 'Great Vibes', cursive;
}

a {
	text-decoration: none;
}

/*
img {
	max-width: 100%;
	height: auto;
} */

@layer base {
	a {
		text-decoration: none;
		color: inherit;
	}
}

/* ========== Layout ========== */

@layer components {
	.container {
		width: 100%;
		max-width: 1440px;
		margin: 0 auto;
	}
}


@layer components {
	.section-padding {
		padding: 6rem 1.5rem;
	}
}



/* ========== Animations ========== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

.animate-fade-in-up {
	animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-up {
	opacity: 0;
	animation: fadeUp 0.8s ease-out forwards;
}

.animate-scroll {
	animation: scroll 30s linear infinite;
	min-width: 200%;
}

.animate-scroll:hover {
	animation-play-state: paused;
}

.animate-pulse-custom {
	animation: pulse 2s ease-in-out infinite;
}

.animate-pulse-slow {
	animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin-slow {
	animation: spin 10s linear infinite;
}

.animate-bounce-custom {
	animation: bounce 2s ease-in-out infinite;
}

@keyframes scroll-dot-mouse {
	0% {
		opacity: 0.2;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
		transform: translateY(6px);
	}

	80%,
	100% {
		opacity: 0;
		transform: translateY(14px);
	}
}

.animate-scroll-dot {
	animation: scroll-dot-mouse 2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

/* ========== Navigation ========== */
.agro-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	transition: all 0.5s;
	padding: 1rem 0;
}

.agro-nav.scrolled,
.agro-nav.inner-page {
	background: #fff;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
	padding: 0.5rem 0;
}

.agro-nav .nav-logo {
	transition: all 0.5s;
	height: 8rem;
}

.agro-nav.scrolled .nav-logo,
.agro-nav.inner-page .nav-logo {
	height: 5rem;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--agro-green);
	border-radius: 0.5rem;
	transition: all 0.3s;
}

.nav-link:hover {
	background: rgba(0, 0, 0, 0.05);
}

.nav-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 0.25rem;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	border: 1px solid #f0f0f0;
	min-width: 220px;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-8px);
	visibility: hidden;
	transition: all 0.3s;
}

.nav-item:hover .nav-dropdown {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.nav-dropdown a {
	display: block;
	padding: 0.75rem 1.25rem;
	font-size: 0.85rem;
	color: #666;
	font-weight: 500;
	transition: all 0.3s;
}

.nav-dropdown a:hover {
	background: rgba(0, 115, 46, 0.05);
	color: var(--agro-green);
}

.btn-passaporte {
	padding: 0.75rem 1.5rem;
	background: var(--agro-green-light);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	border-radius: 0.5rem;
	box-shadow: 0 4px 15px rgba(166, 206, 57, 0.3);
	transition: all 0.3s;
	border: none;
	cursor: pointer;
}

.btn-passaporte:hover {
	background: #8ab32e;
	box-shadow: 0 6px 20px rgba(138, 179, 46, 0.4);
	transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 60;
	transform: translateX(100%);
	transition: transform 0.5s;
	overflow-y: auto;
}

.mobile-menu.open {
	transform: translateX(0);
}

/* ========== Hero ========== */
.hero {
	position: relative;
	height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top 15%;
	transform: scale(1.05);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 0 1.5rem;
	max-width: 64rem;
}

.hero-subtitle-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 30px;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 0.2em;
	text-shadow: 0 2px 12px rgba(0, 77, 30, 0.6), 0 0 30px rgba(0, 0, 0, 0.25);
}

.hero-date-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	/* Thin */
	font-size: clamp(3rem, 10vw, 96px);
	/* Max 96px as requested */
	line-height: 1;
	color: #fff;
	letter-spacing: -2px;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-year-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	/* Thin */
	font-size: clamp(2rem, 6vw, 60px);
	/* 60px match */
	line-height: 1;
	color: #EAE8B6;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	letter-spacing: -1px;
	margin-top: -5px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	font-weight: 900;
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	padding: 1rem 4rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	transition: all 0.3s ease;
}

.hero-badge:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn-hero-primary {
	display: inline-block;
	padding: 1rem 2.5rem;
	font-weight: 800;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 9999px;
	transition: all 0.3s;
	cursor: pointer;
	border: none;
	background: linear-gradient(180deg, #D4E05B 0%, #ADCB37 100%);
	/* Lime Gradient */
	color: #005c25;
	/* Dark Green Text */
	box-shadow: 0 0 15px rgba(212, 224, 91, 0.5);
}

.btn-hero-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 25px rgba(212, 224, 91, 0.7);
	filter: brightness(1.1);
}

.btn-hero-secondary {
	display: inline-block;
	padding: 0.9rem 2.5rem;
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 9999px;
	transition: all 0.3s;
	cursor: pointer;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.8);
	color: #fff;
}

.btn-hero-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

.hero-scroll {
	position: absolute;
	bottom: 2.5rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: rgba(255, 255, 255, 0.85);
	gap: 0.5rem;
	z-index: 20;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-scroll .scroll-wheel {
	width: 28px;
	height: 48px;
	border: 2px solid #ffffff;
	border-radius: 9999px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 8px 0;
	margin-top: 4px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-scroll .scroll-dot {
	width: 8px;
	height: 12px;
	background: var(--agro-gold);
	border-radius: 9999px;
	box-shadow: 0 0 10px rgba(210, 171, 103, 0.6);
}

/* ========== Section Headers ========== */
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.section-label .line {
	height: 1px;
	width: 2rem;
	background: var(--agro-gold);
}

.section-label span {
	color: var(--agro-green);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.75rem;
}

.section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	color: #111;
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}

.section-title .highlight {
	color: var(--agro-green);
}

.section-script {
	font-family: 'Great Vibes', cursive;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	color: var(--agro-gold);
	transform: rotate(-2deg);
	display: block;
}

/* ========== Cards ==========
   Removido: .card, .card:hover, .card-image — agora controlados
   exclusivamente pelas classes Tailwind no HTML (bg-white, rounded-3xl,
   shadow-xl, border, overflow-hidden, transition-transform, hover:-translate-y-2)
*/

/* ========== Parallax ========== */
.parallax-section {
	position: relative;
	height: 650px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

@media (max-width: 768px) {
	.parallax-section {
		height: 450px;
	}
}

.parallax-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 140%;
	top: -20%;
	background-size: cover;
	background-position: center;
	will-change: transform;
}

.parallax-overlay {
	position: absolute;
	inset: 0;
}

/* ========== Tickets ========== */
.ticket-circle {
	position: relative;
	width: 18rem;
	height: 18rem;
}

.ticket-circle .orbit {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.2);
}

.ticket-circle .inner {
	position: absolute;
	inset: 1rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

/* ========== FAQ ========== */
.faq-item {
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	overflow: hidden;
	transition: all 0.3s;
}

.faq-item:hover {
	border-color: rgba(210, 171, 103, 0.5);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	text-align: left;
	background: #fff;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a1a1a;
	transition: all 0.3s;
}

.faq-question.active {
	background: #f9fafb;
	color: var(--agro-green);
}

.faq-arrow {
	transition: transform 0.3s;
	font-size: 1.2rem;
	color: #9ca3af;
}

.faq-question.active .faq-arrow {
	transform: rotate(90deg);
	color: var(--agro-green);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-in-out, opacity 0.3s;
	opacity: 0;
}

.faq-answer.open {
	max-height: 200px;
	opacity: 1;
}

.faq-answer-inner {
	padding: 0 1.5rem 1.5rem;
	color: #666;
	line-height: 1.7;
	background: #f9fafb;
	border-top: 1px solid #f0f0f0;
}

/* ========== Footer ========== */
.agro-footer {
	background: #051108;
	color: #fff;
	padding-top: 6rem;
	padding-bottom: 3rem;
	position: relative;
	overflow: hidden;
}

.agro-footer .footer-gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(to right, var(--agro-green), var(--agro-gold), var(--agro-green));
	opacity: 0.8;
}

.footer-heading {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #fff;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: inline-block;
}

.footer-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #9ca3af;
	font-size: 0.875rem;
	transition: color 0.3s;
}

.footer-link:hover {
	color: var(--agro-green);
}

.footer-link .bullet {
	width: 4px;
	height: 4px;
	background: var(--agro-gold);
	border-radius: 50%;
}

/* ========== Page Banner ========== */
.page-banner {
	position: relative;
	height: 40vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.page-banner-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.page-banner-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.page-banner-content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 0 1.5rem;
}

.page-banner h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	color: #fff;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-banner p {
	color: #fff;
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-style: italic;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========== Buttons ========== */
.btn-green {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	background: var(--agro-green);
	color: #fff;
	font-weight: 700;
	border-radius: 9999px;
	transition: all 0.3s;
	box-shadow: 0 4px 15px rgba(0, 115, 46, 0.2);
	border: none;
	cursor: pointer;
}

.btn-green:hover {
	background: var(--agro-green-dark);
	box-shadow: 0 8px 25px rgba(0, 115, 46, 0.3);
	transform: translateY(-4px);
}

/* ========== Responsive ========== */
@layer components {
	@media (max-width: 768px) {
		.section-padding {
			padding: 3rem 1rem;
		}
	}
}

@media (max-width: 768px) {
	.parallax-section {
		height: 350px;
	}

	.hero-title {
		font-size: 2rem;
	}

	.ticket-circle {
		width: 14rem;
		height: 14rem;
	}
}

/* ========== Scrollbar ========== */
.custom-scrollbar::-webkit-scrollbar {
	width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
	background: var(--agro-green);
	border-radius: 3px;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* ========== Utilities ==========
   Removido: .text-agro-green, .text-agro-green-light, .text-agro-gold,
   .text-agro-beige-light, .bg-agro-green, .bg-agro-green-light,
   .bg-agro-beige, .bg-agro-beige-light — todas geradas pelo Tailwind
   via tailwind.config.js. Manter aqui causava duplicata com especificidade
   maior que impedia sobreposição por outras utilities do Tailwind.
*/

/* Agenda & Speakers Redesign */
.agenda-table-wrapper {
	box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.1);
}

.agenda-row-hover-line {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: #ADCB37;
	opacity: 0;
	transition: opacity 0.3s;
}

.group:hover .agenda-row-hover-line {
	opacity: 1;
}

/* Custom scrollbar if needed */
.agenda-table-wrapper::-webkit-scrollbar {
	width: 6px;
}

.agenda-table-wrapper::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.agenda-table-wrapper::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 10px;
}

/* Removido: @media .grid-cols-12 { display: block } — agora controlado
   pelas classes Tailwind responsivas (grid-cols-1 md:grid-cols-12) no HTML. */