/**
 * Harmonie Distribuidora — Custom Styles
 * Paleta "Lavanda da Provence"
 *
 * @author Hugo da Pequenaweb
 * @since 2026-03-15
 */
 
 
/* ===== COOKIE BANNER ===== */
#pqna-cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    background: #FDFBF8;
    color: #2D1B4E;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(45, 27, 78, 0.18);
    width: 420px;
    max-width: calc(100vw - 32px);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

#pqna-cookie-texto {
    margin: 0;
}

#pqna-cookie-acoes {
    display: flex;
    gap: 12px;
    width: 100%;
}

#pqna-cookie-aceitar {
    flex: 1;
    background: #2D1B4E;
    color: #FDFBF8;
    border: 2px solid #2D1B4E;
    border-radius: 6px;
    padding: 12px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

#pqna-cookie-aceitar:hover {
    background: #4A2D82;
    border-color: #4A2D82;
}

#pqna-cookie-recusar {
    flex: 1;
    background: transparent;
    color: #2D1B4E;
    border: 2px solid #D5CEEA;
    border-radius: 6px;
    padding: 12px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

#pqna-cookie-recusar:hover {
    border-color: #2D1B4E;
}

@media (max-width: 480px) {
    #pqna-cookie-banner {
        width: calc(100% - 32px);
        padding: 24px 20px;
    }
}




/* ===== GOLD DECORATIVE LINE ===== */
.harmonie-gold-line {
	width: 60px;
	height: 2px;
	border: none;
	margin-left: auto;
	margin-right: auto;
	opacity: 1;
}

/* ===== BRAND CARDS ===== */
.harmonie-brand-card {
	transition: box-shadow 200ms ease, border-color 200ms ease;
	box-shadow: 0 2px 8px rgba(74, 45, 130, 0.06);
}
.harmonie-brand-card:hover {
	box-shadow: 0 8px 24px rgba(74, 45, 130, 0.14);
	border-color: var(--wp--preset--color--gold) !important;
}

/* ===== SCROLL REVEAL ===== */
.harmonie-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 400ms ease-out, transform 400ms ease-out;
}
.harmonie-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== STATS COUNTER ANIMATION ===== */
.harmonie-stats-section .wp-block-column {
	transition: transform 200ms ease;
}
.harmonie-stats-section .wp-block-column:hover {
	transform: translateY(-4px);
}

/* ===== NAVIGATION HOVER ===== */
.wp-block-navigation a:hover {
	color: var(--wp--preset--color--gold) !important;
	transition: color 150ms ease;
}

/* ===== BUTTON HOVER SHADOW ===== */
.wp-block-button__link {
	transition: all 150ms ease;
}
.wp-block-button__link:hover {
	box-shadow: 0 4px 12px rgba(74, 45, 130, 0.3);
}

/* ===== FOOTER LIST STYLE ===== */
footer ul,
.wp-block-template-part[data-slug*="footer"] ul {
	list-style: none;
	padding-left: 0;
}
footer li {
	margin-bottom: 15px;
}
footer li a:not(:hover) {
	text-decoration: none;
}
footer li a:hover,
.wp-block-template-part[data-slug*="footer"] li a:hover {
	color: var(--wp--preset--color--gold) !important;
	transition: color 150ms ease;
}

/* ===== COVER BLOCK OVERLAY ADJUSTMENTS ===== */
.wp-block-cover .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

/* ===== FORM INPUTS (CF7 COMPATIBILITY) ===== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
	background-color: var(--wp--preset--color--off-white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
	padding: 12px 16px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	color: var(--wp--preset--color--text-primary);
	width: 100%;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: var(--wp--preset--color--lavender-deep);
	box-shadow: 0 0 0 3px rgba(74, 45, 130, 0.1);
	outline: none;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: #8878A8;
}
.wpcf7 label {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--text-secondary);
	display: block;
	margin-bottom: 0.375rem;
}
.wpcf7 input[type="submit"] {
	background-color: var(--wp--preset--color--lavender-deep);
	color: var(--wp--preset--color--off-white);
	border: 2px solid var(--wp--preset--color--lavender-deep);
	border-radius: 4px;
	padding: 14px 32px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 150ms ease;
}
.wpcf7 input[type="submit"]:hover {
	background-color: var(--wp--preset--color--lavender-mid);
	box-shadow: 0 4px 12px rgba(74, 45, 130, 0.3);
}

/* ===== LANGUAGE SWITCHER ===== */
.harmonie-lang-switcher a {
	text-decoration: none;
	transition: color 150ms ease;
}
.harmonie-lang-switcher a:hover {
	color: var(--wp--preset--color--gold) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
	.harmonie-stats-section .wp-block-columns {
		flex-wrap: wrap;
	}
	.harmonie-stats-section .wp-block-column {
		flex-basis: 50% !important;
	}
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
	.harmonie-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.harmonie-brand-card,
	.harmonie-stats-section .wp-block-column,
	.wp-block-button__link {
		transition: none;
	}
}
