/*
Theme Name: RAL
Theme URI: https://imaginevirtual.com
Author: Rui Pereira - Imagine Virtual
Version: 1.0
Text Domain: ral
Tags: mobile-first, accessibility, dark-mode
*/

/* 
==================================
  VARIABLES & COLOR SCHEMES
==================================
*/
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Light.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 6700;
  font-style: normal;
  font-display: swap;
}



:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --link-color: #0066cc;
  --focus-outline: 2px solid #BFA36C;
  --focus-outline-dark:  2px solid #33302E;

  --ral-dark: #33302E;
  --ral-gold: #BFA36C;
  --ral-light-gold: #E2D0AA;
  --ral-silver: #ACB6C1;
  --ral-light-silver: #F7F7F7;

  --ral-main-font: 'Montserrat';
  --ral-sec-font: 'Open Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
 /*  :root {
    --bg-color: #111111;
    --text-color: #f1f1f1;
    --link-color: #66aaff;
    --focus-outline: 2px dashed #f1f1f1;
    color-scheme: light;
  } */
}

/* 
==================================
  RESET & BASE STYLES
==================================
*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
strong, b, .semibold {
  font-weight: 600;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 100; 
  font-size: 1rem;
  line-height: 1.6;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
}
a:focus,
button:focus,
input:focus{
  outline: var(--focus-outline);
  outline-offset: 3px;
	transition: outline 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7-submit:focus{
	outline: var( --focus-outline-dark);
	outline-offset: 3px;
}

/* Utilidade de acessibilidade */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* 
==================================
  LAYOUT Mobile First
==================================
*/

.header-padding{
  padding-top: 200px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.flex-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header Style */
.site-header{
  background-color: var(--ral-dark);
  position: fixed;
  width: 100%;
  z-index: 999999;
  transition: all .5s ;
}
.site-header .container{display: flex;}
.header-row-1,
.header-row-2{
  width: 50%;
  display: flex;
  flex-direction: row;
  gap:10px;
  justify-content: space-between;
  color:var(--ral-gold);
  align-items: end;
  transition: all .5s ;
}
.header-row-1{
  align-items: start;
}
.header-row-2{
  flex-direction: column-reverse;
}
.contact-link{display: none;}
.custom-logo{
    max-width: 200px;
    height: auto;
    transition: all .5s ;
  }
.social-links{
  display: none;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding-right: 11px;
}
.site-footer .social-links{
  padding-right: 0;
}
.social-links li{
  background-color: var(--ral-gold);
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-links li a{
  color:white;
  font-size: 1rem;
}
.contact-link{
  color:var(--ral-gold);
  font-weight: 400;
  font-size: 1.2rem;
  height: 40px;
}
.gold-feature{
  width: 60px;
  height: 6px;
  display: block;
  background: url('assets/imgs/gold-feature.png');
}
.gold-feature-position{
  position: absolute;
  margin-left: -75px;
  margin-top: 15px;
}
.link-position{
  position: absolute ;
  margin-top: -80px;
}
/* Footer */
.site-footer{
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
}

.footer-links{
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap:20px;
  margin: 20px 0;
    list-style: none;
    color:black;
  
}
.footer-links li a{
  font-weight: 400;
  color:black;
}

.imaginevirtual-logo{
  width: 100px;
}


/*-----------------------------------
 GO BACK 
 -----------------------------------*/
#back-to-top.show {
	opacity: 1;
}

#back-to-top {
	position: fixed;
	bottom: 85px;
	right: 15px;
	z-index: 9999;
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 30px;
	background: var(--ral-dark);
	color: #fff;
	cursor: pointer;
	border: 0;
	border-radius: 2px;
	text-decoration: none;
	transition: opacity 0.2s ease-out;
	opacity: 0;
}




.mobile{display: flex!important;}
.desktop{display: none!important;}

/* 
==================================
  Responsive adjustments
================================== 
*/
@media (min-width: 768px) {
.mobile{display: none!important;}
.desktop{display: flex!important;}

  body {
    font-size: 1.125rem;
  }
  .site-header .container{    flex-direction: column;}

  .container {
    padding: 1rem;
  }
  .flex-content{
    flex-direction: row;
    justify-content: center;
  }
  .header-row-1, .header-row-2 {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    width: 100%;
  }
  .header-row-1{align-items: start; }
  .header-row-2 {align-items: end;}
  .custom-logo{
    max-width: unset;
  }
  .scrolled .custom-logo{
    max-width: 125px;
    transition: all .5s ;
  }
  .scrolled #mega-menu-menu-principal{padding: 0; transition: all .5s ;}
  .scrolled .container{
    padding:0.5rem;  transition: all .5s ;
  }
  .social-links{display: flex;}
  .contact-link{display: block;}

  .link-position {
    position: absolute;
    margin-top: -106px;
  }

  /* footer mobile */
   .footer-links{
    flex-direction: row;
    align-items: center;
  }
}
