/*
Estilo Específico do Pedro
    -- secções Footer
    -- Stay Connected
    -- Our Partners
    -- Community

Nota: Grande parte do CSS poderá estar dentro de ficheiros de widget em /inc/xxxxx.php
*/

/* :root {
  --black: #000000;
  --white: #ffffff;
  --cream: #f9f5ef;
  --green: #3eeeaa;
  --pink: #f92d64;
  --blue: #2e71ff;
  --grey: #9f9f9f;
  --padding-x: 0px;
  --padding-y: 0px;
} */

/* ========================================================================== */
/*                               FOOTER                                       */
/* ========================================================================== */
footer {
  background-color: var(--black);
  padding-right: 40px;
}

footer .footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  padding-top: 6vw;
  max-width: 748px;
  /* max-width: 39vw; */
  margin-bottom: 8px;
}

.footer-right h2 {
  margin-block: 8px 5vw;
  font-size: 86px;
  font-weight: 100;
  line-height: 1;
}
.footer-right h2,
.subtitle {
  text-align: center;
}
.subtitle {
  font-weight: 400;
}
.footer-legal-menu {
  margin-right: auto;
  margin-top: 7vw;
}

.footer-legal-menu ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer-legal-menu ul li a {
  color: var(--pink);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

/* ====================================================== */
/*                     QUFORM                             */
/* ====================================================== */
/* ==========================================================================
   RESET + ESTILO CUSTOM — Quform (genérico, aplica-se a todos os forms)
   ========================================================================== */

/* 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(--black) inset !important;
  -webkit-text-fill-color: var(--pink) !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;
}

/* --- Reset base a todos os campos --- */
.inputForm.quform-field {
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  outline: none;
}

.inputFormSelect .quform-label-text {
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.quform .quform-field-captcha:focus,
.quform .quform-field-date:focus,
.quform .quform-field-email:focus,
.quform .quform-field-file:focus,
.quform .quform-field-multiselect:focus,
.quform .quform-field-password:focus,
.quform .quform-field-select:focus,
.quform .quform-field-text:focus,
.quform .quform-field-textarea:focus,
.quform .quform-field-time:focus,
.quform .select2-container--quform.select2-container--focus .select2-selection,
.quform .select2-container--quform.select2-container--open .select2-selection {
  border-color: var(--pink) !important;
}

/* --- Inputs de texto/email/select — sem border, só border-bottom --- */
.inputForm.quform-field-text,
.inputForm.quform-field-email,
.inputForm.quform-field-select,
.inputForm.quform-field-textarea {
  border: none;
  border-bottom: 1px solid var(--pink);
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
  width: 100%;

  color: var(--pink);
  font-size: 18px;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
}

.inputForm.quform-field-text::placeholder,
.inputForm.quform-field-email::placeholder {
  color: var(--pink);
  opacity: 1;
  /* ajusta/remove se quiseres o placeholder na mesma cor sólida do texto */
}

/* Remove a seta/estilo nativo do select — se quiseres uma seta customizada, dizes-me */

.inputForm.quform-field-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='9' viewBox='0 0 15 9' fill='none'%3E%3Cpath d='M14.4358 1.70681C14.826 1.31626 14.8262 0.68317 14.4358 0.292745C14.0453 -0.0976806 13.4123 -0.0974827 13.0217 0.292745L7.36448 5.94997L1.70726 0.292744C1.31671 -0.0974833 0.683619 -0.0976812 0.293193 0.292744C-0.0972328 0.68317 -0.0970345 1.31626 0.293193 1.70681L6.65745 8.07106C7.04797 8.46159 7.68099 8.46159 8.07151 8.07106L14.4358 1.70681Z' fill='%23F92D64'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 21px) center;
  background-size: 15px 9px;
}

/* --- Texto das checkboxes (o label, pequeno) --- */
.quform-option-text a,
.quform-option-text {
  color: var(--pink);
  font-size: 10px;
  font-weight: 500;
  line-height: 14.98px;
  /* 149.802% */
}

/* --- Checkbox customizada: quadrado, border-radius 5px, cor pink ---
   A checkbox nativa fica escondida (opacity:0, não display:none — mantém
   acessibilidade/navegação por teclado), sobreposta exatamente em cima do
   quadrado desenhado no ::before do label */
.quform-field-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* NOVO: !important nas propriedades de layout — sem isto, o CSS do
   próprio Quform pode estar a sobrepor-se ao teu display:flex/padding,
   fazendo o texto e a caixa ficarem desalinhados ou sobrepostos */
.quform-option-label {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding-left: 30px !important;
  padding-top: 5px !important;
  cursor: pointer !important;
}
/* NOVO: garante que a checkbox invisível ancora exatamente no par
   checkbox+label certo, não num antepassado qualquer lá em cima */
.quform-option {
  position: relative !important;
}

.quform-option-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  /* ajusta para alinhar com a 1ª linha do texto */
  width: 16px;
  height: 16px;
  border: 1px solid var(--pink);
  border-radius: 5px;
  background-color: transparent;
  transition: background-color 200ms ease;
}

.quform-field-checkbox:checked + .quform-option-label::before {
  background-color: var(--pink);
}

/* --- Botão de submissão --- */
.quform-submit {
  margin-top: 30px !important;

  background-color: var(--black);
  border: 2px solid var(--pink);
  border-radius: 75px;
  padding: 9px 33px !important;
  /* ajusta ao gosto */
  transition: background-color 300ms ease !important;
  margin-top: 30px !important;
}

.quform-button-text,
.quform-button-submit-text {
  color: var(--pink);
  text-align: center;
  font-size: 21.094px;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 300;
  line-height: normal;
  transition: color 300ms ease;
}

.quform-submit:hover {
  background-color: var(--pink);
}

.quform-submit:hover .quform-button-text,
.quform-submit:hover .quform-button-submit-text {
  color: var(--black);
}
.quform-element-checkbox .quform-spacer {
  padding: 0px !important;
  margin: 0px !important;
  margin-bottom: 12px !important;
}

.quform-success-message-animate * {
  color: var(--black) !important;
}

.quform-error > .quform-error-inner {
  padding: 0px;
  margin: 0;
  background-color: transparent;
  color: red;
  border-left: 0px;
  max-width: 100%;
}

.quform-error * {
  color: var(--black) !important;
  font-size: 14px;
}

.quform-success-message {
  background-color: transparent;
  border-left: unset;
  color: var(--black) !important;
  padding: 0px;
  margin: 0px;
  position: relative;
}
.quform-success-message-icon {
  display: none;
}
.quform-required {
  color: var(--black) !important;
  margin: 0px !important;
}
.quform-success-message-content {
  color: var(--black) !important;
  padding: 0px !important;
  margin-bottom: 10px !important;
}

/* ------ LEFT SIDE ------ */
.footer-left {
  display: flex;
}
.footer-svg-wrapper {
  position: relative;
  margin-top: -100px;
}
.footer-svg-wrapper a:has(.logoFooter) {
  position: absolute;
  top: 31%;
  left: 55%;
  transform: translate(-50%, -50%);
}
.socials-wrapper {
  display: flex;
  gap: 28px;
  align-items: center;
}

footer .socials-wrapper {
  position: absolute;
  left: 230px;
  bottom: 24px;

  height: fit-content;
}

.socials-wrapper a {
  font-size: unset;
  line-height: unset;
  display: flex;
}

/* ========================================================================== */
/*                       OUR PARTNERS SECTION                               */
/* ========================================================================== */
.before-footer-section {
  padding-inline: 145px !important;
  margin-top: max(70px, 10.7vw);
}

.before-footer-section .vc_row {
  margin-inline: 15px !important;
}

/* ========================================================================== */
/*                       STAY CONNECTED SECTION                               */
/* ========================================================================== */
.newsletter-row .h2-wrapper h2 {
  color: var(--black);
}

.newsletter-row .h2-wrapper h2 strong {
  color: var(--pink);
}

.newsletter-row {
  padding-block: 100px 74px;
  border-block-start: 1px solid var(--black);
  border-block-end: 1px solid var(--black);
}

.newsletter-row .quform {
  max-width: 546px;
  margin-inline: auto;
  margin-top: 69px;
}

.newsletter-row .quform-submit {
  background-color: transparent;
}

.newsletter-row .quform-submit:hover {
  background-color: var(--pink);
}

.newsletter-row .quform-submit:hover span {
  color: var(--white);
}

/* Autofill Background/Color */
.newsletter-row input:-webkit-autofill,
.newsletter-row input:-webkit-autofill:hover,
.newsletter-row input:-webkit-autofill:focus,
.newsletter-row input:-webkit-autofill:active,
.newsletter-row select:-webkit-autofill,
.newsletter-row select:-webkit-autofill:hover,
.newsletter-row select:-webkit-autofill:focus,
.newsletter-row select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--cream) inset !important;
  -webkit-text-fill-color: var(--pink) !important;
}
/* ========================================================================== */
/*                          FOLLOW US SECTION                                 */
/* ========================================================================== */

.follow-us-row .vc_column-inner .wpb_raw_code {
  padding-block: 60px 75px;
  display: flex;
  width: 100%;
  justify-content: center;
}

.follow-us-row .vc_column-inner .wpb_raw_code > .wpb_wrapper {
  width: fit-content;
}
.follow-us-row p {
  color: var(--black);
  font-weight: 400;
  margin-bottom: 21px;
}

.follow-us-row .socials-wrapper {
  margin-left: -3px;
}

/****************************** MEDIA QUERIES ************************************/
/* PARA ECRAS 4k - criar container para nao ir para as pontas */
@media (min-width: 2100px) {
  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */

  footer .footer-wrapper {
    max-width: var(--bigpage-container);
    margin-inline: auto;
  }

  .before-footer-section {
    padding-inline: var(--padding-inline) !important;
  }
}

/* Intermédio 2 */
@media print, screen and (max-width: 1750px) {
  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */

  .footer-right {
    padding-top: 6vw;
    max-width: calc(748px * 0.9);
    /* max-width: 39vw; */
  }

  .footer-right h2 {
    margin-block: 8px 5vw;
    font-size: calc(86px * 0.9);
  }

  .footer-legal-menu ul li a {
    font-size: 15px;
  }

  /* ====================================================== */
  /*                     QUFORM                             */
  /* ====================================================== */
  /* ==========================================================================
                    RESET + ESTILO CUSTOM — Quform (genérico, aplica-se a todos os forms)
                    ========================================================================== */

  .inputFormSelect .quform-label-text {
    font-size: 22px;
  }

  /* --- Inputs de texto/email/select — sem border, só border-bottom --- */
  .inputForm.quform-field-text,
  .inputForm.quform-field-email,
  .inputForm.quform-field-select,
  .inputForm.quform-field-textarea {
    padding: 6px 0;
    font-size: 16px;
  }

  /* Remove a seta/estilo nativo do select — se quiseres uma seta customizada, dizes-me */

  .inputForm.quform-field-select {
    background-position: calc(100% - 21px) center;
    background-size: 13px 7px;
  }

  .quform-button-text,
  .quform-button-submit-text {
    font-size: 18px;
  }

  .quform-submit {
    margin-top: 20px !important;
  }

  /* ========================================================================== */
  /*                       OUR PARTNERS SECTION                               */
  /* ========================================================================== */
  .before-footer-section {
    padding-inline: 110px !important;
  }

  /* ========================================================================== */
  /*                       STAY CONNECTED SECTION                               */
  /* ========================================================================== */
  .newsletter-row {
    padding-block: 80px 54px;
  }

  .newsletter-row .quform {
    max-width: 500px;
    margin-top: 50px;
  }
  /* ========================================================================== */
  /*                          FOLLOW US SECTION                                 */
  /* ========================================================================== */

  .follow-us-row .vc_column-inner .wpb_raw_code {
    padding-block: 50px 65px;
  }

  .follow-us-row p {
    margin-bottom: 18px;
  }

  .follow-us-row .socials-wrapper {
    margin-left: -3px;
    gap: 22px;
  }

  .follow-us-row .socials-wrapper a img {
    width: calc(47px * 0.9);
    height: auto;
  }
}

@media print, screen and (max-width: 1550px) {
  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */

  .footer-right {
    max-width: calc(748px * 0.8);
    /* max-width: 39vw; */
  }

  .footer-right h2 {
    font-size: calc(86px * 0.8);
  }

  .footer-legal-menu ul li a {
    font-size: 14px;
  }

  /* --- Inputs de texto/email/select — sem border, só border-bottom --- */
  .quform-button-text,
  .quform-button-submit-text {
    font-size: 16px;
  }

  /* ========================================================================== */
  /*                       OUR PARTNERS SECTION                               */
  /* ========================================================================== */
  .before-footer-section {
    padding-inline: 90px !important;
  }

  /* ========================================================================== */
  /*                       STAY CONNECTED SECTION                               */
  /* ========================================================================== */
  .newsletter-row {
    padding-block: 70px 44px;
  }

  .newsletter-row .quform {
    max-width: 450px;
    margin-top: 40px;
  }
  /* ========================================================================== */
  /*                          FOLLOW US SECTION                                 */
  /* ========================================================================== */

  .follow-us-row .vc_column-inner .wpb_raw_code {
    padding-block: 40px 55px;
  }

  .follow-us-row .socials-wrapper a img {
    width: calc(47px * 0.8);
    height: auto;
  }

  .follow-us-row .socials-wrapper {
    margin-left: -2px;
    gap: 18px;
  }
  .follow-us-row p {
    margin-bottom: 12px;
  }
}

@media only screen and (max-width: 1440px) {
}

/* Media query para menu hamburguer */
@media print, screen and (max-width: 1250px) {
  /* ========================================================================== */
  /*                               FOOTER                                       */
  /* ========================================================================== */

  .footer-right {
    max-width: calc(748px * 0.65);
    /* max-width: 39vw; */
  }

  .footer-right h2 {
    font-size: calc(86px * 0.65);
  }

  /* ========================================================================== */
  /*                       OUR PARTNERS SECTION                               */
  /* ========================================================================== */
  .before-footer-section {
    padding-inline: 70px !important;
  }

  /* ========================================================================== */
  /*                       STAY CONNECTED SECTION                               */
  /* ========================================================================== */
  .newsletter-row {
    padding-block: 70px 34px;
  }

  .newsletter-row .quform {
    max-width: 420px;
    margin-top: 40px;
  }
  /* ========================================================================== */
  /*                          FOLLOW US SECTION                                 */
  /* ========================================================================== */

  .follow-us-row .vc_column-inner .wpb_raw_code {
    padding-block: 40px 55px;
  }

  .follow-us-row .socials-wrapper a img {
    width: calc(47px * 0.7);
    height: auto;
  }

  .follow-us-row .socials-wrapper {
    margin-left: -2px;
    gap: 14px;
  }
  .follow-us-row p {
    margin-bottom: 10px;
  }
}

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

/* Size considerado para Tablet */
@media only screen and (max-width: 991px) {
  footer {
    padding-bottom: 8px;
    padding-inline: 25px;
  }
  footer .footer-wrapper {
    grid-template-columns: auto;
    gap: 40px;
    justify-items: center;
  }
  .footer-right {
    padding-top: 0px;
  }
  .footer-legal-menu {
    margin-right: unset;
    margin-top: 60px;
  }

  .quform-button-submit {
    width: 100%;
  }
  .quform-submit {
    margin-top: 10px !important;
    margin-inline: auto !important;
    width: 100%;
  }
  .footer-legal-menu ul {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: column;
  }

  /* ------ LEFT SIDE ------ */
  .footer-left {
    display: flex;
  }
  .footer-svg-wrapper {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
  }
  .footer-svg-wrapper .logoFooter {
    width: 60vw;
    height: auto;
    object-fit: contain;
  }
  .footer-svg-wrapper a:has(.logoFooter) {
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
  }
  .footer-svg-wrapper svg {
    display: none !important;
  }
  .socials-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  footer .socials-wrapper {
    position: relative;
    bottom: unset;
    justify-content: center;
    left: unset;
    height: fit-content;
  }

  /* ========================================================================== */
  /*                       OUR PARTNERS SECTION                               */
  /* ========================================================================== */
  .before-footer-section {
    padding-inline: 40px !important;
  }
  .before-footer-section .vc_row {
    margin-inline: 0px !important;
  }

  .newsletter-row .quform {
    margin-top: 30px;
  }
}
/* Size considerado para Tablet modo portrait*/
@media only screen and (max-width: 767.5px) {
  .footer-right h2 {
    font-size: 46px;
    margin-block: 8px 20px;
  }
  .inputFormSelect .quform-label-text {
    font-size: 18px;
    margin-bottom: 0px;
  }
  .quform-spacer {
    padding: 0 0 12px 0 !important;
    margin: 0 0 5px 0;
  }
}

@media only screen and (max-width: 600px) {
}
@media only screen and (max-width: 500px) {
}
/* Size considerado Mobile - 430px*/
@media only screen and (max-width: 430px) {
  footer .quform {
    max-width: 300px;
  }
  .footer-svg-wrapper .logoFooter {
    width: 70vw;
  }

  .footer-right h2 {
    font-size: 36px;
    margin-block: 0px 20px;
  }
}
/* smartphones plus */
@media only screen and (max-width: 414px) {
}
/* smartphones normais  */
@media only screen and (max-width: 378px) {
}
/* iphone 5 <=  */
@media only screen and (max-width: 320px) {
}
