.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }

.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* WhatsApp Form */
/* reCaptcha invisível */
.grecaptcha-badge {
    visibility: hidden;
}

/* Floating Button Style */
.whatsapp-button,
.sidebar-form {
  --white: #fff;
  --green: #25D366;
  --teal-green: #128C7E;
  --dark-green: #075E54;
  --light-gray: #bfbfbf;
	z-index: 99999;
}

/* Floating Button */
.whatsapp-button {
  padding: 15px;
  background-color: var(--green);
  border-radius: 100%;
  
  display: flex;
  position: fixed;
  right: 20px;
  bottom: 20px;
}

.whatsapp-button:hover {
	background: var(--dark-green);
}

.whatsapp-button img {
  width: 30px;
}

/* Sidebar Form */
.sidebar-form {
  width: 350px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 50px -20px rgba(0, 0, 0, 0.4);
  max-width: calc(100vw - 40px);
  position: fixed;
  bottom: 100px;
  transition: 150ms;
}

.sidebar-form:not(.hidden) {
  right: 20px;
}

.sidebar-form.hidden {
  right: -400px;
}

.form__title {
  padding: 20px;
  background: var(--dark-green);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
	font-size: 2rem;
}

.form__title img {
  width: 25px;
}

.hide-side-form {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
  background: transparent;
}

.hide-side-form:hover {
	background: transparent!important;
}

.hide-side-form img {
	width: 15px;
}

.form__content {
  padding: 2rem;
}

.form__content form {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.form__content input {
  border: 1px solid var(--light-gray);
  border-radius: 4px;
	width: 100%;
	padding: 13px 10px;
	font-size: 18px;
	font-family: Roobert, sans-serif;
}

.form__content input[type="submit"] {
  cursor: pointer;
  background: var(--teal-green);
  color: var(--white);
  transition: 150ms;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
	padding: 13px 5px;
	width: 100%;
	text-align: center;
}

.form__content input[type="submit"]:hover {
  background: var(--dark-green);
}

span.wpcf7-form-control-wrap {
    margin-bottom: 5px;
    display: inline-block;
}

form.wpcf7-form br {
    display: none;
}

/* Remover película que impede o primeiro clique no site */
#exposeMask {
	display: none !important;
}

/* 2026-09-14: the generic table skin (Arial, zebra, hover, #ccc borders, block/nowrap ≤600px) was removed — post tables are styled by the theme's article ledger (.jt-auto-card-table); see seo-fixes-output/20260914-post-design-review/ */

/* Center and resize all embedded YouTube videos */
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtu.be"] {
    display: block;
    margin: 25px auto; /* Centers the video and adds space above/below */
    width: 100%;
    max-width: 840px;  /* Adjust this value to set the max video width */
    height: auto;
    aspect-ratio: 16/9; /* Maintains the 16:9 widescreen video shape */
}


/* Hide the checkbox logic */
#popup-close-trigger {
    display: none;
}

/* The dark background overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px); /* Modern blur effect */
    z-index: 99999; /* Stays on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    padding: 20px;
}

/* The actual white box */
.popup-content {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 100000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-top: 5px solid #E02020; /* Red line for Alert */
}

/* Header Style */
.popup-header {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Paragraph text */
.popup-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* The WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    transition: transform 0.2s ease, background-color 0.2s;
}

.whatsapp-btn:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}

.note {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

/* The Close 'X' Button */
.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

.popup-close-btn:hover {
    color: #333;
}

/* Allow clicking outside the box to close */
.overlay-close-click {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    cursor: default;
}

/* LOGIC: When checkbox is checked (closed), hide the overlay */
#popup-close-trigger:checked ~ .popup-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
