/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ==========================================================
   [whatsapp_button]
   Seletor "a.whatsapp-button" para ter prioridade sobre o CSS
   customizado antigo dos widgets do Elementor (.whatsapp-button).
   ========================================================== */
a.whatsapp-button {
	--wa-green: #25d366;
	--wa-green-dark: #128c4b;

	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 22px;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(18, 140, 75, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* brilho que atravessa o botão no hover */
a.whatsapp-button::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
	pointer-events: none;
}

a.whatsapp-button:hover,
a.whatsapp-button:focus-visible {
	background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(18, 140, 75, 0.45);
	filter: brightness(1.05);
}

a.whatsapp-button:hover::after {
	left: 125%;
}

a.whatsapp-button:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(18, 140, 75, 0.35);
}

a.whatsapp-button:focus-visible {
	outline: 3px solid rgba(37, 211, 102, 0.5);
	outline-offset: 3px;
}

.whatsapp-button__icon {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	animation: whatsapp-button-pulse 2.4s ease-in-out infinite;
}

.whatsapp-button__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.whatsapp-button__label {
	font-size: 17px;
	letter-spacing: 0.2px;
}

.whatsapp-button__sublabel {
	font-size: 12.5px;
	font-weight: 400;
	opacity: 0.9;
}

@keyframes whatsapp-button-pulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.08);
	}
}

@media (max-width: 480px) {
	a.whatsapp-button {
		padding: 12px 16px;
		gap: 12px;
	}

	.whatsapp-button__icon {
		width: 30px;
		height: 30px;
	}

	.whatsapp-button__label {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {

	a.whatsapp-button,
	a.whatsapp-button::after,
	.whatsapp-button__icon {
		transition: none;
		animation: none;
	}
}