/*
Theme Name:     Q23
Author:         Bspacy
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    q23
*/

/*** Fonts ***/

@font-face {
  font-family: "FontAwesome";
  src: url("assets/fonts/fontawesome-webfont.eot"); /* IE9 Compat Modes */
  src:
    url("assets/fonts/fontawesome-webfont.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("assets/fonts/fontawesome-webfont.woff2") format("woff2"),
    /* Super moderno */ url("assets/fonts/fontawesome-webfont.woff")
      format("woff"),
    /* Moderno */ url("assets/fonts/fontawesome-webfont.ttf") format("truetype"),
    /* Safari, Android, iOS */
      url("assets/fonts/fontawesome-webfont.svg#fontawesomeregular")
      format("svg"); /* iOS */
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Moulin";
  src:
    url("assets/fonts/Moulin/Moulin-Light.ttf") format("truetype"),
    url("assets/fonts/Moulin/Moulin-Light.otf") format("opentype"),
    url("assets/fonts/Moulin/Moulin-Light.woff") format("woff"),
    url("assets/fonts/Moulin/Moulin-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

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

@font-face {
  font-family: "Inter";
  src:
    url("assets/fonts/Inter/Inter-Regular.ttf") format("truetype"),
    url("assets/fonts/Inter/Inter-Regular.otf") format("opentype"),
    url("assets/fonts/Inter/Inter-Regular.woff") format("woff"),
    url("assets/fonts/Inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Inter";
  src:
    url("assets/fonts/Inter/Inter-Bold.ttf") format("truetype"),
    url("assets/fonts/Inter/Inter-Bold.otf") format("opentype"),
    url("assets/fonts/Inter/Inter-Bold.woff") format("woff"),
    url("assets/fonts/Inter/Inter-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

/*** Estrutura ***/

* {
  box-sizing: border-box;
}

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

/* Prende o scroll da página enquanto o preloader estiver ativo — a
   classe (definida em header.php via body_class()) é removida via JS
   assim que a expansão da máscara terminar (ver script.js). */
body.is-preloading {
  overflow: hidden;
}

html:has(body.is-preloading) {
  overflow: hidden;
}

/* Esconder a scrollbar (mantendo o scroll funcional) */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge antigo */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome / Safari / Edge */
}

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

button:focus-visible {
  outline: 0px;
}

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

/* Placeholder Color */
input::placeholder {
  color: var(--black);
  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 #fbf2eb inset !important;
  -webkit-text-fill-color: var(--black) !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;
}

.quform-edit-form {
  display: none;
}

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

.vc_btn3-container,
.wpb_content_element,
.vc_do_custom_heading {
  margin: 0px !important;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h1 div {
  font-family: "Moulin";
  font-weight: 300;
  font-size: 72px;
  line-height: 80px;
  letter-spacing: 0.5px;
  color: var(--white);
}

h2,
h2 div {
  font-family: "Moulin";
  font-weight: 300;
  font-size: 72px;
  line-height: 80px;
  letter-spacing: 0.5px;
  color: var(--green);
}

h3,
h3 div {
  font-family: "Moulin";
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 2px;
  color: var(--golden);
}

h4 {
}

h5 {
}

h6 {
}

p,
li,
a,
span,
div {
  font-family: "Inter";
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 0.5px;
  color: var(--dark-green);
}

p strong,
p strong span {
  font-weight: 700;
}

button {
  font-family: "Moulin";
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brown);
}

header li,
header li a {
  font-family: "Moulin";
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.5px;
  color: var(--golden);
  white-space: nowrap;
}

.vc_btn3-container.vc_btn3-inline.vc_do_btn a.vc_btn3,
.vc_btn3-container.vc_btn3-inline.vc_do_btn button.vc_btn3 {
  /* background-color: #e5e1de; */
  background-color: var(--orange);

  border: 0px;
  font-family: "Moulin";
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--brown);
  border-radius: 50px;
}

.vc_btn3-container.vc_btn3-inline.vc_do_btn {
  position: relative;
}

.vc_btn3-container.vc_btn3-inline.vc_do_btn::before {
  content: "";
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 50px;
  background: linear-gradient(
    200deg,
    rgba(229, 219, 207, 1) 0%,
    rgba(197, 166, 119, 1) 70%
  );
  position: absolute;
  top: -2px;
  left: -2px;
}

.block1-home .vc_btn3-container.vc_btn3-inline.vc_do_btn::before {
  display: none;
}
.block1-home .vc_btn3-container.vc_btn3-inline.vc_do_btn a.vc_btn3 {
  padding: 16px 22px;
}
.wpb_text_column p:not(:last-child) {
  margin-bottom: 10px !important;
}

.wpb_single_image .vc_single_image-wrapper,
.wpb_single_image figure {
  width: 100%;
  height: 100%;
}

.wpb_single_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.container-video video,
.container-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --golden: #e3c7a0;
  --light-golden: #f5e9d2;
  --green: #697652;
  --dark-green: #103517;
  --orange: #c5a677;
  --brown: #4e473e;
  --fade-brown: #e5dbcf;
  --padding-x: 0px;
  --padding-y: 0px;
}

/* Preloader */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transition: opacity 0.6s ease;
}

#preloader.is-loaded {
  opacity: 0;
  pointer-events: none;
}

#preloader.is-behind {
  z-index: 0;
}

#preloader.is-behind .preloader__logo,
#preloader.is-behind .preloader__progress {
  display: none;
}

/* Modo sem animação de entrada: o vídeo de fundo fica invisível (nem o
   poster se vê) e só faz fade in quando começa mesmo a tocar — a classe
   is-playing é adicionada pelo script.js. A animação é uma salvaguarda:
   se o JS falhar, o vídeo/poster aparece na mesma ao fim de 6s */
#preloader[data-preloader="off"] video {
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: q23-bg-video-fallback 0s 6s forwards;
}

#preloader[data-preloader="off"] video.is-playing {
  opacity: 1;
}

@keyframes q23-bg-video-fallback {
  to {
    opacity: 1;
  }
}

/* O overlay escuro (::before do último .container-img) só aparece junto
   com o vídeo — senão, enquanto carrega, o fundo branco fica cinzento.
   Só quando há vídeo (com imagem 3 o overlay fica como sempre esteve).
   Sem !important de propósito: assim a animação de salvaguarda (6s, igual
   à do vídeo) consegue sobrepor-se ao opacity: 0 */
#preloader[data-preloader="off"] .container-img:has(video)::before {
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: q23-bg-overlay-fallback 0s 6s forwards;
}

#preloader[data-preloader="off"] .container-img:has(video.is-playing)::before {
  opacity: 0.2;
}

@keyframes q23-bg-overlay-fallback {
  to {
    opacity: 0.2;
  }
}

.preloader__images .container-img.first-preloader img {
  object-position: center;
  width: 70vw;
  height: auto;
  object-fit: cover;
  margin-inline: auto;
  position: absolute;
  transform: translate(-50%, -50%);
}

.preloader__images .container-img.first-preloader.preloader-1 img {
  top: 40%;
  left: 50%;
}

.preloader__images .container-img.first-preloader.preloader-2 img {
  top: 50%;
  left: 40%;
}

/* Conteúdo da home, por baixo do preloader — fica invisível até o
   preloader passar para trás (ver .is-behind acima e o JS em
   assets/js/script.js), depois faz fade in + entra deslizando via
   .is-visible: a imagem vem de cima, o h1 vem de baixo. */
.block1-home h1 {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.6s ease,
    transform 1.6s ease;
}

.block1-home .wpb_single_image {
  opacity: 0;
  transform: translateY(-40px);
  transition:
    opacity 1.6s ease,
    transform 1.6s ease;
}

/* aqui pedro */
.block1-home h1.is-visible {
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
}
.block1-home .wpb_single_image.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
}

/* Logo da home: desaparece (fade curto) quando o clip-path do
   .container-video começa a abrir — a classe é posta/tirada pelo pin
   do .block1-home em script.js (reaparece ao voltar para cima).
   No fim do fade passa a display:none, para deixar de ocupar espaço no
   wrapper — assim o título + botão ficam centrados no ecrã. O salto não
   se vê: nessa altura o h1 e o botão ainda estão invisíveis.
   (allow-discrete: em browsers antigos o display muda logo, sem fade) */
.block1-home .wpb_single_image.is-visible.is-hidden-by-scroll {
  opacity: 0;
  display: none;
  transition:
    opacity 0.4s ease,
    display 0.4s allow-discrete;
}

/* Ao reaparecer (display: none → block), o fade começa em opacity 0 */
@starting-style {
  .block1-home .wpb_single_image.is-visible {
    opacity: 0;
  }
}

.preloader__logo {
  width: 160px;
  opacity: 0;
  animation: preloader-logo-in 0.8s ease-out forwards;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-36vh);
}

.preloader__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.preloader__images {
  width: 100vw;
  height: 100vh;
  position: relative;
  z-index: 1;

  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 518'><path fill='%23fff' d='M380.85 465.747C384.802 464.556 388.754 467.487 388.754 471.578C388.754 482.753 388.754 502.14 388.785 511.88C388.785 515.177 386.15 517.925 382.811 517.925C330.15 518.2 271.209 494.599 252.706 442.695C138.041 456.16 27.7875 378.946 4.75029 266.437C-34.9521 72.5321 182.461 -71.5154 349.511 37.6651C512.058 143.884 464.084 405.325 270.229 437.994C290.816 476.707 341.853 477.41 380.85 465.777V465.747Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 518'><path fill='%23fff' d='M380.85 465.747C384.802 464.556 388.754 467.487 388.754 471.578C388.754 482.753 388.754 502.14 388.785 511.88C388.785 515.177 386.15 517.925 382.811 517.925C330.15 518.2 271.209 494.599 252.706 442.695C138.041 456.16 27.7875 378.946 4.75029 266.437C-34.9521 72.5321 182.461 -71.5154 349.511 37.6651C512.058 143.884 464.084 405.325 270.229 437.994C290.816 476.707 341.853 477.41 380.85 465.777V465.747Z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 0 0;
  mask-size: 0 0;
  transition:
    -webkit-mask-size 0.8s ease-out 0.15s,
    mask-size 0.8s ease-out 0.15s;
}

.preloader__images.is-open {
  -webkit-mask-size: 42vh 48vh;
  mask-size: 42vh 48vh;
}

.preloader__images.is-expanding {
  -webkit-mask-size: 250vmax 250vmax;
  mask-size: 250vmax 250vmax;
  transition:
    -webkit-mask-size 1s ease-in,
    mask-size 1s ease-in;
}

.preloader__images .container-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 0.7s linear(0, 0.3 15%, 0.7 85%, 1);
}

.preloader__images .container-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preloader__images .container-img.is-hidden {
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}

.preloader__images .container-img:last-child::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: var(--black);
  opacity: 0.2;
  z-index: 4;
}

.preloader__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 240px;
  opacity: 0;
  animation: preloader-progress-in 0.8s ease-out 0.3s forwards;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(28vh);
}

@keyframes preloader-logo-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes preloader-images-in {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes preloader-progress-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.preloader__progress-text,
.preloader__progress-percentage {
  font-size: 16px;
  letter-spacing: 1.5px;
  font-family: "Moulin";
  font-weight: 300;
  color: var(--golden);
}

.preloader__progress-bar {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: var(--light-golden);
  overflow: hidden;
}

.preloader__progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--golden);
  transition: width 0.05s linear;
}

.preloader__progress-percentage {
  letter-spacing: 0px;
  font-size: 13px;
}

/* Header */

header {
  position: fixed;
  z-index: 999;
  top: 0px;
  left: 0px;
}
/* Header: esconde ao fazer scroll para baixo (só desktop ≥992px) */
@media only screen and (min-width: 992px) {
  header {
    transition: translate 0.4s ease;
  }

  header.header-hidden {
    translate: 0 -100%;
  }
}
body:has(.block1-home) header {
  transform: translateY(-70px);
}

.wrapper-header {
  background-color: var(--white);
  height: 68px;
  width: 100vw;
}

ul.main-menu {
  position: absolute;
  display: flex;
  gap: 40px;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
}

.logo-header {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 250px;
}

.logo-fixo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  display: none !important;
}

/* Home */

.block1-home {
  margin: 0px !important;
  z-index: 1;
  position: relative;
}

.block1-home .vc_col-sm-12 {
  width: 100vw;
  height: 100dvh;
}

.block1-home .vc_btn3-container {
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  z-index: 1;
}

.block1-home .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.block1-home h1 {
  position: relative;
}

.block1-home .wpb_single_image {
  width: 320px;
  height: auto;
  margin-inline: auto !important;
  margin-bottom: 64px !important;
  z-index: 2;
  position: relative;
}

.block1-home .container-video {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  width: calc(100vw - 80px);
  height: 100dvh;
  clip-path: inset(25% round 200px);
  z-index: 1;
}

.block1-home .container-video::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: var(--black);
  opacity: 0.25;
}

/* .block2-home {
  margin-top: 50px;
  overflow: visible !important;
  transform: translateY(calc(-100% - 100px));
  opacity: 0;
} */
.block2-home {
  margin-top: 50px;
  overflow: visible !important;
}

.block2-home::before {
  content: "";
  width: 1150px;
  height: 1300px;
  background-image: url(/wp-content/uploads/q.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: contain;
  position: absolute;
  top: calc(50% - 220px);
  left: 50%;
  transform: translateY(-50%) translateX(-48%);
}

.block2-home .wpb_single_image {
  width: 320px;
  height: auto;
  margin-inline: auto !important;
  margin-bottom: 50px !important;
  display: none;
}

.block2-home .wpb_text_column:has(p) {
  width: 650px;
  margin-inline: auto !important;
  margin-top: 30px !important;
}

.block2-home .wpb_text_column p {
  text-align: center;
}

.block2-home .wrap_svl_center {
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 30px;
}

.block2-home .drag_element {
  transform: scale(0.8);
  transition: 0.3s;
}

.block2-home .drag_element:hover {
  transform: scale(1);
  filter: brightness(1.2);
  transition: 0.3s;
}

.block3-home {
  overflow: visible !important;
  margin-left: 0px !important;
  margin-top: 150px;
}

.block3-home::before {
  content: "";
  width: 1420px;
  height: 1500px;
  background-image: url(/wp-content/uploads/q.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-40%) translateX(-20%);
}

.block3-home h2 {
  margin-bottom: 24px;
  margin-left: 250px;
  padding-bottom: 20px;
}

.block3-home h2 strong {
  color: var(--golden);
  font-weight: 300;
}

.block3-home-line {
  opacity: 0;
}

.conceitos-wrapper {
  width: calc(100% - 250px);
  height: 75vh;
  position: relative;
  margin-left: 250px;
}

.conceitos-coluna-esquerda {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  position: absolute;
  top: 0px;
  width: 420px;
  height: 100%;
  background-image: url(/wp-content/uploads/background-scaled.webp);
  background-size: cover;
  background-position: left center;
  border-radius: 200px;
  z-index: 10;
  transform: translateX(-50%);
}

.block3-home .conceitos-coluna-esquerda {
  left: 0px; /* antes -600px (entrava de lado, via script.js) */
}

.conceitos-coluna-esquerda .logo {
  width: 50px;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}

.conceito-nome-ativo {
  margin-bottom: 50px;
}

.conceitos-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.conceito-logo-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.conceito-logo-btn img {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
}

.conceito-logo-btn:hover,
.conceito-logo-btn.is-active {
  opacity: 1;
}

.conceito-descricao-ativa {
  font-size: 16px;
  color: var(--golden);
  line-height: 25px;
  max-width: 295px;
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.conceitos-coluna-direita {
  overflow: hidden;
  height: 100%;
  position: relative;
  /* Deixa o scroll vertical da página passar normalmente; só o gesto
     horizontal (drag/swipe para trocar de conceito) é capturado em JS. */
  touch-action: pan-y;
}

.block3-home .conceitos-coluna-direita {
  /* Já na posição final: antes começava com border-top-left-radius
     800px, border-bottom-left-radius 200px e transform translateY(100%)
     translateX(100%), e entrava de lado via script.js */
}

.conceito-imagem-atual,
.conceito-imagem-next {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.conceito-imagem-atual {
  z-index: 2;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 0.7s ease-in-out;
}

.conceito-imagem-next {
  z-index: 1;
}

.conceito-imagem-atual img,
.conceito-imagem-next img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 100% 90%;
}

button.conceito-logo-btn {
  position: relative;
  opacity: 40%;
  transition: 0.3s;
}

button.conceito-logo-btn.is-active {
  opacity: 100%;
  transition: 0.3s;
}

button.conceito-logo-btn::before {
  content: "";
  width: 94px;
  height: 94px;
  border-radius: 100%;
  border: 1px solid var(--golden);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  transition: 0.3s;
}

button.conceito-logo-btn.is-active::before {
  opacity: 1;
  transition: 0.3s;
}

.block4-home {
  margin-top: 250px;
  overflow: visible !important;
  margin-left: 0px !important;
}

.block4-home h2 {
  margin-left: 250px !important;
  padding-bottom: 20px;
  opacity: 0;
}

.qclub-wrapper .conceitos-coluna-esquerda {
  background-position: 45% center;
}

.qclub-wrapper.conceitos-wrapper {
  margin-left: 0px;
}

.qclub-wrapper .conceitos-coluna-esquerda {
  left: unset;
  right: 0px;
  transform: translateX(50%);
}

.block4-home .conceitos-coluna-esquerda {
  right: 0px; /* antes -600px (entrava de lado, via script.js) */
}

.block4-home .conceitos-coluna-direita {
  /* Já na posição final: antes começava com border-top-right-radius
     800px, border-bottom-right-radius 200px e transform translateY(100%)
     translateX(-100%), e entrava de lado via script.js */
}

/* .qclub-wrapper .conceito-nome-ativo {
  margin-bottom: 50px;
  font-size: 44px;
  max-width: 160px;
  line-height: 48px;
  text-align: center;
  margin-inline: auto;
  align-items: flex-end;
  display: flex;
} */

.qclub-wrapper .conceito-descricao-ativa {
  max-width: 270px;
}

button.qclub-next-btn {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  border: 0px;
  color: grey;
}

/* Setas "Anterior" / "Seguinte" do Q23 Club — pill escura com as duas
   setas (desenhadas só com bordas, em chevron) e o contador "1 / 3" ao
   centro. */
.qclub-arrows {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 10px 26px;
  width: fit-content;
  background-color: transparent;
  margin-inline: auto;
}

.qclub-arrow {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.qclub-arrow:hover,
.qclub-arrow:focus {
  opacity: 1;
}

.qclub-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qclub-arrows-contador {
  font-size: 25px;
  color: var(--golden);
  display: flex;
  gap: 20px;
  font-weight: 200;
}

span.qclub-arrows-atual,
span.qclub-arrows-total {
  color: var(--golden);
  font-weight: 200;
}

.block5-home {
  padding-top: 80px;
  margin-top: 80px;
  overflow: visible !important;
}

.block5-home .wpb_single_image {
  width: 320px;
  margin-inline: auto !important;
}

.block5-home h2.vc_custom_heading {
  margin-block: 25px 45px !important;
}

.block5-home .wpb_text_column:has(p) {
  max-width: 660px;
  margin-inline: auto !important;
}

.block5-home .wpb_text_column:has(p) p {
  text-align: center;
}

.block5-home .wpb_text_column:has(table) {
  position: relative;
}

.block5-home .wpb_text_column:has(table) h2 {
  padding-top: 100px;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  color: var(--brown) !important;
  margin-top: -30px !important;
  opacity: 0;
  visibility: hidden;
  display: none;
}

.block5-home .container-grafico {
  top: 72px;
  max-width: calc(1100px + 30px);
}

.grafico-disponiveis {
  background: conic-gradient(var(--orange) 360deg, var(--golden) 0deg);
}

.block5-home .filtros-ordenacao {
  top: 98px;
  max-width: calc(1100px + 50px);
}

.block5-home button.botao-ordenacao {
  border-radius: 50px;
  padding-top: 22px;
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--brown) !important;
  position: relative;
}

@media only screen and (max-width: 1550px) {
  .block5-home button.botao-ordenacao {
    padding-top: 16px;
  }
}

.block5-home button.botao-ordenacao.ativo,
.block5-home button.botao-ordenacao:hover {
  background: linear-gradient(30deg, #b08963 0%, rgba(227, 199, 160, 1) 60%);
}

.block5-home .botao-ordenacao-container {
  width: fit-content;
  height: fit-content;
  position: relative;
}

.block5-home .botao-ordenacao-container::before,
.block5-home .mostrar-mais-container::before,
.q23-galeria-btn-container::before,
.block-contactos .vc_btn3-container.vc_btn3-inline.vc_do_btn::before
/* ,button.quform-submit::before  */ {
  content: "";
  border-radius: 50px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(30deg, #b08963 0%, rgba(227, 199, 160, 1) 60%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 1;
}

.block5-home
  .botao-ordenacao-container:has(button.botao-ordenacao.ativo)::before {
  opacity: 0;
}

.block5-home .botao-ordenacao-container:hover::before {
  opacity: 0;
}

.block5-home .grafico-disponiveis .number {
  font-size: 20px;
  line-height: 20px;
  font-weight: 300;
  color: var(--orange) !important;
}

.block5-home .tipologias .opcoes li {
  text-transform: none;
}

.block5-home .filtro-disponibilidade label {
  text-transform: none;
  color: var(--brown) !important;
}

.block5-home .tabela-apartamentos {
  max-width: 1100px;
}

.block5-home.riverside-block6 h2.header,
.block5-home .wrapper-filtros {
  max-width: calc(1100px + 50px);
}

.block5-home .tabela-apartamentos table {
  border-spacing: 0px;
}

.block5-home .tabela-apartamentos th {
  color: var(--brown) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 11px;
}

.block5-home .tabela-apartamentos tbody > tr td {
  border-bottom: 1px solid var(--brown);
  background-color: var(--white);
  padding: 10px;
}

.block5-home .tabela-apartamentos tbody > tr td,
.block5-home .tabela-apartamentos tbody > tr td a {
  color: var(--brown) !important;
}

.block5-home .mostrar-mais-container {
  width: fit-content;
  margin-inline: auto;
  height: fit-content;
  margin-top: 30px !important;
  position: relative;
}

.block5-home button#mostrar-mais {
  color: var(--brown) !important;
  background-color: var(--white) !important;
  border-radius: 50px !important;
  z-index: 1;
  position: relative;
  padding: 14px 20px 12px !important;
  transition: all 300ms linear;
}

.block5-home .mostrar-mais-container:hover::before {
  opacity: 0;
}

.block5-home .mostrar-mais-container:hover button#mostrar-mais {
  background: var(--orange) !important;
}

.block6-home {
  padding-top: 200px;
  overflow: visible !important;
  margin-left: 0px !important;
}

.q23-swiper-simples {
  width: 100%;
  height: 80vh;
  border-radius: 200px;
  position: relative;
}

.q23-galeria-wrapper {
  width: calc(100% - 40px);
  margin-inline: auto;
  height: fit-content;
  padding-inline: 10vw;
}

.q23-swiper-simples .swiper-slide {
  width: 100%;
  height: 100%;
}

.q23-swiper-simples .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 100% 90%;
}

.q23-swiper-simples .swiper-button-prev,
.q23-swiper-simples .swiper-button-next {
  color: var(--orange);
  transition: 0.3s;
  filter: brightness(1);
}

.q23-swiper-simples .swiper-button-prev:hover,
.q23-swiper-simples .swiper-button-next:hover {
  filter: brightness(1.4);
  transition: 0.3s;
}

.q23-swiper-simples .swiper-button-next {
  right: 30px;
}

.q23-swiper-simples .swiper-button-prev {
  left: 30px;
}

.q23-swiper-simples .swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.6;
  margin-inline: 6px !important;
  transition: 0.3s;
}

.q23-swiper-simples .swiper-pagination-bullet-active,
.q23-swiper-simples .swiper-pagination-bullet:hover {
  opacity: 1;
  transform: scale(1.5);
  transition: 0.3s;
}

.q23-swiper-simples .swiper-horizontal > .swiper-pagination-bullets,
.q23-swiper-simples .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 20px;
}

.q23-galeria-btn-container {
  text-align: center;
  position: relative;
  width: fit-content;
  height: fit-content;
  margin-inline: auto;
  margin-top: 30px;
  opacity: 0;
}

.q23-galeria-ver-completa-btn {
  background: var(--white);
  border-radius: 50px;
  padding: 16px 20px 14px;
  cursor: pointer;
  z-index: 1;
  position: relative;
  border: 0px;
}

.q23-galeria-btn-container:hover .q23-galeria-ver-completa-btn {
  background-color: transparent;
}

.q23-galeria-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.q23-galeria-lightbox.is-open {
  display: flex;
}

body.q23-galeria-lightbox-aberta {
  overflow: hidden;
}

.q23-galeria-lightbox-fechar {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  font-size: 0px;
  line-height: 0;
  cursor: pointer;
  width: 20px;
  width: 30px;
  height: 30px;
  z-index: 10;
}

button.q23-galeria-lightbox-fechar::before,
button.q23-galeria-lightbox-fechar::after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--white);
  border-radius: 10px;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transition: 0.3s;
}

button.q23-galeria-lightbox-fechar::after {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

button.q23-galeria-lightbox-fechar:hover::after,
button.q23-galeria-lightbox-fechar:hover::before {
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  transition: 0.3s;
}

.q23-galeria-lightbox-contador span {
  color: var(--white);
  font-family: "Moulin";
  font-weight: 300;
}

.q23-galeria-lightbox-contador {
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  color: var(--white);
  font-family: "Moulin";
  font-weight: 300;
}

.q23-swiper-lightbox {
  width: calc(100% - 180px);
  height: 80vh;
  margin-top: -63px;
}

.q23-swiper-lightbox .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.q23-swiper-lightbox .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.q23-galeria-lightbox-prev,
.q23-galeria-lightbox-next {
  color: var(--white) !important;
  top: 50% !important;
  transform: translateY(-50%);
}

.q23-galeria-lightbox-prev {
  left: 30px !important;
}

.q23-galeria-lightbox-next {
  right: 30px !important;
}

.block7-home {
  padding-top: 120px;
  overflow: visible !important;
  padding-bottom: 50px !important;
}

.block7-home .wpb_text_column {
  margin-bottom: 70px !important;
}

.block7-home h2,
.block7-home .wpb_text_column {
  opacity: 0;
}

.block7-home h2 {
  text-align: center !important;
  margin-bottom: 45px !important;
}

.block7-home .wpb_text_column p {
  max-width: 660px;
  text-align: center;
  margin-inline: auto !important;
}

.block7-home .wpb_single_image {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 25px !important;
  width: 320px;
}

.googleMapsWrapper {
  overflow: visible !important;
}

#map {
  border-radius: 200px;
}

#map gmp-advanced-marker[title="Gaia"] .custom-marker img.default-marker-icon,
#map gmp-advanced-marker[title="Porto"] .custom-marker img.default-marker-icon {
  width: 60px !important;
  height: auto !important;
}

#map gmp-advanced-marker[title="Gaia"],
/* #map gmp-advanced-marker[title="Gaia"] .custom-marker, */
#map gmp-advanced-marker[title="Porto"] {
  pointer-events: none !important;
}

.googleMapsWrapper
  gmp-advanced-marker:not([title="Q23"])
  .adicional-marker-icon {
  height: 8px !important;
}

.googleMapsWrapper
  gmp-advanced-marker[title="Centro Histórico do Porto"]
  .adicional-marker-icon {
  height: 36px !important;
}

.marker-title {
  font-size: 10px;
  line-height: 10px;
}

#map gmp-advanced-marker[title="Porto"] .marker-title,
#map gmp-advanced-marker[title="Gaia"] .marker-title {
  display: none !important;
}

.googleMapsWrapper #map-menu button {
  font-size: 0px !important;
  transition: 0.3s;
}

.googleMapsWrapper div#map-menu {
  display: flex !important;
  column-gap: 12px !important;
  flex-direction: row;
}

span.map-menu-pois-label {
  font-family: "Moulin";
  color: var(--golden);
  width: 100px;
  display: block;
  font-size: 22px;
  margin-top: 5px;
}

.googleMapsWrapper .map-menu-wrapper {
  width: fit-content !important;
  display: flex;
  justify-content: center;
  gap: 100px;
  align-items: center;
  margin-inline: auto;
  background-image: url(/wp-content/uploads/background-scaled.webp);
  background-position: center;
  background-size: cover;
  border-radius: 100px !important;
  position: absolute;
  bottom: 0px;
  height: fit-content;
  top: unset;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
}

.googleMapsWrapper #map-menu button:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  transition: 0.3s;
}

.block-contactos {
  max-width: 900px !important;
  margin-inline: auto !important;
  left: unset !important;
  margin-block: 180px 200px !important;
  overflow: visible !important;
}

.block-contactos > .vc_col-sm-12 {
  padding: 30px 60px 20px;
  border: 1px solid var(--orange);
  border-radius: 25px;
}

.block-contactos p.vc_custom_heading {
  max-width: 560px;
  margin-inline: auto !important;
  margin-bottom: 25px !important;
  margin-top: 5px !important;
}

.block-contactos .vc_inner .wpb_wrapper {
  width: 100%;
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.block-contactos .vc_btn3-container {
  width: 50%;
}

.block-contactos button.vc_btn3 {
  width: 100%;
  background: var(--white) !important;
  font-size: 16px !important;
  line-height: 16px !important;
  padding-top: 18px !important;
  font-weight: 300 !important;
}

.block-contactos
  .vc_btn3-container.vc_btn3-inline.vc_do_btn:hover
  button.vc_btn3,
.block-contactos
  .vc_btn3-container.vc_btn3-inline.vc_do_btn.ativo
  button.vc_btn3 {
  background: none !important;
}

span.quform-required,
label.quform-label-text {
  color: var(--brown) !important;
  font-size: 16px;
  line-height: 16px;
}

.quform-label {
  margin-left: 10px;
  margin-bottom: 10px;
}

.quform-input input,
.quform-input input::placeholder,
.quform-input select,
.quform-input textarea,
.quform-input textarea::placeholder,
.select2-container--quform .select2-selection .select2-selection__rendered {
  font-weight: 400;
  font-size: 16px !important;
  line-height: 20px !important;
  color: rgba(0, 0, 0, 0.6);
  font-family: "Inter" !important;
}

.quform-input input,
.quform-input select,
.quform-input textarea,
.quform .select2-container--quform .select2-selection {
  border-radius: 2px;
  background-color: var(--fade-brown);
  border: 0px;
  padding: 10px;
}

.quform .quform-field-textarea {
  height: 80px;
}

span.quform-option-text,
span.quform-option-text a {
  font-size: 10px;
  color: var(--brown);
  letter-spacing: 0px;
  line-height: 14px !important;
}

.quform-2-columns span.quform-option-text,
.quform-2-columns span.quform-option-text a {
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 16px !important;
}

.quform-option {
  min-height: 0px;
}

.quform-2-columns .quform-inner.quform-inner-radio {
  height: 38px;
  display: flex;
  align-items: center;
}

.quform-option-label,
.quform-option {
  line-height: 14px;
}

span.quform-option-text a:hover {
  text-decoration: underline;
}

span.quform-error-text {
  font-size: 10px;
}

/* Radio buttons dentro do .quform-2-columns: bolas com borda --golden,
   fundo --golden quando selecionado (transparente quando não). */
.quform-2-columns input[type="radio"].quform-field-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--golden);
  background-color: transparent;
  cursor: pointer;
  margin: 0;
  transition: background-color 200ms linear;
}

.quform-2-columns input[type="radio"].quform-field-radio:checked {
  background-color: var(--golden);
}

span.quform-button-text.quform-button-submit-text {
  font-family: "Moulin", sans-serif;
  font-size: 16px;
  color: var(--brown) !important;
  border-radius: 50px;
  z-index: 1;
  position: relative;
  letter-spacing: 0.7px;

  padding: 16px 22px;
  height: fit-content !important;
  display: block;
  line-height: 1;
  border-radius: 50px;
  font-weight: 600;
  background-color: var(--orange);
  transition: 0.3s;
  text-transform: uppercase;
  border: 1px solid var(--orange);
}

button.quform-submit {
  width: fit-content !important;
  border: 0px;
  background-color: transparent !important;
  padding: 0px !important;
  position: relative;
  margin-inline: auto;
}

button.quform-submit:hover span.quform-button-text {
  background-color: var(--orange);
  background-color: var(--white) !important;

  transition: 0.3s;
}

.quform-element-checkbox .quform-spacer {
  padding: 0px;
}

.quform-button-submit {
  position: absolute;
  bottom: -70px;
  transform: translateY(100%);
}

/* Footer */

footer {
  width: 100vw;
  height: fit-content;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  background-image: url(/wp-content/uploads/background.webp);
  background-position: center;
  background-size: cover;
}

.wrapper-footer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-block: 40px 12px;
  align-items: center;
}

.logo-footer {
  padding-bottom: 30px;
}

.redes {
  display: flex;
  align-items: center;
  gap: 25px;
}

.redes a:hover {
  filter: brightness(1.5);
}

.direitos {
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0px;
  margin-block: 30px 10px;
  line-height: 14px;
  text-align: center;
  padding-inline: 30px;
}

ul.legal-menu {
  display: flex;
  gap: 30px;
}

ul.legal-menu li {
  position: relative;
}

ul.legal-menu li:not(:last-child)::before {
  content: "";
  height: 12px;
  width: 1px;
  background-color: var(--white);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -16px;
}

ul.legal-menu li a {
  font-size: 12px;
  line-height: 14px;
  text-decoration: underline;
  color: var(--white);
  text-underline-offset: 3px;
  letter-spacing: 0;
}

ul.legal-menu li:hover a {
  color: var(--golden);
}

.disclaimer {
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0;
  text-align: center;
  color: var(--white);
  margin-top: 30px;
  padding-inline: 40px;
  max-width: 1150px;
}

/* Obrigado */

.block-obrigado h1 {
  color: var(--golden);
  margin-bottom: 30px;
}

.block-obrigado .wpb_text_column {
  height: 80vh;
  width: 100vw;
}

.block-obrigado .wpb_text_column .wpb_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.block-obrigado p a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.block-obrigado p a:hover {
  color: var(--golden);
}

/* Docs */

.block1-doc {
  max-width: 1200px !important;
  margin-inline: auto !important;
  left: 0px !important;
  padding-block: 150px 150px;
  padding-inline: 50px;
}

.block1-doc h2 {
  margin-block: 40px 15px;
  font-size: 30px;
  line-height: 35px;
}

.block1-doc h1.vc_custom_heading {
  color: var(--orange);
  margin-bottom: 40px !important;
  font-weight: 500;
  font-size: 50px;
  line-height: 50px;
}

.block1-doc p,
.block1-doc li,
.block1-doc a,
.block1-doc span,
.block1-doc div {
  font-weight: 300;
  color: var(--black);
}

.block1-doc a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.block1-doc li {
  list-style: disc;
}

.block1-doc ul {
  padding-left: 20px;
}

/* Media Queries */

@media only screen and (max-height: 1000px) {
  /* Homepage */

  .conceito-logo-btn img {
    /* max-height: 32px; */
  }

  button.conceito-logo-btn::before {
    width: 70px;
    height: 70px;
  }

  .conceitos-logos {
    margin-bottom: 20px;
  }
}

@media only screen and (max-height: 920px) {
  /* Homepage */

  .block1-home .wpb_single_image,
  .block2-home .wpb_single_image,
  .block5-home .wpb_single_image,
  .block7-home .wpb_single_image,
  .logo-fixo img {
    width: 250px;
  }

  .conceitos-coluna-esquerda .logo {
    bottom: 40px;
  }

  .conceitos-logos {
    gap: 25px;
    margin-bottom: 30px;
  }

  button.conceito-logo-btn::before {
    width: 60px;
    height: 60px;
  }

  .conceito-logo-btn img {
    max-height: 40px;
  }

  .conceitos-coluna-esquerda {
    width: 300px;
  }
  .block4-home h2,
  .block3-home h2 {
    padding-bottom: 15px;
  }

  .conceito-descricao-ativa {
    max-width: 250px;
  }
}

@media only screen and (max-height: 850px) {
  /* Homepage */

  .block1-home .wpb_single_image,
  .block2-home .wpb_single_image,
  .block5-home .wpb_single_image,
  .block7-home .wpb_single_image,
  .logo-fixo img {
    width: 200px;
  }

  .conceitos-coluna-esquerda .logo {
    bottom: 30px;
  }

  .conceito-descricao-ativa {
    font-size: 13px;
    line-height: 17px;
  }

  /* .qclub-wrapper .conceito-nome-ativo {
    margin-bottom: 40px;
    font-size: 38px;
    max-width: 160px;
    line-height: 1.3;
  } */
}

@media only screen and (max-height: 800px) {
  /* Homepage */

  .block1-home .wpb_single_image {
    margin-bottom: 30px !important;
  }
}

@media only screen and (max-height: 750px) {
  /* Estrutura */

  h1,
  h1 div,
  h2,
  h2 div {
    font-size: 50px;
    line-height: 56px;
  }

  /* Homepage */

  .conceitos-logos {
    flex-direction: row;
    justify-content: center;
  }

  .conceitos-logos {
    /* margin-bottom: 45px; */
  }
}

@media only screen and (max-height: 700px) {
  /* Homepage */

  .block1-home .wpb_single_image,
  .block2-home .wpb_single_image,
  .block5-home .wpb_single_image,
  .block7-home .wpb_single_image,
  .logo-fixo img {
    width: 120px;
  }

  .block2-home .wpb_single_image {
    margin-bottom: 15px !important;
  }
  .block1-home .wpb_single_image {
    margin-bottom: 0px !important;
  }

  .block1-home h1 {
    top: 0;
  }
}

@media only screen and (max-width: 1750px) {
  h2,
  h2 div {
    font-size: 64px;
    line-height: 1;
    letter-spacing: 0.4px;
  }

  /* Secao contactos */
  .block-contactos > .vc_col-sm-12 {
    padding: 30px 50px 20px;
  }
  .block-contactos button.vc_btn3 {
    font-size: 14px !important;
    line-height: 1 !important;
    padding-top: 12px !important;
    padding: 12px 16px !important;
  }
  .quform-label {
    margin-bottom: 5px;
  }
  span.quform-required,
  label.quform-label-text {
    font-size: 14px;
    line-height: 1;
  }

  .quform-input input,
  .quform-input input::placeholder,
  .quform-input select,
  .quform-input textarea,
  .quform-input textarea::placeholder,
  .select2-container--quform .select2-selection .select2-selection__rendered {
    font-size: 14px !important;
    line-height: 17px !important;
  }
  .quform-spacer {
    padding: 0 0 6px 0 !important;
  }
  .quform-2-columns span.quform-option-text,
  .quform-2-columns span.quform-option-text a {
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1 !important;
  }
  /* aqui */
  .quform-element-html {
    display: none;
  }

  .quform-button-submit {
    bottom: -40px;
  }
}

@media only screen and (max-width: 1680px) {
  /* Estrutura */

  h1,
  h1 div,
  h2,
  h2 div {
    font-size: 55px;
    line-height: 60px;
  }

  p,
  li,
  a,
  span,
  div {
    font-size: 15px;
    line-height: 20px;
  }

  /* Homepage */

  .block2-home .wpb_text_column:has(p) {
    width: 530px;
    margin-top: 15px !important;
  }

  .qclub-wrapper .conceito-descricao-ativa {
    max-width: 215px;
  }

  .block5-home .wpb_text_column:has(p),
  .block7-home .wpb_text_column p {
    max-width: 570px;
  }
}

@media only screen and (max-width: 1441px) {
  h1,
  h1 div,
  h2,
  h2 div {
    font-size: 48px;
    line-height: 53px;
  }

  /* FOOTER */
  .wrapper-footer {
    padding-block: 25px 12px;
  }
  .logo-footer {
    padding-bottom: 15px;
  }
  .logo-footer a {
    display: block;
  }
  .logo-footer img {
    width: calc(303px * 0.7);
    height: auto;
  }

  .redes {
    gap: 15px;
  }
  .redes img {
    height: calc(18px * 0.9);
    width: auto;
  }
  .direitos {
    margin-block: 15px 10px;
    font-size: 11px;
    line-height: 12px;
  }

  ul.legal-menu li a {
    font-size: 11px;
    line-height: 12px;
  }
  .disclaimer {
    margin-top: 15px;
  }

  /* Header */
  .wrapper-header {
    height: 50px;
  }

  .logo-header {
    left: 150px;
  }
  .logo-header a {
    display: block;
  }
  .logo-header img {
    width: calc(73px * 0.75);
    height: auto;
    display: block;
  }

  header li,
  header li a {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1.2px;
  }

  ul.main-menu {
    gap: 35px;
  }
  /* Homepage */

  .block2-home .wrap_svl_center {
    /* max-width: 1100px; */
    max-width: 920px;
  }

  body .point_style a img,
  body .point_style img {
    width: 65px;
    height: auto;
    object-fit: contain;
  }
  .block3-home::before {
    width: 700px;
    height: 750px;
  }

  .block2-home .drag_element {
    transform: scale(0.7);
  }

  .block2-home .drag_element:hover {
    transform: scale(0.9);
  }

  .qclub-wrapper .conceito-descricao-ativa {
    max-width: 220px;
  }

  .block7-home h2 {
    margin-bottom: 20px !important;
  }
  .block7-home .wpb_text_column {
    margin-bottom: 40px !important;
  }

  .block5-home .mostrar-mais-container {
    /* margin-top: 50px !important; */
  }
  .q23-galeria-wrapper {
    padding-inline: 70px;
  }

  .q23-swiper-simples {
    border-radius: 150px;
  }

  .block5-home .wpb_text_column:has(table) h2 {
    margin-top: -30px !important;
  }
}

@media only screen and (max-width: 1281px) {
  /* Estrutura */

  /* Preloader */

  .preloader__images .container-img.first-preloader img {
    width: 60vw;
  }

  .preloader__images .container-img.first-preloader.preloader-1 img {
    top: 38%;
    left: 50%;
  }

  .preloader__images .container-img.first-preloader.preloader-2 img {
    top: 50%;
    left: 40%;
  }

  .preloader__logo {
    transform: translateX(-50%) translateY(-39vh);
  }

  /* Secao contctos */
  .block-contactos button.vc_btn3 {
    font-size: 13px !important;
    padding-top: 10px !important;
    padding: 10px 16px !important;
  }
  .quform-label {
    margin-bottom: 4px;
    line-height: 1.1;
  }
  span.quform-required,
  label.quform-label-text {
    font-size: 13px;
  }

  .quform-input input,
  .quform-input input::placeholder,
  .quform-input select,
  .quform-input textarea,
  .quform-input textarea::placeholder,
  .select2-container--quform .select2-selection .select2-selection__rendered {
    font-size: 13px !important;
    line-height: 16px !important;
    padding-block: 6px !important;
  }
  .quform-spacer {
    padding: 0 0 5px 0 !important;
  }
  .quform-2-columns span.quform-option-text,
  .quform-2-columns span.quform-option-text a {
    font-size: 13px;
    letter-spacing: 0.4px;
  }

  .quform-button-submit {
    bottom: -40px;
  }

  .block3-home {
    margin-top: 75px;
  }
}

@media only screen and (max-width: 1100px) {
  /* Estrutura */

  h1,
  h1 div,
  h2,
  h2 div {
    font-size: 42px;
    line-height: 46px;
  }

  p,
  li,
  a,
  span,
  div {
    font-size: 16px;
    line-height: 20px;
  }

  .vc_btn3-container.vc_btn3-inline.vc_do_btn a.vc_btn3,
  .vc_btn3-container.vc_btn3-inline.vc_do_btn button.vc_btn3 {
    font-size: 14px;
  }

  span.quform-button-text.quform-button-submit-text {
    font-size: 14px;

    /* padding: 16px 22px; */
  }
  /* Preloader */

  .preloader__images .container-img.first-preloader img {
    position: relative;
    transform: unset;
    width: 100%;
    height: 100%;
  }

  .preloader__images .container-img.first-preloader.preloader-1 img,
  .preloader__images .container-img.first-preloader.preloader-2 img {
    top: unset;
    left: unset;
  }

  .preloader__logo {
    width: 120px;
    transform: translateX(-50%) translateY(-42vh);
  }

  /* Header */

  ul.main-menu {
    gap: 20px;
    transform: translateX(0%) translateY(-50%);
    left: unset;
    right: 50px;
  }

  .logo-header {
    left: 50px;
  }

  /* Homepage */

  .block2-home::before {
    content: "";
    width: 700px;
    height: 800px;
  }

  .block3-home::before {
    width: 700px;
    height: 700px;
  }

  .block4-home {
    margin-top: 230px;
  }

  .conceitos-coluna-esquerda {
    border-radius: 100px;
  }

  /* .qclub-wrapper .conceito-nome-ativo {
    margin-bottom: 30px;
    font-size: 35px;
    line-height: 40px;
  } */

  .block5-home .tabela-apartamentos th {
    font-size: 12px;
    line-height: 14px;
    padding: 15px 10px;
  }

  .block5-home .wpb_text_column:has(p) {
    max-width: 450px;
  }

  .q23-swiper-simples {
    border-radius: 100px;
  }

  .block7-home .wpb_text_column p {
    max-width: 650px;
    padding-inline: 30px;
  }

  #map {
    height: 450px;
    border-radius: 100px;
  }

  .block-contactos {
    max-width: 700px !important;
  }

  /* Docs */

  .block1-doc {
    padding-block: 150px;
  }
}

@media only screen and (max-width: 991px) {
  p,
  li,
  a,
  span,
  div {
    font-size: 15px;
    line-height: 20px;
  }
  /* Estrutura */

  header li,
  header li a {
    font-size: 24px;
    line-height: 24px;
  }

  /* Preloader */

  .preloader__logo {
    transform: translateX(-50%) translateY(-37vh);
  }

  /* Header */

  .hamburguer-menu {
    width: 25px;
    height: 10px;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburguer-menu::after,
  .hamburguer-menu::before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--golden);
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s;
    position: absolute;
  }

  .hamburguer-menu::after {
    top: unset;
    bottom: 0px;
    position: absolute;
  }

  .hamburguer-menu.open::before {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transition: 0.3s;
  }

  .hamburguer-menu.open::after {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%) rotate(-45deg);
    transition: 0.3s;
  }

  ul.main-menu {
    width: 100vw;
    height: 100dvh;
    background-color: var(--white);
    top: -100dvh;
    left: 0px;
    transform: none;
    position: fixed;
    flex-direction: column;
    padding: 120px 50px;
    transition: 0.3s;
    gap: 35px;
  }

  ul.main-menu.open {
    top: 0;
    transition: 0.3s;
  }

  ul.main-menu li {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--golden);
  }

  .logo-header {
    left: 50px;
    z-index: 1;
  }

  /* Homepage */

  .block1-home .wpb_single_image,
  .block2-home .wpb_single_image,
  .block5-home .wpb_single_image,
  .block7-home .wpb_single_image,
  .logo-fixo img {
    width: 200px;
  }

  .conceitos-coluna-esquerda {
    width: 350px;
  }

  .conceito-descricao-ativa {
    max-width: 290px;
  }

  .conceitos-wrapper {
    width: calc(100% - 205px);
    margin-left: 205px;
  }

  .block3-home h2,
  .block4-home h2 {
    margin-left: 50px !important;
  }

  .block5-home .filtros-ordenacao {
    top: 0;
  }

  .q23-swiper-lightbox {
    width: 100%;
    height: 80vh;
  }

  .q23-galeria-wrapper {
    padding-inline: 0px;
  }

  .block7-home .wpb_text_column p {
    margin-inline: auto;
  }

  .block7-home h2,
  .block7-home .wpb_text_column {
    padding-inline: 50px;
    text-align: center !important;
  }

  .googleMapsWrapper .map-menu-wrapper {
    gap: 20px;
    flex-direction: column;
  }

  span.map-menu-pois-label {
    width: fit-content;
  }

  /* Footer */

  .logo-footer {
    padding-bottom: 60px;
  }

  .logo-footer img {
    width: 250px;
  }

  .wrapper-footer {
    padding-block: 80px 12px;
  }

  footer {
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
  }
}

@media only screen and (max-width: 600px) {
  /* Preloader */

  .preloader__images .container-img.first-preloader img {
  }

  .preloader__images .container-img.first-preloader.preloader-1 img {
    object-position: top;
  }
  .preloader__images .container-img.first-preloader.preloader-2 img {
    object-position: 25%;
  }

  /* Estrutura */

  h1,
  h1 div,
  h2,
  h2 div {
    font-size: 40px;
    line-height: 42px;
  }

  header li,
  header li a {
    font-size: 20px;
    line-height: 20px;
  }

  /* Header */

  .logo-header {
    left: 30px;
  }

  .hamburguer-menu {
    right: 30px;
  }

  .logo-header img {
    width: 55px;
  }

  .logo-header a {
    display: block;
  }

  ul.main-menu {
    padding: 120px 30px;
    gap: 25px;
  }

  ul.main-menu li {
    padding-bottom: 20px;
  }

  /* Homepage */

  .block1-home .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper {
    width: 100%;
    padding-inline: 30px;
  }

  .block1-home .wpb_single_image,
  .block2-home .wpb_single_image,
  .block5-home .wpb_single_image,
  .block7-home .wpb_single_image,
  .logo-fixo img {
    width: 150px;
  }

  .block1-home .wpb_single_image,
  .block1-home h1 {
    top: 0;
  }

  .block1-home .wpb_single_image {
    margin-bottom: 30px !important;
  }

  .block1-home .container-video {
    width: calc(100vw - 30px);
  }

  .block2-home .wpb_text_column:has(p) {
    width: 100%;
    padding-inline: 30px;
  }

  .block2-home .drag_element {
    transform: scale(0.4);
  }

  .block2-home .drag_element:hover {
    transform: scale(0.5);
  }

  .block2-home::before {
    width: 500px;
    height: 600px;
    top: calc(50% - 120px);
  }

  .conceitos-wrapper {
    width: 100%;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
  }

  .conceitos-coluna-esquerda {
    width: 70%;
    min-width: fit-content;
    transform: translateY(50%);
    height: fit-content;
    padding-block: 30px 45px;
    padding-inline: 60px;
    top: unset;
    bottom: 0px;
  }

  .conceitos-logos {
    flex-direction: row;
  }

  .conceitos-coluna-esquerda .logo {
    bottom: 20px;
    width: 35px;
  }

  .conceito-descricao-ativa {
    max-width: 290px;
    margin-top: 120px;
    margin-inline: 30px 0px;
    color: var(--dark-green);
  }
  .q23-galeria-btn-container {
    margin-top: 20px;
  }

  .q23-swiper-simples {
    height: 60vh;
  }
  .q23-swiper-simples .swiper-slide img {
    object-position: 50%;
  }
  .block3-home h2,
  .block4-home h2 {
    margin-left: 30px !important;
  }
  .block4-home h2 {
    padding-bottom: 15px;
  }
  .conceito-nome-ativo {
    margin-bottom: 30px;
  }

  button.conceito-logo-btn::before {
    width: 50px;
    height: 50px;
  }

  .conceito-logo-btn img {
    max-height: 25px;
  }

  .conceitos-coluna-direita {
    overflow: visible;
    flex: 1;
  }

  .conceito-imagem-atual,
  .conceito-imagem-next {
    overflow: hidden;
  }
  /* .conceitos-coluna-esquerda, */
  .conceitos-wrapper .conceitos-coluna-esquerda,
  .qclub-wrapper .conceitos-coluna-esquerda {
    transform: translateY(90%);
  }
  .conceito-descricao-ativa {
    margin-top: 180px;
  }

  /* .qclub-wrapper .conceito-nome-ativo {
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 28px;
  } */

  .qclub-wrapper .conceito-descricao-ativa {
    max-width: 375px;
    width: 100%;
    padding-inline: 30px;
    margin-left: 0px;
  }

  .qclub-arrows {
    margin-top: 0;
  }

  .block5-home {
    padding-top: 50px;
    margin-top: 50px;
  }

  .block5-home .wpb_text_column:has(p) {
    padding-inline: 30px;
  }

  .block5-home button.botao-ordenacao {
    padding-top: 12px;
  }

  .block5-home .container-grafico {
    top: 80px;
  }

  .block5-home .grafico-disponiveis .number {
    font-size: 12px;
    line-height: 12px;
  }

  .block7-home h2,
  .block7-home .wpb_text_column {
    padding-inline: 30px;
  }

  #map {
    height: 70vh !important;
    border-radius: 30px;
  }

  #localizacao .googleMapsWrapper div#map-menu {
    flex-direction: column;
    justify-content: center;
    row-gap: 10px !important;
    align-items: center;
  }

  .googleMapsWrapper .map-menu-wrapper {
    padding-inline: 45px !important;
  }

  span.map-menu-pois-label {
    font-size: 18px;
    margin-top: 0px;
    text-align: center;
  }

  #localizacao .googleMapsWrapper .map-menu-wrapper {
    position: relative;
    top: 0px;
    left: 0px;
    transform: none;
    margin-top: 40px;
    width: calc(100% - 60px) !important;
    border-radius: 30px !important;
  }

  .q23-swiper-simples {
    border-radius: 30px;
  }

  .block-contactos {
    max-width: calc(100% - 60px) !important;
    margin-block: 70px 140px !important ;
  }

  .block-contactos > .vc_col-sm-12 {
    /* padding: 60px 20px 15px; */
    padding: 30px 20px 20px;
  }

  .block-contactos p.vc_custom_heading {
    margin-bottom: 25px !important;
    margin-top: 20px !important;
  }

  .quform-label > .quform-label-text {
    letter-spacing: 0px;
    font-size: 14px;
    line-height: 14px;
  }

  .quform-input input,
  .quform-input input::placeholder,
  .quform-input select,
  .quform-input textarea,
  .quform-input textarea::placeholder,
  .select2-container--quform .select2-selection .select2-selection__rendered {
    font-weight: 400;
    font-size: 14px !important;
    line-height: 18px !important;
    color: rgba(0, 0, 0, 0.6);
    font-family: "Inter" !important;
  }

  .quform-label {
    margin-left: 5px;
    margin-bottom: 5px;
  }

  .quform-button-submit {
    display: flex;
    justify-content: center;
  }

  /* Footer */

  .logo-footer img {
    width: 150px;
  }

  /* Docs */

  .block1-doc {
    padding-inline: 30px;
  }

  .block1-doc h1.vc_custom_heading {
    font-size: 30px;
    line-height: 30px;
  }

  .block1-doc h2 {
    font-size: 22px;
    line-height: 26px;
  }
}
