/*
Theme Name: Energias Tarot
Theme URI: https://energiastarot.com
Description: Tema personalizado para Energias Tarot — espiritualidade elegante, celestial e luminosa. Design sofisticado, escuro e minimalista com acentos dourados.
Version: 2.2.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Author: Energias Tarot
Author URI: https://energiastarot.com
Text Domain: energias-tarot
Tags: full-site-editing, block-styles, wide-blocks, editor-style
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================
   ENERGIAS TAROT — Dark Celestial Theme
   ============================================ */

/* --- Global --- */
html {
	scroll-behavior: smooth;
}

body {
	word-break: normal;
	overflow-wrap: break-word;
	-webkit-hyphens: none;
	hyphens: none;
}

/* Remove gaps between full-width sections */
.wp-site-blocks > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

[id] {
	scroll-margin-top: 80px;
}

::selection {
	background: rgba(203, 179, 122, 0.3);
	color: #F4EEDF;
}

html {
	scroll-padding-top: 80px;
}

/* --- Fixed Header --- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(203, 179, 122, 0.12);
	transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
	opacity: 0.92;
}

.site-header.is-scrolled {
	background-color: rgba(5, 5, 5, 0.92) !important;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
	border-bottom-color: rgba(203, 179, 122, 0.06);
	opacity: 1;
}

.site-header:hover {
	opacity: 1;
}

/* --- Site Navigation (HTML nav) --- */
.site-nav__list {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	overscroll-behavior: contain;
}

.site-nav__list a {
	font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #E8DCC2;
	text-decoration: none;
	transition: color 0.3s ease;
	white-space: nowrap;
}

.site-nav__list a:hover {
	color: #CBB37A;
}

/* Hide mobile-only CTA on desktop */
.site-nav__list .nav-cta {
	display: none;
}

.site-nav__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
}

.site-nav__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #E8DCC2;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
	/* Show hamburger */
	.site-nav__toggle {
		display: flex;
		position: relative;
		z-index: 301;
	}

	/* Hide desktop CTA button */
	.site-header .wp-block-buttons {
		display: none;
	}

	/* Full-screen overlay menu */
	.site-nav__list {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		background: #050505;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		z-index: 300;
		padding: 2rem;
		margin: 0;
		box-sizing: border-box;
		overflow-y: auto;
	}

	.site-nav__list.is-open {
		display: flex;
	}

	.site-nav__list li {
		list-style: none;
		text-align: center;
	}

	.site-nav__list a {
		font-size: 1.3rem;
		color: #E8DCC2;
		letter-spacing: 0.15em;
	}

	.site-nav__list a:hover,
	.site-nav__list a:active {
		color: #CBB37A;
	}

	/* CTA inside mobile menu */
	.site-nav__list .nav-cta {
		display: inline-block;
		margin-top: 1rem;
		padding: 0.8rem 2rem;
		background: #CBB37A;
		color: #050505;
		border-radius: 50px;
		font-family: 'Raleway', sans-serif;
		font-size: 0.85rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		text-decoration: none;
		transition: background 0.3s ease;
	}

	.site-nav__list .nav-cta:hover {
		background: #E8DCC2;
		color: #050505;
	}
}

/* --- Fine Line Separators --- */
.gold-line {
	display: block;
	width: 60px;
	height: 1px;
	background: #CBB37A;
	margin: 1.5rem auto;
}

.gold-line-wide {
	display: block;
	width: 120px;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, #CBB37A 50%, transparent 100%);
	margin: 2rem auto;
}

/* --- Hero Logo --- */
.hero-logo {
	margin: 0 auto 1.5rem;
	text-align: center;
}

.hero-logo img {
	object-fit: contain;
}

.hero-logo-fallback,
.footer-logo-fallback {
	color: #CBB37A;
	font-size: 1.2rem;
	align-items: center;
	justify-content: center;
}

/* --- Star Decorations --- */
.star-separator {
	text-align: center;
	font-size: 0.65rem;
	letter-spacing: 1.2em;
	color: #CBB37A;
	opacity: 0.7;
}

/* --- Cards --- */
.card-dark {
	background: #161514;
	border: 1px solid rgba(203, 179, 122, 0.15);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.card-dark .wp-block-buttons {
	margin-top: auto !important;
	padding-top: 1.2rem;
}

/* --- Equal-height columns — cards fill full column height --- */
.consultas-destaque-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: var(--wp--preset--spacing--30);
}

.consultas-destaque-grid > .wp-block-column {
	display: flex;
	align-self: stretch;
	min-width: 0;
	height: 100%;
	margin: 0 !important;
}

.consultas-destaque-grid > .wp-block-column > .card-dark {
	flex: 1 1 auto;
	width: 100%;
	min-height: 100%;
	box-sizing: border-box;
}

.wp-block-column {
	display: flex;
	flex-direction: column;
}

.wp-block-column > .wp-block-group {
	flex: 1;
}

.card-dark:hover {
	transform: translateY(-2px);
	border-color: rgba(203, 179, 122, 0.3);
	box-shadow: 0 6px 24px rgba(203, 179, 122, 0.06);
}

.card-bronze {
	background: #2A2623;
	border: 1px solid rgba(203, 179, 122, 0.08);
	border-radius: 12px;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-bronze:hover {
	transform: translateY(-2px);
	border-color: rgba(203, 179, 122, 0.2);
}

/* --- Service Card Enhancement (#servicos) --- */
#servicos .card-dark {
	border-top: 2px solid rgba(203, 179, 122, 0.15);
	position: relative;
	overflow: hidden;
}

#servicos .card-dark::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 2px;
	background: #CBB37A;
	transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#servicos .card-dark:hover::before {
	width: 100%;
}

#servicos .card-dark:hover {
	background: linear-gradient(180deg, rgba(203, 179, 122, 0.05) 0%, #161514 40%);
}

#servicos .card-dark > p:first-child {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem !important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(203, 179, 122, 0.15);
	background: radial-gradient(circle, rgba(203, 179, 122, 0.06) 0%, transparent 70%);
	transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

#servicos .card-dark:hover > p:first-child {
	border-color: rgba(203, 179, 122, 0.4);
	box-shadow: 0 0 24px rgba(203, 179, 122, 0.12);
	transform: scale(1.08);
}

#servicos .card-dark:hover h3 {
	color: #CBB37A !important;
}

/* --- Testimonial Cards --- */
.testimonial-card {
	background: #1a1816;
	border: 1px solid rgba(203, 179, 122, 0.22);
	border-radius: 12px;
	position: relative;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(203, 179, 122, 0.05);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
	border-color: rgba(203, 179, 122, 0.4);
	box-shadow: 0 6px 24px rgba(203, 179, 122, 0.1), 0 0 0 1px rgba(203, 179, 122, 0.1);
}

/* --- Testimonial Carousel --- */
.testimonial-carousel {
	position: relative;
	overflow-x: clip;
	overflow-y: visible;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 3rem;
}

.testimonial-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	gap: 1.5rem;
}

.testimonial-carousel .testimonial-card {
	flex: 0 0 calc((100% - 3rem) / 3);
	min-width: 0;
	padding: var(--wp--preset--spacing--40, 1.5rem);
	box-sizing: border-box;
}

.testimonial-text {
	font-size: 0.95rem;
	font-style: italic;
	line-height: 1.9;
	color: #E8DCC2;
	margin: 0 0 1rem;
}

.testimonial-author {
	font-size: 0.8rem;
	font-weight: 600;
	color: #CBB37A;
	margin: 0;
}

/* Arrows */
.carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(203, 179, 122, 0.08);
	border: 1px solid rgba(203, 179, 122, 0.2);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #CBB37A;
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease;
	z-index: 5;
}

.carousel-arrow:hover {
	background: rgba(203, 179, 122, 0.15);
	border-color: rgba(203, 179, 122, 0.4);
}

.carousel-prev {
	left: 0;
}

.carousel-next {
	right: 0;
}

/* Dots */
.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(203, 179, 122, 0.2);
	border: none;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	padding: 0;
}

.carousel-dot.is-active {
	background: #CBB37A;
	transform: scale(1.3);
}

@media (max-width: 900px) {
	.testimonial-carousel .testimonial-card {
		flex: 0 0 calc((100% - 1.5rem) / 2);
	}
}

@media (max-width: 600px) {
	.testimonial-carousel {
		padding: 0 2.5rem;
	}

	.testimonial-carousel .testimonial-card {
		flex: 0 0 100%;
	}

	.testimonial-track {
		gap: 1rem;
	}

	.carousel-arrow {
		width: 32px;
		height: 32px;
	}
}

/* --- Shooting Star Section --- */
.shooting-star-section {
	position: relative;
	width: 100%;
	min-height: 300px;
	background: #050505;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shooting-star-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Single element: trail on the left, star-dot on the right */
.shooting-star {
	position: absolute;
	top: 50%;
	left: -200px;
	width: 200px;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, rgba(203, 179, 122, 0.5) 60%, #F4EEDF 100%);
	opacity: 0;
	border-radius: 2px;
}

/* Bright dot at the leading edge */
.shooting-star::after {
	content: '';
	position: absolute;
	right: -3px;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	background: #F4EEDF;
	border-radius: 50%;
	box-shadow:
		0 0 8px 3px rgba(244, 238, 223, 0.9),
		0 0 24px 8px rgba(203, 179, 122, 0.5),
		0 0 50px 15px rgba(203, 179, 122, 0.15);
}

/* Hide trail element — using single element now */
.star-trail {
	display: none;
}

/* Animate when visible */
.shooting-star-section.is-active .shooting-star {
	animation: shootingStar 3s cubic-bezier(0.15, 0.6, 0.35, 1) forwards;
}

@keyframes shootingStar {
	0% {
		opacity: 0;
		left: -200px;
	}
	5% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		left: calc(100% + 200px);
	}
}

/* Wish message */
.wish-message {
	position: relative;
	z-index: 2;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.4rem;
	font-weight: 300;
	font-style: italic;
	color: #CBB37A;
	letter-spacing: 0.2em;
	text-align: center;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 1s ease 1.5s, transform 1s ease 1.5s;
	margin: 0;
	padding: 0 1rem;
}

.shooting-star-section.is-active .wish-message {
	opacity: 1;
	transform: translateY(0);
}

/* Follow-up message */
.wish-followup {
	position: relative;
	z-index: 2;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.1rem;
	font-weight: 400;
	color: #E8DCC2;
	letter-spacing: 0.12em;
	text-align: center;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 1s ease 3s, transform 1s ease 3s;
	margin: 0.6rem 0 0;
	padding: 0 1rem;
}

.shooting-star-section.is-active .wish-followup {
	opacity: 1;
	transform: translateY(0);
}

/* Sparkle dots background */
.shooting-star-section::before,
.shooting-star-section::after {
	content: '';
	position: absolute;
	width: 2px;
	height: 2px;
	background: rgba(203, 179, 122, 0.3);
	border-radius: 50%;
	box-shadow:
		80px 40px 0 rgba(203, 179, 122, 0.15),
		200px 80px 0 rgba(203, 179, 122, 0.1),
		350px 30px 0 rgba(203, 179, 122, 0.2),
		500px 90px 0 rgba(203, 179, 122, 0.08),
		650px 50px 0 rgba(203, 179, 122, 0.12),
		120px 180px 0 rgba(203, 179, 122, 0.1),
		400px 200px 0 rgba(203, 179, 122, 0.15),
		700px 160px 0 rgba(203, 179, 122, 0.08);
}

.shooting-star-section::after {
	top: 20px;
	left: 50px;
	box-shadow:
		150px 60px 0 rgba(203, 179, 122, 0.1),
		300px 120px 0 rgba(203, 179, 122, 0.15),
		450px 20px 0 rgba(203, 179, 122, 0.08),
		600px 100px 0 rgba(203, 179, 122, 0.12),
		250px 220px 0 rgba(203, 179, 122, 0.1),
		550px 180px 0 rgba(203, 179, 122, 0.06);
}

/* --- Timeline (Como Funciona) --- */
.timeline {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
	padding: 0 0 0 60px;
}

.timeline-line {
	position: absolute;
	left: 24px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(203, 179, 122, 0.08);
}

.timeline-line-fill {
	position: absolute;
	left: 24px;
	top: 0;
	width: 1px;
	height: 0;
	background: linear-gradient(to bottom, #CBB37A, rgba(203, 179, 122, 0.6));
	transition: height 0.4s ease;
	z-index: 1;
}

.timeline-step {
	position: relative;
	padding-bottom: 3rem;
	opacity: 0.25;
	transform: translateY(12px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	z-index: 2;
}

.timeline-step.step-active {
	opacity: 1;
	transform: translateY(0);
}

.timeline-step:last-child {
	padding-bottom: 0;
}

.timeline-icon {
	position: absolute;
	left: -60px;
	top: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(203, 179, 122, 0.15);
	background: #0a0a09;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(203, 179, 122, 0.3);
	z-index: 2;
	box-shadow: none;
	transition: all 0.5s ease;
}

.timeline-step.step-active .timeline-icon {
	border-color: #CBB37A;
	background: radial-gradient(circle, #1a1610 0%, #0f0d0a 100%);
	color: #CBB37A;
	box-shadow: 0 0 20px rgba(203, 179, 122, 0.2), 0 0 40px rgba(203, 179, 122, 0.08);
}

.timeline-icon svg {
	width: 20px;
	height: 20px;
	transition: transform 0.4s ease, filter 0.4s ease;
}

.timeline-step.step-active .timeline-icon svg {
	transform: scale(1.1);
	filter: drop-shadow(0 0 4px rgba(203, 179, 122, 0.4));
}

.timeline-label {
	display: block;
	font-family: 'Raleway', sans-serif;
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(142, 132, 118, 0.4);
	margin-bottom: 0.4rem;
	transition: color 0.5s ease;
}

.timeline-step.step-active .timeline-label {
	color: #CBB37A;
}

.timeline-content h3 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.1rem;
	font-weight: 400;
	color: rgba(232, 220, 194, 0.3);
	margin: 0 0 0.5rem;
	transition: color 0.5s ease;
}

.timeline-step.step-active .timeline-content h3 {
	color: #E8DCC2;
}

.timeline-content p {
	font-family: 'Raleway', sans-serif;
	font-size: 0.82rem;
	line-height: 1.7;
	color: rgba(217, 204, 182, 0.25);
	margin: 0;
	transition: color 0.5s ease;
}

.timeline-step.step-active .timeline-content p {
	color: #D9CCB6;
}

/* --- FAQ Chat Bubbles --- */
.faq-chat {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.chat-bubble {
	max-width: 82%;
	padding: 0.9rem 1.2rem;
	border-radius: 16px;
	position: relative;
}

.chat-bubble p {
	margin: 0;
	font-family: 'Raleway', sans-serif;
	line-height: 1.7;
}

/* Question — right-aligned (user) */
.chat-question {
	align-self: flex-end;
	background: rgba(203, 179, 122, 0.1);
	border: 1px solid rgba(203, 179, 122, 0.2);
	border-bottom-right-radius: 4px;
}

.chat-question p {
	color: #E8DCC2;
	font-size: 0.92rem;
	font-weight: 400;
}

/* Answer — left-aligned (brand) */
.chat-answer {
	align-self: flex-start;
	background: rgba(13, 13, 13, 0.8);
	border: 1px solid rgba(142, 132, 118, 0.12);
	border-bottom-left-radius: 4px;
	padding-left: 3rem;
}

.chat-answer p {
	color: #D9CCB6;
	font-size: 0.85rem;
	font-weight: 300;
}

.chat-avatar {
	position: absolute;
	left: 0.9rem;
	top: 0.9rem;
	color: #CBB37A;
	font-size: 0.7rem;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid rgba(203, 179, 122, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Spacing between Q&A pairs */
.chat-answer + .chat-question {
	margin-top: 1rem;
}

/* --- FAQ Interactive --- */
.faq-interactive {
	max-width: 700px;
	margin: 0 auto;
}

.faq-hint {
	text-align: center;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 0.95rem;
	font-style: italic;
	color: #CBB37A;
	margin-bottom: 1.5rem;
	opacity: 0.8;
	transition: opacity 0.5s ease, max-height 0.5s ease, margin 0.5s ease;
}

.faq-hint.is-hidden {
	opacity: 0;
	max-height: 0;
	margin: 0;
	overflow: hidden;
}

.faq-questions-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.faq-q-btn {
	background: rgba(203, 179, 122, 0.04);
	border: 1px solid rgba(203, 179, 122, 0.2);
	border-radius: 50px;
	padding: 0.55rem 1.2rem;
	color: #E8DCC2;
	font-family: 'Raleway', sans-serif;
	font-size: 0.82rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.faq-q-btn:hover {
	background: rgba(203, 179, 122, 0.1);
	border-color: rgba(203, 179, 122, 0.5);
	color: #CBB37A;
}

.faq-q-btn.is-asked {
	opacity: 0.25;
	pointer-events: none;
	transform: scale(0.95);
}

.faq-conversation {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.faq-conversation .chat-bubble {
	animation: faqBubbleIn 0.35s ease-out both;
}

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

.typing-dots {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 0.3rem 0;
}

.typing-dot {
	width: 7px;
	height: 7px;
	background: #CBB37A;
	border-radius: 50%;
	animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
	0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
	40% { transform: translateY(-8px); opacity: 1; }
}

/* --- Gold Border Box --- */
.gold-border-box {
	border: 1px solid rgba(203, 179, 122, 0.3);
	border-radius: 16px;
}

/* --- Glow Accent --- */
.glow-accent {
	position: relative;
}

.glow-accent::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(203, 179, 122, 0.06) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

/* --- Buttons --- */
.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

/* Filled buttons (gold bg): transparent border prevents layout shift on hover */
.wp-block-button__link.has-dourado-background-color {
	border: 1px solid transparent;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.wp-block-button__link.has-dourado-background-color:hover {
	background-color: #050505 !important;
	color: #CBB37A !important;
	border-color: #CBB37A;
}

/* Outline buttons */
.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: #CBB37A;
	color: #CBB37A;
	background: rgba(5, 5, 5, 0.5);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #CBB37A !important;
	color: #050505 !important;
	border-color: #CBB37A !important;
}

/* --- Disclaimer --- */
.disclaimer-block {
	background: rgba(59, 49, 43, 0.4);
	border: 1px solid rgba(203, 179, 122, 0.1);
	border-radius: 8px;
	padding: 1.5rem;
}

/* --- Cover / Image Effects --- */
.parallax-cover .wp-block-cover__image-background,
.parallax-cover video.wp-block-cover__video-background {
	object-fit: cover;
	z-index: 0 !important;
}
.parallax-cover .wp-block-cover__background {
	z-index: 1 !important;
	position: absolute;
	inset: 0;
}
.parallax-cover .wp-block-cover__inner-container {
	z-index: 2 !important;
	position: relative;
}

.image-rounded img {
	border-radius: 16px;
	overflow: hidden;
}

.image-glow img {
	box-shadow: 0 4px 40px rgba(203, 179, 122, 0.08);
	transition: box-shadow 0.4s ease;
}

.image-glow:hover img {
	box-shadow: 0 8px 60px rgba(203, 179, 122, 0.14);
}

/* --- Cover Overlay Enhancements --- */
.wp-block-cover {
	overflow: hidden;
	position: relative;
}

.wp-block-cover > img,
.wp-block-cover > video,
.wp-block-cover__image-background,
.wp-block-cover__video-background {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	z-index: 0 !important;
	max-width: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	transition: transform 8s ease;
}

.wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	width: 100% !important;
}

.wp-block-cover:hover .wp-block-cover__image-background {
	transform: scale(1.03);
}

/* --- Site Logo --- */
.wp-block-site-logo img {
	filter: brightness(0.95);
	transition: filter 0.3s ease;
}

.wp-block-site-logo:hover img {
	filter: brightness(1.1);
}

/* --- Animation --- */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease-out both;
}

/* --- Subtle Star Twinkle --- */
@keyframes twinkle {
	0%, 100% { opacity: 0.4; }
	50% { opacity: 1; }
}

.star-twinkle {
	animation: twinkle 3s ease-in-out infinite;
}

/* --- Scroll Reveal Animations --- */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
	transform: translateX(-40px);
}

.reveal.reveal-right {
	transform: translateX(40px);
}

.reveal.reveal-scale {
	transform: scale(0.92);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0) translateX(0) scale(1);
}

/* --- Stagger children reveal --- */
.reveal-stagger .wp-block-column,
.reveal-stagger .card-dark,
.reveal-stagger .testimonial-card {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger .wp-block-column.is-visible,
.reveal-stagger .card-dark.is-visible,
.reveal-stagger .testimonial-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Star separator float-in --- */
.star-separator {
	transition: opacity 0.6s ease, transform 0.6s ease, letter-spacing 0.6s ease;
}

.star-separator.is-visible {
	animation: starSpread 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes starSpread {
	from {
		opacity: 0;
		letter-spacing: 0;
		transform: scale(0.5);
	}
	to {
		opacity: 0.7;
		letter-spacing: 1.2em;
		transform: scale(1);
	}
}

/* --- Gold line grow-in --- */
.gold-line,
.gold-line-wide {
	transform: scaleX(0);
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gold-line.is-visible,
.gold-line-wide.is-visible {
	transform: scaleX(1);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 0;
	background: linear-gradient(90deg, #CBB37A, #E8DCC2);
	z-index: 150;
	pointer-events: none;
	transition: none;
}

/* --- Active Nav Link --- */
.site-nav__list a.is-active {
	color: #CBB37A;
	position: relative;
}

.site-nav__list a.is-active::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	right: 0;
	height: 1px;
	background: #CBB37A;
	animation: fadeInUp 0.3s ease-out both;
}

/* --- Floating Particles Canvas --- */
.global-particles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99;
	pointer-events: none;
}

.section-particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.particle-section > *:not(.section-particles) {
	position: relative;
	z-index: 2;
}



/* --- Card transitions --- */
.card-dark,
.card-bronze,
.testimonial-card,
.gold-border-box {
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- Text Split Reveal --- */
.text-reveal {
	visibility: hidden;
}

.char-reveal {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-reveal.is-visible .char-reveal {
	opacity: 1;
	transform: translateY(0);
}

/* --- Footer --- */
.site-footer {
	text-align: center;
	padding-bottom: 2rem;
}

.footer-brand {
	margin-bottom: 2rem;
}

.footer-logo {
	margin: 0 auto 1rem;
	text-align: center;
}

.footer-logo img {
	object-fit: contain;
}

/* --- Strip image (full-width break) --- */
.strip-image {
	line-height: 0;
}

.strip-image img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.strip-image img[src=""] {
	height: 200px;
	background: rgba(203, 179, 122, 0.04);
	border-top: 1px dashed rgba(203, 179, 122, 0.12);
	border-bottom: 1px dashed rgba(203, 179, 122, 0.12);
}

.footer-banner-placeholder {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.footer-banner-placeholder img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.footer-banner-placeholder img[src=""] {
	min-height: 180px;
	background: rgba(203, 179, 122, 0.04);
	border: 1px dashed rgba(203, 179, 122, 0.12);
	border-radius: 0;
}

.footer-star {
	display: block;
	color: #CBB37A;
	font-size: 1rem;
	margin-bottom: 1rem;
	letter-spacing: 0.5em;
}

.footer-tagline {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.3rem;
	font-weight: 300;
	color: #F4EEDF;
	margin: 0 0 0.4rem;
}

.footer-sub {
	font-family: 'Raleway', sans-serif;
	font-size: 0.82rem;
	font-weight: 300;
	font-style: italic;
	color: #8E8476;
	margin: 0;
}

.footer-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.8rem;
}

.footer-nav a {
	font-family: 'Raleway', sans-serif;
	font-size: 0.78rem;
	font-weight: 400;
	color: #D9CCB6;
	text-decoration: none;
	letter-spacing: 0.04em;
	transition: color 0.3s ease;
}

.footer-nav a:hover {
	color: #CBB37A;
}

.footer-dot {
	color: rgba(203, 179, 122, 0.3);
	font-size: 0.7rem;
}

.footer-social {
	display: flex;
	justify-content: center;
	gap: 1.2rem;
	margin-bottom: 2rem;
}

.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(203, 179, 122, 0.2);
	color: #D9CCB6;
	transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
	color: #CBB37A;
	border-color: #CBB37A;
	transform: translateY(-2px);
}

.footer-social svg {
	width: 16px;
	height: 16px;
}

.footer-bottom {
	border-top: 1px solid rgba(203, 179, 122, 0.08);
	padding-top: 1.2rem;
	margin-bottom: 0.8rem;
}

.footer-bottom p {
	font-family: 'Raleway', sans-serif;
	font-size: 0.72rem;
	color: #8E8476;
	margin: 0 0 0.3rem;
}

.footer-legal {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.footer-legal a {
	color: #8E8476;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-legal a:hover {
	color: #CBB37A;
}

.footer-disclaimer {
	font-family: 'Raleway', sans-serif;
	font-size: 0.65rem;
	font-style: italic;
	color: rgba(142, 132, 118, 0.6);
	line-height: 1.6;
	max-width: 500px;
	margin: 0.5rem auto 0;
}

/* --- Body lock when nav open --- */
body.nav-open {
	overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 782px) {
	.site-header {
		backdrop-filter: blur(12px);
	}

	.consultas-destaque-grid {
		grid-template-columns: 1fr;
		gap: 1rem !important;
	}

	.consultas-destaque-grid > .wp-block-column + .wp-block-column {
		margin-top: 0 !important;
	}

	.wp-block-columns {
		flex-direction: column !important;
		gap: 1rem !important;
		row-gap: 1rem !important;
	}

	/* Fallback margin — garante separação mesmo se gap for sobreposto */
	.wp-block-column + .wp-block-column {
		margin-top: 0 !important;
	}

	.columns-reverse-mobile {
		flex-direction: column-reverse !important;
	}

	.wp-block-cover:hover .wp-block-cover__image-background {
		transform: none;
	}

	.reveal.reveal-left,
	.reveal.reveal-right {
		transform: translateY(24px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.reveal,
	.reveal-stagger .wp-block-column,
	.reveal-stagger .card-dark,
	.reveal-stagger .testimonial-card {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.star-separator.is-visible {
		animation: none;
		opacity: 0.7;
	}
	.text-reveal {
		visibility: visible;
	}
	.char-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.section-particles,
	.global-particles {
		display: none;
	}
	.timeline-step {
		opacity: 1;
		transform: none;
	}
	.faq-conversation .chat-bubble {
		animation: none;
	}
	.typing-dot {
		animation: none;
		opacity: 1;
	}
	#servicos .card-dark > p:first-child {
		transition: none;
	}
	#servicos .card-dark::before {
		transition: none;
	}
}

@media (max-width: 600px) {
	h1 {
		font-size: 2rem !important;
	}

	.timeline {
		padding-left: 50px;
	}

	.timeline-icon {
		left: -50px;
		width: 40px;
		height: 40px;
	}

	.timeline-icon svg {
		width: 16px;
		height: 16px;
	}

	.timeline-line {
		left: 19px;
	}

	.timeline-line-fill {
		left: 19px;
	}

	.chat-bubble {
		max-width: 92%;
	}

	.faq-q-btn {
		width: 100%;
		text-align: left;
	}

	.faq-questions-list {
		gap: 0.5rem;
	}

	#servicos .card-dark > p:first-child {
		width: 52px;
		height: 52px;
	}
}


/* ═══════════════════════════════════════════
   MOBILE OPTIMISATIONS
   ═══════════════════════════════════════════ */

/* 1 · Reduzir padding de secções em mobile (8rem → 4rem, etc.) */
@media (max-width: 782px) {
	:root {
		--wp--preset--spacing--80: 4rem;
		--wp--preset--spacing--70: 3rem;
		--wp--preset--spacing--60: 2.5rem;
		--wp--preset--spacing--50: 2rem;
	}
}

/* 2 · Hero — altura dinâmica de viewport (corrige iOS Safari chrome) */
@supports (min-height: 100dvh) {
	.wp-block-cover[style*="min-height:100vh"] {
		min-height: 100dvh !important;
	}
}

/* 3 · Remover tap highlight + eliminar atraso de 300ms em touch */
.faq-q-btn,
.carousel-arrow,
.carousel-dot,
.site-nav__toggle,
.wp-block-button__link,
.wp-element-button {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

/* 4 · Safe-area insets — iPhones com notch/Dynamic Island/barra home */
@supports (padding: env(safe-area-inset-left)) {
	.site-header {
		padding-left: max(1.5rem, env(safe-area-inset-left)) !important;
		padding-right: max(1.5rem, env(safe-area-inset-right)) !important;
	}
	.site-footer {
		padding-bottom: max(2rem, env(safe-area-inset-bottom));
	}
}

/* 5 · Hero logo — garantir que não transborda em ecrãs muito estreitos */
@media (max-width: 600px) {
	.hero-logo img {
		max-width: 82vw !important;
		width: auto !important;
	}
}

/* 6 · FAQ buttons — target mínimo de toque de 44px (WCAG 2.5.5) */
@media (max-width: 782px) {
	.faq-q-btn {
		min-height: 44px;
		padding: 0.65rem 1.2rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}

/* 7 · Carousel arrows — target mínimo de toque em mobile */
@media (max-width: 782px) {
	.carousel-arrow {
		min-width: 44px;
		min-height: 44px;
	}
}
