/*  Reset/Transição */
*, body, a, hr, .border, h1, h2, h3, h4, h5, h6 { 
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
@font-face {
  font-family: 'Prototype';
  src: url('../fonts/prototype.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-primary: #c90c0f;
  --color-secondary: #70706f;
  --bg-color: #ffffff;
  --bg-color-secundary: #f9f9f9;
  --bg-medium: #ededed;
  --bg-dark: #272727;
  --bg-escuro: #272727;
  --text-color: #111111;
  --link-color: #70706f;
  --link-invert: #fff;
  --link-hover-color: #c90c0f;
  --border-color: #dddddd;
  --icon-color: #70706f;
  --icon-fill: transparent;
}
.b24-form-wrapper{
	background: var(--bg-color)!important;
	color: var(--text-color)!important;
	input, select, textarea{
		background-color: var(--bg-color-secundary)!important;
    	border-color: var(--border-color) !important;
   		color: var(--text-color) !important;
	}
	label{
   		color: var(--text-color) !important;
	}
}
.b24-form-control-icon-after .b24-form-control, .b24-form-control-icon-after .b24-form-control-label, .b24-form-field-agreement .b24-form-field-agreement-link, .b24-form .b24-form-sign-abuse-link {
    color: var(--text-color)!important;
}
body {
  background-color: var(--bg-color);
  color: var(--text-color);
}
html[data-theme="dark"] {
  --bg-color: #111111;
  --bg-color-secundary: #000;
  --bg-dark: #111111;
  --bg-escuro:  #000;
  --color-secondary: #131313;
  --bg-medium: #1c1c1c;
  --text-color: #eeeeee;
  --link-color: #ffffff;
  --link-hover-color: #c90c0f;
  --border-color: #333333;
  --icon-color: #ffffff;
  --icon-fill: #ffffff;	
}
a {
  color: var(--link-color);
  text-decoration: none;

  &:hover {
    color: var(--link-hover-color);
  }
}
hr, .border, .border-top, .border-bottom {
  border-color: var(--border-color) !important;
}
.b24-form-padding-side{
  padding:0!important;
}
.b24-form-content{
  padding: 0!Important;
}
.b24-form-header-padding{
  padding: 0!Important;
}
.b24-form-wrapper.b24-form-border-bottom{
  border-bottom: 0!important;
}
.b24-form-wrapper{
  max-width: 100%!important;
}
/* Superior */
.barra-superior {
  background: var(--color-primary);
  padding: 10px 30px;
  align-items: center;

  a.glink {
    color: #fff;
  }

  #theme-toggle-mobile {
    border: 0;
    background: transparent;
    outline: 0;
    color: #fff;
    padding: 0;
    font-size: 1.2rem;
  }

}

/* Menu*/
.site-header {
  z-index: 100;
  padding: 15px 5%;
  font-family: 'Prototype';
  transition: width 2s, height 4s;
  position: sticky;
  background-color: var(--bg-color);
  top: 0;


  .logo-svg {
    width: 220px;
    height: auto;
    color: var(--icon-color);
    fill: currentColor;
  }

  .dropdown-menu {
    background: var(--bg-color-secundary);
    .dropdown-item {
      &:hover {
        background: var(--bg-color-secundary);
      }
    }
  }

  .dropdown-toggle::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-primary);
    font-size: 0.75em;
    margin-left: 0.3em;
    vertical-align: text-top;
    display: inline-block;
    border: none;
  }

  .nav-item {
    font-size: 1.2rem;
    font-weight: normal;
    a {
      color: var(--link-color);

      &:hover {
        color: var(--link-hover-color);
      }
    }
  }

  .navbar-collapse {
    justify-content: center;
  }

  .navbar-expand-lg .navbar-nav {
    gap: 20px;
  }

  .menu-icon {
    width: 35px;
    height: 30px;
    display: flex;
    vertical-align: middle;
    fill: currentColor;

    & svg {
      height: 28px;
    }
  }

  .navbar-toggler {
    color: var(--link-color);
    border: 0;
    padding: 0;
    font-size: 2rem;

    &:focus:not(:focus-visible) {
      box-shadow: none;
    }
  }

  #theme-toggle {
    background: none;
    border: none;
    padding: 0.3rem;
    font-size: 1.2rem;
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  html[data-theme="light"] #theme-toggle i {
    color: var(--icon-color);
    font-weight: 400;
  }

  html[data-theme="dark"] #theme-toggle i {
    color: var(--icon-fill);
    font-weight: bold;
  }

  .nav-item.mega-menu {
    position: static !important;
    &.show>.dropdown-menu.mega-columns {
      display: flex !important;
    }
    .dropdown-menu.mega-columns {
      position: absolute;
      top: 75px;
      left: calc(-6% + 8px);
      font-family: 'Prototype';
      margin: 0;
      width: calc(100% + 11% + 2px);
      padding: 2rem 5%;
      border: 1px solid var(--border-color);
      z-index: 1000;
      gap: 4rem;
      flex-wrap: nowrap;
      border-radius: 0;
      overflow: auto;
      & .dropdown-item:focus,
      .dropdown-item:hover {
        background: none;
      }

    }
    .dropdown-menu.mega-columns.show {
      display: flex;
      justify-content: center;
    }
    .dropdown-menu.mega-columns>li {
      flex: unset;
      min-width: 300px;
      list-style: none;
      padding: 0;
      max-width: 100%;
      width: max-content;
    }
    .dropdown-menu.mega-columns>li>a.nav-link {
      text-transform: uppercase;
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
      pointer-events: none;
      letter-spacing: 1px;
      color: var(--color-primary);
      padding: 0;
    }
    .dropdown-menu.depth_1 .dropdown-item {
      padding: 0;
      & .menu-item-inner {
        display: flex;
        flex-direction: row;
        gap: 10px;
        & .menu-text-col {
          flex-direction: column;
          display: flex;
          flex: 1 1 auto;
          min-width: 0;
          & .menu-title {
            line-height: 1;
          }
          & .menu-description {
            white-space: normal !important;
            word-wrap: break-word;
            overflow-wrap: break-word;
            display: block;
            line-height: 1.4;
            max-width: 350px;
            font-size: .95rem;
            font-family: 'Montserrat', sans-serif;
          }
        }
      }
      & .nav-link {
        display: flex;
        align-items: center;
      }
    }
    .dropdown-menu.mega-columns>li>ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }
    .dropdown-menu.mega-columns>li>ul>li>a.nav-link {
      display: flex;
      align-items: center;
      padding: 8px 0;
      font-size: 1.2rem;
      color: var(--link-color);
      text-decoration: none;
      font-family: 'Prototype';
      transition: .3s;

    }
    .dropdown-menu.mega-columns>li>ul>li>a.nav-link:hover {
      color: var(--link-color);
    }
    .dropdown-menu.mega-columns>li.menu-item-has-children>ul.dropdown-menu {
      display: block !important;
      position: static !important;
      box-shadow: none;
      border: none;
      margin-top: 0;
      padding: 0;
      background: none;

    }
  }
  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link.show {
    color: var(--color-primary);
  }


  .gtranslate {
    margin-right: 10px;
    font-size: 1.2rem;

    & .glink {
      margin: 0 3px;
    }

    & .gt-current-lang {
      color: var(--color-primary);
    }
  }

}

.logo-svg .cls-1 {
  fill: currentColor;
}

.logo-svg .cls-2 {
  fill: #c90c0f;
}

.rodape {
  padding: 60px 5%;
  background: var(--bg-dark);
  color: white;
  & svg {
    width: 230px;
    margin: 0 auto 15px;
    display: block;
  }
  & .titulo {
    font-family: 'Prototype';
    font-size: 1.4rem;
    margin: 0 0 5px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
  }
  & ul {
    list-style: none;
    color: white;
    padding: 0;

    & li {
      padding: 5px 0;
      font-size: 1.1rem;

      & a {
        color: white;
        transition: .3s;
      }

      &:hover {
        a {
          color: var(--link-hover-color);
        }
      }
    }
  }
  & .redes {
    margin: 25px auto 0px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    & .item {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      text-align: center;
      color: #fff;
      background: var(--color-primary);
      border-radius: 50%;
      font-size: 1.1rem;
      transition: 0.3s;
      &:hover {
        color: var(--color-primary);
        background: #fff;
      }
    }
  }
  & .copy {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;

    & .rights {
      & a {
        color: #fff;

        &:hover {
          color: var(--link-hover-color);
        }
      }
    }

    & .dev {
      margin-right: 80px;		  
      & a {
        display: flex;
        color: #fff;
        gap: 15px;
        flex-direction: row;
        align-items: center;

        & svg {
          height: 15px;
          width: auto;
          display: block;
          margin: 0;
        }
      }
    }
  }
}

 #whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
  }
 
  .whatsapp-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none; 
  }
  #whatsapp-button.active .whatsapp-options { pointer-events: auto; }
 
  .whatsapp-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f3d2e;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 22px rgba(11, 61, 46, .16);
    opacity: 0;
    transform: translate(14px, 14px) scale(.85);
    transform-origin: bottom right;
    transition:
      opacity .2s ease,
      transform .2s ease,
      background-color .25s ease,
      color .25s ease,
      box-shadow .25s ease;
  }
  .whatsapp-option i { color: #25d366; font-size: 20px; transition: color .25s ease; }
 
  #whatsapp-button.active .whatsapp-option {
    opacity: 1;
    transform: none;
    transition:
      opacity .32s cubic-bezier(.22, 1.2, .36, 1),
      transform .42s cubic-bezier(.22, 1.2, .36, 1),
      background-color .25s ease,
      color .25s ease,
      box-shadow .25s ease;
  }
  #whatsapp-button.active .whatsapp-option:nth-last-child(1) { transition-delay: .04s; }
  #whatsapp-button.active .whatsapp-option:nth-last-child(2) { transition-delay: .11s; }
  #whatsapp-button.active .whatsapp-option:nth-last-child(3) { transition-delay: .18s; }
 
  .whatsapp-option:hover,
  .whatsapp-option:focus-visible {
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  }
  .whatsapp-option:hover i,
  .whatsapp-option:focus-visible i { color: #fff; }
 
  #whatsapp-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #3ce97f, #1eb455);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(30, 180, 85, .45);
    transition: transform .3s cubic-bezier(.34, 1.4, .5, 1), box-shadow .3s ease;
  }
  #whatsapp-icon:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(30, 180, 85, .55); }
  #whatsapp-icon:active { transform: scale(.94); }
  #whatsapp-icon:focus-visible { outline: 3px solid #0f3d2e; outline-offset: 4px; }
 
  #whatsapp-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    animation: wa-pulse 2.4s cubic-bezier(.4, 0, .2, 1) infinite;
  }
  #whatsapp-button.active #whatsapp-icon::after { animation: none; }
 
  @keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  }
 
  #whatsapp-icon i { grid-area: 1 / 1; transition: opacity .22s ease, transform .38s cubic-bezier(.34, 1.4, .5, 1); }
  #whatsapp-icon .icon-close { opacity: 0; transform: rotate(-120deg) scale(.4); font-size: 26px; }
  #whatsapp-button.active #whatsapp-icon .icon-open { opacity: 0; transform: rotate(120deg) scale(.4); }
  #whatsapp-button.active #whatsapp-icon .icon-close { opacity: 1; transform: none; }
 
  @media (max-width: 480px) {
    #whatsapp-button { bottom: 16px; right: 16px; }
  }
 
  @media (prefers-reduced-motion: reduce) {
    #whatsapp-button *,
    #whatsapp-button *::after { transition-duration: .01ms !important; animation: none !important; }
    .whatsapp-option { transform: none; }
  }


@media screen and (max-width: 1600px){
  .site-header{
    padding: 15px 30px;
      & .nav-item.mega-menu {
          .dropdown-menu.mega-columns {
            left: calc(-40px + 8px);
            width: calc(100% + 60px + 2px);
            max-height: 80vh;
          }
      }
  }
  .rodape {
    padding: 60px 40px 40px;
    & svg {
        width: 200px;
    }
  }
}


@media (max-width: 1025px) {
  .site-header{
    max-height: 100vh;
    overflow-y: auto;
    .navbar-collapse {
      margin-top: 10px;
    }
    .navbar-expand-lg .navbar-nav {
        gap: 0px;
    }
    & .nav-item.mega-menu {
      .dropdown-menu.mega-columns {
        flex-direction: column;
        width: 100%;
        background: var(--bg-color-secundary);
        gap: 1rem;
        padding: 1rem;
        position: static !important;
        box-shadow: none;
        border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
        border-radius: var(--bs-dropdown-border-radius);
        max-height: unset;
      }
        & .dropdown-menu.depth_1 .dropdown-item {
            & .menu-item-inner {
                & .menu-text-col {
                    & .menu-description {
                      max-width: 100%;
                    }
                  }
                }
              }
          
    }

    .dropdown-menu.mega-columns>li {
      min-width: 100%;
    }
  }
  .rodape {
    & .redes {
        margin: 25px auto 40px;
    }
    & .titulo.d-flex.justify-content-between.align-items-center.d-lg-block {
      margin: 15px 0;
      line-height: 1;
      cursor: pointer;
      border-bottom: solid 1px var(--color-secondary);
      padding-bottom: 15px;
      & span.toggle-icon{
        color: var(--color-primary);
      }
    }
  }
}

@media screen and (max-width: 480px) {
  .site-header {
      padding: 10px 30px;
      & .nav-item.mega-menu {
        .dropdown-menu.mega-columns>li {
            flex: unset;
            min-width: 100%;
            list-style: none;
            padding: 0;
            max-width: 100%;
            width: 100%;
        }
    }
  } 
  .rodape {
    padding: 40px 30px;
    & svg {
        width: 180px;
    }
    & .titulo{
      font-size: 1.2rem;
    }
    & .copy {
      margin-top: 25px;
      flex-direction: column;
      font-size: .9rem;
      text-align: left;
      & .dev {
            margin-right: 0px;		  
        & a {
          justify-content: flex-start;
          padding-top: 15px;
          margin-top: 15px;
        }
      }
    }
  }
}