@font-face {
  font-family: "Moderat Ex";
  src: url("../fonts/Moderat/Moderat-Extended-Regular.ttf");
  font-weight: 400;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "Moderat Ex";
  src: url("../fonts/Moderat/Moderat-Extended-Light.ttf");
  font-weight: 300;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "Moderat";
  src: url("../fonts/Moderat/Moderat-Light.ttf");
  font-weight: 300;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "Moderat";
  src: url("../fonts/Moderat/Moderat-Regular.ttf");
  font-weight: 400;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "Moderat";
  src: url("../fonts/Moderat/Moderat-Medium.ttf");
  font-weight: 500;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "Moderat";
  src: url("../fonts/Moderat/Moderat-Bold.ttf");
  font-weight: 700;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "RecifeText";
  src: url("../fonts/Recife/RecifeText-Book.ttf");
  font-weight: 300;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "RecifeText";
  src: url("../fonts/Recife/RecifeText-Regular.ttf");
  font-weight: 400;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "RecifeText";
  src: url("../fonts/Recife/RecifeText-SemiBold.ttf");
  font-weight: 600;
  -webkit-font-smoothing: antialised;
}

@font-face {
  font-family: "Domaine";
  src: url("../fonts/Domaine/TestDomaineDisplay-Regular.otf");
  font-weight: 400;
  -webkit-font-smoothing: antialised;
}

html, body{
  overflow-x: hidden;
  overflow-y: unset;
}


h1{
  color: white;
  font-size: 45px;
  line-height: 54px;
  font-weight: 400;
  font-family: 'RecifeText';
  letter-spacing: 4.5px;
  text-transform: uppercase;
  margin: 0px;
}

h2{
  color: white;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  font-family: 'RecifeText';
  letter-spacing: 4.8px;
  text-transform: uppercase;
  margin: 0px;
}

h3{
  color: white;
  font-size: 30px;
  line-height: 40px;
  font-weight: 600;
  font-family: 'RecifeText';
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0px;
}

h3 span{
  font-weight: 400;
}

h4{
  color: white;
  font-size: 25px;
  line-height: 30px;
  font-weight: 600;
  font-family: 'RecifeText';
  letter-spacing: 3.75px;
  text-transform: uppercase;
  margin: 0px;
}

h5, p{
  color: white;
  font-size: 20px;
  line-height: 30px;
  font-weight: 300;
  font-family: 'Moderat';
  letter-spacing: 0.8px;
  text-transform: none;
  margin: 0px;
}

p, p span{
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: none;
  margin: 0px;
  line-height: 24px;
}

div, a{
  color: white;
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  font-family: 'Moderat Ex';
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

a{
  font-family: 'Moderat';
  width: 220px;
  border: 1px solid white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

h6{
  color: white;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  font-family: 'Moderat';
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

::selection{
  background-color: #da8f71;
}

a img.seta{
  width: 22px;
  position: relative;
  left: 0px;
}

a:hover img.seta{
  animation-name: hoverSeta;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

@keyframes hoverSeta{
  0%{
    left: 0px;
  }

  25%{
    left: -5px;
  }

  50%{
    left: 0px;
  }

  75%{
    left: -5px;
  }

  100%{
    left: 0px;
  }
}

@keyframes hoverSetaVertical{
  0%{
    top: 0px;
  }

  25%{
    top: -5px;
  }

  50%{
    top: 0px;
  }

  75%{
    top: -5px;
  }

  100%{
    top: 0px;
  }
}

body{
  background-color: grey;
}

.verde{
  background-color: #A2A27B;
}

.azul{
  background-color: #8FADB4;
}

.laranja{
  background-color: #CE886C;
}

.castanho{
  background-color: #A7998C;
}

.beje{
  background-color: #EDE9E5;
}

.full-img{
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
  max-width: 100%;
}

/* Pag Aterragem */

.cms-pagina-de-aterragem .grandeHeader,
.cms-pagina-de-aterragem footer.footer{
  display: none;
}

body.cms-pagina-de-aterragem{
  background-color: #CE886C;
  width: 100vw;
  min-height: 100vh;
}

body.cms-pagina-de-aterragem .col-md-12{
  width: 100vw;
  min-height: 100vh;
  padding: 0px;
  margin: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child{
  width: 35vw;
}

body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child h3{
  padding: 10px 0px;
  border-bottom: 1px solid white;
}

body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child div{
  padding: 10px 0px;
  border-bottom: 1px solid white;
}

body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child p{
  padding-top: 10px;
}

body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child p a {
  width: fit-content;
  border: 0px solid white;
  padding: 0px;
  font-size: 14px;
  font-weight: 500;
  text-transform: unset;
  font-family: 'Moderat';
  letter-spacing: 0.5px;
}

body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child p span{
  display: flex;
  gap: 12px;
}

body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child p a:hover {
  text-decoration: underline;
}

.logo-aterragem{
  background-image: url('../GestorSistema/desk-en-461-logotipo-casa-do-piaska-06 (1).png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 260px;
  height: 135px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
} 

body.cms-pagina-de-aterragem img{
  max-width: unset;
  width: 100%;
  height: auto;
  right: 30px;
  position: relative;
}


/* Header */

.grandeHeader{
  position: relative;
  z-index: 2;
}

.menu-principal {
  width: 680px;
  height: 100vh;
  position: absolute;
  top: 0px;
  right: -680px;
  background-color: #ce886c;
  display: flex;
  align-items: center;
  padding-left: 90px;
  transition: 0.8s;
  z-index: 1;

}

.menu-principal.open{
  right: 0px;
  transition: 0.8s;
}

.menu-principal ul li{
  width: 450px;
  border-bottom: 1px solid white;
  padding: 20px 0px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}

.menu-principal ul li a{
  width: 450px;
  border: 0px;
  font-family: 'RecifeText';
  font-size: 32px;
  line-height: 48px;
  letter-spacing: 1.3px;
  padding: 0px;
  width: 380px;
}

.menu-principal ul li a:focus{
  outline: 0px;
}

.menu-principal ul li::before{
  font-family: 'Moderat';
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.85px;
  color: white;
  font-weight: 400;
  width: 70px;
  margin-bottom: 8px;
}

.menu-principal ul li:nth-child(1)::before{
  content: '01';
}

.menu-principal ul li:nth-child(2)::before{
  content: '02';
}

.menu-principal ul li:nth-child(3)::before{
  content: '03';
}

.menu-principal ul li:nth-child(4)::before{
  content: '04';
}

.with-sub .sub-menu {
  display: none;
  position: relative;
  background: 0;
  max-width: unset;
  width: 100%;
  margin-top: 15px;
  padding: 0;
}

.li-menu.with-sub:hover ul.sub-menu{
  display: none;
}

.menu-principal ul.sub-menu li {
  border-bottom: 0px;
  padding: 5px 0px;
  padding-left: 70px;
}

.menu-principal ul.sub-menu li::before{
  display: none;
}

.menu-principal ul.sub-menu li a{
  font-family: 'Moderat Ex';
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 1px;
  color: white;
}

.hamburguer-menu {
  width: 45px;
  height: 20px;
  position: absolute;
  right: 140px;
  top: 75px;
  cursor: pointer;
  z-index: 1;
}

.hamburguer-menu .line{
  background-color: white;
  width: 100%;
  height: 1.5px;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-play-state: paused;
}

.hamburguer-menu.open .line{
  animation-play-state: running;
}

.hamburguer-menu .line:nth-child(1){
  animation-name: line1;
  position: absolute;
  top: 0px;
}

.hamburguer-menu .line:nth-child(2){
  animation-name: line2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hamburguer-menu .line:nth-child(3){
  animation-name: line3;
  position: absolute;
  bottom: 0px;
}

@keyframes line1{
  0%{
    top: 0%;
    transform: translateY(0%);
  }

  30%{
    top: 50%;
    transform: translateY(-50%);
  }

  60%{
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
  }

  100%{
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
  }
}

@keyframes line2{
  0%{
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }

  30%{
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }

  60%{
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }

  100%{
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }
}

@keyframes line3{
  0%{
    bottom: 0%;
    transform: translateY(0%);
  }

  30%{
    bottom: 50%;
    transform: translateY(50%);
  }

  60%{
    bottom: 50%;
    transform: translateY(50%) rotate(90deg);
  }

  100%{
    bottom: 50%;
    transform: translateY(50%) rotate(45deg);
  }
}

.menu-word {
  width: 680px;
  right: -680px;
  position: absolute;
  top: 78px;
  font-family: 'Moderat';
  font-size: 14px;
  transition: 0.8s;
  padding-left: 90px;
  z-index: 1;
}

.menu-word.open {
  right: 0px;
  transition: 0.8s;
}

@keyframes line1-close{

  0%{
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
  }

  30%{
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
  }

  60%{
    top: 50%;
    transform: translateY(-50%);
  }
  
  100%{
    top: 0%;
    transform: translateY(0%);
  }

}

@keyframes line2-close{
  0%{
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }

  30%{
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }


  60%{
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }


  100%{
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }
}

@keyframes line3-close{
 
  0%{
    bottom: 50%;
    transform: translateY(50%) rotate(45deg);
  }

  30%{
    bottom: 50%;
    transform: translateY(50%) rotate(90deg);
  }

  60%{
    bottom: 50%;
    transform: translateY(50%);
  }

  100%{
    bottom: 0%;
    transform: translateY(0%);
  }
}

.hamburguer-menu.close .line:nth-child(1){
  animation-name: line1-close;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
  animation-play-state: running;
}

.hamburguer-menu.close .line:nth-child(2){
  animation-name: line2-close;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  opacity: 0;
  animation-play-state: running;
}

.hamburguer-menu.close .line:nth-child(3){
  animation-name: line3-close;
  position: absolute;
  bottom: 50%;
  transform: translateY(50%) rotate(45deg);
  animation-play-state: running;
}

.close:focus, .close:hover, .close{
  opacity: 1;
}

.headerExtra .blocoLanguage{
  background-color: transparent;
}

.headerExtra{
  position: absolute;
  left: 140px;
  top: 78px;
}

.headerExtra .sub-idiomas > li.li-menu-idioma{
  display: flex;
  gap: 30px;
  position: relative;
  width: fit-content;
}

.headerExtra .sub-idiomas > li.li-menu-idioma a{
  width: fit-content;
  padding: 0px;
  border: 0px;
  font-family: 'Moderat';
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.85px;
}

.headerExtra .sub-idiomas > li.li-menu-idioma > a::after{
  content: '|';
  color: white;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logotipo img, .logotipo-phone img{
  width: 100%;
  height: auto;
  display: block;
}

.grandeHeader .logotipo a,
.grandeHeader .logotipo-phone a{
  width: 300px;
  border: 0px;
  padding: 0px;
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.logotipo-phone{
  display: none;
}

.menu-principal a:hover{
  color: #92624e !important;
}

.sub-idiomas a:hover{
  text-decoration: underline;
}

/* Aviso Idade Legal */

.overlay-aviso{
  width: 100vw;
  height: 100vh;
  background-color: #4A4444;
  opacity: 78%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 2;
}

.overlay-aviso.desaparece{
  display: none;
}

.aviso-legal{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 2;
  background-color: #EDE9E5;
  padding: 50px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aviso-legal.desaparece{
  display: none;
}

.logo-aviso{
  height: 50px;
  width: auto;
  margin-bottom: 42px;
}

.aviso-legal h4{
  color: #5C5C5C;
  text-align: center;
  margin-bottom: 30px;
  width: 490px;
}

.aviso-legal > .escolha{
  display: flex;
  gap: 15px;
}

.aviso-legal > .escolha > div{
  padding: 12px 40px;
  color: #5C5C5C;
  border: 1px solid #5C5C5C;
  font-family: 'Moderat';
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 15px;
}

.aviso-legal > .escolha > div:hover{
  background-color: #5C5C5C;
  color: #EDE9E5;
  cursor: pointer;
}

.aviso-legal > div:last-child{
  margin-top: 42px;
  color: #5C5C5C;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1.2px;
  line-height: 20px;
  width: 450px;
}

/* Aviso Cookies */

.aviso-cookies{
  position: fixed;
  bottom: 0px;
  right: 0px;
  width: 430px;
  height: 300px;
  overflow: hidden;
  z-index: 2;
}

.aviso-cookies > div{
  background-color: #EDE9E5;
  width: fit-content;
  height: fit-content;
  padding: 25px;
  position: absolute;
  bottom: -100%;
  right: 60px;
  animation-name: SlideIn;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-delay: 5s;
  animation-timing-function: ease-in-out;
}

.aviso-cookies p{
  font-size: 14px;
  color: #5C5C5C;
  line-height: 20px;
  letter-spacing: 0.5px;
  width: 255px;
  font-weight: 400;
}

.aviso-cookies p a {
  color: #A7998C;
  border: 0px;
  display: unset;
  padding: 0px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: unset;
  font-weight: 400;
}

.aceitar {
  margin-top: 15px;
  font-family: 'Moderat';
  font-size: 14px;
  color: #5C5C5C;
  letter-spacing: 1px;
  border: 1px solid #5C5C5C;
  width: fit-content;
  padding: 7px 25px;
}

.aceitar:hover {
  background-color: #5C5C5C;
  color: #EDE9E5;
  cursor: pointer;
}

@keyframes SlideIn{
  0%{
    bottom: -100%;
  }

  33%{
    bottom: 90px;
  }

  66%{
    bottom: 45px;
  }

  100%{
    bottom: 60px;
  }
}

.aviso-cookies.desaparece{
  display: none;
}

/* Homepage */

.homepage video{
  position: fixed;
  min-width: 100%;
  min-height: 100vh;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
}

video.video-phone{
  display: none;
}

section.acima-video{
  position: relative;
  z-index: 1;
}

section .col-md-12{
  padding: 0px;
}

.homepage{
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}

.homepage h1{
  width: 550px;
  text-align: center;
}

.homepage div a {
  font-family: 'Moderat Ex';
  width: fit-content;
  border: 0px; 
  padding: unset;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.homepage div a::after{
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-top: 0px;
  border-left: 0px;
  transform: rotate(45deg);
  margin-top: 40px;
  position: relative;
  cursor: pointer;
}

.homepage div a:hover::after{
  animation-name: hoverSetaVertical;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

.honramos-passado{
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.honramos-passado > div{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.honramos-passado h2{
  width: 520px;
  margin-bottom: 55px;
  text-align: center;
}

.honramos-passado > div > div{
  width: 710px;
  text-align: center;
  margin-bottom: 60px;
  line-height: 30px;
}

.nossos-vinhos{
  position: relative;
}

.nossos-vinhos.full-img{
  background-attachment: fixed;
}

.nossos-vinhos > div{
  position: absolute;
  bottom: 155px;
  left: 140px;
}

.nossos-vinhos h3{
  margin-bottom: 40px;
}

.nossos-vinhos h5{
  width: 410px;
  margin-bottom: 50px;
}

.overlay-img{
  width: 100vw;
  height: 100%;
  position: absolute !important;
  top: 0px !important;
  left: 0px !important;
  background-color: #4A4444;
  opacity: 0.28;
}

.corredoura{
  height: 95vh;
  display: flex;
  align-items: center;
}

.corredoura > div{
  width: 50%;
}

.corredoura h3, .nosso-azeite h3{
  margin-bottom: 40px;
}

.corredoura p{
  width: 610px;
  padding: 25px 0px;
  border: 1px solid white;
  border-left: 0px;
  border-right: 0px;
}

.corredoura h6{
  margin-top: 25px;
  margin-bottom: 50px;
  text-transform: none;
}

.corredoura div:first-child{
  display: flex;
  justify-content: center;
}

.corredoura img{
  width: 75%;
  position: relative;
  left: -90%;
  opacity: 0;
  animation-name: slideVinho;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-play-state: paused;
}

.corredoura img.run{
  animation-play-state: running;
}

.nosso-azeite{
  position: relative;
}

.nosso-azeite.full-img{
  background-attachment: fixed;
}

.nosso-azeite > div{
  bottom: 155px;
  right: 140px;
  position: absolute;
}

.nosso-azeite h5{
  width: 400px;
  margin-bottom: 50px;
}

.nosso-azeite a{
  position: relative;
}

.casa-piaska{
  height: 95vh;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.casa-piaska > div{
  width: 50%;
}

.casa-piaska > div:last-child{
  display: flex;
  justify-content: flex-end;
}

.casa-piaska > div:last-child > div{
  margin-right: 45px;
}

.casa-piaska h3{
  margin-bottom: 25px;
}

.casa-piaska h3 span{
  text-transform: initial;
  font-family: 'RecifeText';
}

.casa-piaska h6{
  font-size: 18px;
  padding: 15px 0px;
  border: 1px solid white;
  border-left: 0px;
  border-right: 0px;
  width: 610px;
  font-family: 'Moderat Ex';
}

.casa-piaska p{
  margin-bottom: 50px;
  margin-top: 25px;
  width: 610px;
  letter-spacing: 0.32px;
}

.casa-piaska > div:first-child{
  display: flex;
  justify-content: center;
}

.casa-piaska > div:first-child img {
  width: 50%;
  position: relative;
  top: -5vh;
  right: -90%;
  opacity: 0;
  animation-name: slideVinhoPar;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-play-state: paused;
}

.casa-piaska > div:first-child img.run {
  animation-play-state: running;
}

.preservar{
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preservar .overlay-img{
  opacity: 0.49;
}

.preservar h6{
  font-size: 18px;
  text-align: center;
  margin-bottom: 60px;
  font-family: 'Moderat Ex';
}

.preservar h3{
  width: 590px;
  margin-bottom: 60px;
  text-align: center;
}

.preservar > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 1;
}

/* Footer */

footer.footer{
  background: unset;
  width: 100% !important;
  background-color: #A7998C;
  height: 420px !important;
  display: flex;
  padding: 95px 140px;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer.footer > div{
  width: calc(25% - 25px);
}

footer.footer p a,
footer.footer .contactos a,
footer.footer .contactos div{
  border: 0px;
  padding: 0px;
  font-family: 'Moderat';
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.6px;
  width: fit-content;
}

.footer .logotipo a{
  width: 230px;
  border: 0px;
  padding: 0px;
}

.footer > div:nth-child(2) h6{
  font-weight: 500;
}

.footer > div:nth-child(2) p a{
  text-transform: none
}

footer.footer .contactos a,
footer.footer .contactos div{
  text-transform: none;
}


.footer .contactos > div:nth-child(2){
  display: flex;
  column-gap: 10px;
}

footer.footer .contactos{
  margin-top: 20px;
}

footer .redes {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

footer .redes a {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
}

footer.footer a:hover{
  text-decoration: underline;
}

footer.footer .redes a:hover{
  text-decoration: none;
  background-color: white;
  color: #A7998C;
}

footer > div:last-child {
  width: 100%;
  margin-top: 50px;
}

footer > div:last-child > p {
    display: flex;
    gap: 7px;
    width: 100vw;
}

footer > div:last-child > p a {
  text-transform: none;
  font-weight: 400;
}

/* A Nossa História */

.historia-inicio.full-img,
.vinhos-page.full-img,
.terroir.full-img,
.contacte-nos.full-img{
  height: 80vh;
}


.historia-inicio, .terroir{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.historia-inicio h1{
  width: 665px;
  text-align: center;
  z-index: 1;
}

.familia .parte1{
  height: 920px;
}

.familia .parte1 > div:first-child{
  padding-top: 40px;
  text-align: center;
  width: 100vw;
  display: flex;
  justify-content: center;
}

.familia .parte1 > div:first-child a{
  font-family: 'Moderat Ex'; 
  width: fit-content; 
  border: 0px; 
  padding: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.familia .parte1 > div:first-child a::after{
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid white;
  border-top: 0px;
  border-left: 0px;
  transform: rotate(45deg);
  margin-top: 35px;
  position: relative;
}

.familia .parte1 > div:first-child a:hover::after{
  animation-name: hoverSetaVertical;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

.familia .parte1 > div:last-child{
  margin-top: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.familia .parte1 > div:last-child > div{
  font-size: 16px;
  line-height: 30px;
  width: 860px;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 400px;
}

.familia .beje > div {
  position: relative;
  top: -300px;
}

.familia .beje > div > div:first-child{
  width: calc(100vw - 280px);
  margin-left: 140px;
  height: 75vh;
  background-color: grey;
  background-position: center;
  background-size: cover;
  transform: translateY(50%);
  opacity: 0;
  animation-name: SlideAndFade;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-play-state: paused;
}

.familia .beje > div > div.run:first-child{
  animation-play-state: running;
}

.familia .beje > div > div:nth-child(2){
  display: flex;
  justify-content: center;
}

.familia .beje > div > div:nth-child(2) p{
  color: #817777;
  padding-top: 95px;
  padding-bottom: 140px;
  width: 650px;
  text-align: center;
  font-weight: 400;
}

.familia .beje > div > div:last-child{
  display: flex;
  padding: 0px 140px;
  margin-bottom: -150px;
}

.familia .beje > div > div:last-child > div{
  width: 50%;
}

.familia .beje > div > div:last-child h4{
  color: #817777;
  font-size: 70px;
  letter-spacing: 1.5px;
  line-height: 80px;
  font-family: 'RecifeText';
  text-transform: none;
  font-weight: 300;
  margin-top: 15px;
  width: 37vw;
  max-width: 710px;
  margin-bottom: 80px;
}

.familia .beje > div > div:last-child p{
  color: #817777;
  font-weight: 400;
  width: 33vw;
  margin-bottom: 25px;
}

.familia .beje > div > div:last-child > div:last-child{
  display: flex;
  justify-content: flex-end;
}

.familia .beje > div > div:last-child > div:last-child div {
  width: 40vw;
  height: 40vw;
  background-color: grey;
  background-size: cover;
  background-position: center;
  position: relative;
  transform: translateY(50%);
  opacity: 0;
  animation-name: SlideAndFade;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-play-state: paused;
}

.familia .beje > div > div:last-child > div:last-child div.run {
  animation-play-state: running;
}

@keyframes SlideAndFade{
  0%{
    transform: translateY(50%);
    opacity: 0;
  }

  100%{
    transform: translateY(0%);
    opacity: 1;
  }
}

.historia-img{
  height: 95vh;
  position: relative;
}

.historia-img{
  background-attachment: fixed;
}


/* Vinhos e Azeite */

.wrapper-vinhos{
  padding-bottom: 150px;
}

.vinhos-page{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.vinhos-page .overlay-img{
  opacity: 0.41;
}

.vinhos-page h1{
  width: 560px;
  text-align: center;
  z-index: 1;
}

.vinhos-corredoura > div:first-child{
  padding-top: 40px;
  text-align: center;
  width: 100vw;
  display: flex;
  justify-content: center;
}

.vinhos-corredoura > div:first-child a{
  font-family: 'Moderat Ex'; 
  width: fit-content; 
  border: 0px; 
  padding: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.vinhos-corredoura > div:first-child a::after{
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid white;
  border-top: 0px;
  border-left: 0px;
  transform: rotate(45deg);
  margin-top: 35px;
  position: relative;
}

.vinhos-corredoura > div:first-child a:hover::after{
  animation-name: hoverSetaVertical;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

.vinhos-corredoura h2{
  padding-top: 170px;
  text-align: center;
}

.vinhos-corredoura > div:last-child{
  width: 860px;
  line-height: 30px;
  font-size: 16px;
  text-align: center;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 170px;
}

.vinhos{
  display: flex;
  padding-top: 100px;
  position: relative;
}

.vinhos > div{
  width: 50%;
}

.vinhos > div:first-child{
  display: flex;
  justify-content: flex-end;
}

.wrapper-vinhos .vinhos:nth-child(2n) > div:first-child{
  justify-content: flex-start;
}

.wrapper-vinhos .vinhos:nth-child(2n) > div:first-child img{
  margin-left: 190px;
  left: unset;
  right: -90%;
  animation-name: slideVinhoPar;
}

@keyframes slideVinhoPar{
  0%{
    right: -90%;
    opacity: 0;
  }

  100%{
    right: 0%;
    opacity: 1;
  }
}


.vinhos > div:first-child img{
  height: 800px;
  width: auto;
  margin-right: 190px;
  z-index: 1;
  position: relative;
  left: -90%;
  opacity: 0;
  animation-name: slideVinho;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-play-state: paused;
}

.vinhos > div:first-child img.run{
  animation-play-state: running;
}

@keyframes slideVinho{
  0%{
    left: -90%;
    opacity: 0;
  }

  100%{
    left: 0%;
    opacity: 1;
  }
}

.vinhos > div:last-child{
  padding-left: 75px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vinhos h3, .vinhos div, .vinhos p, .vinhos a{
  color: #817777;
}

.vinhos h3{
  padding-bottom: 25px;
  width: 615px;
}

.vinhos .colheita{
  width: 615px;
  padding: 15px 0px;
  border-top: 1px solid #817777;
  border-bottom: 1px solid #817777;
}

.vinhos > div > p{
  padding: 25px 0px;
  width: 615px;
}

.vinhos .enologo{
  padding-top: 25px;
  border-top: 1px solid #817777;
  width: 615px;
  font-size: 16px;
  font-family: 'Moderat';
  text-transform: none;
  letter-spacing: 0;
}

.vinhos .tamanho-ficha a{
  margin-top: 115px;
  border: 1px solid #817777;
}

.vinhos .tamanho-ficha a{
  width: 260px;
}

.vinhos .counter {
  font-family: 'Domaine';
  font-size: 525px;
  color: #E5E0DC;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-130px);
  left: 0px;
}

.wrapper-vinhos .vinhos:nth-child(2n){
  flex-direction: row-reverse;
}

.wrapper-vinhos .vinhos:nth-child(2n) .counter {
  transform: translateY(-50%) translateX(130px);
  left: unset;
  right: 0px;
}

.wrapper-vinhos .vinhos:nth-child(2n) > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 0px;
  padding-right: 75px;
}

.tamanho-ficha{
  width: 615px;
}

.vinhos-img{
  height: 990px;
  background-attachment: fixed;
}

.azeite-excelencia{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.azeite-excelencia > div:first-child{
  padding-top: 100px;
  padding-bottom: 32px;
}

.azeite-excelencia h2{
  padding-bottom: 60px;
}

.azeite-excelencia > div:nth-last-child(2){
  line-height: 30px;
  font-size: 16px;
  width: 860px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.azeite-excelencia > div:last-child {
  position: relative;
  z-index: 1;
}

.azeite-excelencia > div:last-child a{
  border: 0px;
  width: fit-content;
}

.azeite-excelencia > div:last-child a::after{
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-top: 0px;
  border-left: 0px;
  transform: rotate(45deg);
  margin-top: 80px;
  position: relative;
}

.azeite-excelencia > div:last-child a:hover::after{
  animation-name: hoverSetaVertical;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

.azeites h3, .azeites div, .azeites p, .azeites a {
  color: white;
}

.azeites .tamanho-ficha a{
  border: 1px solid white;
}

.azeites .colheita {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.azeites .counter {
  color: #AC7058;
}

.azeites > div:first-child img {
  height: 750px;
  width: auto;
  margin-right: 100px;
  z-index: 1;
  top: 0vh;
  position: relative;
}

.azeites {
  margin: 0px 0px;
}

.vinhos-img2{
  height: 700px;
}

/* A Nossa Terra */

.terroir h1{
  width: 840px;
  text-align: center;
  z-index: 1;
}

.vale .beje{
  position: relative;
}

.vale .beje > div > div:nth-child(2) p {
  text-align: left;
  width: 33vw;
  max-width: 680px;
  font-weight: 300;
  padding-bottom: 20px;
  padding-top: 0px;
}

.vale .beje > div > div:nth-child(2) {
  position: absolute;
  top: 300px;
  right: 140px;
  height: calc(40vw - 300px);
  align-items: center;
  min-height: 400px;
  z-index: 1;
  flex-direction: column;
}

.vale .beje > div > div:first-child{
  width: 40vw;
  height: 40vw;
  z-index: 1;
  position: relative;
  transform: translateY(50%);
  opacity: 0;
  animation-name: SlideAndFade;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-play-state: paused;
} 


.vale .beje > div > div.run:first-child,
.familia .beje > div > div:last-child > div:last-child div.run{
  animation-play-state: running;
} 

.vale .beje .grande-word{
  position: absolute;
  color: #E5E0DC;
  font-family: 'Domaine';
  font-weight: 400;
  font-size: 25vw;
  text-transform: none;
  left: 50%;
  transform: translateX(-50%);
  top: 36vw;
}

.vale .beje > div > div:last-child {
  padding-top: 200px;
  justify-content: center;
}

.vale .beje > div > div:last-child > div:last-child {
  flex-direction: column;
  margin-left: 30vw;
}

.vale .beje > div > div:last-child h4 {
  max-width: 680px;
  width: 60vw;
}

.vale .beje > div > div:last-child p {
  font-weight: 300;
}

.vale .beje > div > div:last-child > div {
  width: unset;
}

.vale .beje > div > div:last-child a {
  margin-top: 50px;
  border-color: #817777;
  color: #817777;
}

.vale .img-vale{
  margin-top: 100px;
  width: 55vw !important;
}

.full-img.terra-img{
  position: relative;
  height: 95vh;
  max-height: 95%;
  z-index: 2;
  background-attachment: fixed;
}

/* Contactos */

.contacte-nos{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.contacte-nos h1{
  width: 550px;
  text-align: center;
  z-index: 1;
}

.contacte-nos .overlay-img{
  opacity: 0.41;
}


.contactos-casa > div:first-child {
  padding-top: 40px;
  text-align: center;
  width: 100vw;
  display: flex;
  justify-content: center;
}

.contactos-casa > div:first-child a{
  font-family: 'Moderat Ex'; 
  width: fit-content; 
  border: 0px; 
  padding: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contactos-casa > div:first-child a::after{
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid white;
  border-top: 0px;
  border-left: 0px;
  transform: rotate(45deg);
  margin-top: 35px;
  position: relative;
}

.contactos-casa > div:first-child a:hover::after{
  animation-name: hoverSetaVertical;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

.contactos-casa > div:first-child a:hover{
  text-decoration: none;
}

.contactos-casa h2{
  padding-top: 170px;
  padding-bottom: 60px;
  text-align: center;
}

.contactos-casa p{
  padding-bottom: 40px;
}

.contactos-casa a{
  width: fit-content;
  font-size: 16px;
  padding: 0px;
  border: 0px;
  margin: 0 auto;
  text-align: center;
  line-height: 30px;
}

.contactos-casa .contactos > div:nth-child(2){
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contactos-casa .contactos > div:nth-child(2) a{
  margin: 0px;
}

.contactos-casa .contactos > div:last-child{
  text-align: center;
  font-size: 16px;
  line-height: 30px;
}

.contactos-casa .redes{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 70px;
  padding-bottom: 100px;
}

.contactos-casa .redes > div a{
  border: 1px solid white;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.contactos-casa .redes > div a i{
  font-size: 18px;
}

.contactos-casa h2:last-child a{
  font-size: unset;
  line-height: unset;
  font-family: unset;
}

.contactos-casa h2:last-child{
  padding-top: 120px;
  padding-bottom: 100px;
}

.contactos-casa a:hover{
  text-decoration: underline;
}

.contactos-casa .redes a:hover{
  text-decoration: none;
  background-color: white;
  color: #CE886C;
}

body.cms-contactos footer.footer{
  display: none;
}

/* Políticas */

body.cms-politica-de-privacidade,
body.cms-politica-de-cookies{
  background-color: #A7998C;
}

body.cms-politica-de-privacidade section.conteudo-cms-geral,
body. section.conteudo-cms-geral{
    padding-bottom: 150px;
}

body.cms-politica-de-privacidade .container-fluid h1,
body.cms-politica-de-cookies .container-fluid h1{
  padding: 360px 140px 45px;
  font-size: 28px;
  line-height: 22px;
  letter-spacing: 2.8px;
}

body.cms-politica-de-privacidade .container-fluid p,
body.cms-politica-de-cookies .container-fluid p{
  padding: 0px 140px;
  line-height: 22px;
  padding-bottom: 20px;
}

body.cms-politica-de-privacidade .container-fluid p strong,
body.cms-politica-de-cookies .container-fluid p strong{
  font-family: 'Moderat';
  font-weight: 700;
}

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

  /* Homepage */
  footer.footer{
    padding: 95px 45px;
  }

  /* A Nossa História */

  .familia .beje > div > div:last-child h4 {
    font-size: 63px;
  }

  /* Vinhos e Azeites */

  .wrapper-azeites{
    padding-bottom: 60px;
  }

  .azeites > div:first-child img {
    height: 675px;
    margin-right: 40px;
  }
}

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

  /* Página de Aterragem */

  body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child {
    width: 45vw;
  }

  /* Homepage */

  .corredoura p, 
  .casa-piaska h6,
  .casa-piaska p {
    width: 500px;
  }

  /* A Nossa História */

  .familia .beje > div > div:last-child h4 {
    font-size: 50px;
    line-height: 60px;
  }

  /* Vinhos */

  .vinhos .counter {
    font-size: 400px;
    transform: translateY(-50%) translateX(-100px);
  }

  .wrapper-vinhos .vinhos:nth-child(2n) .counter {
    transform: translateY(-50%) translateX(100px);
  }

  .vinhos h3, .vinhos > div > p, .vinhos .colheita,
  .vinhos .enologo, .tamanho-ficha {
    width: 520px;
  }

  .vinhos .tamanho-ficha a {
    margin-top: 80px;
  }

  .wrapper-azeites{
    padding-bottom: 25px;
  }

  .vinhos {
    padding-bottom: 85px;
  }

  .azeites > div:first-child img {
    height: 550px;
    margin-right: 40px;
  }

}

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

  h1 {
    font-size: 35px;
    line-height: 45px;
  }

  h2 {
    font-size: 25px;
    line-height: 35px;
    letter-spacing: 1.8px;
  }

  h3 {
    font-size: 23px;
    line-height: 32px;
  }

  h4 {
    font-size: 20px;
    line-height: 26px;;
    letter-spacing: 1.75px;
  }

  h5, p {
    font-size: 14px;
    line-height: 23px;
  }

  h6 {
    font-size: 12px;
    line-height: 20px;
  }

  div, a {
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 25px;
  }

  a {
    width: 200px;
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Header */

  .headerExtra {
    left: 90px;
  }

  .hamburguer-menu {
    right: 90px;
  }

  .grandeHeader .logotipo a {
    width: 250px;
  }

  .hamburguer-menu {
    width: 35px;
  }

  .menu-principal ul li a { 
    font-size: 25px;
    line-height: 32px;
    width: 345px;
  }

  .menu-principal ul li {
    width: 390px;
  }

  .menu-principal ul li::before {
    font-size: 11px;
    width: 45px;
    margin-bottom: 2px;
  }

  .menu-principal ul.sub-menu li a {
    font-size: 13px;
    line-height: 12px;
  }

  .menu-principal ul.sub-menu li {
    padding-left: 50px;
  }

  .headerExtra .sub-idiomas > li.li-menu-idioma a {
    font-size: 12px;
  }

  .menu-principal, .menu-word {
    width: 50vw;
    right: -50vw;
  }

  /* Aviso Legal */

  .aviso-legal h4 {
    width: 390px;
  }

  .aviso-legal > .escolha > div {
    padding: 10px 35px;
    font-size: 13px;
  }

  .aviso-legal > div:last-child {
    margin-top: 42px;
    font-size: 10px;
    line-height: 17px;
    width: 385px;
  }

  /* Homepage */

  .homepage h1 {
    width: 490px;
  }

  .homepage div::after {
    width: 20px;
    height: 20px;
    margin-top: 30px;
  }

  .honramos-passado {
    height: 470px;
  }

  .honramos-passado h2 {
    width: 540px;
  }

  .honramos-passado > div > div {
    width: 550px;
    line-height: 25px;
  }

  .nossos-vinhos h3 {
    margin-bottom: 20px;
  }
  
  .nossos-vinhos h5 {
    width: 350px;
    margin-bottom: 40px;
  }

  .nossos-vinhos > div {
    bottom: 100px;
    left: 90px;
  }

  .corredoura h3, .nosso-azeite h3 {
    margin-bottom: 15px;
  }

  .corredoura p, .casa-piaska h6, .casa-piaska p {
    width: 440px;
  }

  .corredoura p {
    padding: 15px 0px;
  }

  .corredoura h6 {
    margin-top: 15px;
  }

  .nosso-azeite h5 {
    width: 300px;
  }

  .nosso-azeite > div {
    bottom: 100px;
    right: 90px;
    position: absolute;
  }

  .casa-piaska h6 {
    font-size: 14px;
    padding: 10px 0px;
  }

  .preservar h6 {
    font-size: 14px;
  }

  .preservar h3 {
    width: 430px;
  }

  .preservar {
    height: 430px;
  }

  /* Footer */

  footer.footer {
    padding: 70px 90px;
    gap: 50px;
    height: fit-content !important;
  }

  .footer .logotipo a {
    width: 180px;
    margin-top: -15px;
  }

  footer.footer p a, 
  footer.footer .contactos a, 
  footer.footer .contactos div {
    font-size: 12px;
    line-height: 20px;
  }

  footer .redes a {
    font-size: 16px;
    width: 35px;
    height: 35px;
  }

  footer.footer > div {
    width: 20%;
  }

  .footer .contactos > div:nth-child(2) {
    flex-wrap: wrap;
  }

  /* A Nossa História */

  .familia .parte1 > div:last-child > div {
    font-size: 14px;
    line-height: 26px;
    width: 730px;
  }

  .familia .beje > div > div:last-child h4 {
    font-size: 40px;
    line-height: 45px;
    margin-bottom: 35px;
    width: 35vw;
  }

  .vinhos-corredoura > div:last-child,
  .azeite-excelencia > div:last-child {
    width: 720px;
    font-size: 14px;
    line-height: 26px;
  }

  .vinhos-corredoura > div:last-child{
    padding-top: 45px;
  }

  .azeite-excelencia h2 {
    padding-bottom: 45px;
  }

  .vinhos-page h1 {
    width: 470px;
  }

  /* Vinhos e Azeites */


  .vinhos > div:first-child img {
    height: 590px;
    margin-right: 100px;
  }

  .wrapper-vinhos .vinhos:nth-child(2n) > div:first-child img {
    margin-left: 100px;
  }


  .vinhos h3, .vinhos > div > p, 
  .vinhos .colheita, .vinhos .enologo, 
  .tamanho-ficha {
    width: 430px;
  } 

  .vinhos .counter {
    font-size: 250px;
    transform: translateY(-50%) translateX(-65px);
  }

  .wrapper-vinhos .vinhos:nth-child(2n) .counter {
    transform: translateY(-50%) translateX(60px);
  }

  .azeite-excelencia > div:last-child {
    display: flex;
    justify-content: center;
  }

  .azeite-excelencia > div:first-child img {
    height: 460px;
  }

  .azeite-excelencia > div:nth-last-child(2) {
    width: 720px;
    font-size: 14px;
    line-height: 26px;
  }

  /* A Nossa Terra */

  .familia .parte1 > div:last-child {
    margin-top: 100px;
  }

  .familia .parte1 {
    height: 850px;
  }

  .familia .beje > div > div:last-child {
    padding: 200px 65px 0px;
  }

  .vale .beje > div > div:nth-child(2) {
    right: 65px;
    top: 270px;
  }

  .vale .beje > div > div:nth-child(2) p {
    width: 38vw;
  }

  .vale .beje .grande-word {
    top: 40vw;
  }

  /* Políticas */

  body.cms-politica-de-privacidade .container-fluid h1, 
  body.cms-politica-de-cookies .container-fluid h1 {
    padding: 360px 90px 45px;
  }

  body.cms-politica-de-privacidade .container-fluid p, 
  body.cms-politica-de-cookies .container-fluid p {
    padding: 0px 90px;
    padding-bottom: 20px;
  }

}

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

  h1 {
    font-size: 25px;
    line-height: 35px;
    letter-spacing: 1.5px;
  }

  h2 {
    font-size: 20px;
    line-height: 27px;
  }


  h3 {
    font-size: 18px;
    line-height: 25px;
  }

  h5, p {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
  }

  div, a {
    font-size: 11px;
  }

  a {
    width: 150px;
    padding: 3px 8px;
  }

  /* Header */

  .hamburguer-menu, .headerExtra {
    right: 65px;
    top: 60px;
  }

  .grandeHeader .logotipo a {
    width: 190px;
  }

  .menu-principal ul li {
    width: 300px;
    padding: 15px 0px;
  }

  .menu-principal ul li a {
    font-size: 18px;
    line-height: 20px;
    width: 270px;
  }

  .menu-principal ul li::before {
    font-size: 10px;
    width: 30px;
    margin-bottom: -1px;
  }

  .menu-principal ul.sub-menu li {
    padding-left: 30px;
  }

  .menu-principal ul.sub-menu li a {
    font-size: 10px;
    line-height: 8px;
  }

  /* Homepage */

  .homepage h1 {
    width: 300px;
  }

  .homepage div::after {
    width: 18px;
    height: 18px;
    margin-top: 20px;
  }

  .homepage div {
    bottom: 50px;
  }

  .honramos-passado h2 {
    width: 350px;
    margin-bottom: 35px;
  }

  .honramos-passado > div > div {
    width: 420px;
    line-height: 20px;
    margin-bottom: 40px;
  }

  .honramos-passado {
    height: 400px;
  }

  .nossos-vinhos > div {
    bottom: 70px;
    left: 65px;
  }

  .nossos-vinhos h5, .nosso-azeite h5 {
    width: 240px;
    margin-bottom: 30px;
  }

  .corredoura p, 
  .casa-piaska h6, 
  .casa-piaska p {
    width: 330px;
  }

  .nosso-azeite > div {
    bottom: 70px;
    right: 65px;
  }

  .casa-piaska h6 {
    font-size: 12px;
    padding: 7px 0px;
  }

  .casa-piaska h3 {
    margin-bottom: 15px;
  }

  .casa-piaska p {
    margin-top: 15px;
    margin-bottom: 35px;
  }

  .corredoura h6 {
    margin-bottom: 35px;
  }

  .preservar {
    height: 380px;
  }

  .preservar h3 {
    width: 380px;
    margin-bottom: 45px;
  }

  /* Footer */

  footer.footer {
    padding: 70px 65px;
    gap: 35px;
  }

  .footer .logotipo a {
    width: 140px;
  }

  footer.footer p a,
  footer.footer .contactos a, 
  footer.footer .contactos div {
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0;
  }

  footer .redes a {
    font-size: 12px;
    width: 25px;
    height: 25px;
  }

  .footer .contactos > div:nth-child(2) {
    gap: 5px;
  }

  footer .redes {
    gap: 10px;
    margin-top: 20px;
  }

  .footer .logotipo a {
    width: 160px;
  }

  /* A Nossa História */

  .historia-inicio h1 {
    width: 450px;
    text-align: center;
  }

  .familia .parte1 > div:last-child > div {
    font-size: 12px;
    line-height: 24px;
    width: 630px;
  }

  .familia .beje > div > div:last-child h4 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 40px;
  }

  /* Vinhos */

  .vinhos-corredoura > div:last-child, .azeite-excelencia > div:last-child {
    width: 640px;
    font-size: 12px;
    line-height: 24px;
  }

  .vinhos-corredoura h2 {
    padding-top: 120px;
  }

  .vinhos > div:last-child {
    padding-left: 30px;
  }

  .vinhos > div:first-child img {
    height: 480px;
  }

  .wrapper-vinhos .vinhos:nth-child(2n) > div:last-child {
    padding-right: 30px;
  } 

  .vinhos h3, .vinhos > div > p, 
  .vinhos .colheita, 
  .vinhos .enologo, 
  .tamanho-ficha {
    width: 380px;
  }

  .vinhos > div > p {
    padding: 10px 0px;
  }

  .vinhos .colheita {
    padding: 5px 0px;
  }

  .vinhos .enologo {
    padding-top: 5px;
    font-size: 12px;
  }

  .vinhos h3 {
    padding-bottom: 10px;
  }

  .vinhos .tamanho-ficha a {
    margin-top: 40px;
  }

  .azeites > div:first-child img {
    height: 340px;
    margin-right: 30px;
  }

  .azeite-excelencia > div:nth-last-child(2) {
    width: 640px;
    font-size: 12px;
    line-height: 24px;
  }

  /* A Nossa Terra */

  .familia .parte1 {
    height: 620px;
  }

  .familia .beje > div {
    top: -120px;
  }

  .vale .beje > div > div:nth-child(2) {
    top: 70px;
  }

  .vale .beje > div > div:nth-child(2) p {
    width: 36vw;
  }

  .familia .beje > div > div:last-child {
    margin-bottom: -30px;
  }

  .familia .beje > div > div:last-child p {
    width: 38vw;
  }

  .familia .beje > div > div:last-child h4 {
    width: 45vw;
  }

  .vale .img-vale {
    margin-top: 50px;
  }

  /* Políticas */

  body.cms-politica-de-privacidade .container-fluid h1, 
  body.cms-politica-de-cookies .container-fluid h1 {
    padding: 360px 65px 45px;
    font-size: 20px;
    letter-spacing: 1PX;
  }

  body.cms-politica-de-privacidade .container-fluid p, 
  body.cms-politica-de-cookies .container-fluid p {
    padding: 0px 65px;
    padding-bottom: 20px;
  }

  body.cms-politica-de-privacidade .container-fluid p, 
  body.cms-politica-de-cookies .container-fluid p {
    line-height: 18px;
  }

}

@media only screen and (max-height: 900px) {
  .historia-inicio.full-img,
  .vinhos-page.full-img,
  .terroir.full-img,
  .contacte-nos.full-img{
    height: 82vh;
  }
}

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

  /* Header */

  .menu-principal, .menu-word {
    width: 100vw;
    right: -100vw;
  }

  .menu-principal ul li {
    width: calc(100vw - 180px);
  }

  /* Página de Aterragem */

  body.cms-pagina-de-aterragem .col-md-12 {
    flex-direction: column;
  }

  body.cms-pagina-de-aterragem .col-md-12 .col-md-6,
  body.cms-pagina-de-aterragem .col-md-12 .col-md-6:last-child  {
    width: 90vw;
  }

  body.cms-pagina-de-aterragem img {
    right: 0px;
  } 


  /* Homepage */

  .corredoura {
    height: 65vh;
  }

  .casa-piaska > div:last-child > div {
    margin-right: 0;
  }

  .casa-piaska > div:first-child img {
    width: 60%;
  }

  .casa-piaska {
    height: 65vh;
  }

  /* Footer */

  footer.footer {
    gap: 0;
    row-gap: 20px;
  }

  footer.footer > div {
    width: 45%;
  }

  /* A Nossa História */

  .familia .beje > div > div:last-child {
    padding: 0px 65px;
  }

  .familia .beje > div > div:first-child {
    width: calc(100vw - 130px);
    margin-left: 65px;
  }

  /* Vinhos e Azeites */

  .vinhos h3, .vinhos > div > p, 
  .vinhos .colheita, .vinhos .enologo, 
  .tamanho-ficha {
    width: 40vw;
  }

  /* A Nossa Terra */

  .terroir h1 {
    width: 460px;
  }

  .familia .beje > div > div:first-child {
    width: 40vw;
  }

  .familia .parte1 {
    height: 580px;
  }

  .familia .parte1 > div:last-child {
    margin-top: 60px;
  }

  .familia .beje > div {
    top: -90px;
  }

  .vale .beje > div > div:nth-child(2) {
    top: 30px;
  }

  .familia .beje > div > div:last-child {
    padding: 150px 65px 0px;
  }

  /* Políticas */

  body.cms-politica-de-privacidade .container-fluid h1, 
  body.cms-politica-de-cookies .container-fluid h1 {
    padding: 270px 65px 45px;
  }

}


@media only screen and (max-height: 700px) {
  .historia-inicio.full-img{
    height: 78vh;
  }
}


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

  h1 {
    font-size: 28px;
    line-height: 35px;
    letter-spacing: 2.5px;
  }

  h2 {
    font-size: 22px;
    line-height: 30px;
  }

  h3 {
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 1px;
  }

  /* Header */

  .grandeHeader .logotipo-phone{
    display: block;
  }

  .grandeHeader .logotipo{
    display: none;
  }

  .grandeHeader .logotipo-phone a {
    width: 180px;
    top: 25px;
  }

  .hamburguer-menu {
    width: 30px;
    height: 15px;
    right: 20px;
    top: 35px;
  }

  .headerExtra {
    left: 30px;
    top: 27px;
  }

  .li-menu-idioma > a{
    display: block;
  }

  .li-menu-idioma.menu-item-ativo-lang > a{
    display: none;
  }

  .headerExtra .sub-idiomas > li.li-menu-idioma > a::after{
    display: none;
  }

  .menu-principal {
    padding-left: 30px;
  }

  .menu-principal ul li {
    width: calc(100vw - 60px);
  }

  .menu-word {
    top: 40px;
    padding-left: 30px;
  }

  .with-sub .sub-menu {
    display: none;
    margin-top: 10px;
  }

  .menu-principal ul li a {
    font-size: 18px;
    line-height: 20px;
    width: 230px;
  }

  /* Aviso Legal */

  .aviso-legal {
    padding: 30px 30px;
    width: calc(100vw - 50px);
  }

  .aviso-legal > div:last-child {
    width: fit-content;
  }

  .aviso-legal h4 {
    width: fit-content;
  }

  /* Aviso Cookies */

  .aviso-cookies p,
  .aviso-cookies p a {
    font-size: 12px;
    line-height: 18px;
  }

  .aceitar {
    font-size: 12px;
    padding: 3px 20px;
  }

  .aviso-cookies {
    width: 100vw;
  }

  .aviso-cookies > div {
    right: 50%;
    transform: translateX(50%);
  }

  /* Homepage */

  .homepage{
    height: calc(100vh - 100px);
  }

  .homepage video.video-desktop{
    display: none;
  }

  video.video-phone{
    display: block;
  }

  .homepage h1 {
    width: 230px;
  }

  .honramos-passado h2 {
    width: 300px;
  }

  .honramos-passado > div > div {
    width: 300px;
    line-height: 18px;
  }

  .nossos-vinhos {
    height: 85vh;
  }

  .nossos-vinhos > div {
    bottom: 40px;
    left: 30px;
  }

  .nossos-vinhos h5, .nosso-azeite h5 {
    width: 260px;
  }

  .corredoura, .casa-piaska {
    padding: 0px 0px 90px;
    flex-direction: column;
    height: fit-content;
  }

  .corredoura {
    margin-top: -50px;
  }

  .corredoura > div,
  .casa-piaska > div {
    width: calc(100vw - 60px);
  }

  .corredoura p,
  .casa-piaska p {
    display: none;
  }

  .corredoura h3,
  .casa-piaska h3{
    border-bottom: 1px solid white;
    margin: 0px;
    padding-bottom: 15px;
  }

  .corredoura > div:first-child img {
    width: 100%;
    top: 50px;
    position: relative;
  }

  .nosso-azeite > div {
    bottom: 40px;
    right: unset;
    left: 30px;
  }

  .casa-piaska h6 {
    border: 0px;
    margin-bottom: 15px;
  }

  .casa-piaska > div:first-child img {
    width: 75%;
    position: relative;
    top: 110px;
  }

  .casa-piaska {
    margin-top: -220px;
  }

  .preservar h3 {
    width: 300px;
    margin-bottom: 75px;
  }

  .preservar h6 {
    margin-bottom: 75px;
  }

  .preservar{
    height: 70vh;
  }

  /* Footer */

  footer.footer {
    flex-direction: column;
    padding: 75px 30px 50px 30px;
    gap: 45px;
  }

  footer.footer > div {
    width: 100%;
  }

  .footer .logotipo a {
    width: 215px;
    margin-left: -20px;
  }

  footer.footer p a, footer.footer .contactos a, footer.footer .contactos div {
    font-size: 12px;
    line-height: 20px;
  }

  footer .redes a {
    font-size: 16px;
    width: 35px;
    height: 35px;
  }

  footer.footer .logotipo {
    margin-bottom: -30px;
  }

  /* A Nossa História */

  .historia-inicio h1 {
    width: 300px;
    text-align: center;
  }

  .familia .parte1 > div:last-child {
    margin-top: 90px;
    padding: 0px 20px;
  }

  .familia .parte1 > div:last-child > div {
    width: calc(100vw - 40px);
    padding-top: 40px;
    padding-bottom: 210px;
  }

  .familia .parte1 > div:last-child h2{
    text-align: center;
  }

  .familia .parte1 {
    height: fit-content;
  }

  .familia .parte1 > div:first-child::after,
  .contactos-casa > div:first-child::after,
  .vinhos-corredoura > div:first-child::after{
    margin-top: 20px;
  }

  .familia .beje > div > div:first-child {
    width: calc(100vw - 40px);
    height: 55vh;
    margin-left: 20px;
  }

  .familia .beje > div > div:nth-child(2) p {
    padding-top: 50px;
    padding-bottom: 75px;
    width: calc(100vw - 60px);
  }

  .familia .beje > div > div:last-child h4 {
    width: 100%;
  }

  .familia .beje > div > div:last-child p {
    width: 100%;
  }

  .familia .beje > div > div:last-child > div {
    width: 100%;
  } 

  .familia .beje > div > div:last-child {
    padding: 0px 20px;
    flex-direction: column;
  }

  .familia .beje > div > div:last-child > div:last-child div {
    width: 100vw;
    height: 100vw;
    margin-top: 25px;
  }

  .familia .beje > div {
    top: -200px;
  }

  video.video-phone {
    display: block;
    width: calc(100vw - 40px);
    margin-left: 20px;
    margin-top: -60px !important;
  }

  .container-video{
    background-color: #ede9e5;
    padding-bottom: 50px;
  }


  /* Vinhos */

  .vinhos-page h1 {
    width: 300px;
  }

  .vinhos-corredoura > div:last-child, 
  .azeite-excelencia > div:last-child {
    width: calc(100vw - 40px);
  } 

  .vinhos-corredoura h2 {
    padding-top: 90px;
  }

  .vinhos {
    flex-direction: column;
  }

  .vinhos .counter {
    transform: translateY(0%) translateX(-100px);
    top: 200px;
  }

  .wrapper-vinhos .vinhos:nth-child(2n) {
    flex-direction: column;
  }

  .vinhos > div {
    width: 100%;
  }

  .wrapper-vinhos .vinhos:nth-child(2n) > div:last-child {
    padding-right: 0;
    align-items: flex-start;
    padding-left: 20px;
  }

  .vinhos > div:last-child {
    padding-left: 20px;
    padding-top: 30px;
  }

  .vinhos h3, .vinhos > div > p, 
  .vinhos .colheita, 
  .vinhos .enologo, 
  .tamanho-ficha {
    width: calc(100vw - 40px);
  }

  .vinhos-img {
    height: 80vh;
  }

  .azeite-excelencia > div:last-child::after {
    margin-top: 45px;
  } 

  .vinhos > div:first-child img {
    height: 330px;
    margin-right: 0px;
  }

  .vinhos > div:first-child {
    justify-content: center;
  }

  .wrapper-vinhos .vinhos:nth-child(2n) > div:first-child img {
    margin-left: 0;
  }

  .wrapper-vinhos .vinhos:nth-child(2n) > div:first-child {
    justify-content: center;
  }

  .azeites .counter {
    transform: translateY(0%) translateX(-100px);
    top: 250px;
  }

  .azeite-excelencia h2 {
    padding: 0px 20px 45px 20px;
    text-align: center;
  }

  .azeite-excelencia > div:nth-last-child(2) {
    line-height: 24px;
    font-size: 12px;
    width: calc(100vw - 40px);
  }

  .azeite-excelencia > div:first-child {
    padding-top: 40px;
    padding-bottom: 55px;
  }

  .azeite-excelencia > div:last-child {
    justify-content: center;
    display: flex;
  }

  .azeite-excelencia > div:last-child a::after {
    margin-top: 45px;
  }


  /* A Nossa Terra */

  .terroir h1 {
    width: 300px;
  }

  .vale .beje > div > div:nth-child(2) {
    position: relative;
    top: 0;
    right: 0;
    height: unset;
    min-height: unset;
    padding-top: 30px;
  }

  .familia.vale .beje > div > div:nth-child(2) p {
    text-align: center;
    padding: 0px;
    padding-bottom: 20px;
  }

  .vale .beje > div > div:last-child > div:last-child {
    margin-left: 0;
  }

  .vale .beje {
    height: 1050px;
  }


  .familia .beje > div > div:last-child {
    padding: 40px 20px 0px;
  }

  .vale .img-vale {
    margin-top: 20px;
    width: 100% !important;
    height: 65vh;
  }
  
  .familia .beje > div {
    top: -100px;
  }

  .vale .beje {
    height: fit-content;
  }

  /* Contactos */

  .contacte-nos h1 {
    width: 330px;
  }

  .contactos-casa h2 {
    padding-top: 80px;
  }

  .contactos-casa a {
    font-size: 12px;
    line-height: 20px;
  }

  .contactos-casa .contactos > div:last-child {
    font-size: 12px;
    line-height: 20px;
  }

  .contactos-casa .redes {
    margin-top: 50px;
    padding-bottom: 50px;
  }

  .contactos-casa .redes > div a i {
    font-size: 15px;
  }

  .contactos-casa .redes > div a {
    width: 35px;
    height: 35px;
  }

  .contactos-casa h2:last-child {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  /* Políticas */

  body.cms-politica-de-privacidade .container-fluid h1, 
  body.cms-politica-de-cookies .container-fluid h1 {
    padding: 140px 30px 25px;
  }

  body.cms-politica-de-privacidade .container-fluid p, 
  body.cms-politica-de-cookies .container-fluid p {
    padding: 0px 30px;
    padding-bottom: 15px;
  }


}

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

  /* Header */

  .grandeHeader .logotipo-phone a {
    width: 140px;
    top: 32px;
  }

  .headerExtra {
    top: 30px;
  }

  /* Aviso Cookies */

  .aviso-cookies > div {
    right: 50%;
    transform: translateX(50%);
    width: calc(100vw - 50px);
  }

  .aviso-cookies p {
    width: 100%;
  }
}


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

  h1 {
    font-size: 23px;
    line-height: 28px;
    letter-spacing: 1.5px;
  }

  h2 {
    font-size: 19px;
    line-height: 26px;
  }

  /* A Nossa História */

  .historia-inicio h1,
  .vinhos-page h1,
  .terroir h1,
  .contacte-nos h1 {
    width: 250px;
  }

  
}