/*
Theme Name: QL Landing Theme
Theme URI: https://wevolved.com
Author: WEVOLVED - AgÃªncia Criativa
Author URI: https://wevolved.com
Description: Tema WordPress full-width com Bootstrap 12 colunas, header sticky e secÃ§Ãµes com Ã¢ncoras para vinhos. Preparado para traduÃ§Ã£o (i18n).
Version: 1.0.0
Text Domain: ql-theme
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* ===== Header ===== */
/* ====== Affairs Font Family ====== */
@font-face {
  font-family: 'Affairs';
  src: url('assets/fonts/Affairs/Affairs-Regular.woff2') format('woff2'),
       url('assets/fonts/Affairs/Affairs-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Affairs';
  src: url('assets/fonts/Affairs/Affairs-Italic.woff2') format('woff2'),
       url('assets/fonts/Affairs/Affairs-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Affairs Mono';
  src: url('assets/fonts/Affairs/Affairs-Mono.woff2') format('woff2'),
       url('assets/fonts/Affairs/Affairs-Mono.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
html,
body{
  max-width: 100%;
  overflow-x: hidden;
}
:root { --header-h: 76px; }
.ql-header { position: fixed; top:0; width: 100%; z-index:1030; background:#fff; border-bottom:1px solid #ececec; }
.ql-header-inner { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 16px; }
.ql-header-grid {
  display: flex;
  align-items:center;
  gap:16px;
  height: auto;
  padding-top: 28px;
  padding-bottom: 28px;
  justify-content: space-around;
  align-content: center;
}
.ql-slot { line-height:1; }
.ql-left  {/* display: flex; *//* justify-content: space-between; *//* flex-direction: row; */width: 200px;text-align: center;}
.ql-right {justify-self:start;/* flex-direction: row; */width: 200px;text-align: center;}
.ql-link {display:inline-block;text-transform:uppercase;letter-spacing:.08em;font-size: 12px;color:#222;font-family: 'Affairs';text-decoration: none;}
.ql-link:hover { color:#000; text-decoration:none; }
.ql-menu-parent { position:relative; }
.ql-menu-parent.has-sub > .ql-link::after {
  content:"";
  display: none;
  width:.35em;
  height:.35em;
  margin-left:.4em;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
}
.ql-sub {
  position:absolute;
  padding-top: 5px;
  left:50%;
  transform:translateX(-50%);
  top: calc(100% + 0px);
  background: transparent;
  border: 0px solid #e8e8e8;
  border-radius: 0px;
  padding: 5px 0px 0px;
  min-width: 180px;
  display:none;
}
.ql-sub li { list-style:none; }
.ql-sub a {display:block;padding: 3px 10px;font-size:13px;color:#111;white-space:nowrap;display: inline-block;text-transform: uppercase;letter-spacing: .08em;font-size: 12px;color: #222;font-family: 'Affairs';text-decoration: none;}
.ql-sub a:hover {  }
.ql-menu-parent:hover > .ql-link{
  opacity: .4;
}
.ql-menu-parent:hover > .ql-sub,
.ql-menu-parent:focus-within > .ql-sub { display:block; }
.ql-logo .custom-logo, .ql-logo img {/* max-height:44px; */width:auto;display:block;width: 128px;}
.ql-logo-link { display:inline-flex; align-items:center; justify-content:center; }
/* ===== Burger & mobile panel ===== */
.ql-burger {
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  width:39px; height:36px; border:0; background:transparent; padding:6px; display:none;
}
.ql-burger span {     display: block;
    height: 1px;
    background: #000;
    opacity: 1;
    transition: .3s;
    margin: 5px 0; }

.ql-burger.is-open span:nth-child(2){
  opacity: 0;
    transition: .3s;
}
.ql-burger.is-open span:nth-child(1){
 transform: translate(0px, 6px) rotate(45deg);
    transition: .3s;
}
.ql-burger.is-open span:nth-child(3){
 transform: translate(0px, -5px) rotate(-45deg);
    transition: .3s;
}

.ql-mobile-panel { border-top:1px solid #ececec; background:#fff; }
.ql-mobile-menu { list-style:none; margin:0; padding:12px 16px 20px; }
.ql-mobile-menu li { margin:0; }
.ql-mobile-menu a { display:block; 
    color: #000;
    text-align: center;
    font-family: Affairs;
    font-size: 12px;
    text-transform: uppercase;
    padding-left: 0px;
    text-decoration:none; }
.ql-mobile-menu ul{
  list-style: none;
  padding-left: 0px;
}
.ql-mobile-menu .menu-item-has-children:hover > ul,
.ql-mobile-menu .menu-item-has-children:focus-within > ul { display:block; }
.ql-mobile-menu .menu-item-has-children:hover > .ql-link{
  opacity: .4;
}

.ql-mobile-menu .sub-menu{
  display: none;
}
.ql-mobile-menu .sub-menu{
  display: none;
}
a{
  color: black;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
body .ql-logo{

  height: 100px;
  overflow: hidden;
  transition: .3s;
}
body.sticky-header .ql-logo {
  height: 40px;
  transition: .3s;
}

.sobre-s-2{
  padding-bottom: 0px !important;
}

.equipa-sobre h2{
  text-transform: uppercase !important;
}
.equipa-sobre h2 strong{
  font-weight: 400;
  font-style: italic;
  /*text-transform: uppercase !important;*/
  text-transform: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  :root { --header-h: 64px; }
  .ql-burger { display:block; }
  .ql-slot { display:none; } /* esconde os slots esquerda/direita no mobile */
}

/* ===== Footer ===== */
.ql-footer {
  background: #F2F2F2; /* cinza muito claro como no mock */
  color: #111;
}
.ql-footer a { color: inherit; text-decoration: none; }
.ql-footer a:hover { text-decoration: underline; }

.ql-footer-inner {
  max-width: 100%;
  width: 1100px;
  margin: 0 auto;
  padding: 60px 16px 52px;
  text-align: center;
}

.ql-footer-logo img,
.ql-footer-logo .custom-logo {width: 172px;display: inline-block;}

.ql-footer-contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  justify-items: center;
  margin: 76px auto 22px;
  max-width: 500px;
}
.ql-footer-contacts .ql-line {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  line-height: 14px;
  margin: 6px 0;
  font-family: 'Affairs';
  text-align: center;
}
.ql-footer-contacts .ql-col-left  { text-align: right; }
.ql-footer-contacts .ql-col-right { text-align: left; }

.ql-footer-social .ql-social {
  list-style: none;
  padding: 0;
  margin: 8px 0 74px;
}
.ql-footer-social .ql-social li {
  margin: 6px 0;
}
.ql-footer-social .ql-social a {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  line-height: 14px;
  margin: 6px 0;
  font-family: 'Affairs';
}

.ql-footer-copy {
  font-size: 11px;
  color: #444;
  margin-top: 10px;
}

.ql-header:hover .ql-logo{
  height: 100px;
  transition: .3s;
}

/* Responsive */
@media (max-width: 767.98px) {
  .ql-footer-inner { padding: 40px 16px 24px; }
  .ql-footer-contacts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ql-footer-contacts .ql-col-left,
  .ql-footer-contacts .ql-col-right { text-align: center; }
}

/* ===== Vinhos (shortcode [ql_vinhos]) ===== */
.ql-wines {padding: 0vw 0;/* background: #000; *//* display: flex; */} /* de acordo com o mock (fundo escuro) */
.ql-wine {
  position: relative;
  min-height: 56vh;
  width: 1280px;
  padding: 0vh 0vw 200px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  text-align: center;
  width: 1280px;
  max-width: 100%;
  margin: auto;
}
.ql-wine-box {
  position: relative;
  background: transparent;          /* â€œcartÃ£oâ€ claro */
  width: min(40%, 86vw);
  aspect-ratio: 3 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 8px 32px rgba(0,0,0,.08); */
}
.ql-wine--right .ql-wine-box {/* margin-left: auto; */max-width: 50%;}  /* 1Âº bloco Ã direita */
.ql-wine--left  .ql-wine-box {/* margin-right: auto; */} /* 2Âº bloco Ã esquerda */

.ql-wine-bottle {
  max-height: 88%;
  width: auto;
  height: auto;
  display: block;
}

/* Meta (opcional, escondido por defeito) */
.ql-wine-meta {/* display: none; */padding-left: 40px;padding-right: 40px;max-width: 50%;width: 40%;}
.ql-wine-title {margin: 12px 0 6px;font-weight: 400;font-size: 30px;line-height: 34px;font-family: 'Affairs';text-transform: uppercase;
    text-transform: initial;margin-bottom: 120px;}
.ql-wine-excerpt {margin: 0;font-weight: 400;font-size: 20px;line-height: 24px;font-family: 'Affairs', serif;}
.ql-btn-discover-pdf{
  font-style: italic;
}

.ql-wine-title .ql-wine-cat{
  display: block;
  font-style: italic;
}
.ql-btn-discover{
  font-size: 20px;
  line-height: 24px;
  font-family: 'Affairs', serif;
  color: black;
  text-decoration: none;
  padding-top: 20px;
  display: block;
  font-style: italic;
}
.ql-wines .ql-wine:nth-child(even){
  flex-direction: row;
}
/* Responsivo */
@media (max-width: 991.98px){
  .ql-wine { min-height: 48vh; padding: 7vh 4vw; }
  .ql-wine-box { width: min(520px, 92vw); height: min(56vh, 520px); }
  .wpml-ls-desktop{display:none;}
}
@media (max-width: 575.98px){
  .ql-wine { min-height: 46vh; padding: 6vh 3vw; }
  .ql-wine-box { width: 92vw; height: min(52vh, 480px); }
}

/****** RESTO SITE ******/
.home-s-2{
    padding-bottom: 320px;
}
.home-s-2 h2,
.home-s-4 h2{
  font-size: 30px;
  line-height: 32px;
  font-family: 'Affairs';
  text-transform: uppercase;
  padding: 320px 0px;
}
.home-s-2 h3{

  font-size: 20px;
  line-height: 24px;
  font-family: 'Affairs';
  text-transform: uppercase;
  padding-bottom: 120px;
    width: 630px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.home-s-2 p{
  
  font-size: 20px;
  line-height: 24px;
  font-family: 'Affairs';
  padding-left: 20px;
  padding-right: 20px;

}
.home-s-2  a{
  font-style: italic;
  font-size: 20px;
    line-height: 24px;
    color: black;
    font-family: 'Affairs';
    text-decoration: none;
    padding-top: 20px;
    display: inline-block;
}
.home-s-2  a:hover{

    text-decoration: underline;
}
.bl-vertical-align{

    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
}
.wpb_single_image{
  margin-bottom: 0px !important;
}
.home-s-2 .wpb_single_image{
  margin-bottom: 0px;
  padding-left: 20px;
  padding-right: 20px;
}  
.home-s-1 .vc_single_image-wrapper,
.home-s-1 .vc_single_image-wrapper img,
.home-s-1 .wpb_single_image .vc_figure,
.home-s-3 .vc_single_image-wrapper,
.home-s-3 .vc_single_image-wrapper img,
.home-s-3 .wpb_single_image .vc_figure,
.home-s-5 .vc_single_image-wrapper,
.home-s-5 .vc_single_image-wrapper img,
.home-s-5 .wpb_single_image .vc_figure{
  width: 100%;
}

.bl-sem-espaco-baixo h2{
    padding: 320px 0px 80px;
}
.bl-sem-espaco-cima h2{
   padding: 0px 0px 320px;
}
.bl-sem-espaco-ambos h2{
   padding: 0px 0px 320px;
}
.bl-sem-espaco-baixo p{
    width: 550px;
    max-width: 98%;
    padding-bottom: 300px;
    margin: auto;    
    font-size: 20px;
    line-height: 26px;
    font-family: 'Affairs';
}
.ql-bloco-box .ql-wine-bottle{
      max-height: 100%;
}
.ql-bloco-box{
    background: transparent;
    height: min(74vh, 650px);
}
.ql-blocos .ql-wine-title{
  margin-bottom: 24px;
    font-size: 30px;
    font-style: italic;
}
.sobre-4{
  padding-bottom: 320px;
}
.sobre-5{
  padding-bottom: 320px;
}
.sobre-4 .ql-wines .ql-wine:last-child,
.sobre-6 .ql-wines .ql-wine:last-child{
  padding-bottom: 0px;
}
.ql-blocos .ql-wine{
    flex-direction: row;
}
.ql-blocos .ql-wine:nth-child(even) {
    flex-direction: row-reverse;
}
.vinhos-s-1{
  padding-bottom: 0px;
}
.vinhos-s-1 p{
  width: 692px;
}
.vinhos-s-3{
  padding-bottom: 320px;
}
.vinhos2-s2 h2{
  padding-top: 100px;
  padding-bottom: 160px;
}
.home .home-s-2 p{
  width: 630px;
  max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.texto-esp-venera{
  display: block;
  margin-top: 40px;
}

/* Base comum para todas as classes de rácio */
[class^="racio"] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.racio2x1 .vc_single_image-wrapper img,
.racio2meiox1 .vc_single_image-wrapper img,
.racio3x5 .vc_single_image-wrapper img,
.racio3x4 .vc_single_image-wrapper img,
.racio100x100vh .vc_single_image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Rácios específicos */
.racio2x1 .vc_single_image-wrapper{
  aspect-ratio: 2 / 1;
}
.racio1meiox1 .vc_single_image-wrapper{
  aspect-ratio: 1.5 / 1;
}

.racio2meiox1 .vc_single_image-wrapper{
  aspect-ratio: 2.5 / 1; /* 2.5:1 */
}

.racio3x5 .vc_single_image-wrapper{
  aspect-ratio: 3 / 5;
}

.racio3x4 .vc_single_image-wrapper{
  aspect-ratio: 3 / 4;
}

.racio100x100vh .vc_single_image-wrapper{
  width: 100%;
  height: 100vh;
}
.racio100x130vh .vc_single_image-wrapper{
  width: 100%;
  height: 130vh;
}


.sobre-6 .bl-sem-espaco-baixo h2{
    padding: 175px 0px 30px;
}

.grp-vinhos .ql-wine-title{
  font-style: italic;
}

@media only screen and (max-width: 500px){
  #wpadminbar{
    display: none;
  }
  .bl-vertical-align {
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .ql-logo .custom-logo, .ql-logo img{
            max-height: 50px;
  }
  .ql-header-grid {
      padding-top: 12px;
      padding-bottom: 12px;
  }
  body .ql-logo {
    height: 50px !important;
  }
  body.sticky-header .ql-logo {
      height: 26px !important;
  }

  .home-s-1 .wpb_single_image img,
  .home-s-3 .wpb_single_image img{

        object-fit: cover;
        object-position: center;
  }
  .home-s-2 h2, .home-s-4 h2 {
      font-size: 18px;
      line-height: 32px;
      font-family: 'Affairs';
      text-transform: uppercase;
      padding: 180px 0px;
  }
  .home-s-4 h2{

      padding: 160px 0px;
  }
  .home-s-2 .vc_single_image-wrapper img{
    width: 197px;
    max-width: 100%;
  }

  .home-s-2 h3{
    padding-top: 160px;
    font-size: 14px;
    padding-bottom: 60px;
  }
  .home-s-2 p,
  .home-s-2 a{
    font-size: 12px;
    line-height: 16px;
  }
  .sobre-s-2 p{
    padding-bottom: 0px !important;
  }
  .home-s-2 {
      padding-bottom: 160px;
  }
  .home .home-s-2 p {
      max-width: 90%;
  }
  .ql-wine{

    flex-direction: column !important;
    justify-content: space-between;
  }
  .ql-wine--right .ql-wine-box {
      max-width: 100%;
  }
  .ql-wine {
      min-height: 46vh;
      padding: 0vh 3vw 176px;
  }
  .ql-wine-title {
      margin-bottom: 30px;
      margin-top: 40px;
      font-size: 14px;
  }
  .ql-wine-excerpt,
  .ql-btn-discover {
      width: 100%;
      font-size: 12px;
      line-height: 16px;
  }
  .ql-wine-meta {
      max-width: 100%;
      width: 100%;
  }
  .ql-footer-logo img, .ql-footer-logo .custom-logo {
      width: 100px;
      display: inline-block;
  }
  .ql-footer-social .ql-social li {
      margin: 0px 0;
  }
  .ql-footer-contacts .ql-line,
  .ql-footer-social .ql-social a{

    font-size: 10px;
    line-height: 14px;
  }
  .bl-sem-espaco-baixo h2 {
      padding: 220px 0px 60px;
  }
  .bl-sem-espaco-baixo p {
      width: 550px;
      max-width: 98%;
      padding-bottom: 220px;
      margin: auto;
  }
  .home-s-2 .vc_single_image-wrapper img {
      width: 197px;
      max-width: 100%;
  }

  .home-s-2.bl-sem-espaco-baixo .vc_single_image-wrapper img{
      width: 100%;
      max-width: 100%;
  }
 .home-s-2.bl-sem-espaco-baixo {
    padding-bottom: 0px;
  }
  .sobre-4 .wpb_content_element {
    margin-bottom: 0px;
  }
  .ql-bloco-box .ql-wine-bottle {
      max-height: 100%;
      object-fit: cover;
      height: 100%;
        max-width: 100%;
  }
  .ql-blocos .ql-wine-title {
      margin-bottom: 24px;
      font-size: 18px;
      font-style: italic;
        padding-top: 160px;
        margin-top: 0px;
  }
  .sobre-5 .wpb_single_image img {
    object-fit: cover;
    object-position: center;
  }
   .sobre-5{
    margin-bottom: 120px;
  }
  .sobre-4 {
      padding-bottom: 160px;
  }
  .sobre-5 {
      padding-bottom: 0px;
  }
  
  .sobre-6 .ql-blocos .ql-bloco-box{
    order: 2;
    padding-top: 160px;
  }
  .sobre-6 .ql-blocos .ql-wine-meta{
    order: 1;
  }
  .sobre-6 .ql-wine {
      min-height: 46vh;
      padding: 0vh 3vw 0px;
  }
  .sobre-6 .bl-sem-espaco-baixo p{

font-size: 12px;
line-height: 16px;
        padding-left: 5vw;
        padding-right: 5vw;
  }
      .sobre-7 .wpb_single_image img {
        height: 85dvh;
        object-fit: cover;
        object-position: center;
    }
  .vinhos-s-3{
    padding-bottom: 0px;
  }
  .vinhos2-s2 h2 {
    padding-top: 0px;
    padding-bottom: 160px;
  }

  .racio100x130vh .vc_single_image-wrapper {
    width: 100%;
    height: 70vh;
    }
     .racio100x130vh img{
      height: 100% !important;
     }
  .vinhos-s-2 p{
    margin: auto;
    width: 100%;
    font-size: 12px;
    line-height: 16px;
    max-width: 80%;
  }
  .grp-vinhos h2{
    padding: 0px 0px 60px !important;
  }

  .equipa-sobre .vc_empty_space{
    display: none;
  }

  .equipa{
    display: flex;
    margin: 0px;
    flex-direction: column;

  }
  .equipa:nth-child(4n){
        flex-direction: column-reverse;

  }
}

.otgs-development-site-front-end{display:none;}


.wpml-ls-statics-shortcode_actions {
  display: flex;
  gap: .5em;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.wpml-ls-statics-shortcode_actions a {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: #222;
  font-family: 'Affairs';
  text-decoration: none;
  padding:3px;
}

.wpml-ls-item + .wpml-ls-item::before {
  content: " | ";
  color: inherit;
}

.wpml-ls-statics-shortcode_actions .wpml-ls-current-language a {
    font-style: italic;
  font-family: 'Affairs', serif;
}
 
.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    margin: 0;
    list-style-type: none;
    display: inline-block;
    padding: 3px;
}

.wpml-ls-desktop{
    position: absolute;
    z-index: 10;
    white-space: nowrap;
    right: 0;
    top: 50%;
}


 /* Apenas no mobile */
@media (max-width: 991.98px) {

  /* Menu mobile */
  .ql-mobile-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
  }

  /* Lista de links do menu */
  .ql-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 12px 16px 20px;
  }

 .wpml-ls-statics-shortcode_actions {
    display: flex;
    gap: 0.5em;
    align-items: center;      
    justify-content: center;  
    position: relative;
    z-index: 10;
    font-size: 12px;
}

.wpml-ls-desktop{
    position: absolute;
    z-index: 10;
    white-space: nowrap;
    right: 0;
    top: 50%;
}

