/*
Theme Name:     Hello Elementor Child
Description:    Child theme that contains Google Maps integration and can be used to build projects using Bakery.
Author:         Bspacy
Template:       hello-elementor
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    ruby
*/

/* --------------------- BASE CONFIGURATIONS --------------------- */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--white);
}

html.disableScroll {
  overflow-y: hidden;
}

img {
  max-width: 100%;
}

/* --------------------- LINK RESET --------------------- */

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: var(--black);
  cursor: pointer;
  overflow-wrap: anywhere;
}

/* --------------------- TYPOGRAPHY SMOOTHING --------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
input,
a,
span,
li {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

/* --------------------- FORM COMPONENTS --------------------- */

/* Placeholder Color */
input::placeholder {
  color: var(--bordeaux);
  opacity: 1;
}

/* Autofill Background/Color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--beige) inset !important;
  -webkit-text-fill-color: var(--bordeaux) !important;
}

input:focus,
select:focus {
  outline: none !important;
}

/* Remove number input spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ELEMETOS DE FORMLARIO GERAIS */
.inputForm,
form
  input:not(
    input[type="button"],
    input[type="checkbox"],
    input[type="submit"]
  ) {
  border: 0px !important;
  border-bottom: 1px solid var(--bordeaux) !important;
  background-color: var(--beige) !important;
  color: var(--bordeaux) !important;
  padding: 0px !important;
  padding-bottom: 5px !important;
  width: 100%;
  outline: unset;
  border-radius: 0px !important;
}

.quform .quform-label-text {
  color: var(--bordeaux) !important;
}
input::placeholder,
textarea::placeholder,
.wpcf7 label {
  /* color: var(--brown) !important;
  opacity: 1; */
}

.quform textarea {
  padding: 14px 19px !important;
  background-color: #f1f0e7 !important;
  color: var(--bordeaux) !important;
  border-radius: 4px !important;
  border-bottom: unset !important;
  resize: none; /* Disables both horizontal and vertical resizing */
}
.quform-spacer:has(textarea) {
  padding: 0px !important;
}
.quform-option:has(.acceptanceInput) label {
  line-height: unset;
  font-size: unset;
}
.quform-option:has(.acceptanceInput) span {
  color: var(--bordeaux) !important;
  font-size: 10px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.quform-element-submit {
  display: flex;
  justify-content: center;
}
.quform-element-submit button {
  border-radius: 4px;
  background-color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
  padding: 15px 68px;
  line-height: unset;
  font-size: unset;
}
.quform-element-submit button span {
  color: var(--white) !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.quform-element-submit button:hover {
  background-color: transparent;
}
.quform-element-submit button:hover span {
  color: var(--bordeaux) !important;
}

.quform-input select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.quform-1 .quform-spacer,
.quform-1 .quform-element-group.quform-group-style-bordered > .quform-spacer,
.quform-1 .quform-group-style-bordered > .quform-child-elements {
  padding-bottom: 17px;
}
.quform .quform-field-textarea {
  height: 150px;
}

.quform-spacer {
  padding: 0 0 10px 0;
  margin: 0 0 0px 0;
}
/********* Alterar o scroll bar **********/
html {
  scrollbar-width: thin; /* Adjust the width of the scrollbar */
  scrollbar-color: var(--bordeaux) transparent; /* Adjust the color of the scrollbar */
}

/* Define the style for the scrollbar track */
html::-webkit-scrollbar {
  width: 4px; /* Adjust the width of the scrollbar */
}

/* Define the style for the scrollbar thumb */
html::-webkit-scrollbar-thumb {
  background-color: var(
    --bordeaux
  ); /* Adjust the color of the scrollbar thumb */
  border-radius: 4px; /* Adjust the border radius of the scrollbar thumb */
}

/* Style for scrollbar track (background) */
html::-webkit-scrollbar-track {
  background-color: var(--white); /* Background color of the scrollbar track */
}
/********* FIM DE Alterar o scroll bar **********/

/* --------------------- RESET ELEMENT MARGINS --------------------- */
/* remover espaçamentos */
.wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid > li,
.vc_btn3-container {
  margin-bottom: 0px !important;
}
.menu-teimoso-fixedWrapper ul,
header ul,
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --------------------- CUSTOM SELECT STYLE (DISABLED) --------------------- */
/*
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 0 !important;
	color: #fff;
	border-radius: 5px;
	font-size: 14px;
	padding: 10px;
	width: 35%;
	cursor: pointer;
	background: #0d98e8 url(https://cdn1.iconfinder.com/data/icons/universal-icons-set-for-web-and-mobile/100/controls_0-12-512.png) no-repeat right center;
	background-size: 40px 37px;
}

select option {
	background-color: #fff;
	color: black;
}

select::-ms-expand {
	display: none;
}
*/

/* Hide elements that have GSAP classes before they animate */
.gsap-fade-in,
.gsap-slide-left,
.gsap-slide-right,
.gsap-slide-up,
.gsap-slide-down,
.gsap-zoom-in,
.gsap-zoom-out {
  opacity: 0;
  visibility: hidden;
}
/* --------------------- FONT DEFINITIONS --------------------- */
/* MONTSERRAT */
@font-face {
  font-family: "Montserrat";
  src:
    url("assets/fonts/montserrat/Montserrat-Regular.woff2") format("woff2"),
    url("assets/fonts/montserrat/Montserrat-Regular.ttf") format("truetype"),
    url("assets/fonts/montserrat/Montserrat-SemiBold.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src:
    url("assets/fonts/montserrat/Montserrat-SemiBold.woff2") format("woff2"),
    url("assets/fonts/montserrat/Montserrat-SemiBold.ttf") format("truetype"),
    url("assets/fonts/montserrat/Montserrat-SemiBold.otf") format("otf");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src:
    url("assets/fonts/montserrat/Montserrat-ExtraLight.woff2") format("woff2"),
    url("assets/fonts/montserrat/Montserrat-ExtraLight.ttf") format("truetype"),
    url("assets/fonts/montserrat/Montserrat-ExtraLight.otf") format("otf");
  font-weight: 200;
  font-style: normal;
}

/* MOLLIE GLASTON */
@font-face {
  font-family: "Mollie glaston";
  src:
    url("assets/fonts/MollieGlaston/Mollie\ Glaston.woff2") format("woff2"),
    url("assets/fonts/MollieGlaston/Mollieglaston.ttf") format("truetype"),
    url("assets/fonts/MollieGlaston/Mollie\ Glaston.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}

/* definitions */
h1 {
  text-align: center !important;
}
h1,
h2,
h2 span {
  font-family: "Mollie glaston";
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.9;
  color: var(--yellow);
  text-align: center;
}

#contactos h2 {
  text-align: center;
  font-family: "Montserrat";
  font-size: 42px;
  font-style: normal;
  font-weight: 275;
  line-height: 114.286%;
  text-transform: uppercase;
  color: var(--text-bordeaux);
  margin-bottom: 35px;
}

h3,
h4,
h5,
h6 {
  font-family: "Montserrat";
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  color: var(--black);
}
h4,
h5,
h6 {
  font-size: 20px;
}

p,
a,
label,
li,
span,
button {
  font-family: "Montserrat";
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: var(--black);
}
.quform .quform-label-text,
input,
select,
textarea,
option {
  font-family: "Montserrat";
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  color: var(--yellow);
}

.filterText,
.bakeryButtonsWrapper .mainButton button {
  color: var(--black);
  text-align: center;
  font-family: "Montserrat";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 5.4px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0px !important;
}
button.filterText,
.bakeryButtonsWrapper .mainButton button {
  background: transparent;
  border: unset;
}
.bakeryButtonsWrapper .mainButton button {
  padding-inline: 0px;
}
.bakeryButtonsWrapper .mainButton button:active,
.bakeryButtonsWrapper .mainButton button:focus,
.bakeryButtonsWrapper .mainButton button:hover {
  background: transparent;
  border: unset;
}

p:not(.backgroundVideo p, header p) {
  margin-bottom: 18px;
}

/* --------------------- VARIABLES --------------------- */
:root {
  /* colors */
  --black: #585858;
  --white: #ffffff;
  --beige: #e9e7dd;
  --yellow: #d3af37;
  --bordeaux: #5b0b2c;
  --text-bordeaux: #5b0b2c;
  --bordeaux-opacity: rgba(91, 11, 44, 0.9);
  --text-white: #e9e7dd;
  /* spacings */
  --padding-inline: 100px;
  --paddingVert: 130px;
  --compensateHeader: calc(var(--header-height) + 40px);
  --adminbar: 30px;
}

/* --------------------- UTILITY CLASSES --------------------- */
.noPadding {
  padding-left: 0;
  padding-right: 0;
}

.pagePaddings {
  padding-left: var(--padding-inline);
  padding-right: var(--padding-inline);
}
.verticalPadding {
  padding-top: var(--paddingVert);
  padding-bottom: var(--paddingVert);
}

main .vc_row.verticalPadding:last-child:not(.apartamentosSmallGallery) {
  padding-bottom: calc(var(--paddingVert) + 130px);
}
.mainHeroTopPadding {
  padding-top: var(--compensateHeader);
}
body:has(#wpadminbar) .mainHeroTopPadding {
  padding-top: calc(var(--compensateHeader) - var(--adminbar));
}
.pageHeroSection > .vc_column_container,
.pageHeroSection .vc_column-inner,
.pageHeroSection .wpb_wrapper {
  position: relative;
  z-index: 2;
}
.backgroundOverlay {
  content: "";
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1 !important;
  pointer-events: none;
}

.backgroundOverlay.red {
  background: #5b0b2ce5;
  background: linear-gradient(90deg, #5b0b2cb8 0%, #5b0b2cb8 100%);
}

.backgroundOverlay .vc_column-inner {
  display: none !important;
}

.backgroundVideo
  *:not(
    .heroSectionContent,
    .heroSectionContent *,
    #heroFixedLogo,
    #heroFixedLogo *
  ) {
  height: 100%;
  overflow: hidden;
}

.backgroundVideo .vc_column-inner {
  padding: 0px !important;
}
.backgroundVideo .container-video {
  height: 100%;
  width: 100%;
}
.backgroundVideo .container-video video,
.backgroundVideo .container-video img {
  max-height: 100dvh;
  width: 100%;
  object-fit: cover;
  position: relative;
  display: block;
}

#main {
  min-height: 100vh;
  /* background-color: var(--beige); */
}
#to_top_scrollup {
  width: fit-content !important;
}
#to_top_scrollup img {
  width: 40px;
  height: 40px;
  transform: rotate(270deg);
}

/* --------------------- PROJECT-SPECIFIC RULES --------------------- */
/* Hide reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* Hide WPML footer badge */
.otgs-development-site-front-end {
  display: none;
}

/* --------------------- BUTTONS --------------------- */
/* botão principal amarelo */
button.mainButton,
.vc_btn3-container.mainButton a {
  background-color: var(--yellow);
  padding: 14px 25px;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  color: var(--white) !important;
  border: 1px solid var(--yellow) !important;
  cursor: pointer;
  border-radius: 5px;
}
button.mainButton:hover,
.vc_btn3-container.mainButton a:hover {
  background-color: transparent !important;
  color: var(--yellow) !important;
}

/* Hover no botão amarelo mas com fundo caotico */
.vc_btn3-container.mainButton.special a:hover {
  background-color: var(--white) !important;
  border-color: var(--white) !important;
  color: var(--yellow) !important;
}
/* Botão com arrow */
.vc_btn3-container.mainButton.arrow a {
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  background-color: transparent;
  border: unset !important;
  color: var(--yellow) !important;
  position: relative;
  display: flex;
  gap: 33px;
  align-items: center;
  padding: 0px;
  text-align: left;
}
/* seta do botao */
.vc_btn3-container.mainButton.arrow a::after {
  content: "";
  background-image: url("/wp-content/uploads/button-arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 27px;
  width: 27px;
  display: block;
  transition: transform 300ms linear;
}

/* seta do botao */
.vc_btn3-container.mainButton.arrow a:hover::after {
  transform: rotate(45deg);
  transition: transform 300ms linear;
}

/* ========================================================================== */
/*                               HEADER                                       */
/* ========================================================================== */
header {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 9990;
  transition: all 300ms linear;
}

/* header.header-colored {
  background-color: #00000026;
  transition: all 300ms linear;
} */

/* wrapper com elementos do header */
.wrapper-header {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  z-index: 99999;
}
.wrapper-header::after {
  content: "";
  width: 110px;
  height: 110px;
  /* background-color: #7b97af; */
  background-color: rgba(233, 231, 221, 0.5);

  position: absolute;
  top: 0px;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: all 300ms linear;
}

.wrapper-header img {
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.wrapper-header.active::after {
  content: "";
  background-color: transparent;
  transform: translate(-50%, -50%) scale(2);
  transition: all 300ms linear;
}

.wrapper-header.active img {
  transform: translate(-40px, 40px) rotate(180deg);
}

.wrapper-header:hover::after {
  content: "";
  width: 120px;
  height: 120px;
  background-color: var(--bordeaux);
  transition: all 300ms linear;
}
.wrapper-header.active:hover::after {
  content: "";
  width: 110px;
  height: 110px;
  background-color: transparent;
}
.wrapper-header:hover img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(91%) saturate(329%)
    hue-rotate(9deg) brightness(98%) contrast(90%);
  transition: all 300ms linear;
}
/* animação de underline nos a */
.gsap-underline li a {
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.gsap-underline li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  background: currentColor;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: none;
  pointer-events: none;
}

.gsap-underline li a::after {
  transform: scaleX(var(--underline-scale, 0));
  transition: transform 0.2s ease;
}
.gsap-underline .current_page_item > a::after {
  transform: scaleX(1);
}

.wpcf7-spinner {
  display: none;
}

/* hovers no header e footer */
header a,
footer a {
  position: relative;
  transition: 300ms all linear;
}
header .mobile-menu-wrapper a::before,
header .mobile-menu-wrapper a::after {
  content: "";
  width: 92px;
  height: 1px;
  background-color: var(--beige);
  transition: 300ms all linear;
  position: absolute;
  opacity: 0;
}

header .mobile-menu-wrapper a::after {
  top: 50%;
  left: -70px;
  transform: translateX(-100%);
}

header .mobile-menu-wrapper a::before {
  top: 50%;
  right: -70px;
  transform: translateX(100%);
}
.menu-mobile .current_page_item a::after,
.menu-mobile .current_page_item a::before,
header a:hover::before,
header a:hover::after {
  opacity: 1;
  transition: 300ms all linear;
}
.menu-mobile .current_page_item a,
.menu-mobile .mobile-menu-wrapper a:hover {
  color: var(--beige) !important;
}

/* menu mobile */
.menu-mobile {
  position: fixed;
  top: 0px;
  right: 0px;
  height: 100dvh;
  /* min-height: 900px; */
  width: 100%;
  z-index: 9980;
  background-color: var(--bordeaux);
  transform: translate(100%, -100%);
  transition: all 500ms linear;
  padding: var(--padding-inline);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom-left-radius: 75px;
  border-top-right-radius: 150px;
  justify-content: space-between;
  padding-block: 50px;
}
a.mobile-logo {
  margin-inline: auto;
}
.menu-mobile.open {
  transform: translateY(0%);
  transition: all 700ms linear;
}

.menu-mobile ul {
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 50px;
}
.menu-mobile ul li {
  width: fit-content;
}

.menu-mobile ul li a {
  font-family: "Montserrat";
  color: var(--yellow);
  display: block;

  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 200;
  line-height: 1; /* 81.25% */
  text-transform: uppercase;
}
.menu-mobile .menu-teimoso-wrapper {
  /* position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translate(-50%, 0px); */
}

.menu-mobile .menu-teimoso-wrapper ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* 1. Base style (your existing code for the target color) */
.menu-mobile .menu-teimoso-wrapper ul img {
  filter: brightness(0) saturate(100%) invert(96%) sepia(11%) saturate(3797%)
    hue-rotate(333deg) brightness(92%) contrast(79%);
  transition: filter 0.3s ease; /* Optional: adds a smooth transition effect */
}

/* 2. Hover state: Applies pure white filter when the parent link (ul) is hovered */
.menu-mobile .menu-teimoso-wrapper ul img:hover {
  /* Forces the image to pure white (#FFFFFF) */
  filter: brightness(0) invert(100%);
}

.default-header-logo {
  position: absolute;
  top: 44px;
  left: 73px;
  transform: translateY(-200%);
  transition: transform 1s linear;
}

.default-header-logo.showLogo {
  transform: translateY(0);
}

/* ========================================================================== */
/*                               FOOTER                                       */
/* ========================================================================== */
footer {
  position: relative;
  background-color: var(--bordeaux);
  padding: 28px var(--padding-inline) 21px;
  z-index: 2;
  border-top: 1px solid var(--beige);
}

footer * {
  color: var(--text-white);
}

footer a:hover {
  color: var(--yellow);
  transition: 300ms all linear;
}

.footerWrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 25px;
}

/* menu no footer */
.footer-main-menu-wrapper {
  margin-bottom: 30px;
}
.footer-main-menu-wrapper ul {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.f-menu-social-wrapper ul {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  /* margin-bottom: 20px; */
}

.f-menu-social li a,
.f-menu-social li {
  line-height: 1;
}

.footer-main-menu-wrapper a {
  font-size: 13px;
}
/* .footer-main-menu-wrapper a::before,
.footer-main-menu-wrapper a::after {
  content: "";
  width: 20px;
  height: 1px;
  background-color: var(--beige);
  transition: 300ms all linear;
  position: absolute;
  opacity: 0;
}

.footer-main-menu-wrapper a::after {
  top: 50%;
  left: -15px;
  transform: translateX(-100%);
}

.footer-main-menu-wrapper a:before {
  top: 50%;
  right: -15px;
  transform: translateX(100%);
}
.footer-main-menu-wrapper a:hover::before,
.footer-main-menu-wrapper a:hover::after {
  opacity: 1;
  transition: 300ms all linear;
} */

.phone-link {
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-block: 10px;
}

.f-menu-legal-wrapper ul {
  display: flex;
  gap: 36px;
}
.f-menu-legal-wrapper ul a {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 10px; /* 71.429% */
}

/* SECAO COM FORMULARIO DE CONTACTO */
#contactos {
  background-color: var(--bordeaux);
  padding: calc(var(--paddingVert) / 2) var(--padding-inline);
  z-index: 2;
  position: relative;
}

#contactos::after {
  content: "";
  background-image: url(/wp-content/uploads/padrao.svg);
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 116%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
  pointer-events: none;
}

#contactos .quform {
  max-width: 718px;
  background-color: var(--beige);
  position: relative;
  padding: 61px 54px 48px;
  margin-inline: auto;
  border-radius: 5px;
}

html *:not(#slide-parent-wrapper *, .pin-spacer *, #heroFixedLogo) {
  transition: all 300ms linear;
}

/* ========================================================================== */
/*                               TEIMOSOS                                     */
/* ========================================================================== */

.menu-teimoso-fixedWrapper {
  position: fixed;
  top: 50%;
  right: 0px;
  z-index: 9910;
  transform: translateY(-50%);
}

body:has(.newsHeroSection) .menu-teimoso-fixedWrapper {
  bottom: 20vh;
}
.menu-teimoso-fixedWrapper * {
  transition: 300ms linear all;
}
.menu-teimoso-fixedWrapper a {
  background-color: rgba(233, 231, 221, 0.5);
  display: flex;
  padding: 18px;
  transition: 300ms linear all;
}
.menu-teimoso-fixedWrapper a:hover {
  background-color: var(--bordeaux);
  transition: 300ms linear all;
}

.menu-teimoso-fixedWrapper ul {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Targets the <a> inside the first .line */
.menu-teimoso-fixedWrapper li:first-child a {
  border-top-left-radius: 8px;
}

/* Targets the <a> inside the last .line */
.menu-teimoso-fixedWrapper li:last-child a {
  border-bottom-right-radius: 8px;
}

/* ========================================================================== */
/*                               HOMEPAGE                                     */
/* ========================================================================== */
.home .homepageRow.heroSectionRow #heroFixedLogo {
  visibility: hidden;
  pointer-events: none;
  display: none;
}
.home .homepageRow.heroSectionRow h1 {
  display: none;
}

.heroSectionContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  margin: 0px !important;
}
#heroFixedLogo {
  position: absolute;
  top: calc(50% - 250px);
  left: 50%;
  width: fit-content;
  transform: translate(-50%, 100%);
  z-index: 2;
}

#heroFixedLogo img {
  width: 376px;
  height: 66px;
  object-fit: contain;
  /* Image width/height transitions smoothly */
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

#heroFixedLogo a {
  display: block;
}

#heroFixedLogo.logoFixed {
  position: fixed;
  top: 0;
  left: 50%;
  /* transform: translate(-50%, 100%) !important; */
  z-index: 9990;
  /* no transition needed here — transform already handled above */
}

#heroFixedLogo.logoFixed img {
  width: 250px;
  height: auto;
}

/* scroll down element */
#scrollDownElement {
  color: var(--beige);
  text-align: center;
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: 4.8px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: fit-content !important;
  /* Apply the animation here */
  animation: bounce 1.5s infinite alternate ease-in-out;
  /* The base transform is set by the animation now */
  transform: translateY(-100%);
  z-index: 19;
}
@keyframes bounce {
  0%,
  100% {
    /* At start and end, slightly offset down */
    transform: translateY(-90%);
  }
  50% {
    /* At midpoint, move up slightly more */
    transform: translateY(-110%);
  }
}
.heroSectionRow {
  position: relative; /* ensures the line stays positioned correctly if needed */
}

.sectionYellow-line {
  width: 100%;
  height: 5px;
  background-color: var(--yellow);
  border-radius: 5px;
  z-index: 23;
  position: absolute;
  bottom: 0px;
  left: 0px;
}
.hasTopLine .sectionYellow-line {
  bottom: unset;
  top: 0px;
}

/********     inspiradoTradicaoSection    ********/
.inspiradoTradicaoSection {
  min-height: 620px;
}

/* imagem */
.inspiradoTradicaoSection .wpb_single_image * {
  width: 100%;
}
.inspiradoTradicaoSection img {
  height: 820px !important;
  width: 100%;
  object-fit: cover;
}
.inspiradoTradicaoSection .wpb_text_column {
  margin-top: 70px;
  /* max-width: 579px; */
  max-width: 850px;

  margin-inline: auto;
}

.inspiradoTradicaoSection .vc_custom_heading {
  /* max-width: 850px; */
  margin-inline: auto;
  margin-bottom: -12px;
  z-index: 3;
  position: relative;
  color: var(--text-bordeaux);
  font-size: 80px;
}

.inspiradoTradicaoSection .mainButton {
  margin-top: 51px;
}

/********     verApartamentosSlideSection     ********/
.verApartamentosSlideSection {
  background-color: var(--bordeaux-opacity);
}

.normal-slidesection {
  display: flex;
  width: 100%;
  position: relative;
  max-width: 1600px;
  margin-inline: auto;
  justify-content: center;
}

/* LEFT — slider */
.slideshowWrapper {
  position: relative;
  height: 100%;
  border-radius: 5px;
}

.slide-homepage-imagem img,
.slide-homepage-imagens {
  width: 812px;
  height: 716px;
}

.slide-homepage-imagens .swiper-wrapper,
.slide-homepage-imagens .swiper-slide {
  height: 100%;
}

.slide-homepage-imagem img {
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* RIGHT — texto + botão */
.titleButtonWrapper {
  flex: 0 0 35%;
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.slide-homepage-frase {
  text-align: left;
  width: 500px;
  color: var(--beige);
  font-size: 80px;
  margin-bottom: 150px;
}

/* BAR------ */
/* Progress vertical */
/* .swiper-progress-wrapper {
  position: absolute;
  left: -20px;
  bottom: 0px;
  transform: translateY(0%);
  height: 100px;
  width: 2px;
  z-index: 10;
}
.swiper-progress-line {
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
}

.swiper-progress-fill {
  position: absolute;
  top: 0;
  width: 100%;
  height: 0%;
  background: #fff;
  transition: height 0.4s ease;
} */

.verApartamentosSlideSection .swiper-pagination {
  display: flex;
  gap: 0px;
  align-items: center;
  justify-content: center;
  bottom: -15px !important;
}

.verApartamentosSlideSection .swiper-pagination-bullet {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  opacity: 1;
  transition: background 0.3s;
}

.verApartamentosSlideSection .swiper-pagination-bullet-active {
  background: #fff;
}

/********     vistaHistoricaSection     ********/
.vistaHistoricaSection {
  padding-top: calc(var(--paddingVert) + 70px);
  padding-bottom: calc(var(--paddingVert) + 140px);
}
.vistaHistoricaSection .vc_custom_heading {
  width: fit-content;
  margin-inline: auto;
  /* margin-block: 0px 80px; */
}

.vistaHistoricaSection .wpb_single_image {
  margin-inline: auto;
  /* max-width: 1593px; */
  max-width: 1363px;
}
.vistaHistoricaSection img {
  /* height: 933px !important; */
  height: 700px !important;
  object-fit: cover;
  border-top: 7px solid var(--yellow);
  border-radius: 5px;
}
.vistaHistoricaSection .wpb_text_column {
  margin-block: 40px !important;
  /* max-width: 647px;   */
  max-width: 850px;

  margin-inline: auto;
}

.vc_custom_heading.sideLines {
  position: relative;
  width: fit-content;
}

.vc_custom_heading.sideLines .rightLine,
.vc_custom_heading.sideLines .leftLine {
  position: absolute;
  top: 50%;
  width: 0;
  height: 1px;
  background-color: var(--yellow);
  display: inline-block;
  vertical-align: middle;
  transition: width 5s ease !important; /* animate width */
}

.vc_custom_heading.sideLines .leftLine {
  left: -60px;
  transform: translateX(-100%);
}
.vc_custom_heading.sideLines .rightLine {
  right: -60px;
  transform: translateX(100%);
}

/* when in viewport */
.vc_custom_heading.sideLines .leftLine.active,
.vc_custom_heading.sideLines .rightLine.active {
  width: 100vw; /* full width */
}

/********     localizacaoPrivilegiadaSection    ********/
.localizacaoPrivilegiadaSection {
  min-height: 900px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-inline: 356px;
  justify-content: center;
  padding-top: 0px;
  position: relative;
}

.localizacaoPrivilegiadaSection .vc_column-inner {
  padding-block: 0px !important;
  margin-top: -72px;
}

.localizacaoPrivilegiadaSection > div {
  /* max-width: 705px; */
  /* max-width: unset; */
  max-width: 990px;
}

.localizacaoPrivilegiadaSection p {
  color: var(--white);
  margin-block: 65px 41px !important;
  /* max-width: 525px; */
  max-width: 700px;
}

.localizacaoPrivilegiadaSection .vc_custom_heading {
  /* position: absolute;
  top: -72px; */
  width: max-content;
  display: block;
  /* left: 50%;
  transform: translateX(-50%) !important; */

  color: var(--yellow);
  mix-blend-mode: multiply;
  margin-top: 2px;
}

/* ========================================================================== */
/*                               RUBYCLUB                                    */
/* ========================================================================== */

/*-------- galeriaSlideSection --------*/
/* Dar mais padding  */
.galeriaSlideSection {
  padding-bottom: calc(var(--paddingVert) + 50px);
}
.galeriaSlideSection > .wpb_column > .vc_column-inner > div {
  position: relative;
}
/* imagem da galeria */
.galeriaSlideSection .wpb_single_image {
  text-align: center !important;
  position: relative;
}

.galeriaSlideSection .wpb_single_image::after {
  content: "";
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1 !important;
  pointer-events: none;
}

.galeriaSlideSection img {
  height: 740px !important;
  width: 1200px !important;
  max-width: unset !important;
  object-fit: cover;
  border-radius: 5px;
}
/* conteudo pai do slider */
.galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_wrapper {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}
.galeriaSlideSection .swiper-slide > .vc_column-inner .vc_custom_heading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: var(--white);
  z-index: 2;
}
.galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column {
  position: absolute;
  bottom: 58px;
  left: 131px;
  /* max-width: 528px; */
  max-width: 670px;

  z-index: 2;
}
.galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column p {
  color: var(--white);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}
/* ARROWS */
.swiper-controls-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1500px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}
/* Reset default Swiper arrows */
.main-swiper-button-prev,
.main-swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

/* Custom LEFT arrow */
.main-swiper-button-prev {
  background-image: url("/wp-content/uploads/left.svg") !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Custom RIGHT arrow */
.main-swiper-button-next {
  background-image: url("/wp-content/uploads/right.svg") !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Disable state (Swiper adds .swiper-button-disabled) */
.main-swiper-button-prev.swiper-button-disabled,
.main-swiper-button-next.swiper-button-disabled {
  opacity: 0.4; /* optional */
  pointer-events: none;
}

/*-------- masterplanSection --------*/
.masterplanSection {
  position: relative;
}
/* Wrapper */
.masterplan-wrapper {
  position: relative;
  /* width: 100%; */
  width: 90%;

  margin-inline: auto;
  padding-bottom: 6vw;
  margin-bottom: 4vw;
}

/* .masterplan-text-area {
  position: absolute;
  top: -100px;
  left: 70px;
  background-color: var(--bordeaux);
  width: 60%;
  height: 500px;
  z-index: 1;
  border-top: 4px solid var(--yellow);
  border-right: 4px solid var(--yellow);
  border-top-right-radius: 1000px;
  padding: 120px;
} */

.masterplan-text-area {
  position: absolute;
  top: -100px;
  left: 70px;
  background-color: var(--bordeaux);
  width: 60%;
  height: 500px;
  z-index: 1;
  padding: 120px;
  border-top-right-radius: 1000px;

  /* 1. Definimos os estados iniciais das variáveis */
  --mask-right: 100%;
  --mask-bottom: 100%;
}

.masterplan-text-area::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid var(--yellow);
  border-right: 4px solid var(--yellow);
  border-top-right-radius: 1000px;
  pointer-events: none;

  /* 2. O clip-path usa as variáveis que o GSAP vai animar */
  /* inset(top, right, bottom, left) */
  clip-path: inset(0% var(--mask-right) var(--mask-bottom) 0%);
}

.masterplan-text-area p {
  color: var(--white);
  max-width: 443px;
}

/* Container */
.masterplan-container {
  position: relative;
  /* overflow: hidden; */
  width: 100%;
  height: auto;
}

/* Image */
.masterplan-img {
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
  position: relative;
}

/* Marker Container */
.masterplan-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
}

.masterplan-line {
  position: absolute;
  width: 2px;
  background: var(--yellow);
  z-index: 5;
  transition: all 300ms linear;
}

.masterplan-line::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  background-color: var(--yellow);
  z-index: 5;
  transition: all 300ms linear;
  transform: translate(-5px);
}

.masterplan-line.line-up::before {
  bottom: 0px;
}

.masterplan-label {
  font-family: "Montserrat";
  position: absolute;
  transform: translateX(-50%) translateY(30px);
  color: var(--yellow);
  bottom: 0px;
  height: fit-content;
  z-index: 6;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 5.4px;
  text-transform: uppercase;
  text-align: center;
  transition: all 300ms linear;
}

.masterplan-label.label-up {
  transform: translateX(-50%) translateY(-60px);
}

.masterplanSection .wpb_text_column {
  padding-top: 15px;
  /* max-width: 692px; */
  max-width: 850px;

  margin-inline: auto;
}

/*-------- espacosRespiramSection --------*/
.espacosRespiramSection {
  background-color: var(--bordeaux);
  padding-bottom: calc(var(--paddingVert) + 100px);
}

/* dimensao img primeira row */
.espacosRespiramSection > .wpb_column:nth-child(2) {
  margin-bottom: 22px;
}
.espacosRespiramSection > .wpb_column:nth-child(2) img {
  height: 637px !important;
}
.espacosRespiramSection img {
  border-radius: 5px;
  height: 343px !important;
  object-fit: cover;
}
.espacosRespiramSection .wpb_single_image * {
  width: 100%;
}
.espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner {
  min-height: 850px;
  border-radius: 5px;
  padding: 50px;
}

.espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner::after {
  content: "";
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1 !important;
  pointer-events: none;
}

.espacosRespiramSection .wpb_column .vc_column-inner .wpb_text_column {
  max-width: 510px;
  margin-left: auto;
  z-index: 2;
  position: relative;
}
.espacosRespiramSection .wpb_column .vc_column-inner .wpb_text_column p {
  color: var(--white);
}
/* -QUADRADOS E IMAGENS SEC */
.espacosRespiramSection > .wpb_column > .vc_column-inner {
  padding: 0px;
}

/* quadrado com botão */
.espacosRespiramSection
  > .wpb_column
  > .vc_column-inner
  .wpb_column:has(.mainButton) {
  padding: 20px;
  padding: 20px 30px 00px 30px;
}

.espacosRespiramSection
  > .wpb_column
  > .vc_column-inner
  .wpb_column:has(.mainButton)
  .vc_column-inner
  .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
/* titulo */
.espacosRespiramSection
  > .wpb_column
  > .vc_column-inner
  .wpb_column:has(.mainButton)
  .vc_custom_heading {
  font-weight: 275;
  color: var(--white);
  font-size: 36px;

  line-height: 40px;
  text-transform: uppercase;
}

.espacosRespiramSection
  > .wpb_column
  > .vc_column-inner
  .vc_row
  > div
  > .vc_column-inner {
  padding-inline: 10px;
}

.espacosRespiramSection
  > .wpb_column
  > .vc_column-inner
  .vc_row
  > div:nth-child(1)
  > .vc_column-inner {
  padding-left: 15px;
}

.espacosRespiramSection
  > .wpb_column
  > .vc_column-inner
  .vc_row
  > div:last-child
  > .vc_column-inner {
  padding-right: 15px;
}

.espacosRespiramSection .vc_btn3-container.mainButton.arrow a {
  font-size: 16px;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

/*-------- arteViverSection --------*/
.arteViverSection {
  height: 100vh;
  min-height: 900px;
  position: relative;
  padding-block: 0px !important;
}
/* .arteViverSection .wpb_text_column p, */
.arteViverSection .vc_custom_heading {
  color: var(--white);
  margin-bottom: 64px;
}

.arteViverSection .wpb_text_column {
  max-width: 583px;
  margin-inline: auto;
  margin-block: 28px !important;
}
.arteViverSection > div {
  z-index: 2;
}

/* ========================================================================== */
/*                               APARTAMENTOS                                 */
/* ========================================================================== */
/* ------ apartamentosCurvedSection ------- */
.apartamentosCurvedSection {
  padding-block: unset;
  margin-block: 220px;
  position: relative;
}

.apartamentosCurvedSection svg {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: auto;
  z-index: -1;
  pointer-events: none;
}
/* wrapper com texto */
.apartamentosCurvedSection .vc_column-inner {
  padding-inline: 30px !important;
  z-index: 1;
  position: relative;
  padding-top: 162px;
  max-width: 1200px !important;
  width: 1200px !important;
  margin-inline: auto;
}

/* titulo */
.apartamentosCurvedSection .vc_custom_heading {
  color: var(--text-bordeaux);
  margin-bottom: 50px;
  font-weight: 200;
}

/* texto */
.apartamentosCurvedSection .wpb_text_column {
  max-width: 597px;
}

/* ------ conceitoApartamentosSection ------- */
#conceitoApartamentos {
  z-index: 2;
  position: relative;
  background-color: var(--bordeaux);
  padding-right: 89px;
  padding-left: 15px;
  padding-bottom: 0px;
}

#conceitoApartamentos > div > div {
  padding-left: 0px;
}

/* wrapper com botoes */
.conceitos-buttons {
  display: flex;
  gap: 35px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 76px;
}
/* botoes */
.conceito-button {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.conceito-icon {
  width: auto;
  height: 35px;
  object-fit: contain;
  margin-bottom: 25px;
  transition: all 300ms linear;
}

.conceito-right .conceito-icon,
.conceito-button.active .conceito-icon {
  filter: brightness(0) saturate(100%) invert(69%) sepia(90%) saturate(352%)
    hue-rotate(2deg) brightness(88%) contrast(90%);
  transition: all 300ms linear;
}

.conceito-title {
  color: var(--beige);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 5.4px;
  text-transform: uppercase;
  transition: all 300ms linear;
  transform: translateX(3px);
}

.conceito-right .conceito-title,
.conceito-button.active .conceito-title {
  color: var(--yellow);
  transition: all 300ms linear;
}

.conceito-slide-wrapper {
  display: flex;
  gap: 53px;
}

.conceito-slide-featured {
  width: 70vw;
  height: 863px;
  object-fit: cover;
  border-radius: 5px;
  max-width: unset;
  display: block;
}

.conceito-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 89px;
}
.conceito-desc {
  color: var(--text-white);
}

/* Floating titles */
.floating-titles {
  position: absolute;
  top: 174px;
  left: 35%;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.conceitos-texto {
  font-family: "Mollie glaston";
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  margin: 0px !important;
}

.conceitos-texto-1 {
  color: var(--beige);
}

.conceitos-texto-2 {
  color: var(--text-bordeaux);
}

/* ------ apartamentosSmallGallery ------- */
.apartamentosSmallGallery .wpb_single_image,
.apartamentosSmallGallery .wpb_single_image * {
  width: 100% !important;
}

.apartamentosSmallGallery .wpb_column .vc_column-inner > div {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.apartamentosSmallGallery img {
  width: 100%;
  height: 539px !important;
  object-fit: cover;
  border-radius: 5px;
}

.apartamentosSmallGallery .mainButton {
  margin-top: 50px;
}
/* ------ lastSection ------- */
.lastSection {
  max-height: 900px;
  height: 100vh;
}

.tabelaApartamentosSection {
  padding-top: 0px;
  position: relative;
  z-index: 2;
  background-color: white;
}
/* ========================================================================== */
/*                               LOCALIZAÇÃO                                  */
/* ========================================================================== */
.localizacaoRow {
  position: relative;
}

/* ------- mapaSection */
.mapaSection {
  padding-block: 0px !important;
}

.mapaSection h2 {
  color: var(--beige);
  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  padding-inline: 50px;
  z-index: 2;
}

/* circunferencia veremlha */
.mapaSection .vc_row {
  /* margin-top: 37px !important; */
  position: absolute;
  left: 50%;
  top: 139px;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 2;
}

.mapaSection .wpb_single_image * {
  width: 100%;
}

.poloCosmopolitaSection {
  margin-top: 50px;
}

.poloCosmopolitaSection .vc_custom_heading {
  width: fit-content;
  margin-inline: auto;
  font-size: 80px;

  color: var(--bordeaux);
  font-size: 80px;
  font-style: normal;
  font-weight: 400;
  line-height: 87.5%;
}

.poloCosmopolitaSection .vc_custom_heading.sideLines .rightLine,
.poloCosmopolitaSection .vc_custom_heading.sideLines .leftLine {
  background-color: var(--bordeaux);
}

.mapaSection .vc_row .wpb_column:nth-child(2) .vc_column-inner {
  justify-content: flex-end;
}
/* circunferencia veremlha */
.mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
  width: 426px;
  height: 426px;
  background-color: var(--bordeaux);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  position: relative;
}
.mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
  content: "";
  width: calc(426px / 2);
  height: calc(426px / 2);
  position: absolute;
  bottom: 0px;
  right: 0px;
  background-color: var(--bordeaux);
}
/* zona com o texto */
/* circunferencia veremlha */
.mapaSection .vc_row .wpb_column:nth-child(2) > div > .wpb_wrapper {
  max-width: 698px;
  padding: 21px;
}

/* ------- douroDesignSection */
.douroDesignSection .vc_row {
  margin-bottom: 60px;
}
/* wrapper com os 3 svgs */
.douroDesignSection .vc_row .wpb_column:nth-child(2) > div {
  padding-left: 50px;
  justify-content: center;
}
#douroDistrictSVG svg {
  height: 227px;
  width: 380px;
}

/* Animação de letras do douro design district */
#douroDistrictSVG svg path {
  opacity: 0; /* mantém tudo invisível até a animação */
}

.svg-letter-reveal {
  opacity: 0;
  animation: revealLetter 0.7s forwards ease-out;
}

@keyframes revealLetter {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0); /* começa escondido da direita */
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0); /* totalmente visível */
  }
}

/* wrapper com os 3 svgs */
.douroDesignSection .vc_row .wpb_column:nth-child(1) > div > div {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  padding-right: 50px;
}
.douroDesignSection .vc_row .wpb_column:nth-child(1) img {
  width: auto;
  height: 520px;
}
/* texto por cima do botao */
.poloCosmopolitaSection .wpb_text_column,
.douroDesignSection
  > .wpb_column
  > .vc_column-inner
  > .wpb_wrapper
  .wpb_text_column {
  /* max-width: 600px; */
  max-width: 1150px;

  margin-inline: auto;
}

.poloCosmopolitaSection .wpb_text_column p {
  font-size: 32px;
}
.poloCosmopolitaSection .wpb_text_column {
  max-width: 1500px;
}
/* .douroDesignSection .wpb_text_column p {
  display: none;
}
.douroDesignSection .wpb_text_column p:first-child {
  display: block;
} */

.plusButton {
  cursor: pointer;
}

/* ------- douroDesignGridSection */
.douroDesignGridSection {
  max-width: 1440px;
  margin-inline: auto !important;
}
/* corrigir paddings */
.douroDesignGridSection .vc_column_container > .vc_column-inner {
  padding-left: 5px;
  padding-right: 5px;
}

.douroDesignGridSection img {
  width: 100vw !important;
  height: 197px !important;
  object-fit: cover;

  border-top-left-radius: 10px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 10px;
}

.douroDesignGridSection .vc_col-sm-4 img {
  width: 100% !important;
  height: 448px !important;
}

.douroDesignGridSection .vc_column-inner {
  justify-content: center;
}
.douroDesignGridSection .wpb_column.vc_col-sm-2 .vc_column-inner > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ------- mobilidadeSection */

/* MOBILIDADE PARTE COM AS ANIMCAOES */

/* MOBILIDADE GALERIA */
.mobilidadeSection {
  padding-inline: calc(var(--padding-inline) / 2);
}

/* zona com galeria */
.mobilidadeGalerySection {
  margin-bottom: calc(var(--paddingVert) * 2.5);
}

.mobilidadeGalerySection > div > .vc_column-inner {
  border: 4px solid var(--yellow);
  border-top: unset;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* ANTIGO CODIGO AQUI */
.mobilidadeGalerySection .wpb_single_image * {
  width: 100%;
}
.mobilidadeGalerySection img {
  object-fit: cover;
  height: 600px !important;
  border-radius: 5px;
}
/* margens */
.mobilidadeGalerySection .vc_row {
  margin-bottom: 20px;
}

.mobilidadeGalerySection .vc_row .wpb_column:nth-child(1) > .vc_column-inner {
  padding-right: 10px;
}
.mobilidadeGalerySection .vc_row .wpb_column:nth-child(2) > .vc_column-inner {
  padding-left: 10px;
}

/********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
.mobilidadeAnimacaoSection {
  padding-bottom: 0px;
}
.mobilidadeAnimacaoSection h2.vc_custom_heading {
  background-color: white;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  margin-top: -50px;
  padding-inline: 30px;
}
.mobilidadeAnimacaoSection > div > div {
  border: 4px solid var(--yellow);
  border-bottom: 0px;
  border-top-left-radius: 500px;
  border-top-right-radius: 500px;
}

.mobilidades-filter-wrapper {
  margin-top: 70px;
  margin-bottom: 200px;
}

.mobilidades-filters {
  display: flex;
  gap: 70px;
  /* margin-bottom: 150px; */
  flex-wrap: wrap;
  justify-content: center;
}

.mobilidade-filter-btn {
  background: transparent;
  border: unset;
  padding: 0px;
  border-radius: 0px;
  cursor: pointer;
  text-align: center;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all linear 0.2s;
  gap: 30px;
}

.mobilidade-filter-btn div:has(img) {
  position: relative;
}

.mobilidade-filter-btn div:has(img)::before {
  content: "";
  height: 80px;
  width: 80px;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 44%;
  left: 50%;
  border: 0px solid #5b0b2c;
  border-radius: 100%;
}

.mobilidade-filter-btn.active div:has(img)::before {
  border: 2px solid #5b0b2c;
}

/* nome da categoria */
.mobilidade-filter-btn span {
  opacity: 0;
}

.tick-text,
.mobilidade-filter-btn span {
  font-size: 18px;
}

.mobilidade-filter-btn.active span {
  opacity: 1;
}

.mobilidade-filter-btn img.mobilidade-icon {
  /* max-width: 67px;
  height: 37px; */
  max-width: 60px;
  height: 30px;
}

.mobilidade-filter-btn.active img.mobilidade-icon {
  filter: brightness(0) saturate(100%) invert(7%) sepia(63%) saturate(4327%)
    hue-rotate(322deg) brightness(100%) contrast(98%);
  transition: filter 0s linear !important;
}

/* SLIDER COM AS MOBILIDADES */
.mobilidades-slider-wrapper {
  margin-top: 00px;
  max-width: 1000px;
  margin-inline: auto;
}

div#mobilidade-slider {
  border: 0px !important;
  position: relative;
  cursor: pointer;
  padding-block: 100px;
}

div#mobilidade-slider::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--bordeaux);
  top: 50%;
}

#mobilidade-slider-ticks {
  position: relative;
  /* margin-top: calc(0px - 100px - 2px); */
  margin-top: -141px;
  pointer-events: none;
}

.mobilidade-tick {
  position: absolute;
  transform: translateX(-50%);
  text-align: center;
  width: 140px; /* Podes ajustar */
  pointer-events: none; /* evita interferir com o slider */
}

.mobilidade-tick .dot {
  /* 1. Definir o tamanho base grande */
  width: 84px;
  height: 84px;
  background: var(--bordeaux);
  border-radius: 50%;
  margin: 0 auto 6px auto;

  /* Garantir que a transição se aplica ao transform */
  transition: transform 0.4s ease;

  /* 2. Escalar para o tamanho inicial (6px / 84px ≈ 0.071) e Forçar GPU */
  transform: scale(0.071) translateZ(0);
  -webkit-transform: scale(0.071) translateZ(0);
}

.mobilidade-tick.active .dot {
  /* 3. Escalar para o tamanho completo (84px) */
  transform: scale(1) translateZ(0);
  -webkit-transform: scale(1) translateZ(0);
}
.tick-text {
  /* margin-top: 40px; */
}

.tick-min {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 5px;
  z-index: 10;
}

.mobilidade-tick.active .tick-min {
  top: 44px;
}

.mobilidade-tick.active .tick-min * {
  color: var(--white);
}

.min-number {
  color: var(--bordeaux);
  text-align: center;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 86.667%;
  display: flex;
  flex-direction: column;
}

.min-text {
  color: var(--bordeaux);

  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 22px;
}

.ui-slider-handle {
  display: none;
}

/* aqui */
/* ========================================================================== */
/*                               GALERIA                                      */
/* ========================================================================== */
.galeriaSection {
  min-height: 70vh;
}
/* --- Masonry Container --- */
.js-masonry {
  /* Required for Masonry.js to work correctly */
  position: relative;
  max-width: 1530px; /* Adjust as needed */
  margin-inline: auto;
}

/* --- Masonry Item (The Image Wrapper) --- */
.item-masonry {
  /* This defines the base column width (3 items across) */
  width: calc(50% - 20px); /* 10px gutter on each side = 20px total */
  margin-bottom: 80px; /* Vertical spacing between items */
  float: left; /* Required by Masonry.js */
  padding: 0 40px; /* Half of the gutter width for left/right spacing */
  box-sizing: border-box; /* Ensures padding is inside the width */
}

.item-masonry img {
  /* Ensure the image fills its container */
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.galeria-images {
  left: 30px;
  position: relative;
}

.filter-options,
.bakeryButtonsWrapper .vc_column-inner > .wpb_wrapper {
  max-width: 1200px;
  padding: 0px var(--padding-inline);
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 135px;
  margin-bottom: calc(var(--paddingVert) / 2);
}

.bakeryButtonsWrapper .vc_column-inner > .wpb_wrapper {
  padding: 0px 0px;
  gap: 15px;
  justify-content: space-around;
}

.filter-options .filter-button,
.bakeryButtonsWrapper .mainButton button {
  padding-block: 25px;
  border-bottom: 0px solid var(--yellow);
}
.filter-options .filter-button.active,
.bakeryButtonsWrapper .mainButton.active button {
  color: var(--yellow);
  border-bottom: 3px solid var(--yellow);
}

/* 1. Base State: Apply the dimming filter to ALL items */
.js-masonry:hover .galeria-lightbox-link {
  /* Apply a slight filter when the mouse enters the main container */
  opacity: 0.2;
  transition: opacity 0.3s ease; /* Smooth transition for the effect */
}

/* 2. Hover State: Remove the dimming filter from the hovered item */
/* We target the anchor tag which wraps the image and is the hover target */
.js-masonry .galeria-lightbox-link:hover {
  opacity: 1; /* Full opacity (no filter) */
}

/* 3. Sibling State: Ensure the other items stay dimmed when one is hovered */
/* This is often necessary to override any conflicting styles */
.js-masonry .galeria-lightbox-link:hover ~ .galeria-lightbox-link {
  opacity: 0.2;
}

/* ========================================================================== */
/*                               FOLLOW                                       */
/* ========================================================================== */
.followRubySection {
  padding-bottom: calc(var(--paddingVert) + 50px);
}
.filter-desktop {
  display: flex;
}
.filter-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .filter-desktop {
    display: none !important;
  }
  .filter-mobile {
    display: block !important;
  }

  /* 1. Base State: Apply the dimming filter to ALL items */
  .js-masonry:hover .galeria-lightbox-link {
    /* Apply a slight filter when the mouse enters the main container */
    opacity: 1;
  }

  /* 2. Hover State: Remove the dimming filter from the hovered item */
  /* We target the anchor tag which wraps the image and is the hover target */
  .js-masonry .galeria-lightbox-link:hover {
    opacity: 1; /* Full opacity (no filter) */
  }

  /* 3. Sibling State: Ensure the other items stay dimmed when one is hovered */
  /* This is often necessary to override any conflicting styles */
  .js-masonry .galeria-lightbox-link:hover ~ .galeria-lightbox-link {
    opacity: 1;
  }
}
.noticias-listagem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 53px;
  margin-bottom: 50px;
}
/* noticia item */
.noticia-item {
  cursor: pointer;
  border-radius: 5px;
}

.noticia-item .noticia-thumbnail img {
  height: 294px;
  object-fit: cover;
  border-radius: 5px;
}

h2.noticia-title {
  font-family: "Montserrat";
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
  text-align: left;
}
.noticia-content p {
  margin-bottom: 0px !important;
}
.noticia-item .noticia-content {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.noticia-categories span {
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
}

.noticia-item .date {
  font-weight: 300;
  font-size: 18px;
}

/* ========================================================================== */
/*                             	Legal Pages    		                          */
/* ========================================================================== */
.legalPage {
  padding: var(--padding-inline);
  padding-bottom: 200px;
  padding-top: 80px;
}

.legalPage > div {
  max-width: 1097px;
  margin-left: 260px;
}

.legalPage p {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px; /* 150% */
  letter-spacing: 0.8px;
}

.legalContent {
  padding-top: 50px;
}

.legalPage h1 {
  text-align: left !important;
}
.legalPage h2 {
  color: #585858;
  font-family: "Montserrat";
  font-size: 32px;
  font-style: normal;
  font-weight: 275;
  line-height: 48px; /* 150% */
  text-align: left;
  text-transform: uppercase;
  margin-top: 60px;
  margin-bottom: 8px;
}
/* ========================================================================== */
/*                               DETALHE FOLLOW                               */
/* ========================================================================== */
.followDetailButtonWrapper {
  padding-bottom: calc(var(--paddingVert) + 130px);
}

.single-post h1,
.newsContent > div {
  max-width: 618px;
  margin-left: 418px;
}

.post-date {
  margin-top: 32px;
  font-weight: 300;
  color: #523f04;
}
.single-post h1 {
  text-align: left !important;
  padding-left: var(--padding-inline);
  color: var(--white);
  padding-right: 20px;
  max-width: unset;
}

.single-post .wpb_text_column:has(h1) {
  position: absolute;
  z-index: 2;
  transform: translateY(-83%);
}
.newsContent h2,
.newsContent h3 {
  font-family: "Montserrat";
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 14px;
}

.newsHeroSection .swiper-button-next:after,
.newsHeroSection .swiper-button-prev:after {
  display: none !important;
}

.newsHeroSection .swiper {
  width: 100%;
  height: 100vh;
  max-height: 1077px;
}

.newsHeroSection .swiper img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/****************************** MEDIA QUERIES ************************************/
/* PARA ECRAS 4k - criar container para nao ir para as pontas */
@media (min-width: 2250px) {
  :root {
    --bigpage-container: 1920px;
    --padding-inline: calc((100vw - var(--bigpage-container)) / 2);
  }
  /* colocar esta classe onde quiser limitar o crescimento em divs genéricas */
  .bigscreen-limit {
    max-width: var(--bigpage-container);
    margin-inline: auto;
  }
  /*Colocar esta classe nas rows principais das páginas para forçar o container*/
  .vc_row_bigscreen-limit {
    padding-left: calc((100vw - var(--bigpage-container)) / 2);
    padding-right: calc((100vw - var(--bigpage-container)) / 2);
    box-sizing: border-box;
  }

  .douroDesignGridSection {
    max-width: var(--bigpage-container);
    margin-inline: auto !important;
  }
  /* MOBILIDADE GALERIA */
  .mobilidadeSection {
    padding-inline: calc(var(--padding-inline));
  }
}

/* Intermédio 2 */
@media print, screen and (max-width: 1750px) {
  /* definitions */
  h1,
  h2,
  h2 span,
  .poloCosmopolitaSection .vc_custom_heading {
    font-size: 72px;
  }

  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */
  /********     inspiradoTradicaoSection    ********/

  .inspiradoTradicaoSection img {
    height: 540px !important;
  }
  .inspiradoTradicaoSection .wpb_text_column {
    margin-top: 50px;
    /* max-width: 700px; */
  }

  .inspiradoTradicaoSection .vc_custom_heading {
    /* max-width: 620px; */
    margin-bottom: -12px;
    font-size: 72px;
  }

  .inspiradoTradicaoSection .mainButton {
    margin-top: 40px;
  }

  /********     verApartamentosSlideSection     ********/

  .normal-slidesection {
    max-width: 1300px;
  }

  /********     vistaHistoricaSection     ********/

  .vistaHistoricaSection .wpb_single_image {
    max-width: 1213px;
  }
  .vistaHistoricaSection img {
    /* height: 933px !important; */
    height: 600px !important;
  }
  .vistaHistoricaSection .wpb_text_column {
    max-width: 647px;
  }

  .localizacaoPrivilegiadaSection .vc_custom_heading {
    top: -53px;
  }

  .localizacaoPrivilegiadaSection .vc_column-inner {
    padding-block: 0px !important;
    margin-top: -53px;
  }

  .localizacaoPrivilegiadaSection > div {
    max-width: 711px;
  }
  /* ========================================================================== */
  /*                               RUBYCLUB                                    */
  /* ========================================================================== */
  .arteViverSection .vc_custom_heading {
    margin-bottom: 40px;
  }
  /*-------- galeriaSlideSection --------*/

  .galeriaSlideSection img {
    /* height: 629px !important; */
    /* width: 1020px !important; */
  }
  /* .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column {
    bottom: 58px;
    left: 131px;
  } */

  /* ARROWS */
  .swiper-controls-wrapper {
    width: 1300px;
  }

  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */

  .mapaSection h2 {
    font-size: 50px;
    padding-inline: 50px;
  }

  /* circunferencia veremlha */
  .mapaSection .vc_row {
    top: 60px;
  }
  /* circunferencia veremlha */
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 326px;
    height: 326px;
  }
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(326px / 2);
    height: calc(326px / 2);
  }

  .mapaSection .vc_row .wpb_column:nth-child(2) .wpb_wrapper {
    max-width: 514px;
  }

  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  .mobilidadeAnimacaoSection h2.vc_custom_heading {
    margin-top: -40px;
  }

  .poloCosmopolitaSection .wpb_text_column p {
    font-size: 26px;
  }
  .poloCosmopolitaSection .wpb_text_column {
    max-width: 1400px;
  }
}

@media print, screen and (max-width: 1550px) {
  /* definitions */
  h1,
  h2,
  h2 span,
  .poloCosmopolitaSection .vc_custom_heading {
    font-size: 68px;
  }

  #contactos h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  h3,
  h4,
  h5,
  h6 {
    font-size: 26px;
  }
  h4,
  h5,
  h6 {
    font-size: 20px;
  }

  p,
  a,
  label,
  li,
  span,
  button {
    font-size: 16px;
  }

  input,
  select,
  textarea,
  option,
  .filterText,
  .bakeryButtonsWrapper .mainButton button,
  .quform .quform-label-text {
    font-size: 14px !important;
  }
  .filter-options .filter-button,
  .bakeryButtonsWrapper .mainButton button {
    padding-block: 18px;
  }

  :root {
    /* spacings */
    --padding-inline: 60px;
    --paddingVert: 100px;
  }

  /* ========================================================================== */
  /*                               HEADER                                       */
  /* ========================================================================== */
  .menu-mobile ul li a {
    font-size: 40px;
  }
  .menu-mobile ul {
    gap: 30px;
  }

  .menu-mobile .menu-teimoso-wrapper ul img {
    width: 30px;
    height: 30px;
  }

  .menu-mobile .menu-teimoso-wrapper ul {
    gap: 20px;
  }

  #heroFixedLogo.logoFixed img {
    width: 180px;
    height: auto;
  }

  .default-header-logo {
    top: 20px;
    left: 10px;
    transform: translateY(-200%);
  }
  .default-header-logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
  }

  /* ========================================================================== */
  /*                               TEIMOSOS                                     */
  /* ========================================================================== */
  .menu-teimoso-fixedWrapper a {
    padding: 10px;
  }
  .menu-teimoso-fixedWrapper img {
    width: 25px;
    height: 25px;
  }

  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */
  #heroFixedLogo {
    top: calc(50% - 170px);
  }
  #heroFixedLogo img {
    width: 250px;
    height: auto;
  }

  /********     localizacaoPrivilegiadaSection    ********/
  .localizacaoPrivilegiadaSection {
    min-height: 650px;
    padding-inline: 250px;
    padding-block: 0px 270px;
  }

  .localizacaoPrivilegiadaSection p {
    margin-block: 41px !important;
  }
  .localizacaoPrivilegiadaSection .vc_custom_heading {
    top: -51px;
  }

  .inspiradoTradicaoSection .wpb_text_column {
    max-width: 700px;
  }

  /* RIGHT — texto + botão */
  .titleButtonWrapper {
    padding-left: 32px;
  }

  .slide-homepage-frase {
    width: 370px;
    font-size: 60px;
    margin-bottom: 150px;
  }

  /* ========================================================================== */
  /*                               RUBYCLUB                                    */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  .galeriaSlideSection img {
    height: 550px !important;
    /* width: 867px !important; */
  }
  .bakeryButtonsWrapper .vc_column-inner > .wpb_wrapper {
    margin-bottom: 30px;
  }
  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column {
    bottom: 40px;
    left: 80px;
    /* max-width: 470px; */
    max-width: 550px;
  }
  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column p {
    font-size: 16px;
  }
  /* ARROWS */
  .swiper-controls-wrapper {
    width: 1100px;
  }
  /*-------- masterplanSection --------*/

  .masterplan-text-area {
    top: -100px;
    left: 70px;

    width: 60%;
    height: 500px;
    border-top-right-radius: 1000px;
    padding: 120px;
  }

  .masterplan-text-area p {
    max-width: 320px;
  }

  .masterplan-label {
    transform: translateX(-50%) translateY(10px);
    font-size: 16px;
  }

  .masterplan-label.label-up {
    transform: translateX(-50%) translateY(-40px);
  }

  .masterplanSection .wpb_text_column {
    /* max-width: 500px; */
    max-width: 600px;
  }
  /*-------- espacosRespiramSection --------*/
  .espacosRespiramSection > .wpb_column:nth-child(2) img {
    height: 400px !important;
  }

  .espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner {
    min-height: 650px;
    padding: 40px;
  }

  .espacosRespiramSection .wpb_column .vc_column-inner .wpb_text_column {
    max-width: 450px;
  }

  /* titulo */
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton)
    .vc_custom_heading {
    font-size: 29px;

    line-height: 1.2;
  }
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton) {
    padding: 15px;
    padding-bottom: 0px;
  }

  /*-------- arteViverSection --------*/
  .arteViverSection {
    min-height: 730px;
  }

  .arteViverSection .wpb_text_column {
    max-width: 450px;
  }

  .arteViverSection .vc_custom_heading {
    margin-bottom: 30px;
  }

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  /* ------ apartamentosCurvedSection ------- */
  .apartamentosCurvedSection {
    margin-block: 80px;
  }

  /* wrapper com texto */
  .apartamentosCurvedSection .vc_column-inner {
    padding-top: 122px;
  }

  .apartamentosCurvedSection .vc_custom_heading {
    margin-bottom: 32px;
  }
  .apartamentosCurvedSection .wpb_text_column {
    max-width: 450px;
  }

  /* ------ conceitoApartamentosSection ------- */
  #conceitoApartamentos {
    padding-right: 60px;
  }

  /* wrapper com botoes */
  .conceitos-buttons {
    gap: 20px;
    margin-bottom: 60px;
  }
  .conceito-icon {
    height: 22px;
    margin-bottom: 18px;
  }

  .conceito-title {
    font-size: 14px;
  }

  .conceito-slide-wrapper {
    gap: 30px;
  }

  .conceito-slide-featured {
    width: 65vw;
    height: 500px;
  }

  .conceito-right {
    padding-bottom: 20px;
  }
  /* Floating titles */
  .floating-titles {
    top: 130px;
    left: 30%;
  }
  .conceitos-texto {
    font-size: 50px;
  }

  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */

  /* circunferencia veremlha */
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 280px;
    height: 280px;
  }
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(280px / 2);
    height: calc(280px / 2);
  }

  .mapaSection h2 {
    font-size: 46px;
    padding-inline: 40px;
  }

  /* ------- douroDesignSection */
  .douroDesignSection .vc_row {
    margin-bottom: 40px;
  }
  /* wrapper com os 3 svgs */
  .douroDesignSection .vc_row .wpb_column:nth-child(2) > div {
    padding-left: 32px;
  }
  #douroDistrictSVG svg {
    height: 159px;
    width: 266px;
  }

  /* wrapper com os 3 svgs */
  .douroDesignSection .vc_row .wpb_column:nth-child(1) > div > div {
    padding-right: 32px;
  }
  .douroDesignSection .vc_row .wpb_column:nth-child(1) img {
    width: auto;
    height: 364px;
  }
  /* texto por cima do botao */
  .poloCosmopolitaSection .wpb_text_column,
  .douroDesignSection
    > .wpb_column
    > .vc_column-inner
    > .wpb_wrapper
    .wpb_text_column {
    /* max-width: 430px; */
    max-width: 860px;
  }

  .poloCosmopolitaSection .wpb_text_column p {
    font-size: 22px;
  }
  .poloCosmopolitaSection .wpb_text_column {
    max-width: 1000px;
  }

  /* ------- douroDesignGridSection */
  .douroDesignGridSection {
    max-width: 1200px;
  }

  .douroDesignGridSection img {
    /* width: 164px !important; */
    height: 167px !important;
  }

  .douroDesignGridSection .vc_col-sm-4 img {
    width: 100% !important;
    height: 381px !important;
  }

  .plusButton img {
    width: 30px;
    height: 30px;
  }

  /* ------- mobilidadeSection */

  /* MOBILIDADE GALERIA */
  .mobilidadeSection {
    padding-inline: calc(var(--padding-inline));
  }

  .mobilidadeGalerySection img {
    height: 400px !important;
  }

  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  .mobilidadeAnimacaoSection h2.vc_custom_heading {
    margin-top: -30px;
  }
  .mobilidadeAnimacaoSection > div > div {
    border-top-left-radius: 350px;
    border-top-right-radius: 350px;
  }

  .mobilidades-filter-wrapper {
    margin-top: 80px;
    margin-bottom: 170px;
  }

  .mobilidade-filter-btn {
    width: 70px;
    gap: 20px;
  }

  .mobilidade-filter-btn div:has(img)::before {
    height: 65px;
    width: 65px;
  }

  .mobilidade-filter-btn img.mobilidade-icon {
    max-width: 40px;
    height: 30px;
  }

  /* SLIDER COM AS MOBILIDADES */
  .mobilidades-slider-wrapper {
    margin-top: 10px;
    max-width: 900px;
  }

  #mobilidade-slider-ticks {
    margin-top: -141px;
    pointer-events: none;
  }
  .tick-text,
  .mobilidade-filter-btn span {
    font-size: 14px;
  }
  /* .mobilidade-tick .dot {

    width: 84px;
    height: 84px;

    transform: scale(0.071) translateZ(0);
    -webkit-transform: scale(0.071) translateZ(0);
  } */

  .mobilidade-tick.active .tick-min * {
    color: var(--white);
  }

  .min-number {
    font-size: 24px;
  }

  .min-text {
    font-size: 16px;
    line-height: 22px;
  }

  /* ========================================================================== */
  /*                               GALERIA                                      */
  /* ========================================================================== */
  /* --- Masonry Container --- */
  .js-masonry {
    max-width: 1440px; /* Adjust as needed */
  }

  /* --- Masonry Item (The Image Wrapper) --- */
  .item-masonry {
    /* This defines the base column width (3 items across) */
    width: calc(50% - 20px); /* 10px gutter on each side = 20px total */
    margin-bottom: 40px; /* Vertical spacing between items */

    padding: 0 20px; /* Half of the gutter width for left/right spacing */
  }

  .filter-options {
    max-width: 991px;
    gap: 60px;
  }
  .filter-options .filter-button {
    padding-block: 20px;
  }

  /* ========================================================================== */
  /*                               FOLLOW                                       */
  /* ========================================================================== */

  .noticias-listagem {
    gap: 34px;
  }
  .noticia-item .noticia-thumbnail img {
    height: 234px;
  }

  h2.noticia-title {
    font-size: 20px;
  }

  .noticia-item .noticia-content {
    margin-top: 24px;
    gap: 15px;
  }
  .noticia-categories span {
    font-size: 17px;
  }

  .noticia-item .date {
    font-size: 16px;
  }

  /* ========================================================================== */
  /*                             	Legal Pages    		                          */
  /* ========================================================================== */
  .legalPage {
    padding-bottom: 200px;
    padding-top: 80px;
  }

  .legalPage p {
    font-size: 18px;
    line-height: 150%;
  }

  .legalContent {
    padding-top: 0px;
  }
  .legalPage > div {
    margin-left: 140px;
  }

  .legalPage h1 {
    padding-bottom: 32px;
  }
  .legalPage h2 {
    font-size: 28px;
    line-height: 150%;
    margin-top: 32px;
  }

  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */
  .followDetailButtonWrapper {
    padding-bottom: calc(var(--paddingVert) + 100px);
  }

  .single-post h1,
  .newsContent > div {
    margin-left: 318px;
  }
  .post-date {
    margin-top: 24px;
  }

  .newsContent h2,
  .newsContent h3 {
    font-size: 24px;
  }

  .newsHeroSection .swiper-button-next:after,
  .newsHeroSection .swiper-button-prev:after {
    display: none !important;
  }

  .newsHeroSection .swiper {
    max-height: 700px;
  }

  main .vc_row.verticalPadding:last-child:not(.apartamentosSmallGallery) {
    padding-bottom: calc(var(--paddingVert) + 70px);
  }
}

@media only screen and (max-width: 1440px) {
  h1,
  h2,
  h2 span,
  .poloCosmopolitaSection .vc_custom_heading {
    font-size: 58px;
  }
  /* --------------------- BUTTONS --------------------- */
  button.mainButton,
  .vc_btn3-container.mainButton a {
    padding: 10px 20px;
    font-size: 10px;
  }
  .vc_btn3-container.mainButton.arrow a {
    font-size: 14px;
    gap: 16px;
  }
  .vc_btn3-container.mainButton.arrow a::after {
    height: 13px;
    width: 13px;
  }
  .quform-element-submit button span {
    font-size: 10px !important;
  }
  .quform-element-submit button {
    padding: 10px 40px;
  }
  .quform-element-submit {
    vertical-align: bottom;
    margin: 0px 0;
  }

  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */

  /* SECAO COM FORMULARIO DE CONTACTO */

  #contactos .quform {
    padding: 40px 34px 32px;
  }

  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */
  /********     inspiradoTradicaoSection    ********/

  .inspiradoTradicaoSection img {
    height: 450px !important;
  }
  .inspiradoTradicaoSection .wpb_text_column {
    margin-top: 20px;
    /* max-width: 410px; */
    max-width: 610px;
  }

  .inspiradoTradicaoSection .vc_custom_heading {
    /* max-width: 500px; */
    margin-bottom: -9px;
    font-size: 64px;
  }

  .inspiradoTradicaoSection .mainButton {
    margin-top: 20px;
  }

  /********     verApartamentosSlideSection     ********/
  .normal-slidesection {
    max-width: 1100px;
  }
  .slide-homepage-imagem img,
  .slide-homepage-imagens {
    width: calc(812px * 0.8);
    height: calc(716px * 0.8);
  }

  /* RIGHT — texto + botão */
  .titleButtonWrapper {
    padding-left: 32px;
  }

  .slide-homepage-frase {
    width: 320px;
    font-size: 52px;
    margin-bottom: 130px;
  }
  /********     vistaHistoricaSection     ********/
  .vistaHistoricaSection {
    padding-top: calc(var(--paddingVert) + 30px);
    padding-bottom: calc(var(--paddingVert) + 80px);
  }
  .vistaHistoricaSection .vc_custom_heading {
    /* margin-block: 0px 40px; */
  }

  .vistaHistoricaSection .wpb_single_image {
    max-width: 850px;
  }
  .vistaHistoricaSection img {
    /* height: 933px !important; */
    height: 420px !important;
  }
  .vistaHistoricaSection .wpb_text_column {
    margin-block: 20px !important;
    /* max-width: 510px; */
    max-width: 550px;
  }

  /********     localizacaoPrivilegiadaSection    ********/
  .localizacaoPrivilegiadaSection {
    min-height: 600px;
    padding-inline: 200px;
    padding-block: 0px 120px;
  }

  .localizacaoPrivilegiadaSection p {
    margin-block: 24px !important;
  }
  .localizacaoPrivilegiadaSection .vc_custom_heading {
    margin-top: 0px;
  }

  .localizacaoPrivilegiadaSection .vc_column-inner {
    margin-top: -43px;
  }

  .localizacaoPrivilegiadaSection > div {
    max-width: 572px;
  }
  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  /*-------- masterplanSection --------*/
  .masterplan-wrapper {
    width: 991px;
    margin-inline: auto;
    padding-bottom: 5vw;
    margin-bottom: 4vw;
  }

  .masterplan-text-area {
    top: -20px;
    height: 200px;
    padding: 40px;
    width: 570px;
  }

  /* .masterplan-text-area p {
    max-width: 320px;
  } */

  .masterplan-label {
    transform: translateX(-50%) translateY(10px);
    font-size: 12px;
  }

  .masterplan-label.label-up {
    transform: translateX(-50%) translateY(-24px);
  }

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  /* ------ apartamentosCurvedSection ------- */
  /* ------ conceitoApartamentosSection ------- */
  /* ------ tabelaApartamentosSection ------- */

  /* ------ lastSection ------- */
  .lastSection {
    max-height: 700px;
  }

  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */

  .legalPage h1 {
    padding-bottom: 0px;
  }

  .legalPage > div {
    max-width: unset;
    padding-left: 140px;
    margin-left: 0px;
  }
}

/* Media query para menu hamburguer */
@media print, screen and (max-width: 1250px) {
  /* ========================================================================== */
  /*                             	Legal Pages    		                          */
  /* ========================================================================== */
  .legalPage {
    padding-bottom: 200px;
  }

  .legalPage > div {
    padding-left: 60px;
  }

  .legalPage h1 {
    padding-bottom: 24px;
  }
  .legalPage h2 {
    font-size: 28px;
    margin-top: 24px;
  }
}

/* Media query para menu hamburguer */
@media print, screen and (max-width: 1200px) {
  :root {
    --padding-inline: 40px;
    --paddingVert: 70px;
  }
  /* definitions */

  #contactos h2 {
    font-size: 30px;
    margin-bottom: 22px;
  }

  h3,
  h4,
  h5,
  h6 {
    font-size: 24px;
  }
  h4,
  h5,
  h6 {
    font-size: 20px;
  }

  p,
  a,
  label,
  li,
  span,
  button {
    font-size: 14px;
  }

  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  /* ARROWS */
  .swiper-controls-wrapper {
    width: 991px;
  }
  /*-------- masterplanSection --------*/
  /* .masterplanSection {
    padding-inline: var(--padding-inline);
  } */
  .masterplanSection {
    padding-inline: 0px;
  }
  .masterplan-wrapper {
    width: 770px;
    padding-bottom: 5vw;
    margin-bottom: 2vw;
  }
  .masterplan-text-area {
    top: -50px;
    height: 200px;
    padding: 24px;
    width: 430px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
  }
  .masterplan-text-area p {
    max-width: 280px;
  }
  .masterplan-label {
    transform: translateX(-50%) translateY(10px);
    font-size: 10px;
    letter-spacing: 3.4px;
  }

  .masterplan-label.label-up {
    transform: translateX(-50%) translateY(-24px);
  }

  .masterplanSection .wpb_text_column {
    padding-top: 0px;
    /* max-width: 430px; */
    max-width: 550px;
  }

  /*-------- espacosRespiramSection --------*/

  .espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner {
    min-height: 450px;
    padding: 24px;
  }

  .espacosRespiramSection .wpb_column .vc_column-inner .wpb_text_column {
    max-width: 370px;
  }

  /* titulo */
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton)
    .vc_custom_heading {
    font-size: 22px;
  }
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton) {
    padding: 10px;
    padding-bottom: 0px;
  }

  /*-------- arteViverSection --------*/
  .arteViverSection {
    min-height: 730px;
  }

  .arteViverSection .wpb_text_column {
    max-width: 450px;
  }
  .espacosRespiramSection .vc_btn3-container.mainButton.arrow a {
    font-size: 14px;
  }

  /*-------- arteViverSection --------*/
  .arteViverSection {
    min-height: 550px;
  }

  .arteViverSection .wpb_text_column {
    max-width: 380px;
  }
  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  /* ------ apartamentosCurvedSection ------- */
  /* wrapper com texto */
  .apartamentosCurvedSection .vc_column-inner {
    padding-inline: 30px !important;
    z-index: 2;
    padding-top: 82px;

    max-width: unset !important;
    width: 100% !important;
  }

  /* ------ conceitoApartamentosSection ------- */
  /* ------ tabelaApartamentosSection ------- */
  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */

  .mapaSection h2 {
    font-size: 34px;
    padding-inline: 35px;
  }
  /* circunferencia veremlha */
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 230px;
    height: 230px;
  }
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(230px / 2);
    height: calc(230px / 2);
  }

  .mapaSection .vc_row .wpb_column:nth-child(2) .wpb_wrapper {
    max-width: 460px;
  }

  /* ========================================================================== */
  /*                               FOLLOW                                       */
  /* ========================================================================== */
  .noticias-listagem {
    gap: 24px;
  }
  .noticia-item .noticia-thumbnail img {
    height: 200px;
  }

  h2.noticia-title {
    font-size: 18px;
  }

  .noticia-item .noticia-content {
    margin-top: 18px;
    gap: 14px;
  }
  .noticia-categories span {
    font-size: 16px;
  }

  .noticia-item .date {
    font-size: 14px;
  }

  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */
  .followDetailButtonWrapper {
    padding-bottom: calc(var(--paddingVert) + 50px);
  }

  .single-post h1,
  .newsContent > div {
    margin-left: 170px;
  }

  .newsHeroSection .swiper {
    max-height: 600px;
  }
}

/*tablet landscape or old laptop */
@media print, screen and (max-width: 1100px) {
  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  /* SLIDER COM AS MOBILIDADES */
  .mobilidades-slider-wrapper {
    margin-top: 10px;
    max-width: 800px;
    padding-inline: 40px;
  }

  .mobilidade-tick {
    width: 80px;
  }
}

/*tablet landscape or old laptop */
@media print, screen and (max-width: 1024px) {
  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  /* ------ conceitoApartamentosSection ------- */
  #conceitoApartamentos {
    padding-right: 30px;
  }

  /* wrapper com botoes */
  .conceitos-buttons {
    gap: 20px;
    margin-bottom: 50px;
  }
  .conceito-icon {
    height: 22px;
    margin-bottom: 14px;
  }

  .conceito-title {
    font-size: 14px;
  }

  .conceito-slide-wrapper {
    gap: 24px;
  }

  .conceito-slide-featured {
    width: 65vw;
    height: 450px;
  }

  /* Floating titles */
  .floating-titles {
    top: 76px;
    left: 40px;
    transform: translateX(0%);
  }
  .conceitos-texto {
    font-size: 32px;
  }
  /* ------ tabelaApartamentosSection ------- */
  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */

  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */
}

/* Size considerado para Tablet */
@media only screen and (max-width: 991px) {
  :root {
    --paddingVert: 50px;

    --padding-inline: 40px;
  }
  /* definitions */
  h1,
  h2,
  h2 span,
  .poloCosmopolitaSection .vc_custom_heading {
    font-size: 50px;
  }

  #contactos h2 {
    /* font-size: 30px; */
    margin-bottom: 18px;
  }

  h3,
  h4,
  h5,
  h6 {
    font-size: 22px;
  }
  h4,
  h5,
  h6 {
    font-size: 20px;
  }
  .backgroundVideo .container-video video,
  .backgroundVideo .container-video img {
    max-height: unset;
    height: 100dvh !important;
    min-height: unset;
  }

  /* ========================================================================== */
  /*                               HEADER                                       */
  /* ========================================================================== */

  header .mobile-menu-wrapper a::before,
  header .mobile-menu-wrapper a::after {
    width: 75px;
  }

  header .mobile-menu-wrapper a::after {
    left: -60px;
  }

  header .mobile-menu-wrapper a::before {
    right: -60px;
  }

  /* menu mobile */
  .menu-mobile {
    padding-top: 40px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 80px;
  }

  a.mobile-logo img {
    width: 180px;
    height: auto;
    object-fit: contain;
  }

  .menu-mobile ul {
    gap: 24px;
  }

  .menu-mobile ul li a {
    font-size: 30px;
  }

  .wrapper-header.active img {
    transform: translate(-20px, 20px) rotate(180deg);
  }

  .default-header-logo {
    top: 30px;
    left: 30px;
  }

  .default-header-logo img {
    height: calc(37px * 0.7);
    width: calc(211px * 0.7);
  }

  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */
  .quform-1 .quform-spacer,
  .quform-1 .quform-element-group.quform-group-style-bordered > .quform-spacer,
  .quform-1 .quform-group-style-bordered > .quform-child-elements {
    padding-bottom: 18px;
  }

  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */
  /********     inspiradoTradicaoSection    ********/
  .inspiradoTradicaoSection img {
    height: 320px !important;
  }
  .inspiradoTradicaoSection .wpb_text_column {
    max-width: 530px;
  }

  .inspiradoTradicaoSection .vc_custom_heading {
    /* max-width: 500px; */
    font-size: 50px;
  }
  /********     vistaHistoricaSection     ********/
  .vistaHistoricaSection {
    padding-top: calc(var(--paddingVert) + 0px);
    padding-bottom: calc(var(--paddingVert) + 40px);
  }
  .vistaHistoricaSection .wpb_text_column {
    /* margin-top: 20px !important; */
    max-width: 445px;
  }

  .inspiradoTradicaoSection .vc_custom_heading {
    margin-bottom: -7px;
  }

  /********     verApartamentosSlideSection     ********/
  .normal-slidesection {
    max-width: 700px;
  }
  .slide-homepage-imagem img,
  .slide-homepage-imagens {
    width: calc(812px * 0.5);
    height: calc(716px * 0.5);
  }

  /* RIGHT — texto + botão */
  .titleButtonWrapper {
    padding-left: 24px;
  }

  .slide-homepage-frase {
    width: 235px;
    font-size: 38px;
    margin-bottom: 60px;
  }

  .swiper-progress-wrapper {
    height: 60px;
    left: -15px;
  }

  /********     localizacaoPrivilegiadaSection    ********/
  .localizacaoPrivilegiadaSection {
    min-height: 450px;

    padding-inline: var(--padding-inline);
    padding-block: 0px 150px;
  }

  .localizacaoPrivilegiadaSection .vc_column-inner {
    margin-top: -37px;
  }

  .localizacaoPrivilegiadaSection > div {
    max-width: 493px;
  }
  .localizacaoPrivilegiadaSection p {
    max-width: 380px;
  }
  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_wrapper {
    width: 100%;
  }

  .bakeryButtonsWrapper .vc_column-inner {
    padding: 0px !important;
  }

  .galeriaSlideSection .swiper-slide .vc_single_image-wrapper {
    max-width: unset;
    width: 100%;
  }
  .galeriaSlideSection img {
    height: 450px !important;
    width: 100% !important;
  }

  /* ARROWS */
  .swiper-controls-wrapper {
    width: 100%;
    padding: 0px 15px;
  }
  /*-------- masterplanSection --------*/

  /*-------- espacosRespiramSection --------*/

  .espacosRespiramSection > .wpb_column:nth-child(2) img {
    height: 250px !important;
  }
  .espacosRespiramSection img {
    height: 250px !important;
  }
  .espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner {
    min-height: 400px;
    padding: 18px;
  }

  /* titulo */
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton)
    .vc_custom_heading {
    font-size: 20px;
  }

  .espacosRespiramSection .vc_row {
    row-gap: 30px;
  }

  .arteViverSection.vc_row-has-fill {
    background-position: 90% !important;
  }
  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  .apartamentosRow.heroSectionRow .poster-only img {
    object-position: 96%;
  }
  /* ------ conceitoApartamentosSection ------- */
  /* ------ tabelaApartamentosSection ------- */
  /* ------ apartamentosSmallGallery ------- */

  .apartamentosSmallGallery img {
    height: 409px !important;
  }

  .apartamentosSmallGallery .mainButton {
    margin-top: 24px;
  }
  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */
  .mapaSection .vc_row {
    top: 30px;
  }
  .mapaSection h2 {
    font-size: 28px;
    padding-inline: 24px;
  }

  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 200px;
    height: 200px;
  }

  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(200px / 2);
    height: calc(200px / 2);
  }

  .poloCosmopolitaSection {
    padding-inline: 50px;
  }

  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  .mobilidadeAnimacaoSection > div > div {
    border-top-left-radius: 300px;
    border-top-right-radius: 300px;
  }

  /* ========================================================================== */
  /*                               GALERIA                                      */
  /* ========================================================================== */
  /* --- Masonry Container --- */
  .js-masonry {
    max-width: unset; /* Adjust as needed */
  }
  .galeria-images {
    left: 20px;
    position: relative;
  }

  /* --- Masonry Item (The Image Wrapper) --- */
  .item-masonry {
    width: calc(50% - 15px); /* 10px gutter on each side = 20px total */
    margin-bottom: 30px; /* Vertical spacing between items */
    padding: 0 15px; /* Half of the gutter width for left/right spacing */
  }

  /* ========================================================================== */
  /*                               FOLLOW                                       */
  /* ========================================================================== */
  .noticias-listagem {
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
  }
  .noticia-item .noticia-thumbnail img {
    height: 300px;
  }

  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */
  .followDetailButtonWrapper {
    padding-bottom: calc(var(--paddingVert) + 50px);
  }

  .single-post h1,
  .newsContent > div {
    margin-left: 100px;
  }

  .newsHeroSection .swiper {
    max-height: 500px;
  }

  main .vc_row.verticalPadding:last-child:not(.apartamentosSmallGallery) {
    padding-bottom: calc(var(--paddingVert) + 50px);
  }
}
/* Size considerado para Tablet modo portrait*/
@media only screen and (max-width: 767.5px) {
  /* ========================================================================== */
  /*                               HEADER                                       */
  /* ========================================================================== */

  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */
  .footerWrapper {
    gap: 40px;
  }
  .footer-main-menu-wrapper {
    margin-bottom: 0px;
  }
  .footer-main-menu-wrapper a {
    font-size: 18px;
  }

  .footer-main-menu-wrapper ul {
    gap: 20px;
    flex-direction: column;
  }

  .phone-link {
    font-size: 40px;
    margin-block: 0px;
  }
  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */
  /********     verApartamentosSlideSection     ********/
  .normal-slidesection {
    max-width: unset;
  }
  .slide-homepage-imagem img,
  .slide-homepage-imagens {
    width: calc(812px * 0.4);
    height: calc(716px * 0.4);
  }
  .titleButtonWrapper {
    padding-left: 18px;
  }
  .slide-homepage-frase {
    width: 185px;
    font-size: 30px;
    margin-bottom: 50px;
  }
  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  /*-------- masterplanSection --------*/
  .masterplanSection {
    padding-inline: var(--padding-inline);
  }

  .masterplan-wrapper {
    width: 100%;
    padding-bottom: 10vw;
    margin-bottom: 4vw;
  }
  .masterplan-text-area {
    top: -12vw;
    left: 20px;

    height: 30vw;
    padding: 30px;
    padding-right: 13%;
    width: 65%;
  }
  .masterplan-text-area p {
    max-width: 280px;
    font-size: clamp(10px, 2vw, 9999px);
  }

  .masterplan-label {
    transform: translateX(-50%) translateY(10px);
    font-size: clamp(10px, 2vw, 9999px);
    width: min-content;
    letter-spacing: 2.7px;
  }
  .masterplan-label.label-up {
    transform: translateX(-50%) translateY(-24px);
  }

  .masterplanSection .wpb_text_column {
    max-width: 430px;
  }

  /*-------- espacosRespiramSection --------*/

  .espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner {
    min-height: 320px;
  }
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton) {
    padding: 0px;
  }
  /* titulo */
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton)
    .vc_custom_heading {
    font-size: 30px;
    max-width: 350px;
    margin-bottom: 18px;
  }

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */

  /* ------ conceitoApartamentosSection ------- */
  #conceitoApartamentos {
    padding-right: 15px;
  }
  .conceito-slide-wrapper {
    flex-direction: column;
  }
  /* wrapper com botoes */
  .conceitos-buttons {
    gap: 20px;
    margin-bottom: 50px;
  }

  .conceito-slide-featured {
    width: 100%;
    height: 300px;
  }

  .conceito-right {
    padding-bottom: 00px;
  }
  #conceitoApartamentos > div > div {
    padding-left: 15px;
  }
  /* Floating titles */
  .floating-titles {
    top: 76px;
    left: 40px;
  }
  .conceitos-texto {
    font-size: 32px;
  }
  /* ------ tabelaApartamentosSection ------- */
  /* ------ lastSection ------- */
  .lastSection {
    max-height: 550px;
  }

  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */

  /* .mapaSection h2 {
    font-size: 34px;
    padding-inline: 30px;
  } */
  /* circunferencia veremlha */
  /* .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 220px;
    height: 220px;
  }
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(220px / 2);
    height: calc(220px / 2);
  } */

  .mapaSection .vc_row .wpb_column:nth-child(2) .wpb_wrapper {
    max-width: unset;
    padding-inline: 0px;
  }

  /* ------- douroDesignSection */
  .douroDesignSection .vc_row {
    margin-bottom: 32px;
  }
  /* wrapper com os 3 svgs */
  .douroDesignSection .vc_row .wpb_column:nth-child(2) > div {
    padding-left: 15px;
  }
  #douroDistrictSVG svg {
    height: 135px;
    width: 226px;
  }

  /* wrapper com os 3 svgs */
  .douroDesignSection .vc_row .wpb_column:nth-child(1) > div > div {
    padding-right: 15px;
  }
  .douroDesignSection .vc_row .wpb_column:nth-child(1) img {
    width: auto;
    height: 309px;
  }
  /* texto por cima do botao */
  .poloCosmopolitaSection .wpb_text_column,
  .douroDesignSection
    > .wpb_column
    > .vc_column-inner
    > .wpb_wrapper
    .wpb_text_column {
    max-width: 500px;
    margin-bottom: 18px !important;
  }

  .poloCosmopolitaSection .wpb_text_column p {
    font-size: 18px;
  }

  /* ------- douroDesignGridSection */
  .douroDesignGridSection {
    max-width: unset;
  }

  .douroDesignGridSection img {
    /* width: 100% !important; */
    height: 130px !important;
  }

  .douroDesignGridSection .vc_col-sm-4 img {
    width: 100% !important;
    height: 235px !important;
  }

  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  .mobilidadeAnimacaoSection > div > div {
    border-top-left-radius: 120px;
    border-top-right-radius: 120px;
  }

  .mobilidadeGalerySection img {
    margin-bottom: 20px;
  }

  .mobilidadeGalerySection .vc_row {
    margin-bottom: 0px;
  }

  .mobilidadeGalerySection .vc_row .wpb_column:nth-child(1) > .vc_column-inner {
    padding-right: 15px;
  }
  .mobilidadeGalerySection .vc_row .wpb_column:nth-child(2) > .vc_column-inner {
    padding-left: 15px;
  }

  /* ========================================================================== */
  /*                               GALERIA                                      */
  /* ========================================================================== */
  .filterText,
  .bakeryButtonsWrapper .mainButton button {
    font-size: 10px !important;
  }
  .galeria-images {
    left: -20px;
    width: 100vw;
  }

  /* --- Masonry Item (The Image Wrapper) --- */
  .item-masonry {
    width: calc(50% - 15px); /* 10px gutter on each side = 20px total */
    margin-bottom: 30px; /* Vertical spacing between items */

    padding: 0 15px; /* Half of the gutter width for left/right spacing */
  }

  .filter-options {
    max-width: unset;
    gap: 18px;
  }
  .filter-options .filter-button {
    padding-block: 15px;
  }

  /* ========================================================================== */
  /*                               FOLLOW                                       */
  /* ========================================================================== */
  .noticias-category-filter.filter-mobile {
    margin-bottom: calc(var(--paddingVert) - 10px);
  }
  .noticias-category-filter select {
    background-color: transparent !important;
  }
  /* ========================================================================== */
  /*                             	Legal Pages    		                          */
  /* ========================================================================== */
  .legalPage {
    padding-bottom: 150px;
  }

  .legalPage > div {
    padding-left: 0px;
  }

  .legalPage h1 {
    padding-bottom: 18px;
  }
  .legalPage h2 {
    font-size: 24px;
    margin-top: 18px;
  }

  .legalPage .vc_custom_heading.sideLines .leftLine {
    left: -20px;
  }

  .legalPage .vc_custom_heading.sideLines .rightLine {
    right: -60px;
    transform: translateX(100%);
  }

  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */

  .single-post h1,
  .newsContent > div {
    margin-left: 0px;
  }

  /* circunferencia veremlha */
  .mapaSection .vc_row {
    top: 30px;
  }

  .mapaSection img {
    height: 1200px !important;
    object-position: 45%;
    object-fit: cover;
  }
  .mapaSection .vc_row .wpb_column:nth-child(2) > div > .wpb_wrapper {
    padding: 10px;
  }

  .mapaSection .wpb_single_image {
    margin-top: -150px;
  }

  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .vc_row
    > div
    > .vc_column-inner {
    padding-inline: 15px;
  }

  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .vc_row
    > div
    > .vc_column-inner {
    padding-inline: 15px;
  }
  .espacosRespiramSection > .wpb_column:nth-child(2) {
    margin-bottom: 22px;
  }
}

@media only screen and (max-width: 600px) {
  /* definitions */
  h1,
  h2,
  h2 span,
  .poloCosmopolitaSection .vc_custom_heading {
    font-size: 40px;
  }
  /* ========================================================================== */
  /*                               HEADER                                       */
  /* ========================================================================== */
  .wrapper-header img {
    width: 20px;
    height: 20px;
  }
  .wrapper-header::after {
    width: 100px;
    height: 100px;
    transform: translate(-45%, -55%);
  }
  .wrapper-header:hover::after {
    width: 120px;
    height: 120px;
  }

  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */
  #contactos .quform {
    padding: 24px;
  }
  /* ========================================================================== */
  /*                               TEIMOSOS                                     */
  /* ========================================================================== */
  .menu-teimoso-fixedWrapper a {
    padding: 7px;
  }
  .menu-teimoso-fixedWrapper img {
    width: 18px;
    height: 18px;
  }
  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */
  #heroFixedLogo {
    top: calc(50% - 120px);
  }
  #heroFixedLogo img {
    width: 200px;
    height: auto;
  }

  #heroFixedLogo.logoFixed img {
    width: 170px;
    height: auto;
  }

  /* scroll down element */
  #scrollDownElement {
    font-size: 13px;
    line-height: 20px; /* 150% */
  }

  /********     vistaHistoricaSection     ********/
  .vistaHistoricaSection img {
    height: 320px !important;
  }
  .vc_custom_heading.sideLines .leftLine {
    left: -20px;
  }
  .vc_custom_heading.sideLines .rightLine {
    right: -20px;
  }

  /********     inspiradoTradicaoSection    ********/
  .inspiradoTradicaoSection img {
    height: 280px !important;
  }

  .inspiradoTradicaoSection .vc_custom_heading {
    /* max-width: 350px; */
    margin-bottom: -6px;
    font-size: 40px;
  }

  /********     localizacaoPrivilegiadaSection    ********/

  /* .localizacaoPrivilegiadaSection .vc_custom_heading {
    top: -30px;
  } */
  .localizacaoPrivilegiadaSection .vc_column-inner {
    margin-top: -30px;
  }

  .localizacaoPrivilegiadaSection > div {
    max-width: 394px;
  }
  .localizacaoPrivilegiadaSection p {
    max-width: 320px;
  }
  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */

  /*-------- galeriaSlideSection --------*/
  .bakeryButtonsWrapper .mainButton button {
    white-space: nowrap;
  }

  .bakeryButtonsWrapper .vc_column-inner {
    padding: 0px !important;
  }
  .galeriaSlideSection img {
    height: 370px !important;
    width: 100% !important;
  }
  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column {
    bottom: 20px;
    left: 20px;
  }

  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column {
    width: 95%;
  }
  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column p {
    font-size: 14px;
  }

  .bakeryButtonsWrapper .vc_column-inner > .wpb_wrapper {
    display: flex;
    justify-content: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;

    /* 1. Hide scrollbar in Firefox */
    scrollbar-width: none;
  }

  /* 2. Hides scrollbar on iPhone (iOS/WebKit) and Chrome/Safari */
  .bakeryButtonsWrapper .vc_column-inner > .wpb_wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent; /* Ensures no residual background from the scrollbar track */
  }

  /* ARROWS */
  .swiper-controls-wrapper {
    width: 100%;
    padding: 0px 15px;
  }

  /*-------- masterplanSection --------*/

  .arteViverSection .vc_custom_heading {
    margin-bottom: 18px;
  }

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */

  /* ------ apartamentosCurvedSection ------- */
  .apartamentosCurvedSection {
    margin-block: 70px;
  }

  /* wrapper com texto */
  .apartamentosCurvedSection .vc_column-inner {
    padding-top: 50px;
  }

  /* titulo */
  .apartamentosCurvedSection .vc_custom_heading {
    margin-bottom: 24px;
  }

  /* texto */
  .apartamentosCurvedSection .wpb_text_column {
    max-width: 90%;
  }
  /* ------ conceitoApartamentosSection ------- */
  .conceito-icon {
    height: 16px;
    margin-bottom: 10px;
  }
  .conceito-title {
    font-size: 12px;
  }

  .conceitos-texto.conceitos-texto-2 {
    filter: drop-shadow(1px 1px 8px white);
  }
  .conceitos-buttons {
    gap: 15px;
  }
  .floating-titles {
    top: 63px;
    left: 20px;
  }

  .conceito-slide-featured {
    width: 100%;
    height: 300px;
  }

  /* ------ tabelaApartamentosSection ------- */
  /* ------ apartamentosSmallGallery ------- */

  .apartamentosSmallGallery img {
    height: 300px !important;
  }

  .apartamentosSmallGallery .mainButton {
    margin-top: 12px;
  }
  /* ------ lastSection ------- */
  .lastSection {
    max-height: 400px;
  }
  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */

  .mapaSection h2 {
    font-size: 28px;
    padding-inline: 20px;
  }
  /* circunferencia veremlha */
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 180px;
    height: 180px;
  }
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(180px / 2);
    height: calc(180px / 2);
  }

  /* ------- douroDesignSection */
  .douroDesignSection .vc_row {
    margin-bottom: 24px;
  }
  #douroDistrictSVG svg {
    height: 115px;
    width: 192px;
  }
  .douroDesignSection .vc_row .wpb_column:nth-child(1) > div > div {
    gap: 15px;
  }

  .douroDesignSection .vc_row .wpb_column:nth-child(1) img {
    width: auto;
    height: 213px;
  }

  /* ------- douroDesignGridSection */

  .douroDesignGridSection img {
    /* width: 100% !important; */
    height: 100px !important;

    border-top-left-radius: 5px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 5px;
  }

  .douroDesignGridSection .vc_col-sm-4 img {
    width: 100% !important;
    height: 180px !important;
  }

  /* ------- mobilidadeSection */

  .mobilidadeGalerySection img {
    height: 300px !important;
  }
  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  .mobilidadeAnimacaoSection > div > div {
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
  }

  .mobilidades-filters {
    gap: 10px;
  }

  .mobilidade-filter-btn img.mobilidade-icon {
    max-width: 46px;
    height: 30px;
  }

  .mobilidade-filter-btn div:has(img)::before {
    height: 65px;
    width: 65px;
  }
  .mobilidade-filter-btn {
    width: 70px;
    gap: 20px;
  }

  .min-number {
    font-size: 18px;
    line-height: 1;
  }
  .min-text {
    font-size: 12px;
    line-height: 1.2;
  }

  div#mobilidade-slider {
    padding-block: 60px;
  }

  .mobilidade-tick .dot {
    width: 55px;
    height: 55px;
  }
  #mobilidade-slider-ticks {
    margin-top: -87px;
  }
  .tick-text {
    /* margin-top: 30px; */
    font-size: 12px;
  }
  .mobilidade-tick.active .tick-min {
    top: 30px;
  }
  .mobilidades-slider-wrapper {
    padding-inline: 20px;
  }
  /* ========================================================================== */
  /*                               GALERIA                                      */
  /* ========================================================================== */
  .filterText,
  .bakeryButtonsWrapper .mainButton button {
    font-size: 10px !important;
  }
  .galeria-images {
    left: -33px;
  }

  /* --- Masonry Item (The Image Wrapper) --- */
  .item-masonry {
    width: calc(50% - 10px); /* 10px gutter on each side = 20px total */
    margin-bottom: 20px; /* Vertical spacing between items */

    padding: 0 10px; /* Half of the gutter width for left/right spacing */
  }

  .filter-options,
  .bakeryButtonsWrapper .vc_column-inner > .wpb_wrapper {
    max-width: unset;
    gap: 40px;
  }
  .filter-options .filter-button {
    padding-block: 15px;
  }

  /* ========================================================================== */
  /*                               FOLLOW                                       */
  /* ========================================================================== */

  .noticias-listagem {
    gap: 30px;
    grid-template-columns: 1fr;
  }
  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */
  .newsContent h2,
  .newsContent h3 {
    font-size: 20px;
  }
  .single-post h1,
  .newsContent > div {
    margin-left: 0px;
  }

  .newsHeroSection .swiper {
    max-height: 350px;
  }

  .default-header-logo {
    top: 20px;
    left: 10px;
  }

  .default-header-logo img {
    height: calc(37px * 0.6);
    width: calc(211px * 0.6);
  }

  /********     verApartamentosSlideSection     ********/

  .slide-homepage-imagem img,
  .slide-homepage-imagens {
    width: calc(812px * 0.35);
    height: calc(716px * 0.35);
  }
  .titleButtonWrapper {
    padding-left: 18px;
  }
  .slide-homepage-frase {
    width: 160px;
    font-size: 26px;
    margin-bottom: 40px;
  }
  /* .swiper-progress-wrapper {
    position: absolute;
    left: 0px !important;
    top: -10px;
    transform: rotate(-90deg);
    transform-origin: top;
    height: calc(100vw - var(--padding-inline) * 2) !important;
  } */

  .verApartamentosSlideSection .swiper-pagination-bullet {
    width: 20px;
    height: 3px;
  }
}
@media only screen and (max-width: 500px) {
  :root {
    --padding-inline: 15px;
    --paddingVert: 40px;
  }
  /* definitions */
  h1,
  h2,
  h2 span,
  .poloCosmopolitaSection .vc_custom_heading {
    font-size: 34px;
  }
  /* ========================================================================== */
  /*                               HEADER                                       */
  /* ========================================================================== */

  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */

  /* imagem */
  .inspiradoTradicaoSection img {
    height: 320px !important;
  }
  /*efetito correcto do mixblendmode */
  #inspiradoTradicaoFloater,
  .wpb_raw_html:has(.mix-blend-mode-bg) {
    padding: 30px 24px;
    left: 15px;
    top: 110px;
    width: 350px;
  }
  /* tipo de font */
  .wpb_raw_html:has(.mix-blend-mode-bg) p,
  #inspiradoTradicaoFloater .wpb_wrapper p {
    font-size: 36px;
  }

  .inspiradoTradicaoSection .wpb_column:nth-child(3) .mainButton {
    margin-top: 18px;
  }

  .vistaHistoricaSection img {
    height: 280px !important;
  }

  .vistaHistoricaSection .vc_custom_heading {
    /* margin-block: 0px 18px; */
  }

  /********     verApartamentosSlideSection     ********/
  .normal-slidesection {
    max-width: unset;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .slide-homepage-imagem img,
  .slide-homepage-imagens {
    width: calc(100vw - var(--padding-inline) * 2);
    height: 250px;
  }

  .slide-homepage-frase {
    width: unset;
    font-size: 24px;
    margin-block: 24px;
  }

  .titleButtonWrapper {
    padding-left: 0px;
    margin-top: 24px;
  }
  /********     inspiradoTradicaoSection    ********/
  .inspiradoTradicaoSection img {
    height: 230px !important;
  }
  .inspiradoTradicaoSection .wpb_text_column {
    padding-inline: var(--padding-inline);
  }

  .inspiradoTradicaoSection .vc_custom_heading {
    /* max-width: 300px; */
    margin-bottom: -7px;
    padding-inline: var(--padding-inline);
    font-size: 34px;
  }

  /********     localizacaoPrivilegiadaSection    ********/

  .localizacaoPrivilegiadaSection .vc_column-inner {
    margin-top: -26px;
  }

  .localizacaoPrivilegiadaSection > div {
    max-width: 100%;
  }
  .localizacaoPrivilegiadaSection p {
    max-width: 300px;
  }
  .localizacaoPrivilegiadaSection .vc_custom_heading {
    width: 100%;
  }

  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/
  .galeriaSlideSection {
    padding-bottom: calc(var(--paddingVert) + 70px);
  }
  .bakeryButtonsWrapper .vc_column-inner {
    padding: 15px !important;
  }
  .galeriaSlideSection img {
    height: 320px !important;
  }
  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column {
    bottom: 20px;
    left: 20px;
    padding-right: 10px;
  }

  .galeriaSlideSection .swiper-slide > .vc_column-inner .wpb_text_column p {
    font-size: 12px;
  }

  /* ARROWS */
  .swiper-controls-wrapper {
    width: 100%;
    padding: 0px 15px;
  }

  .main-swiper-button-prev,
  .main-swiper-button-next {
    width: 30px !important;
    height: 30px !important;
  }

  /*-------- masterplanSection --------*/
  .masterplan-wrapper {
    padding-bottom: 90px;
    margin-bottom: 4vw;
  }
  /*-------- espacosRespiramSection --------*/
  .espacosRespiramSection > .wpb_column {
    margin-inline: 15px;
  }
  .espacosRespiramSection img {
    min-height: 200px !important;
    height: 200px !important;
  }
  .espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner {
    min-height: 320px;
  }

  /* titulo */
  .espacosRespiramSection
    > .wpb_column
    > .vc_column-inner
    .wpb_column:has(.mainButton)
    .vc_custom_heading {
    font-size: 24px;
    max-width: 350px;
    margin-bottom: 18px;
  }
  .espacosRespiramSection .wpb_column .vc_column-inner .wpb_text_column {
    max-width: unset;
  }

  .espacosRespiramSection > .wpb_column:nth-child(2) {
    margin-top: 20px;
  }
  .espacosRespiramSection .vc_row {
    row-gap: 20px;
  }

  .espacosRespiramSection .vc_row .vc_col-xs-6:nth-child(1) .vc_column-inner {
    padding-right: 10px;
  }
  .espacosRespiramSection .vc_row .vc_col-xs-6:nth-child(2) .vc_column-inner {
    padding-left: 10px;
  }

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  /* ------ conceitoApartamentosSection ------- */
  /* ------ tabelaApartamentosSection ------- */
  /* ------ apartamentosSmallGallery ------- */

  .apartamentosSmallGallery img {
    height: 240px !important;
  }
  /* ------ lastSection ------- */
  .lastSection {
    max-height: 320px;
  }
  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */
  .mapaSection .vc_row {
    display: flex;
    /* flex-direction: column; */
    gap: 0px;
  }

  .mapaSection .vc_row::before,
  .mapaSection .vc_row::after {
    display: none !important;
  }

  .mapaSection .vc_row .wpb_column:nth-child(2) > div {
    padding: 0px !important;
  }

  .mapaSection h2 {
    font-size: 20px;
    padding-inline: 15px;
  }
  /* circunferencia veremlha */
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 140px;
    height: 140px;
    margin-left: unset;
  }
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(140px / 2);
    height: calc(140px / 2);
  }
  .mapaSection .vc_row .wpb_column:nth-child(2) > div > .wpb_wrapper {
    padding-inline: 0px;
  }
  .mapaSection img {
    height: 700px !important;
    object-position: 45%;
    object-fit: cover;
    margin-top: 200px;
  }

  /* ------- mobilidadeSection */

  /* MOBILIDADE GALERIA */
  .mobilidadeSection {
    padding-inline: calc(var(--padding-inline) * 2);
  }
  /* dimensao das imagens  */
  .mobilidadeGalerySection
    .vc_row:nth-child(1)
    > div
    > div
    > .wpb_wrapper
    .wpb_single_image:nth-child(1)
    img,
  .mobilidadeGalerySection
    .vc_row:nth-child(1)
    > div
    > div
    > .wpb_wrapper
    .wpb_single_image:nth-child(2)
    img,
  .mobilidadeGalerySection
    .vc_row:nth-child(1)
    > div
    > div
    > .wpb_wrapper
    .wpb_single_image:nth-child(3)
    img {
    height: 177.6px;
  }

  /* Make all images fill their grid cell */
  .mobilidadeGalerySection .vc_row:nth-child(2) > div > div > div img {
    height: 115px;
  }

  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  .mobilidadeAnimacaoSection h2.vc_custom_heading {
    margin-top: -20px;
    padding-inline: 20px;
  }
  .mobilidadeAnimacaoSection > div > div {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }
  .mobilidades-filter-wrapper {
    margin-top: 40px;
    margin-bottom: 120px;
  }

  .mobilidade-filter-btn img.mobilidade-icon {
    max-width: 41px;
    height: 27px;
  }

  .mobilidade-filter-btn div:has(img)::before {
    height: 60px;
    width: 60px;
  }
  .mobilidade-filter-btn {
    width: 60px;
  }

  .min-number {
    font-size: 16px;
  }

  div#mobilidade-slider {
    padding-block: 50px;
  }

  .tick-text {
    font-size: 10px;
  }
  .mobilidades-slider-wrapper {
    margin-top: 30px;
  }
  .mobilidades-slider-wrapper {
    padding-inline: 20px;
  }

  #mobilidade-slider-ticks {
    margin-top: -77px;
  }

  /* ========================================================================== */
  /*                               GALERIA                                      */
  /* ========================================================================== */
  .filter-options {
    display: flex;
    justify-content: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;

    /* 1. Hide scrollbar in Firefox */
    scrollbar-width: none;
  }

  /* 2. Hides scrollbar on iPhone (iOS/WebKit) and Chrome/Safari */
  .filter-options::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent; /* Ensures no residual background from the scrollbar track */
  }

  .filterText,
  .bakeryButtonsWrapper .mainButton button {
    font-size: 12px !important;
    letter-spacing: 3.8px;
  }
  .galeria-images {
    left: -5px;
  }

  /* ========================================================================== */
  /*                             	Legal Pages    		                          */
  /* ========================================================================== */
  .legalPage {
    padding-bottom: 100px;
  }

  .legalContent {
    margin-left: 0px;
  }

  .legalPage h1 {
    padding-bottom: 18px;
  }
  .legalPage h2 {
    font-size: 20px;
    margin-top: 18px;
  }

  .legalPage p {
    font-size: 16px;
  }
  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */
  .newsContent h2,
  .newsContent h3 {
    font-size: 18px;
  }
}
/* Size considerado Mobile - 430px*/
@media only screen and (max-width: 430px) {
  /* definitions */
  h1,
  h2,
  h2 span,
  .poloCosmopolitaSection .vc_custom_heading {
    font-size: 34px;
  }

  #contactos h2 {
    font-size: 24px;
  }

  h3,
  h4,
  h5,
  h6 {
    font-size: 20px;
  }
  h4,
  h5,
  h6 {
    font-size: 18px;
  }
  p,
  a,
  label,
  li,
  span,
  button {
    font-size: 13px;
  }

  input,
  select,
  textarea,
  option,
  .filterText,
  .bakeryButtonsWrapper .mainButton button,
  .quform .quform-label-text {
    font-size: 12px !important;
  }

  button.mainButton,
  .vc_btn3-container.mainButton a {
    padding: 10px 16px;
    font-size: 9px;
  }
  /* ========================================================================== */
  /*                               HEADER                                       */
  /* ========================================================================== */
  .menu-mobile ul li a {
    font-size: 20px;
  }

  a.mobile-logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
  }

  header .mobile-menu-wrapper a::before,
  header .mobile-menu-wrapper a::after {
    width: 20px;
  }
  header .mobile-menu-wrapper a::before {
    right: -10px;
  }
  header .mobile-menu-wrapper a::after {
    left: -10px;
  }
  .menu-mobile .menu-teimoso-wrapper ul img {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }
  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */
  #heroFixedLogo img {
    width: 150px;
    height: auto;
  }
  #heroFixedLogo {
    top: calc(50% - 90px);
  }
  /********     verApartamentosSlideSection     ********/

  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  /*-------- masterplanSection --------*/

  .masterplan-wrapper {
    padding-bottom: 14vw;
    margin-bottom: 7vw;
  }
  .masterplan-text-area {
    padding: 24px;
    padding-right: 11%;
    width: 63%;
  }

  .masterplan-label {
    font-size: clamp(8px, 2vw, 9999px);
  }

  /*-------- espacosRespiramSection --------*/

  .espacosRespiramSection img {
    height: 150px !important;
  }
  .espacosRespiramSection > .wpb_column:nth-child(1) .vc_column-inner {
    min-height: 370px;
  }

  .espacosRespiramSection > .wpb_column:nth-child(2) img {
    height: 150px !important;
  }

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  /* ------ conceitoApartamentosSection ------- */
  .conceito-icon {
    height: 16px;
    margin-bottom: 10px;
  }
  .conceito-title {
    font-size: 10px;
  }
  .conceitos-buttons {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .floating-titles {
    top: 63px;
    left: 20px;
  }

  .conceito-slide-featured {
    height: 250px;
  }
  .conceito-slide-wrapper {
    gap: 16px;
  }
  .conceitos-texto {
    font-size: 26px;
  }
  /* ------ tabelaApartamentosSection ------- */
  /* ------ apartamentosSmallGallery ------- */
  .apartamentosSmallGallery img {
    height: 210px !important;
  }
  /* ------ lastSection ------- */
  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */
  /* ------- douroDesignSection */

  #douroDistrictSVG svg {
    height: 98px;
    width: 163px;
  }

  .douroDesignSection .vc_row .wpb_column:nth-child(1) img {
    width: auto;
    height: 163px;
  }

  /* texto por cima do botao */
  .poloCosmopolitaSection .wpb_text_column,
  .douroDesignSection
    > .wpb_column
    > .vc_column-inner
    > .wpb_wrapper
    .wpb_text_column {
    max-width: 270px;
  }

  .douroDesignSection .vc_row .wpb_column:nth-child(1) > div > div {
    padding-right: 10px;
  }

  .douroDesignSection .vc_row .wpb_column:nth-child(2) > div {
    padding-left: 10px;
  }

  .mobilidadeGalerySection img {
    height: 220px !important;
  }

  /* ------- douroDesignGridSection */

  .douroDesignGridSection img {
    width: 100px !important;
    height: 120px !important;
  }

  .douroDesignGridSection .vc_col-sm-4 img {
    width: 100% !important;
    height: 180px !important;
  }
  .douroDesignGridSection .wpb_column.vc_col-sm-2 .vc_column-inner > div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .douroDesignGridSection .wpb_column.vc_col-sm-4 .vc_column-inner > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .douroDesignGridSection .wpb_column {
    width: 100% !important;
    margin-bottom: 10px;
  }
  /* ========================================================================== */
  /*                               GALERIA                                      */
  /* ========================================================================== */

  .filterText,
  .bakeryButtonsWrapper .mainButton button {
    font-size: 10px !important;
  }
  .galeria-images {
    left: -5px;
  }
  /* ========================================================================== */
  /*                             	Legal Pages    		                          */
  /* ========================================================================== */

  .legalPage h2 {
    font-size: 18px;
  }

  .legalPage {
    padding-top: 50px;
  }
  /* ========================================================================== */
  /*                               DETALHE FOLLOW                               */
  /* ========================================================================== */
  .newsHeroSection .swiper {
    max-height: 250px;
  }
}
/* smartphones plus */
@media only screen and (max-width: 414px) {
  /* ========================================================================== */
  /*                               HEADER                                       */
  /* ========================================================================== */

  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */

  .phone-link {
    font-size: 30px;
  }

  .f-menu-legal-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  /* ========================================================================== */
  /*                               HOMEPAGE                                     */
  /* ========================================================================== */

  /* imagem */
  .inspiradoTradicaoSection img {
    height: 270px !important;
  }
  /*efetito correcto do mixblendmode */
  #inspiradoTradicaoFloater,
  .wpb_raw_html:has(.mix-blend-mode-bg) {
    padding: 24px 20px;
    left: 15px;
    top: 90px;
    width: 250px;
  }
  /* tipo de font */
  .wpb_raw_html:has(.mix-blend-mode-bg) p,
  #inspiradoTradicaoFloater .wpb_wrapper p {
    font-size: 24px;
  }

  /* ========================================================================== */
  /*                               RUBYCLUB                                     */
  /* ========================================================================== */
  /*-------- galeriaSlideSection --------*/

  /*-------- masterplanSection --------*/

  .masterplan-wrapper {
    padding-bottom: 16vw;
    margin-bottom: 8vw;
  }
  .masterplan-text-area {
    padding: 18px;
    padding-right: 15%;
    width: 66%;
  }

  .masterplan-text-area p {
    font-size: clamp(8px, 2vw, 9999px);
  }

  /* ========================================================================== */
  /*                               APARTAMENTOS                                 */
  /* ========================================================================== */
  /* ------ conceitoApartamentosSection ------- */
  .conceitos-buttons {
    gap: 5px;
  }
  /* ------ tabelaApartamentosSection ------- */
  /* ------ apartamentosSmallGallery ------- */
  /* ------ lastSection ------- */
  /* ========================================================================== */
  /*                               LOCALIZAÇÃO                                  */
  /* ========================================================================== */

  /* ========================================================================== */
  /*                               FOLLOW                                       */
  /* ========================================================================== */
  .noticia-item .noticia-thumbnail img {
    height: 250px;
  }
  .noticia-categories span {
    font-size: 14px;
  }
  .noticia-item .date {
    font-size: 13px;
  }
  .noticia-item .noticia-content {
    margin-top: 14px;
  }
  /* ========================================================================== */
  /*                               LOCALIZACOES                               */
  /* ========================================================================== */

  /********* MOBILIDADE PARTE COM AS ANIMCAOES *********/
  .mobilidades-filter-wrapper {
    margin-top: 40px;
    margin-bottom: 130px;
  }

  .mobilidade-filter-btn img.mobilidade-icon {
    max-width: 39px;
    height: 25px;
  }

  .mobilidade-filter-btn div:has(img)::before {
    height: 58px;
    width: 58px;
  }
  .mobilidade-filter-btn {
    width: 70px;
  }

  .min-number {
    font-size: 14px;
  }

  .tick-text {
    font-size: 10px;
    padding-inline: 5px;
  }

  .mobilidades-slider-wrapper {
    padding-inline: 20px;
  }

  .mapaSection h2 {
    font-size: 17px;
    padding-inline: 12px;
  }
  /* circunferencia veremlha */
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper {
    width: 110px;
    height: 110px;
  }
  .mapaSection .vc_row .wpb_column:nth-child(1) .wpb_wrapper::after {
    width: calc(110px / 2);
    height: calc(110px / 2);
  }
}
/* smartphones normais  */
@media only screen and (max-width: 378px) {
}
/* iphone 5 <=  */
@media only screen and (max-width: 320px) {
}

/**
 * ********************************************************************************************
 * ********************************************** GOOGLE MAPS SETTINGS PAGE CONFIGURATION
 * ********************************************************************************************
 */
/* Ensure the map container also has a position context for absolute positioning */
.googleMapsWrapper {
  overflow: hidden;
}

/*remove o overlay "Use Ctrl + ...*/
.gm-style-moc {
  display: none !important;
}

#map {
  position: relative; /* Important for absolute positioning of the infowindow inside/relative to it */
  height: 550px;
  width: 100%;
  /* padding-bottom: 100px; */
  /* margin-top: 30px; */
}

/* Map Wrapper */
.map-menu-wrapper {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ffffffa8;
  padding: 10px;
  border-radius: 5px;
  z-index: 100;
  overflow: visible;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: -1px 1px 15px 0px #232323;
}

.map-menu-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Map Filter Wrapper */
div#map-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Styles for markers that do NOT start with 'adicional_' */
.googleMapsWrapper .default-marker-icon {
  width: 20px !important;
  height: 20px !important;

  /* Especifico para o THE FRAME */
  box-shadow: -1px 1px 15px 0px #232323;
  border-radius: 100%;
}

/* Styles for markers whose ID DOES start with 'adicional_' */
.googleMapsWrapper .adicional-marker-icon {
  width: auto !important; /* Make them larger, use !important if necessary */
  height: 70px !important;
  /* transform: translate(50%, 50%); */
}
/* Menu Map Title */
.map-menu-title {
  font-size: 30px;
  line-height: 1.2;
  color: black;
  margin-bottom: 15px;
}
#map-menu button {
  display: flex;
  gap: 15px;
  outline: unset;
  padding: unset;
  border: unset;
  color: black;
  background-color: unset;
  cursor: pointer;
  align-items: center;
  font-family: "Lofty Chic", Sans-serif;
}
#map-menu button:active,
#map-menu button:focus,
#map-menu button:hover {
  background-color: transparent;
  color: inherit;
  color: black;
}
#map-menu button img {
  width: 25px;
  height: 25px;
}

/* POI side bar with information */
div#poi-sidebar {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #000000c4;
  height: 100%;
  min-width: 200px;
  width: 400px;
  padding: 20px;
  transform: translate(120%, 0px);
  transition: all 300ms linear;
  -webkit-box-shadow: -7px 1px 16px 3px rgb(0 0 0 / 41%);
  color: white;
  z-index: 1001;
}
div#poi-sidebar.open {
  transform: translate(0%, 0px);
  transition: all 300ms linear;
}

.POIWrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#poi-sidebar h2,
#poi-sidebar p,
#poi-sidebar a,
#poi-sidebar span {
  color: white;
}

#poi-sidebar a {
  text-decoration: underline;
}
/* Side bar close button wrapper */
#poi-sidebarbutton {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0px !important;
}
#sidebar-close-btn {
  padding: 0px !important;
  border: unset !important;
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
}
#sidebar-close-btn span.line {
  height: 3px;
  display: block;
  position: absolute;
  top: 50%;
  left: 0px;
  width: 100%;
  background-color: white;
  transform: rotate(45deg);
}
#sidebar-close-btn span.line:nth-child(2) {
  top: 50%;
  left: 0px;
  transform: rotate(-45deg);
}

#sidebar-poi-category {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1;
}
#sidebar-poi-title {
  font-size: 30px;
  margin-bottom: 10px;
}

#poi-sidebar p,
#poi-sidebar a,
#poi-sidebar span {
  font-size: 14px;
}

#sidebar-poi-img img {
  height: 170px !important;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

#map-menu button {
  gap: 8px;
}

.map-bottom {
  display: flex;
  gap: 10px;
  background-color: white;
  border-radius: 0px 10px 00px 0px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 5px 10px;
}
@media only screen and (max-width: 991px) {
  .filter-wrapper form .row {
    display: flex !important;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin: 0px !important;
  }

  .filter-wrapper form .row > div {
    padding: 0px 10px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .filter-options,
  .bakeryButtonsWrapper .vc_column-inner > .wpb_wrapper {
    margin-bottom: calc(var(--paddingVert) - 10px);
  }

  .search-wrapper2 .search2 button.submit {
    width: 100% !important;
  }

  .search-wrapper2 .search2 .form-control {
    margin: 0px 0px;
  }
}
@media only screen and (max-width: 600px) {
  .map-menu-wrapper {
    max-width: 300px;
  }

  div#poi-sidebar {
    width: 300px;
  }

  #sidebar-poi-img img {
    height: 150px !important;
  }
  #sidebar-poi-category {
    font-size: 12px;
  }

  #sidebar-poi-title {
    font-size: 24px;
    line-height: 1;
  }

  #poi-sidebar p,
  #poi-sidebar a,
  #poi-sidebar span {
    font-size: 14px;
  }

  .map-bottom span {
    font-size: 12px;
  }
}
@media only screen and (max-width: 430px) {
  div#map-menu {
    gap: 10px;
  }
}
