/* =========================================
   NEWSLETTER CTA HEADER
========================================= */

.newsletter-header-cta {
	display: flex;
	align-items: center;
    margin-top: -15px;
}

.newsletter-header-cta a {
	text-decoration: none;
	color: #00d1ce;
	border: solid 1px #00d1ce;
	padding: 10px 18px;
	border-radius: 20px;
	font-weight: bold;
	transition:
		background-color 0.35s ease,
		color 0.35s ease,
		transform 0.35s ease;
}

.newsletter-header-cta a:hover {
	background-color: #00d1ce;
	color: #ffffff;
	transform: translateY(-2px);
}

.newsletter-button{
    font-family:Lato, webFonts; 
    font-size:20px; 
    font-weight:700; 
    text-align:left; 
    color:#006cd1; 
    background-color:#ffffff; 
    border-width:0px; 
    border-radius:10px;
}

.newsletter-button:hover {
    transform: scale(1.1);
}

/* =========================================
   OVERLAY
========================================= */

.newsletter-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity 0.4s ease,
		visibility 0.4s ease;

	z-index: 10010;
}

.newsletter-overlay.active {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

/* =========================================
   DRAWER
========================================= */

.newsletter-drawer {
	position: fixed;
	top: 0;
	right: 0;

	width: 550px;
	height: 100%;

	background: url(../imagens/Fundo-PopUp.jpg) no-repeat center center/cover;

	transform: translateX(100%);

	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);

	z-index: 10011;

	overflow-y: auto;

	box-shadow:
		-10px 0 40px rgba(0, 0, 0, 0.18);
}

.newsletter-drawer.active {
	transform: translateX(0);
}

/* =========================================
   CLOSE
========================================= */

.newsletter-close {
	position: absolute;
	top: 18px;
	right: 18px;

	width: 35px;
	height: 35px;

	border: solid 1px;
	border-radius: 50%;

	background-color: transparent;
	color: #ffffff;

	font-weight: 100;
	font-size: 15px;
	cursor: pointer;

	transition:
		background-color 0.3s ease,
		color 0.3s ease,
		transform 0.3s ease;

	z-index: 7000;
}

.newsletter-close:hover {
	background: #ffffff;
	color: #006cd1;
    border-color: #ffffff;
	transform:
		rotate(180deg)
		scale(1.08);

	box-shadow:
		0 0 20px rgba(0, 209, 206, 0.35);

}

/* =========================================
   CONTENT
========================================= */

.newsletter-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-top: 10px;
}

/* =========================================
   IMAGE
========================================= */

.newsletter-image {
	width: 100%;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 0 20px;
}

.newsletter-image img {
	width: 250px;
	height: 280px;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* =========================================
   BODY
========================================= */

.newsletter-body {
	padding: 20px 40px 50px;
}

.newsletter-body h2 {
	font-size: 40px;
	line-height: 1.2;
	color: #ffffff;

	margin-top: 0px;
	margin-bottom: 20px;

	font-family: "EB Garamond", serif;
	font-weight: 400;
	text-transform: lowercase;
}

.newsletter-body p {
	font-size: 18px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.85);
	font-family: "Lato", sans-serif;

	margin-bottom: 30px;
    margin-top: -10px;
}

/* =========================================
   BREVO WRAPPER
========================================= */

.newsletter-form-wrapper {
	width: 100%;
    margin-top: -70px;
    margin-left: -45px;
    
}

/* =========================================
   BODY LOCK
========================================= */

body.newsletter-open {
	overflow: hidden;
}

/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 768px) {

	.newsletter-drawer {
		width: 100%;
		height: 100dvh;
	}

	.newsletter-image img {
		width: 180px;
		height: 200px;
	}

	.newsletter-body {
		padding: 15px 24px 40px;
	}

	.newsletter-body h2 {
		font-size: 30px;
	}

	.newsletter-body p {
		font-size: 15px;
		line-height: 1.6;
	}

	.newsletter-header-cta{
        margin-right: 50px;
        margin-top: -10px;
	}
}
