/*
 Theme Name:   Betheme Child
 Theme URI:    https://transtrevo.com
 Description:  Child theme for customizations of Betheme
 Author:       MiguelCaria
 Author URI:   https://transtrevo.com
 Template:     betheme
 Version:      1.0.0
 Text Domain:  betheme-child
*/

/*  ------------- Custom CSS starts below -------------*/
:root {
  --container-pad: clamp(2rem, 4vw, 3.125rem);
}
/* ==== Web Fonts ==== */
@font-face {
  font-family: 'General Sans';
  src: url('web-fonts/GeneralSans-Light.woff2') format('woff2'),
       url('web-fonts/GeneralSans-Light.woff') format('woff'),
       url('web-fonts/GeneralSans-Light.ttf') format('truetype'),
       url('web-fonts/GeneralSans-Light.eot') format('embedded-opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('web-fonts/GeneralSans-Regular.woff2') format('woff2'),
       url('web-fonts/GeneralSans-Regular.woff') format('woff'),
       url('web-fonts/GeneralSans-Regular.ttf') format('truetype'),
       url('web-fonts/GeneralSans-Regular.eot') format('embedded-opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('web-fonts/GeneralSans-Medium.woff2') format('woff2'),
       url('web-fonts/GeneralSans-Medium.woff') format('woff'),
       url('web-fonts/GeneralSans-Medium.ttf') format('truetype'),
       url('web-fonts/GeneralSans-Medium.eot') format('embedded-opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('web-fonts/GeneralSans-Semibold.woff2') format('woff2'),
       url('web-fonts/GeneralSans-Semibold.woff') format('woff'),
       url('web-fonts/GeneralSans-Semibold.ttf') format('truetype'),
       url('web-fonts/GeneralSans-Semibold.eot') format('embedded-opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* ==================================================
   Navbar Tweaks
   ================================================== */
#Top_bar .menu_left,
#Top_bar .menu_right {
  width: auto !important;
}
header#Header .container {
  max-width: 100% !important;
  padding-left: clamp(2rem, 4vw, 3.125rem) !important;
  padding-right: clamp(2rem, 4vw, 3.125rem) !important;
}
body #Top_bar .menu_left > li:first-child > a span:not(.description) {
  padding-left: 0;
}
body #Top_bar .menu_right > li:last-child > a span:not(.description) {
  padding-right: 0;
}
.header-split #Header .top_bar_left .logo {
  width: auto;
  text-align: left;
  margin: 0;
}
#Top_bar a.responsive-menu-toggle i {
  font-size: 24px !important;
  line-height: 38px !important;
}
/* Remove right border from top bar menu items */
#Top_bar .menu > li > a span:not(.description) {
    border-right: none !important;
}
/* ==================================================
   Custom Hero Section (Replaces Slider Revolution)
   ================================================== */
.hero-wrapper > .section_wrapper {
  position: relative;
  max-width: 100% !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100dvh;
}
.hero-wrapper {
  max-width: 100%;
  min-height: 100dvh;
  overflow: hidden;
}
.hero-wrapper .mcb-background-overlay {
  background: linear-gradient(
    135deg,
    rgb(27 49 40 / 100%) 0%,
    rgb(27 49 40 / 90%) 70%,
    rgb(27 49 40 / 84%) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
}
.hero-text.container {
  margin-left: 0;
  margin-right: auto;
}
.hero-text {
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  max-width: 36ch;
  font-size: clamp(1.188rem, 4vw + 0.2rem, 1.875rem) !important;
  color: #e5d5cc;
}
.hero-text p {
  max-width: 56ch;
  font-size: clamp(1rem, 0.4vw + 0.8rem, 1.125rem) !important;
  color: #e5d5cc;
}
.hero-video-mobile {
  display: none;
}
.trailer_box.horizontal h3 {
  color: #ffffff;
}
/* ==================================================
   Footer
   ================================================== */
.mt-custom-footer {
  margin-top: 38px;
}
/* ==================================================
   Header background & sticky tweaks
   ================================================== */
#Header .top_bar_left,
.header-classic #Top_bar,
.header-plain #Top_bar,
.header-stack #Top_bar,
.header-split #Top_bar,
.header-shop #Top_bar,
.header-shop-split #Top_bar,
.header-fixed #Top_bar,
.header-below #Top_bar,
#Header_creative,
#Top_bar #menu,
.sticky-tb-color #Top_bar.is-sticky {
  background-color: #1d173c00 !important;
}
.mcb-wrap-inner {
  flex-direction: column;
}
/* ==================================================
   Media Queries
   ================================================== */
/* Between 1100px and 1239px */
@media only screen and (min-width: 1100px) and (max-width: 1239px) {
  #Top_bar .menu_left,
  #Top_bar .menu_right {
    float: none;
    width: auto;
    display: flex;
  }
}
/* > 1100px */
@media only screen and (min-width: 1100px) {
    .header-split #Header .top_bar_left .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    margin: 0 auto;
  }
  #Top_bar a.responsive-menu-toggle {
    display: none;
  }
}
/* Show and align the hamburger below 1100px */
@media (max-width: 1099px) and (min-width: 768px) {
  #Top_bar a.responsive-menu-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    margin: 0;
    width: 34px;
    height: 34px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
/* Mobile < 767px */
@media only screen and (max-width: 767px) {
  .mobile-sticky #Top_bar.is-sticky #logo img.logo-mobile-sticky {
    width: 150px !important;
  }
  .mobile-header-mini #Top_bar #logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .header-split #Top_bar {
    position: absolute !important;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 999;
  }
  #Top_bar {
    padding-top: 15px;
  }
  #Top_bar #logo img.svg {
    width: 150px !important;
  }
  .mobile-header-mini #Top_bar a.responsive-menu-toggle {
    top: 30px !important;
    left: auto !important;
    right: clamp(2rem, 4vw, 3.125rem) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .mt-custom-footer {
    margin-top: 50px;
  }
  #Footer .widgets_wrapper {
    padding: 40px 0 !important;
  }
  .widget {
    margin: 25px 0 !important;
  }
  .hero-video-desktop {
    display: none;
  }
  .hero-video-mobile {
    display: block;
  }
  body .hero-wrapper > .section_wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-wrapper .section_wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start !important;
  }
}
/* Extra small devices < 478px */
@media only screen and (max-width: 478px) {
  .hero-text h1 {
    line-height: 1.5 !important;
}
  #Top_bar a.responsive-menu-toggle i {
    font-size: 22px !important;
  }
}
/* =======================
   Transtrevo - Largura total e padding
   ======================= */
body #Wrapper .content_wrapper .section_wrapper,
body #Wrapper .content_wrapper .container,
body #Wrapper .four.columns .widget-area,
body #Wrapper .content_wrapper .mcb-section-inner {
  width: 100% !important;
  max-width: none !important;
}
body #Wrapper .content_wrapper .section_wrapper,
body #Wrapper .content_wrapper .container {
  padding-left: var(--container-pad) !important;
  padding-right: var(--container-pad) !important;
}
.no-padding,
.no-padding .section_wrapper,
.no-padding .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body #Wrapper .content_wrapper .hero-text.container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body #Wrapper .mcb-column-inner {
  margin: 0 !important;
}
footer#Footer .widgets_wrapper,
footer#Footer .footer_copy {
  max-width: none !important;
  box-sizing: border-box;
  padding-left: var(--container-pad) !important;
  padding-right: var(--container-pad) !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
footer#Footer .widgets_wrapper > .container,
footer#Footer .footer_copy > .container {
  max-width: none !important;         /* mantém full */
  padding-left: 0 !important;         /* zera padding interno */
  padding-right: 0 !important;
}
.footer-copy-center #Footer .footer_copy {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media only screen and (min-width: 1240px) {
  footer#Footer .widgets_wrapper > .container,
  footer#Footer .footer_copy > .container {
    max-width: 80rem !important;
    margin-inline: auto;
  }
}
/* == Custom Sections padding == */
.section-custom {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-custom.lg {
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-custom.sm {
  padding-top: 40px;
  padding-bottom: 40px;
}
/* ==== Section Custom Layout ===== */
.section-custom__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.section-custom__content {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}
.section-custom__title {
  color: #ffffff;
}
.custom-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.grid-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 2rem;
}
.grid-custom > .grid-row {
  display: contents;
}
.grid-row {
  display: flex;
  gap: 6rem;
}
.list-custom { 
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.grid-sep{
  grid-column:1 / -1;
  height:1px;
  background:rgba(255,255,255,.1);
  margin-block:0.5rem;
}
.list-custom h3 {
  color: rgb(255 255 255 / 65%);
}
.section-custom__media img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.25rem;
}
/* ==== Media querys ======== */
@media (max-width: 767px) {
  /* só ajusta gaps */
  .grid-custom {
    column-gap: 2rem;
    row-gap: 1.5rem;
  }
  .section-custom__inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 4rem;
  }
  .grid-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .grid-sep {
    margin-block: .75rem;
  }
}
@media (max-width: 479px) {
  .grid-custom {
    column-gap: 1rem;
    row-gap: 1rem;
  }
}
/* === Utility Containers === */
.u-container-lg {
  width: 100%;
  max-width: 80rem; /* ~1280px */
  margin-inline: auto;
}
.u-container-md {
  width: 100%;
  max-width: 70rem; /* ~1120px */
  margin-inline: auto;
}
.u-container-sm {
  width: 100%;
  max-width: 60rem; /* ~960px */
  margin-inline: auto;
}
.u-container-xs {
  width: 100%;
  max-width: 50rem; /* ~800px */
  margin-inline: auto;
}
.section-custom .five-sixth.column {
  width: 100% !important;
}
@media (min-width: 960px) and (max-width: 1440px) {
  .section-custom .five-sixth.column {
    width: 100% !important;
  }
}
/* === Utility: Padding Bottom === */
.pb-xsm {
  padding-bottom: 0.85rem;
  margin: 0;
}
.pb-sm {
  padding-bottom: 1rem;
  margin: 0;
}
.pb-md {
  padding-bottom: 2rem;
  margin: 0;
}
.pb-xmd {
  padding-bottom: 3rem;
  margin: 0;
}
.pb-lg {
  padding-bottom: 4rem;
  margin: 0;
}
/* === Main Font === */
body,
button,
input,
textarea,
select,
h1, h2, h3, h4, h5, h6,
p,
a,
#menu > ul > li > a,
#overlay-menu ul li a,
.mfn-menu-item-megamenu,
.text-logo {
  font-family: 'General Sans', sans-serif !important;
  line-height: 1.6;
  font-weight: 400;
}
/* Headings */
body h1 {
  font-size: clamp(1.188rem, 4vw + 0.2rem, 1.875rem) !important;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0;
}
body h2 {
  font-size: clamp(1.188rem, 4vw + 0.2rem, 1.875rem) !important;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
}
body h3 {
  font-size: clamp(1.063rem, 1.2vw + 0.5rem, 1.375rem) !important;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
}
body h4 {
  font-size: clamp(1rem, 0.5vw + 0.8rem, 1.125rem) !important;
  margin-bottom: 0;
}
body h4, h5, h6 {
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
}
body button, input, textarea, select {
  font-weight: 400;
  line-height: 1.4;
  color: #0d1713;
}
body p, body li {
  font-size: clamp(0.938rem, 0.3vw + 0.75rem, 1rem) !important;
}
/* ==== Text Color Utilities ==== */
.text-color-white {
  color: #ffffff !important;
}
.text-color-dark {
  color: #1B3128 !important;
}
.text-color-light {
  color: rgba(255,255,255,0.75) !important;
}
/* Icons */
.icon-wrapper img,
.image_wrapper img {
  width: 3rem;
  height: auto;
}
@media only screen and (max-width: 478px) {
  .icon-wrapper img, .image_wrapper img {
    width: 2.5rem;
  }
}
/* === Reset BeTheme wrappers === */
.mcb-wrap-inner {
  row-gap: 0 !important;
}
.mcb-wrap-inner {
  padding-bottom: 0 !important;
}
.the_content_wrapper {
    margin: 0 !important;
    width: 100% !important;
}
/* ===== Section Industries ===== */
.section-custom-cards__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
  align-items: start;
}
.section-custom-cards__title {
  grid-column: 1 / -1;
  margin: 0 0 1rem 0;
}
.section-custom-cards__highlight {
  grid-column: 1;
  max-width: 38ch;
}
.section-custom-cards__highlight p {
  font-weight: 500;
}
.section-custom-cards__highlight p,
.section-custom-cards__desc p {
  color: #0D1713;
}
.section-custom-cards__desc {
  grid-column: 2 / 4;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card-cust {
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
}
.card-cust img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
}
.card-cust::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.card-cust h3 {
  position: absolute;
  left: 1.6rem;
  right: 1rem;
  bottom: 1.3rem;
  margin: 0;
  color: #fff;
  z-index: 1;
}
/* ===== Media querys ===== */
@media (max-width: 991px) {
  .section-custom-cards__content {
    grid-template-columns: 1fr;
  }
  .section-custom-cards__title,
  .section-custom-cards__highlight,
  .section-custom-cards__desc {
    grid-column: auto;
  }
  .section-custom-cards__highlight {
    max-width: none;
    padding-top: 1rem;
  }
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 478px) {
  .grid-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
body:not(.home) #Top_bar {
  position: relative !important;
  background-color: #1b3128 !important;
  z-index: 999;
  width: 100%;
}
@media only screen and (max-width: 767px) {
  body:not(.home) #Top_bar {
    position: relative !important;
    background-color: #1b3128 !important;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}
.the_content_wrapper {
    margin: 0 !important;
    width: 100% !important;
}