@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Poppins", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

:root { 
  --background-color: #ffffff;
  --default-color: #364d59;
  --heading-color: #52565e;
  --accent-color: #f44336;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: rgba(255, 255, 255, 0.55);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #000000;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #f44336;
}

.light-background {
  --background-color: #f4f7f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
html, body {
  height: 100%;
  min-height: 100vh;
}

body {
  color: white;
  background-color: #000;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: #000 !important;
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo img {
  max-height: 45px;
  margin-right: 8px;
}

/* Garante que o logo não seja afetado por outras regras */
.header .logo {
  display: flex !important;
  align-items: center !important;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navmenu a, .navmenu a:focus {
  text-decoration: none;
  transition: 0.3s;
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    /* 1) tornar o navmenu um flex-container: */
    display: flex !important;
    align-items: center;
  }
  .navmenu > ul {
    display: flex !important;
    align-items: center;
    gap: 30px;
  }

  /* 2) empurra o form de busca para a extremidade direita */
  .navmenu > form.search-form {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  .navmenu > form.search-form input[type="search"] {
    width: 160px;        /* largura menor */
    padding: 6px 10px;   /* altura reduzida */
    font-size: 13px;     /* texto um pouco menor */
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: width 0.3s ease;
  }

  /* Ao focar, expande um pouco para facilitar a digitação */
  .navmenu > form.search-form input[type="search"]:focus {
    width: 220px;
    outline: none;
    border-color: var(--accent-color);
  }
/*------------Fim Ajuste buscador menu----------*/
  .navmenu a, .navmenu a:focus {
    color: white !important; /* Assegura links brancos */
    padding: 15px 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    text-transform: uppercase;
  }

  /* Efeito de sublinhado original */
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 10px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out;
  }
  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  /* Dropdowns */
  .navmenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99;
    margin-top: 0;
    padding: 10px 0;
    min-width: 220px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .navmenu .dropdown:hover > .dropdown-menu {
    display: block;
  }

  /* Sub-menus */
  .navmenu .submenu-hover {
    position: relative;
  }
  .navmenu .submenu-hover .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 5px;
  }
  .navmenu .submenu-open-left > .dropdown-menu {
    right: 100%;
    left: auto;
    margin-right: 5px;
    margin-left: 0;
  }
  .navmenu .submenu-hover:hover > .dropdown-menu {
    display: block;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: white;
    font-size: 28px;
    line-height: 0;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu > ul {
    display: none;
    position: fixed;
    inset: 0;
    padding: 60px 20px 20px 20px;
    background: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    z-index: 9998;
  }
  .navmenu a, .navmenu a:focus {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 0;
    display: block;
    font-size: 18px;
  }
  .navmenu a:hover, .navmenu .active {
    color: #ffffff !important;
  }
  .navmenu .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .navmenu .dropdown-toggle::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-left: 0.5em;
    transition: transform 0.2s ease-in-out;
    border: none;
    width: auto;
    height: auto;
    vertical-align: middle;
    transform: rotate(0deg);
  }
  .navmenu .dropdown.show > .dropdown-toggle::after,
  .navmenu .submenu-hover.show > a::after {
    transform: rotate(180deg);
  }
  .navmenu .dropdown-menu {
    display: none;
    position: static;
    width: 100%;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 0;
  }
  .navmenu .dropdown.show > .dropdown-menu {
    display: block;
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99999;
  }
  .mobile-nav-active .navmenu > ul {
    display: block !important;
  }
}

/* Estilos dos Itens do Dropdown (Geral) */
.dropdown-menu .dropdown-item {
  color: #333333 !important;
  padding: 10px 20px;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: var(--accent-color);
  color: #ffffff !important;
}
@media (max-width: 1199px) {
  .dropdown-menu .dropdown-item {
      color: rgba(255, 255, 255, 0.7) !important;
  }
  .dropdown-menu .dropdown-item:hover,
  .dropdown-menu .dropdown-item:focus {
      background-color: transparent;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  background: url("/img/Banners_footer.png") top center no-repeat;
  background-size: cover;
  font-size: 14px;
  position: relative;
  margin-top: auto;
}

.footer .container {
  position: relative;
}

.footer:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

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

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

.footer .footer-top .footer-links,
.footer .footer-about,
.footer .footer-certification {
  flex: 1;
  min-width: 180px;
  margin-bottom: 20px;
}

.footer .footer-certification img {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer .footer-top .row > div {
  padding-left: 30px;
  padding-right: 30px;
}

.footer .footer-links.links-rapidos {
  padding-right: 50px;
}

.certificado-box {
  background-color: white;
  border-radius: 20px;
  padding: 50px;
  display: inline-block;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 600px;
  text-align: center;
}

.certificado-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.certificado-box img {
  width: 300%;
  max-width: 300%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip; 
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: white !important;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero .info {
  position: relative;
  inset: 0;
  z-index: 3;
  padding: 140px 0 60px 0;
  padding: 20px 0; 
  
}

@media (max-width: 768px),
(max-height: 480px) {
  .hero .info {
    padding: 100px 50px 60px 50px;
  }
}

.hero .info h2 {
  text-align: center;
  white-space: nowrap;
  margin-bottom: 30px;
  padding-bottom: 45px;
  font-size: 45px;
  font-weight: 500;
  position: relative;
}

.hero .info h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: -6px;
  margin: auto;
}

@media (max-width: 768px) {
  .hero .info h2 {
    font-size: 36px;
  }
}

.hero .info p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
}

.hero .info .btn-get-started {
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--accent-color);
}

.hero .info .btn-get-started:hover {
  background: var(--accent-color);
}

.hero .carousel {
  inset: 0;
  position: absolute;
  overflow: hidden;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition-duration: 0.4s;
}

.hero .carousel-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item::before {
  content: "";
  background-color: transparent;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/

.features {
  background-color: #000!important;
  color: white;
}

.features h1,
.features h2,
.features h3,
.features h4,
.features h5,
.features h6,
.features p,
.features li,
.features a {
  color: white;
}

.features .text-dark,
.features .text-muted {
  color: white !important;
}

.features .nav-tabs {
  border: 0;
  border-bottom: 2px solid red;
}

.features .nav-link {
  color: white;
  padding: 15px 0;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 4px solid transparent;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 575px) {
  .features .nav-link h4 {
    font-size: 16px;
  }
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.features .nav-link.active {
  background-color: #000;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

.tab-pane img {
  width: 600px;
  height: 500px;
  object-fit: cover;
  max-width: 100%;
  border-radius: 10px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: var(--heading-color);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--heading-color), transparent 95%);
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -20px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.services .service-item:hover .icon i {
  color: var(--heading-color);
}

.services .service-item:hover .icon:before {
  background: var(--accent-color);
}

.services .service-item:hover h3 {
  border-color: var(--accent-color);
  color: var(--heading-color);
}

.services .service-item:hover .readmore {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Constructions Section
--------------------------------------------------------------*/
.constructions .card-item {
  background-color: black; 
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  border-radius: 0;
  height: 100%;
  /* Garante que o item ocupe o mesmo espaço */
}

.constructions .card-item .card-bg {
  Height: 250px;
  width: 100%;
  overflow: hidden;
}

.constructions .card-item .card-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.constructions .card-item .card-body {
  padding: 30px;
}

.constructions .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
}

.constructions .card-item p {
  color: white;/*color-mix(in srgb, var(--default-color), transparent 40%);*/
  margin: 0;
}

.card-body .btn {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  text-transform: uppercase;
  background-color: var(--accent-color);
  border: none;
  transition: 0.3s;
}

.card-body .btn:hover {
  background-color: darkred;
  /* ou variação do tema */
  color: white;
}

/*--------------------------------------------------------------
# Services 5 Section
--------------------------------------------------------------*/
.services-5 .service-card {
  position: relative;
  height: 100%;
  padding: 2.5rem 1.5rem;
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
  text-align: center;
}

.services-5 .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 15%), var(--accent-color));
  transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
  opacity: 0;
}

.services-5 .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.services-5 .service-card:hover::before {
  height: 100%;
  opacity: 1;
}

.services-5 .service-card:hover .icon-box {
  background-color: var(--contrast-color);
  color: var(--accent-color);
  transform: scale(1.1);
}

.services-5 .service-card:hover h3,
.services-5 .service-card:hover p {
  color: var(--contrast-color);
}

.services-5 .service-card:hover .service-hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.services-5 .service-card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.services-5 .service-card .icon-box i {
  font-size: 2.5rem;
}

.services-5 .service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.services-5 .service-card p {
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.services-5 .service-card .service-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 10px;
}

.services-5 .service-card .hover-content {
  width: 100%;
}

.services-5 .service-card .hover-content h4 {
  color: var(--contrast-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.services-5 .service-card .hover-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}

.services-5 .service-card .hover-content ul li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.services-5 .service-card .hover-content ul li i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  color: var(--contrast-color);
}

.services-5 .service-card .hover-content .learn-more {
  display: inline-flex;
  align-items: center;
  color: var(--contrast-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services-5 .service-card .hover-content .learn-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.services-5 .service-card .hover-content .learn-more:hover {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
}

.services-5 .service-card .hover-content .learn-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 991.98px) {
  .services-5 .service-card {
    padding: 2rem 1.25rem;
  }

  .services-5 .service-card .icon-box {
    width: 70px;
    height: 70px;
  }

  .services-5 .service-card .icon-box i {
    font-size: 2rem;
  }

  .services-5 .service-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 767.98px) {
  .services-5 .service-card {
    margin-bottom: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started {
  --surface-color: #f4f7f6;
}

.get-started .content {
  padding: 30px 0;
}

.get-started .content h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.get-started .content p {
  font-size: 14px;
}

.get-started .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .get-started .php-email-form {
    padding: 20px;
  }
}

.get-started .php-email-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.get-started .php-email-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.get-started .php-email-form input[type=text],
.get-started .php-email-form input[type=email],
.get-started .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 20%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.get-started .php-email-form input[type=text]:focus,
.get-started .php-email-form input[type=email]:focus,
.get-started .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.get-started .php-email-form input[type=text]::placeholder,
.get-started .php-email-form input[type=email]::placeholder,
.get-started .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.get-started .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.get-started .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# About 7 Section
--------------------------------------------------------------*/
.about-7 {
  /*padding-top: -20px;*/
  /*padding-bottom: 60px;*/
  background-color: #2e2e2e;
  color: white;
  padding-top: -40px !important;

}


.about-7 {
    background-color: #000 !important;
    color: white !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Títulos em vermelho */
  #about-7 h3,
  #about-7 .section-title h2,
  #about-7 .content-title,
  #about-7 .content-subtitle {
  color: var(--accent-color) !important; /* Usando a cor de destaque (vermelho) */
}

/* Textos em branco */
#about-7 p {
  color: white !important;
}

/* Altera fundo da section */
#about-7 {
  background-color: #000 !important;
  color: white;
  font-family: 'Poppins', sans-serif;
  padding-top: -40px !important;
}

/* Define cor branca para todos os textos internos */
#about-7 p,
#about-7 li,
#about-7 span,
#about-7 strong {
  color: white !important;
  text-align: left !important;
}

/* Define cor vermelha para os títulos h2/h3 se necessário */
#about-7 h3,
#about-7 h4
 {
  color: #b40000 !important;
}

#about-7 h2 {
  font-weight: bold;
  color:  #b40000 !important;
}

/* Centraliza os elementos da section */
#about-7 .row {
  align-items: center;
  text-align: left;
}




.about-7 .section-title {
  margin-bottom: 60px;
  color: white;
}

.about-7 .content {
  background: black;
  color: white;
  padding: 2rem 0; /* ou ajuste como quiser */
}

.about-7 .content .img-overlap {
  margin-top: -150px;
}

.about-7 p {
  color: white;/*var(--contrast-color);*/
}

.about-7 .content-title {
  color: white;/*var(--contrast-color);*/
  font-weight: 300;
  text-align: left;
}

.about-7 .content-title strong {
  font-weight: 700;
  color: white;
}

.about-7 .content-subtitle {
  font-weight: 300;
  color: white;/*var(--contrast-color);*/
  text-transform: uppercase;
  font-size: 1.3rem;
}

#about-7 {
  padding-bottom: 0 !important;
}

/*--------------------------------------------------------------
# About 2 Section
--------------------------------------------------------------*/
.about-2 .about-subtitle {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;/*var(--accent-color);*/
  margin-bottom: 16px;
  display: block;
}

.about-2 .about-title {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--heading-color);
}

.about-2 .about-title span {
  font-size: 32px;
  display: inline-block;
  margin: 8px 0;
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
}

@media (max-width: 991px) {
  .about-2 .about-title {
    font-size: 36px;
  }

  .about-2 .about-title span {
    font-size: 24px;
  }
}

.about-2 .about-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.about-2 .about-content p {
  font-size: 16px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 24px;
}

.about-2 .about-content .btn-learn-more {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-2 .about-content .btn-learn-more i {
  margin-left: 8px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.about-2 .about-content .btn-learn-more:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.about-2 .about-content .btn-learn-more:hover i {
  transform: translateX(5px);
}

.about-2 .about-img {
  position: relative;
  text-align: center;
}

.about-2 .about-img .glightbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  /* Para ficar acima da imagem e dos shapes */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  /* Ajuste o tamanho do botão conforme necessário */
  height: 60px;
  /* Ajuste o tamanho do botão conforme necessário */
  background-color: rgba(0, 0, 0, 0.5);
  /* Cor de fundo do botão (semi-transparente) */
  border-radius: 50%;
  color: #fff;
  /* Cor do ícone de play */
  font-size: 24px;
  /* Tamanho do ícone de play */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.about-2 .about-img .glightbox .play {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.about-2 .about-img .play i {
  /* Os estilos para o ícone bi-play-fill já devem estar definidos pelo Bootstrap Icons */
}

.about-2 .about-img .glightbox:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.about-2 .about-img img {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.about-2 .about-img .shape-1 {
  position: absolute;
  width: 220px;
  height: 220px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  bottom: -30px;
  right: -30px;
  z-index: 1;
  animation: blobAnimation1 8s ease-in-out infinite;
  transition: all 0.3s ease;
}

.about-2 .about-img .shape-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  top: -30px;
  left: -30px;
  z-index: 1;
  animation: blobAnimation2 8s ease-in-out infinite;
  transition: all 0.3s ease;
}

@keyframes blobAnimation1 {
  0% {
    border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  }

  25% {
    border-radius: 46% 54% 42% 58%/47% 55% 45% 53%;
  }

  50% {
    border-radius: 54% 46% 52% 48%/45% 54% 46% 55%;
  }

  75% {
    border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  }

  100% {
    border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  }
}

@keyframes blobAnimation2 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
@keyframes blobAnimation2 {
  0% {
    border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  }

  25% {
    border-radius: 54% 46% 52% 48%/45% 54% 46% 55%;
  }

  50% {
    border-radius: 46% 54% 42% 58%/47% 55% 45% 53%;
  }

  75% {
    border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  }

  100% {
    border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  }
}

@media (max-width: 991px) {
  .about-2 .about-img {
    margin-top: 40px;
  }

  .about-2 .about-img .shape-1 {
    width: 160px;
    height: 160px;
  }

  .about-2 .about-img .shape-2 {
    width: 140px;
    height: 140px;
  }
}

#about-2 {
  background-color: #2e2e2e; /* fundo cinza */
  color: #ffffff; /* texto branco por padrão */
}

/* Títulos em vermelho */
#about-2 h2,
#about-2 h3,
#about-2 .about-subtitle {
  color: #e60000 !important; /* vermelho vibrante */
}

/* Parágrafos em branco */
#about-2 p {
  color: #ffffff !important;
}

#about-2 {
  padding-top: 80px; /* ou ajuste conforme necessário */
}

/*--------------------------------------------------------------
# About 4 Section
--------------------------------------------------------------*/
.about-4 .about-meta {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.about-4 .about-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 992px) {
  .tabs .tabs-container .row {
    flex-wrap: wrap;
  }
}

.about-4 .about-description {
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about-4 .feature-list-wrapper {
  margin-bottom: 2rem;
}

.about-4 .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-4 .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-4 .feature-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.about-4 .profile .profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.about-4 .profile .profile-name {
  font-size: 1.125rem;
  margin: 0;
}

.about-4 .profile .profile-position {
  color: var(--accent-color);
  margin: 0;
  font-size: 0.875rem;
}

.about-4 .contact-info {
  padding: 1rem 1.5rem;
  background-color: var(--surface-color);
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}

.about-4 .contact-info i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.about-4 .contact-info .contact-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.875rem;
  margin: 0;
}

.about-4 .contact-info .contact-number {
  font-weight: 600;
  margin: 0;
}

.about-4 .image-wrapper {
  position: relative;
}

@media (max-width: 992px) {
  .about-4 .image-wrapper {
    padding-left: 0;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .about-4 .image-wrapper .images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (min-width: 993px) {
  .about-4 .image-wrapper .main-image {
    transform: translateX(15%);
  }
}

.about-4 .image-wrapper .small-image {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 45%;
  border: 8px solid var(--surface-color);
}

@media (max-width: 992px) {
  .about-4 .image-wrapper .small-image {
    position: static;
    width: 100%;
    margin: 0 auto;
    border: 0;
  }
}

.about-4 .image-wrapper .experience-badge {
  position: absolute;
  bottom: 5%;
  right: 5%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 200px;
  animation: experience-float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .about-4 .image-wrapper .experience-badge {
    position: static;
    width: fit-content;
    margin: 0 auto;
  }
}

.about-4 .image-wrapper .experience-badge h3 {
  color: var(--contrast-color);
  font-size: 2.5rem;
  margin: 0;
  line-height: 0.5;
}

.about-4 .image-wrapper .experience-badge h3 span {
  font-size: 1rem;
  display: inline-block;
  margin-left: 0.25rem;
}

.about-4 .image-wrapper .experience-badge p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

@keyframes experience-float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

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

#about-4 {
  background-color: #2e2e2e; /* fundo cinza */
  color: #ffffff; /* texto branco por padrão */
}

/* Títulos em vermelho */
#about-4 h2,
#about-4 h3,
#about-4 .about-subtitle {
  color: #ffffff !important; /* vermelho vibrante */
}

/* Parágrafos em branco */
#about-4 p {
  color: #ffffff !important;
}

#about-4 {
  margin-top: 0 !important;
}


/*--------------------------------------------------------------
# Alt Services 2 Section
--------------------------------------------------------------*/
.alt-services-2 .features-image {
  position: relative;
  min-height: 400px;
}

.alt-services-2 .features-image img {
  position: relative;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.alt-services-2 h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.alt-services-2 .icon-box {
  margin-top: 30px;
}

.alt-services-2 .icon-box i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 1.2;
}

.alt-services-2 .icon-box h4 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.alt-services-2 .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 {
  padding: 60px 0;
  background-color: #2e2e2e; /* fundo cinza */
  color: #ffffff; /* texto branco por padrão */
}


.services-2 .services-row {
  position: relative;
}

.services-2 .services-headline {
  margin-bottom: 25px;
}

.services-2 .services-headline .services-subtitle {
  color: white;/*var(--accent-color);*/
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.services-2 .services-headline .services-title {
  color: white;/*var(--heading-color);*/
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.services-2 .services-description {
  margin-bottom: 30px;
}

.services-2 .services-description p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.services-2 .services-image-container {
  position: relative;
  margin-bottom: 30px;
}

.services-2 .services-image-container .services-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 460px;
}

.services-2 .services-image-container .services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-2 .services-grid {
  margin-left: 50px;
}

@media (max-width: 991px) {
  .services-2 .services-grid {
    margin-left: 0;
    margin-top: 70px;
  }
}

.services-2 .service-card {
  background-color: black;/*color-mix(in srgb, var(--accent-color), transparent 92%);*/
  border-radius: 25px;
  padding: 30px 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(154, 154, 154, 0.3);
  transition: all 0.3s ease;
  height: 100%;
}

.services-2 .service-card:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.services-2 .service-card:hover .service-icon {
  color: var(--contrast-color);
  transform: scale(0.95);
}

.services-2 .service-card:hover .service-info h3 a,
.services-2 .service-card:hover .service-info p {
  color: var(--contrast-color);
  transform: scale(0.95);
}

.services-2 .service-card:hover .service-content .read-more-btn {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 84%);
  color: var(--contrast-color);
}

.services-2 .service-content .service-icon {
  width: 65px;
  height: 65px;
  line-height: 65px;
  margin: 0 auto;
  font-size: 48px;
  color: var(--heading-color);
  transition: all 0.3s ease;
}

.services-2 .service-content .service-info h3 {
  font-size: 1.4rem;
  margin: 15px 0;
  transition: all 0.3s ease;
}

.services-2 .service-content .service-info h3 a {
  color: var(--heading-color);
  text-decoration: none;
}

.services-2 .service-content .service-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.services-2 .service-content .service-action {
  margin-top: 20px;
}

.services-2 .service-content .service-action .read-more-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.services-2 .service-content .service-action .read-more-btn:hover {
  transform: translateX(5px);
}

.services-2 .service-content .service-action .read-more-btn i {
  margin-left: 5px;
}

@media (max-width: 767px) {
  .services-2 .services-headline .services-title {
    font-size: 2rem;
  }

  .services-2 .services-image-container .services-image {
    height: 350px;
  }

  .services-2 .services-image-container .circular-btn {
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
  }

  .services-2 .services-image-container .circular-btn .circular-link {
    width: 130px;
    height: 130px;
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Steps 2 Section
--------------------------------------------------------------*/
.steps-2 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.steps-2 .steps-content {
  padding-right: 30px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .steps-2 .steps-content {
    padding-right: 0;
  }
}

.steps-2 .steps-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .steps-2 .steps-content h2 {
    font-size: 2rem;
  }
}

.steps-2 .steps-content .lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--default-color);
}

.steps-2 .steps-content p {
  margin-bottom: 2rem;
  color: var(--default-color);
}

.steps-2 .steps-content .steps-cta {
  display: flex;
  gap: 15px;
}

@media (max-width: 576px) {
  .steps-2 .steps-content .steps-cta {
    flex-direction: column;
  }
}

.steps-2 .steps-content .steps-cta .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.steps-2 .steps-content .steps-cta .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.steps-2 .steps-content .steps-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.steps-2 .steps-content .steps-cta .btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.steps-2 .steps-content .steps-cta .btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.steps-2 .steps-list {
  position: relative;
}

.steps-2 .steps-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

@media (max-width: 576px) {
  .steps-2 .steps-list::before {
    left: 20px;
  }
}

.steps-2 .steps-list .step-item {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.steps-2 .steps-list .step-item:last-child {
  margin-bottom: 0;
}

.steps-2 .steps-list .step-item:hover .step-number {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.steps-2 .steps-list .step-item .step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color) 30%, white 70%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 20px;
  z-index: 1;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .steps-2 .steps-list .step-item .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

.steps-2 .steps-list .step-item .step-content {
  padding-top: 5px;
}

.steps-2 .steps-list .step-item .step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading-color);
}

@media (max-width: 576px) {
  .steps-2 .steps-list .step-item .step-content h3 {
    font-size: 1.1rem;
  }
}

.steps-2 .steps-list .step-item .step-content p {
  font-size: 0.95rem;
  color: var(--default-color);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact 2 Section
--------------------------------------------------------------*/
.contact-2 {
  padding-top: 60px;
  padding-bottom: 64px;
  background-color: #2e2e2e;
}

.contact-2 .info-item {
  background: black;/*color-mix(in srgb, var(--default-color), transparent 96%);*/
  padding: 30px;
}

.contact-2 .info-item i {
  font-size: 38px;
  line-height: 0;
  color: var(--accent-color);
}

.contact-2 .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact-2 .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact-2 .php-email-form {
  background: black;/*color-mix(in srgb, var(--default-color), transparent 96%);*/
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .contact-2 .php-email-form {
    padding: 20px;
  }
}

.contact-2 .php-email-form input[type=text],
.contact-2 .php-email-form input[type=email],
.contact-2 .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: white;/*var(--default-color);*/
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact-2 .php-email-form input[type=text]:focus,
.contact-2 .php-email-form input[type=email]:focus,
.contact-2 .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact-2 .php-email-form input[type=text]::placeholder,
.contact-2 .php-email-form input[type=email]::placeholder,
.contact-2 .php-email-form textarea::placeholder {
  color: white;/*color-mix(in srgb, var(--default-color), transparent 70%);*/
}

.contact-2 .php-email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact-2 .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.contact-2 .row.gy-4 > div > .row.gy-4 > div {
  display: flex;
}

.contact-2 .info-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* opcional, para espaçamento interno */
}
/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio 2 Section
--------------------------------------------------------------*/
.portfolio-2 {
  padding-top: 60px;
  margin-bottom: 150px; /* Adicionado uma margem generosa para empurrar o rodapé */
}

.portfolio-2 .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.portfolio-2 .portfolio-filters li {
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  --background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  background: #2e2e2e;/*#fff;*/
  color: var(--accent-color);
}

.portfolio-2 .portfolio-filters li:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.portfolio-2 .portfolio-filters li.filter-active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.portfolio-2 .portfolio-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.portfolio-2 .portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-2 .portfolio-card:hover .portfolio-img .portfolio-overlay {
  opacity: 1;
}

.portfolio-2 .portfolio-card:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-2 .portfolio-card .portfolio-img {
  position: relative;
  overflow: hidden;
}

.portfolio-2 .portfolio-card .portfolio-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.portfolio-2 .portfolio-card .portfolio-img .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-2 .portfolio-card .portfolio-img .portfolio-overlay a {
  width: 45px;
  height: 45px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.portfolio-2 .portfolio-card .portfolio-img .portfolio-overlay a:hover {
  background-color: color-mix(in srgb, var(--accent-color), #fff 20%);
  transform: translateY(-5px);
}

.portfolio-2 .portfolio-card .portfolio-info {
  padding: 20px;
}

.portfolio-2 .portfolio-card .portfolio-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.portfolio-2 .portfolio-card .portfolio-info p {
  font-size: 0.9rem;
  color: var(--default-color);
  margin-bottom: 10px;
}

.portfolio-2 .portfolio-card .portfolio-info .portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-2 .portfolio-card .portfolio-info .portfolio-tags span {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  --background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    background-color: #fff;
  color: var(--accent-color);
}

.portfolio-2 .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.portfolio-2 .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), black 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# About 3 Section
--------------------------------------------------------------*/
.about-3 .inner-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 30px 0;
}

@media (min-width: 991px) {
  .about-3 .inner-title {
    max-width: 65%;
    margin: 0 0 80px 0;
  }
}

.about-3 .our-story {
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
}

@media (min-width: 991px) {
  .about-3 .our-story {
    padding-right: 35%;
  }
}

.about-3 .our-story h4 {
  text-transform: uppercase;
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.about-3 .our-story h3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about-3 .our-story p:last-child {
  margin-bottom: 0;
}

.about-3 ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.about-3 ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.about-3 ul i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  line-height: 1.2;
  color: var(--accent-color);
}

.about-3 .watch-video i {
  font-size: 2rem;
  transition: 0.3s;
  color: var(--accent-color);
}

.about-3 .watch-video a {
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-left: 8px;
  transition: 0.3s;
}

.about-3 .watch-video:hover a {
  color: var(--accent-color);
}

.about-3 .about-img {
  min-height: 400px;
  position: relative;
}

@media (min-width: 992px) {
  .about-3 .about-img {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 600px;
  }
}

.about-3 .about-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  --section-spacing: 2.5rem;
}

.portfolio-details .portfolio-details-media {
  position: relative;
}

.portfolio-details .portfolio-details-media .main-image {
  margin-bottom: 1rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider {
  position: relative;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-slide img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev {
  background-color: var(--contrast-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next:after,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev:after {
  font-size: 16px;
  color: var(--accent-color);
  font-weight: bold;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next:hover,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev:hover {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next:hover:after,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev:hover:after {
  color: var(--contrast-color);
}

.portfolio-details .portfolio-details-media .thumbnail-grid img {
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.portfolio-details .portfolio-details-media .thumbnail-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-details-media .tech-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.portfolio-details .portfolio-details-media .tech-stack-badges span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
  color: var(--heading-color);
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-media .tech-stack-badges span:hover {
  background-color: color-mix(in srgb, var(--heading-color), transparent 70%);
  transform: translateY(-2px);
}

.portfolio-details .portfolio-details-content {
  padding: 0 0 0 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-details .portfolio-details-content .project-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-meta .badge-wrapper .project-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
}

.portfolio-details .portfolio-details-content .project-meta .date-client {
  display: flex;
  gap: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-meta .date-client .meta-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.portfolio-details .portfolio-details-content .project-meta .date-client .meta-item i {
  margin-right: 6px;
  color: var(--accent-color);
}

.portfolio-details .portfolio-details-content .project-meta .date-client .meta-item a {
  color: inherit;
}

.portfolio-details .portfolio-details-content .project-meta .date-client .meta-item a:hover {
  color: var(--accent-color);
}

.portfolio-details .portfolio-details-content .project-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}

.portfolio-details .portfolio-details-content .project-website {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-website i {
  font-size: 22px;
  color: var(--accent-color);
  margin-right: 8px;
}

.portfolio-details .portfolio-details-content .project-website a {
  font-weight: 500;
  transition: all 0.3s;
}

.portfolio-details .portfolio-details-content .project-website a:hover {
  letter-spacing: 0.5px;
}

.portfolio-details .portfolio-details-content .project-overview {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item {
  border: none;
  background: none;
  margin-bottom: 10px;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button {
  padding: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading-color);
  background-color: color-mix(in srgb, var(--surface-color), transparent 70%);
  border-radius: 8px !important;
  box-shadow: none;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) i {
  color: var(--accent-color);
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button::after {
  background-size: 14px;
  width: 14px;
  height: 14px;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button i {
  font-size: 1.1rem;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-body {
  padding: 1rem;
  background-color: var(--surface-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-body p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
}

.portfolio-details .portfolio-details-content .project-features {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .portfolio-details-content .project-features h3 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

.portfolio-details .portfolio-details-content .project-features h3 i {
  margin-right: 10px;
  color: var(--accent-color);
  font-size: 1.1em;
}

.portfolio-details .portfolio-details-content .project-features .feature-list {
  list-style: none;
  padding-left: 0;
}

.portfolio-details .portfolio-details-content .project-features .feature-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.portfolio-details .portfolio-details-content .project-features .feature-list li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.1em;
}

.portfolio-details .portfolio-details-content .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-view-project {
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-view-project:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project {
  padding: 12px 28px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 90%);
  color: var(--heading-color);
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project i {
  transition: transform 0.3s ease;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project:hover {
  background-color: color-mix(in srgb, var(--heading-color), transparent 80%);
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project:hover i {
  transform: translateX(3px);
}

@media (max-width: 1199.98px) {
  .portfolio-details .portfolio-details-content {
    padding-left: 1rem;
  }
}

@media (max-width: 991.98px) {
  .portfolio-details .portfolio-details-content {
    padding: 2rem 0 0 0;
  }

  .portfolio-details .portfolio-details-content .cta-buttons {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .portfolio-details .project-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .portfolio-details .project-meta .date-client {
    flex-direction: column;
    gap: 0.5rem;
  }

  .portfolio-details .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .portfolio-details .cta-buttons a {
    width: 100%;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Portfolio Details 2 Section
--------------------------------------------------------------*/
.portfolio-details-2 .portfolio-details-slider {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.portfolio-details-2 .portfolio-details-slider .swiper-wrapper {
  height: auto !important;
}

.portfolio-details-2 .portfolio-details-slider .swiper-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.portfolio-details-2 .portfolio-details-slider .swiper-pagination {
  position: absolute;
  bottom: 20px;
}

.portfolio-details-2 .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--contrast-color);
  opacity: 0.7;
  transition: all 0.3s;
}

.portfolio-details-2 .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 5px;
  opacity: 1;
}

.portfolio-details-2 .portfolio-details-slider .swiper-button-next,
.portfolio-details-2 .portfolio-details-slider .swiper-button-prev {
  width: 44px;
  height: 44px;
  background-color: var(--contrast-color);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s;
}

.portfolio-details-2 .portfolio-details-slider .swiper-button-next::after,
.portfolio-details-2 .portfolio-details-slider .swiper-button-prev::after {
  font-size: 20px;
  color: var(--accent-color);
}

.portfolio-details-2 .portfolio-details-slider .swiper-button-next:hover,
.portfolio-details-2 .portfolio-details-slider .swiper-button-prev:hover {
  opacity: 1;
}

.portfolio-details-2 .portfolio-details-slider:hover .swiper-button-next,
.portfolio-details-2 .portfolio-details-slider:hover .swiper-button-prev {
  opacity: 0.8;
}

.portfolio-details-2 .project-content .project-header {
  margin-bottom: 40px;
}

.portfolio-details-2 .project-content .project-header .category {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.portfolio-details-2 .project-content .project-header h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.portfolio-details-2 .project-content .project-header .meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.portfolio-details-2 .project-content .project-header .meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.portfolio-details-2 .project-content .project-header .meta .meta-item i {
  color: var(--accent-color);
  font-size: 18px;
}

.portfolio-details-2 .project-content .project-header .meta .meta-item a {
  color: inherit;
}

.portfolio-details-2 .project-content .project-header .meta .meta-item a:hover {
  color: var(--accent-color);
}

.portfolio-details-2 .project-content .content .lead {
  font-size: 18px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 30px;
}

.portfolio-details-2 .project-content .content .project-section {
  margin-bottom: 30px;
}

.portfolio-details-2 .project-content .content .project-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  margin-bottom: 15px;
}

.portfolio-details-2 .project-content .content .project-section h3 i {
  color: var(--accent-color);
}

.portfolio-details-2 .project-content .content .project-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.8;
}

.portfolio-details-2 .project-content .content .project-section:last-child {
  margin-bottom: 0;
}

.portfolio-details-2 .project-sidebar .info-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.portfolio-details-2 .project-sidebar .info-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details-2 .project-sidebar .info-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-details-2 .project-sidebar .info-card .features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.portfolio-details-2 .project-sidebar .info-card .features-list li i {
  color: var(--accent-color);
  font-size: 18px;
}

.portfolio-details-2 .project-sidebar .info-card .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-details-2 .project-sidebar .info-card .tech-stack span {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.portfolio-details-2 .project-sidebar .gallery-grid {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.portfolio-details-2 .project-sidebar .gallery-grid h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.portfolio-details-2 .project-sidebar .gallery-grid img {
  border-radius: 8px;
  transition: transform 0.3s;
  cursor: pointer;
}

.portfolio-details-2 .project-sidebar .gallery-grid img:hover {
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .portfolio-details-2 .project-content {
    margin-bottom: 40px;
  }
}

/*--------------------------------------------------------------
# Service Details 2 Section
--------------------------------------------------------------*/
.service-details-2 .service-main-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-details-2 .service-main-image img {
  width: 100%;
  transition: transform 0.6s;
}

.service-details-2 .service-main-image:hover img {
  transform: scale(1.05);
}

.service-details-2 .service-main-image .experience-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 20px;
  border-radius: 12px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-details-2 .service-main-image .experience-badge span {
  font-size: 36px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.service-details-2 .service-main-image .experience-badge p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.service-details-2 .service-main-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-details-2 .service-main-content .section-header {
  margin-bottom: 25px;
}

.service-details-2 .service-main-content .section-header .section-subtitle {
  display: inline-block;
  padding: 8px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-details-2 .service-main-content .section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-details-2 .service-main-content .section-header h2 {
    font-size: 28px;
  }
}

.service-details-2 .service-main-content .lead {
  font-size: 18px;
  margin-bottom: 20px;
}

.service-details-2 .service-main-content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 20px;
}

.service-details-2 .service-benefits {
  padding: 0;
  list-style: none;
  margin: 20px 0 0 0;
}

.service-details-2 .service-benefits li {
  padding: 12px 0;
  position: relative;
  display: flex;
  align-items: center;
}

.service-details-2 .service-benefits li i {
  color: var(--accent-color);
  font-size: 20px;
  margin-right: 15px;
}

.service-details-2 .service-tabs {
  margin-top: 80px;
}

.service-details-2 .service-tabs .nav-tabs {
  border: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 5px;
}

@media (max-width: 768px) {
  .service-details-2 .service-tabs .nav-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .service-details-2 .service-tabs .nav-tabs::-webkit-scrollbar {
    height: 5px;
  }

  .service-details-2 .service-tabs .nav-tabs::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 10px;
  }
}

.service-details-2 .service-tabs .nav-tabs .nav-link {
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  color: var(--default-color);
  font-weight: 600;
  background: var(--surface-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.service-details-2 .service-tabs .nav-tabs .nav-link i {
  margin-right: 10px;
  font-size: 18px;
}

.service-details-2 .service-tabs .nav-tabs .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.service-details-2 .service-tabs .tab-content {
  padding: 40px;
  border-radius: 16px;
  background: var(--surface-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-details-2 .service-tabs .tab-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.service-details-2 .service-tabs .tab-content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.service-details-2 .service-tabs .tab-content .feature-item {
  padding: 20px;
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  border-radius: 12px;
  height: 100%;
  transition: transform 0.3s;
}

.service-details-2 .service-tabs .tab-content .feature-item:hover {
  transform: translateY(-5px);
}

.service-details-2 .service-tabs .tab-content .feature-item i {
  color: var(--accent-color);
  font-size: 28px;
  margin-bottom: 15px;
}

.service-details-2 .service-tabs .tab-content .feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-details-2 .service-tabs .tab-content .feature-item p {
  font-size: 14px;
  margin-bottom: 0;
}

.service-details-2 .service-testimonial {
  margin-top: 80px;
}

.service-details-2 .service-testimonial .testimonial-card {
  padding: 40px;
  border-radius: 16px;
  background: var(--surface-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-details-2 .service-testimonial .testimonial-card .client-info {
  text-align: center;
}

.service-details-2 .service-testimonial .testimonial-card .client-info img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 5px solid var(--background-color);
  margin-right: 20px;
}

@media (max-width: 767px) {
  .service-details-2 .service-testimonial .testimonial-card .client-info img {
    margin: 0 auto 20px;
  }
}

.service-details-2 .service-testimonial .testimonial-card .client-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.service-details-2 .service-testimonial .testimonial-card .client-info p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 10px;
  font-size: 14px;
}

.service-details-2 .service-testimonial .testimonial-card .client-info .stars {
  color: #FFD700;
  font-size: 14px;
}

.service-details-2 .service-testimonial .testimonial-card .quote {
  position: relative;
  padding-left: 30px;
}

.service-details-2 .service-testimonial .testimonial-card .quote i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  color: var(--accent-color);
}

.service-details-2 .service-testimonial .testimonial-card .quote p {
  font-style: italic;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details-2 .service-cta {
  margin-top: 80px;
  padding: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 10%), color-mix(in srgb, var(--accent-color), transparent 40%));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.service-details-2 .service-cta h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--contrast-color);
  margin-bottom: 15px;
}

.service-details-2 .service-cta p {
  font-size: 18px;
  color: var(--contrast-color);
  opacity: 0.9;
  margin-bottom: 30px;
}

.service-details-2 .service-cta .btn-service {
  display: inline-flex;
  align-items: center;
  background: var(--contrast-color);
  color: var(--accent-color);
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  transition: all 0.3s;
}

.service-details-2 .service-cta .btn-service i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.service-details-2 .service-cta .btn-service:hover {
  background: var(--background-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-details-2 .service-cta .btn-service:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .service-details-2 .service-cta {
    padding: 40px 20px;
  }

  .service-details-2 .service-cta h3 {
    font-size: 26px;
  }
}

@media (max-width: 991px) {
  .service-details-2 .service-main-content {
    margin-top: 30px;
  }

  .service-details-2 .service-tabs {
    margin-top: 50px;
  }

  .service-details-2 .service-testimonial,
  .service-details-2 .service-cta {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  .service-details-2 .client-info {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .service-details-2 .service-tabs .tab-content {
    padding: 30px 20px;
  }
}

/*--------------------------------------------------------------
# Service Details 3 Section
--------------------------------------------------------------*/
.service-details-3 .service-details-slider {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.service-details-3 .service-details-slider .swiper-wrapper {
  height: auto !important;
}

.service-details-3 .service-details-slider img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.service-details-3 .service-details-slider .swiper-pagination {
  position: absolute;
  bottom: 15px;
}

.service-details-3 .service-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--contrast-color);
  opacity: 0.5;
  transition: 0.3s;
}

.service-details-3 .service-details-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px;
  border-radius: 5px;
}

.service-details-3 .service-details-slider .swiper-button-next,
.service-details-3 .service-details-slider .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: var(--contrast-color);
  border-radius: 50%;
  opacity: 0;
  transition: 0.3s;
}

.service-details-3 .service-details-slider .swiper-button-next::after,
.service-details-3 .service-details-slider .swiper-button-prev::after {
  font-size: 16px;
  color: var(--accent-color);
}

.service-details-3 .service-details-slider:hover .swiper-button-next,
.service-details-3 .service-details-slider:hover .swiper-button-prev {
  opacity: 0.8;
}

.service-details-3 .service-details-slider:hover .swiper-button-next:hover,
.service-details-3 .service-details-slider:hover .swiper-button-prev:hover {
  opacity: 1;
}

.service-details-3 .content h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.service-details-3 .content h4 {
  color: var(--heading-color);
  font-size: 24px;
}

.service-details-3 .content p {
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details-3 .features .feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.service-details-3 .features .feature-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
}

.service-details-3 .features .feature-item .icon i {
  font-size: 20px;
  color: var(--accent-color);
}

.service-details-3 .features .feature-item .feature-content h5 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-details-3 .features .feature-item .feature-content p {
  margin-bottom: 0;
  font-size: 15px;
}

.service-details-3 .process .process-item {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(var(--default-color), 0.05);
  height: 100%;
  transition: 0.3s;
}

.service-details-3 .process .process-item:hover {
  transform: translateY(-5px);
}

.service-details-3 .process .process-item .process-number {
  width: 50px;
  height: 50px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.service-details-3 .process .process-item h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-details-3 .process .process-item p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.service-details-3 .service-sidebar .info-box,
.service-details-3 .service-sidebar .contact-box,
.service-details-3 .service-sidebar .download-box {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(var(--default-color), 0.05);
}

.service-details-3 .service-sidebar .info-box h4,
.service-details-3 .service-sidebar .contact-box h4,
.service-details-3 .service-sidebar .download-box h4 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details-3 .service-sidebar .info-box ul li {
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details-3 .service-sidebar .info-box ul li:last-child {
  border: none;
  padding-bottom: 0;
}

.service-details-3 .service-sidebar .info-box ul li i {
  color: var(--accent-color);
  margin-right: 10px;
}

.service-details-3 .service-sidebar .info-box ul li strong {
  margin-right: 5px;
  color: var(--heading-color);
}

.service-details-3 .service-sidebar .contact-box {
  text-align: center;
}

.service-details-3 .service-sidebar .contact-box p {
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details-3 .service-sidebar .contact-box .btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.service-details-3 .service-sidebar .contact-box .btn-contact:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.service-details-3 .service-sidebar .contact-box .btn-contact i {
  font-size: 18px;
}

.service-details-3 .service-sidebar .download-box .download-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-details-3 .service-sidebar .download-box .download-item:last-child {
  margin-bottom: 0;
}

.service-details-3 .service-sidebar .download-box .download-item i {
  font-size: 24px;
  color: var(--accent-color);
}

.service-details-3 .service-sidebar .download-box .download-item .download-content {
  flex-grow: 1;
}

.service-details-3 .service-sidebar .download-box .download-item .download-content span {
  display: block;
  font-size: 15px;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.service-details-3 .service-sidebar .download-box .download-item .download-content .download-link {
  font-size: 14px;
  color: var(--accent-color);
}

.service-details-3 .service-sidebar .download-box .download-item .download-content .download-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 991px) {
  .service-details-3 .service-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .service-details-3 .process .process-item {
    margin-bottom: 30px;
  }

  .service-details-3 .process .process-item:last-child {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact{
  background-color: black;/*var(--surface-color);*/
}

.contact .info-item {
  background-color: #2e2e2e;/*var(--surface-color);*/
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: #2e2e2e;/*var(--surface-color);*/
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.isotope-container {
  /* Removido display: flex; flex-wrap: wrap; gap: 20px; */
  /* Removido height: auto !important; overflow: visible !important; */
  padding-bottom: 40px; /* Mantido para espaçamento interno */
}

.main {
  display: block;
  flex-grow: 1; /* Adicionado para que o main ocupe o espaço restante */
  overflow: visible;
}

#portfolio-2 .text-center.mt-5 {
  /* Removido margin-bottom: 120px; */
}

.footer {
  position: relative; /* Mantido para o background:before */
  margin-top: auto; /* Adicionado para empurrar o rodapé para o final */
}

.isotope-container::after {
  /* Removido completamente */
}

/* === Correções finais visuais === */
body.produtos-pagina main,
body.produtos-pagina .portfolio-2.section {
  background-color: #000;
  color: #fff;
}



/* Contact Info Panel Correto */

.contact-info-panel {
  background: linear-gradient(180deg, #E53935 0%, #D32F2F 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.contact-info-panel .contact-info-header h3,
.contact-info-panel .social-links-panel h5 {
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

.contact-info-panel .contact-info-header p {
  opacity: 0.85;
  font-size: 14px;
  color: #fff;
}

.contact-info-cards {
  margin-top: 25px;
}

.contact-info-panel .info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-info-panel .icon-container {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-panel .icon-container i {
  font-size: 20px;
  color: #fff;
}

.contact-info-panel .card-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.contact-info-panel .card-content p {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.85;
  color: #fff;
}

.social-links-panel {
  margin-top: 30px;
}

.social-links-panel h5 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.image-box img {
  width: auto;
  max-width: 90%;
  max-height: 90%;
  height: auto;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  position: relative;
  display: block;
  border-radius: 10px;
}


.swiper-slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.swiper-slide iframe {
  display: none;
}

.swiper-slide.swiper-slide-active iframe {
  display: block;
  z-index: 2;
}

/* Contêiner da imagem dentro do slide */
.swiper-slide .image-box {
  height: 650px; /* Mantenha esta altura para o box do carrossel */
  width: 100%;   /* Garante que o box da imagem ocupe a largura total do slide */
  display: flex;
  align-items: center;   /* Centraliza verticalmente */
  border-radius: 10px;
  justify-content: center; /* Centraliza horizontalmente */
  overflow: hidden;      /* Garante que o que estiver fora do box será cortado (se for o caso) */
  background-color: #fff; 
}


/* Ajuste do logo */
/*.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}
*/
.logo-img {
  max-height: 45px;
  height: auto;
  width: auto;
  display: block;
  margin-right: auto;
}

.nav-tabs .nav-link.active {
  background-color: black ; /* fundo vermelho */
  color: #fff !important;
  border: none;
}

/* Estilo para todas as abas */
.nav-tabs .nav-link {
  color: #fff;
  background-color: transparent;
  border: none;
  transition: background-color 0.3s ease;
}

/* Remove borda inferior das abas */
.nav-tabs {
  border-bottom:  3px solid red !important;
}

/* Estilo geral para tab-content e seus textos */
.tab-content,
.tab-content h1,
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6,
.tab-content p,
.tab-content li,
.tab-content a {
  color: white !important;
}

/* Personalização para a seção #features */
.bg-black-custom {
  background-color: #000;
  color: #fff;
}

/* Texto branco nas abas */
#features .nav-link h4 {
  color: white;
}

/* Aba ativa com linha vermelha */
#features .nav-tabs .nav-link.active {
  background-color: red;
  color: white !important;
  border: none;
  border-bottom: 3px solid white; /* linha branca abaixo */
}
/* Abas padrão com fundo transparente e texto branco */
#features .nav-link {
  background-color: transparent;
  color: white;
  border: none;
  text-align: center;
}

/* Linha inferior fixa vermelha no menu de abas */
#features .nav-tabs {
  border-bottom: 2px solid red;
}

/* Apenas o box do formulário com fundo preto */
#get-started .php-email-form {
  background-color: #000;
  color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Caixas internas cinza com texto branco */
#get-started .php-email-form input,
#get-started .php-email-form textarea {
  background-color: #444;
  color: white;
  border: 1px solid #666;
}

/* Placeholder claro */
#get-started .php-email-form input::placeholder,
#get-started .php-email-form textarea::placeholder {
  color: #ccc;
}

/* Botão */
#get-started .php-email-form button[type="submit"] {
  background-color: #c30000;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#get-started .php-email-form button[type="submit"]:hover {
  background-color: #a50000;
}

/* === GLOBAL FONT AND COLOR ADJUSTMENTS === */
body, html {
  font-family: 'Poppins', sans-serif !important;
  color: white !important;
  background-color: #000; /* optional if you want dark background globally */
}

h1, h2, h3, h4, h5, h6,
.section-title h2,
.content-title,
.about-title,
.about-meta,
.about-subtitle {
  color: white !important;
  font-family: 'Poppins', sans-serif !important;
}

p, li, a, span, .btn, .navmenu a {
  color: white !important;
  font-family: 'Poppins', sans-serif !important;
}

.navmenu a,
.navmenu a:visited,
.navmenu a:hover,
.navmenu a.active {
  color: white !important;
}

/* Reforçando Poppins e texto branco em parágrafos e containers genéricos */
body, html, p, div, span, section, article {
  font-family: 'Poppins', sans-serif !important;
  color: white !important;
}


/* Alt Services 2 Section */
.alt-services-2.section.dark-background {
    background-color: #000; /* Fundo preto */
    color: white; /* Cor do texto padrão para branco */
}

.alt-services-2 h3,
.alt-services-2 h4 {
    color: red !important; /* Títulos em vermelho */
}

.alt-services-2 p,
.alt-services-2 li,
.alt-services-2 a {
    color: white !important; /* Textos em branco */
}

/* Page Title Section */
.page-title.dark-background {
    background-color: #000 !important; /* Fundo preto */
}

.page-title h1,
.page-title .breadcrumbs li,
.page-title .breadcrumbs a {
    color: white !important; /* Títulos e texto do breadcrumbs em branco */
}

.page-title .breadcrumbs ol li+li::before {
    color: white !important; /* Cor do separador do breadcrumbs em branco */
}

/* Define a fonte padrão da página */
body.about-page {
  font-family: 'Poppins', sans-serif;
  color: white;
  background-color: #000; /* fundo geral se desejar escurecer a página toda */
}

/* Define títulos em vermelho */
.about-page h1,
.about-page h2,
.about-page h3,
.about-page .content-title {
  color: white !important;
}

/* Subtítulos e parágrafos em branco */
.about-page h4,
.about-page h5,
.about-page h6,
.about-page p,
.about-page span,
.about-page .content-subtitle,
.about-page .content p,
.about-page .about-content p {
  color: white !important;
}

.contact-form.card {
  background-color: #2e2e2e !important;
  color: white;
  border: none;
}

.contact-form.card input,
.contact-form.card textarea {
  background-color: #444 !important;
  color: white !important;
  border: 1px solid #666;
}

.contact-form.card input::placeholder,
.contact-form.card textarea::placeholder {
  color: #ccc !important;
}

.contact-form.card h3,
.contact-form.card p {
  color: white !important;
}

.video-section {
  background-color: #000; /* ou #2e2e2e, conforme seu tema */
  color: white;
  padding: 60px 0;
  text-align: center;
}

.video-section .section-title {
  font-size: 2rem;
  color: var(--accent-color); /* vermelho, se definido */
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Proporção 16:9 */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}



/* Container do grupo de filtros */
/* Container geral dos filtros */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

/* Botão principal dos filtros */
/*.portfolio-filters .filter,
.portfolio-filters .filter-group > span {
  background-color: #2e2e2e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}
*/


.filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-item {
  position: relative;
}

.filter-btn {
  background-color: #b40000;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1a1a;
  color: white;
  padding: 10px;
  border-radius: 8px;
  min-width: 220px;
  z-index: 10;
  flex-direction: column;
}

.filter-item.has-submenu:hover .submenu,
.submenu:hover {
  display: flex;
}

.submenu li {
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.submenu li:hover {
  background-color: #b40000;
  color: white;
}

#product-list::after {
  content: "";
  display: table;
  clear: both;
}

/*
#product-list {
  margin-top: 30px;
  visibility: hidden;
}*/

/*#product-list {
  margin-top: 30px;
  container.style.visibility = "visible";
}*/

#product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
/*
.whatsapp-float {
  position: fixed;
  bottom: 80px; 
  right: 20px;
  z-index: 9999;
  background-color: #25d366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}
*/

	.whatsapp-float {
	  position: fixed;
	  right: 1rem !important;
	  bottom: 4rem !important;   /* mesma altura do botão de cookies */
	  width: 2.5rem !important;   /* reduzido de 3rem para 2.5rem */
	  height: 2.5rem !important;
	  background: #25d366 !important;
	  border-radius: 50% !important;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  overflow: visible !important;
	  z-index: 9999 !important;
	}
	/* Ícone interno do telefone */
	.whatsapp-float img {
	  width: 1.25rem !important;  /* reduzido para manter proporção */
	  height: 1.25rem !important;
	  background: transparent !important;
	}
/* Corrige fundo escuro da seção */
#portfolio-2.section {
  background-color: #111 !important;
  padding: 40px 0;
}

/* Estilo base para o menu de filtros */
.filter-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 30px auto;
  max-width: 1200px;
}

.filter-item {
  position: relative;
  width: 240px;
  height: 140px;
  text-align: center;
  word-break: break-word;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-btn {
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column; /* <-- ESSA LINHA centraliza ícone em cima e texto embaixo */
  gap: 0;
  text-align: center;
}

.filter-btn:hover {
  background-color: #d40000;
  color: #fff;
}

.filter-btn i {
  font-size: 16px;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #222;
  border: 1px solid #555;
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 10;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}

.filter-item.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  padding: 10px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid #333;
  word-break: break-word;        /* força quebra dentro das palavras longas */
  white-space: normal;           /* permite quebra de linha natural */
  overflow-wrap: break-word;     /* alternativa para compatibilidade */
  background: #222;
  color: #fff;
  text-align: left;
}

.submenu li:hover {
  background-color: #d40000;
  color: #fff;
}

/* Ajustes nos cards de produto */
#product-list {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  padding: 15px;
}

/*.portfolio-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}*/

/* Container do card */
.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

/*.portfolio-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}*/
.portfolio-img img {
  width: 100%;
  height: 200px;          /* altura fixa */
  object-fit: contain;    /* mostra a imagem inteira */
  object-position: center;
}


/*.portfolio-info {
  padding: 15px;
  text-align: center;
}*/

.portfolio-info {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-info h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

.portfolio-info p {
  font-size: 14px;
  color: #666;
}

.filter-btn i {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: block;
  font-size: 20px;
  margin-bottom: 0px;
}

/*----------------------SECTION CONTENTS---------------------------------------*/

.features-2 {
	  background-color: black;
  .features-stack {
    .feature-row {
      margin-bottom: 4rem;
      
      &:last-child {
        margin-bottom: 0;
      }
      
      @media (max-width: 992px) {
        margin-bottom: 3rem;
      }
    }
    
    .media-wrapper {
      position: relative;
      border-radius: 1.25rem;
	  display: flex;
	  align-items: center;
	  justify-content: center;
      overflow: hidden;
      box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
      
	  
	  .media-wrapper img {
		  max-width: 100%;
		  height: auto;
		  object-fit: cover;
		  border-radius: 1rem;
		}
      img {
		  max-width: 100%;
		  max-height: 100%;
		  object-fit: contain;
		  position: relative;
		  display: block;
		}
      
      &:hover img {
        transform: scale(1.05);
      }
    }
    
    .icon-box {
      width: 70px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, 
        color-mix(in srgb, var(--accent-color), transparent 20%), 
        color-mix(in srgb, var(--accent-color), transparent 40%)
      );
      color: var(--contrast-color);
      border-radius: 18px;
      margin-bottom: 1.5rem;
      font-size: 1.75rem;
      transition: all 0.3s ease;
      
      i {
        transition: transform 0.3s ease;
      }
      
      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 80%);
        
        i {
          transform: scale(1.1);
        }
      }
    }
    
    h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--heading-color);
      margin-bottom: 1rem;
      line-height: 1.3;
    }
    
    p {
      font-size: 1rem;
      line-height: 1.7;
      color: color-mix(in srgb, var(--default-color), transparent 30%);
      margin-bottom: 0;
    }
  }
  
  .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2.25rem;
    background-color: var(--surface-color);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    transition: all 0.3s ease;
    
    &:hover {
      background-color: var(--accent-color);
      color: var(--contrast-color);
      transform: translateY(-3px);
      box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 80%);
      
      i {
        transform: translateX(5px);
      }
    }
    
    i {
      font-size: 1.1rem;
      transition: transform 0.3s ease;
    }
  }
  
  @media (max-width: 992px) {
    .features-stack {
      .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
      }
      
      h3 {
        font-size: 1.3rem;
      }
      
      p {
        font-size: 0.95rem;
      }
    }
  }
  
  @media (max-width: 576px) {
    .features-stack {
      .feature-row {
        margin-bottom: 2.5rem;
      }
      
      .icon-box {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
      }
      
      h3 {
        font-size: 1.2rem;
      }
      
      .action-btn {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
      }
    }
  }
}
/*----------------------END SECTION CONTENTS---------------------------------------*/

/*----------------------SECTION DOWNLOADS---------------------------------------*/
.steps {
	background-color: black;
  .process-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
  }

  .process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 2.5rem;

    &:last-child {
      padding-bottom: 0;
    }

    .content {
      width: 100%;
      position: relative;
      background: var(--surface-color);
      border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
      border-radius: 20px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;

      &:hover {
        transform: translateX(10px);
        box-shadow: -8px 8px 25px rgba(0, 0, 0, 0.1);

        .step-icon {
          background: var(--accent-color);
          transform: rotate(10deg);
        }

        .step-number {
          transform: translateX(-5px);
          opacity: 0.5;
        }
      }
    }

.step-number {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff; 
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5); 
  opacity: 1; 
  z-index: 1;
}


    .card-body {
      padding: 2rem;
      display: flex;
      align-items: flex-start;
      gap: 2rem;
    }

.step-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background-color: var(--accent-color);  
  border-radius: 15px;
  display: grid;
  place-items: center;
  box-shadow: none;
  transition: all 0.3s ease;
	  i {
		font-size: 2rem;
		color: #fff; 
		text-shadow: 1px 1px 3px rgba(0,0,0,0.4); 
	  }
	}

    .step-content {
      h3 {
        color: var(--heading-color);
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
      }

      p {
        color: color-mix(in srgb, var(--default-color), transparent 25%);
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
      }
    }

    .arrow {
      color: color-mix(in srgb, var(--accent-color), transparent 50%);
      margin: 1rem 0;
      width: 100px;
      height: 100px;
      opacity: 0.7;
    }
  }

  @media (max-width: 767.98px) {
    .process-container {
      padding: 1rem 0;
    }

    .process-item {
      padding-bottom: 2rem;

      .content {
        border-width: 1px;

        &:hover {
          transform: translateY(-5px);
        }
      }

      .step-number {
        font-size: 3rem;
		color: var(--accent-color);
		opacity: 1;
        left: 50%;
        top: -1.5rem;
        transform: translateX(-50%);

        &:hover {
          transform: translateX(-50%);
        }
      }

      .card-body {
        padding: 2rem 1.5rem 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
      }

      .step-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;

        i {
          font-size: 1.75rem;
        }
      }

      .step-content {
        h3 {
          font-size: 1.25rem;
        }
      }

      .arrow {
        height: 60px;
        margin: 0.5rem 0;
      }
    }
  }
}

/* === CORREÇÃO DE LEGIBILIDADE PARA A SEÇÃO DE DOWNLOADS === */

.steps .process-item .content {
  background-color: #f0f0f0 !important;
  border: 2px solid var(--accent-color);
  color: #444 !important;
}

.steps .step-number {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff; /* tom de cinza claro */
  opacity: 0.3; /* visível, mas ainda leve */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* leve destaque */
  z-index: 1;
}

.steps .step-content h3,
.steps .step-content p {
  color: #444 !important;
}

.steps .step-icon {
  background-color: var(--accent-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.steps .step-icon i {
  color: white !important;
  text-shadow: none !important;
}
/*----------------------END SECTION DOWNLOADS---------------------------------------*/

/*----------------------SECTION INSTRUCTIONS---------------------------------------*/

/* === VARIÁVEIS BASE === */
.tabs-instrucoes {
  --accent-color: #ff3d3d;
  --contrast-color: #ffffff;
  --surface-color: #1a1a1a;
  --default-color: #cccccc;
  --heading-color: #ffffff;
}

/* === CONTAINER PRINCIPAL === */
.tabs-instrucoes {
  background: black;
}
.tabs-instrucoes .tabs-container .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 30px;
}
.tabs-instrucoes .tabs-container .col-lg-4,
.tabs-instrucoes .tabs-container .col-lg-8 {
  flex: 0 0 auto;
}

.tabs-instrucoes .tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.tabs-instrucoes .tab-pane.show.active {
  display: block;
  opacity: 1;
}

/* === SIDEBAR DE ABAS === */
.tabs-instrucoes .nav-sidebar {
  background: #2e2e2e;
  box-shadow: 0 0 30px rgba(255, 61, 61, 0.1);
  border-radius: 25px;
  padding: 30px 20px;
  position: sticky;
  top: 100px;
}
.tabs-instrucoes .nav-sidebar ul.tabs-instrucoes-pills {
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

/* === BOTÕES DAS ABAS === */
.tabs-instrucoes .tabs-instrucoes-link {
  background-color: #1e1e1e;
  color: #ffffff;
  border-radius: 20px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 5px 15px rgba(255, 61, 61, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}
.tabs-instrucoes .tabs-instrucoes-link:hover {
  transform: translateX(4px) scale(1.01);
  background-color: #ff3d3d22;
  box-shadow: 0 4px 15px rgba(255, 61, 61, 0.15);
}
.tabs-instrucoes .tabs-instrucoes-link .nav-icon {
  background-color: rgba(255, 61, 61, 0.12);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tabs-instrucoes .tabs-instrucoes-link .nav-icon i {
  font-size: 20px;
  color: #ff3d3d;
}
.tabs-instrucoes .tabs-instrucoes-link .nav-text {
  flex-grow: 1;
}
.tabs-instrucoes .tabs-instrucoes-link .nav-text h6 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #ffffff;
}
.tabs-instrucoes .tabs-instrucoes-link .nav-text span {
  font-size: 12px;
  color: #bbbbbb;
}
.tabs-instrucoes .tabs-instrucoes-link .nav-arrow {
  margin-left: auto;
}
.tabs-instrucoes .tabs-instrucoes-link .nav-arrow i {
  font-size: 16px;
  color: #999999;
}

/* === ABA ATIVA === */
.tabs-instrucoes .tabs-instrucoes-link.active {
  background-color: #ff3d3d;
  box-shadow: 0 8px 20px rgba(255, 61, 61, 0.3);
  color: #ffffff;
}
.tabs-instrucoes .tabs-instrucoes-link.active .nav-icon {
  background-color: #ffffff;
}
.tabs-instrucoes .tabs-instrucoes-link.active .nav-icon i {
  color: #ff3d3d;
}
.tabs-instrucoes .tabs-instrucoes-link.active .nav-text h6,
.tabs-instrucoes .tabs-instrucoes-link.active .nav-text span,
.tabs-instrucoes .tabs-instrucoes-link.active .nav-arrow i {
  color: #ffffff;
}

/* === CONTEÚDO DAS ABAS === */
.tabs-instrucoes .tabs-instrucoes-content {
  display: block;
  flex: 1;
  min-width: 0;
}
.tabs-instrucoes .col-lg-4 {
  flex: 0 0 33.3333%;
}
.tabs-instrucoes .col-lg-8 {
  flex: 0 0 66.6667%;
}
.tabs-instrucoes .content-card {
  background-color: var(--surface-color);
  color: var(--default-color);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tabs-instrucoes .content-card h3 {
  color: var(--heading-color);
}
.tabs-instrucoes .content-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* === BOTÃO FINAL === */
.tabs-instrucoes .action-btn {
  background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
  color: var(--contrast-color);
  box-shadow: 0 8px 25px rgba(255, 61, 61, 0.4);
}
.tabs-instrucoes .action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 61, 61, 0.6);
  color: var(--contrast-color);
}
.tabs-instrucoes .action-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.tabs-instrucoes .action-btn:hover i {
  transform: rotate(45deg);
}


/* === AJUSTES FINAIS DE ESPAÇAMENTO E LAYOUT === */

/* Espaçamento entre os itens do menu */
.tabs-instrucoes .tabs-instrucoes-item {
  margin-bottom: 4px;
}

.tabs-instrucoes .tabs-instrucoes-pills {
  display: flex;
  flex-direction: column;
}

/* Garante que os col-lg-4 e col-lg-8 fiquem lado a lado */
.tabs-instrucoes .tabs-container .row {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

/* Força proporções corretas */
.tabs-instrucoes .col-lg-4 {
  width: 33.3333%;
  flex: 0 0 33.3333%;
}
.tabs-instrucoes .col-lg-8 {
  width: 66.6667%;
  flex: 0 0 66.6667%;
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-pane.show.active {
  display: block;
  opacity: 1;
}

.content-image img {
  object-fit: contain;  /* mostra a imagem completa */
  width: 100%;
  height: auto;
}

/*================================MENU SUB-ITENS ================================*/
/* Estilo padrão do menu dropdown */
.nav-item.dropdown .dropdown-menu {
  background-color: #ffffff; /* branco */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 0.5rem 0;
  min-width: 220px;
}


/* Garante que o texto seja visível */
.nav-item.dropdown .dropdown-menu .dropdown-item {
  color: #000000 !important; /* texto preto visível no fundo branco */
  padding: 10px 20px;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover vermelho, com texto branco */
.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
  background-color: #f44336;
  color: #ffffff !important;
}

#navmenu {
  margin-left: auto;
  margin-right: auto;
}


/* Imagem com altura fixa e ajuste proporcional */
.portfolio-card .portfolio-img {
  width: 100%;
  height: 220px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card .portfolio-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Conteúdo textual do card */
.portfolio-card .portfolio-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.portfolio-card .portfolio-info h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #000;
}

.portfolio-card .portfolio-info p {
  font-size: 0.9rem;
  color: #444;
}

/* Correção visual e posicionamento de submenu lateral */
.navmenu li.dropdown ul ul {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 200px;
  display: none;
  z-index: 9999;
}

.navmenu li.dropdown ul li:hover > ul {
  display: block;
}

.navmenu li.dropdown ul ul li a {
  color: #000;
  padding: 8px 16px;
  display: block;
  white-space: nowrap;
  text-decoration: none;
}

.navmenu li.dropdown ul ul li a:hover {
  background-color: #f5f5f5;
  color: #000;
}


/* Garante que submenu não suma ao mover o mouse entre os níveis */
.navmenu li.dropdown {
  position: relative;
}

.navmenu li.dropdown ul {
  position: absolute;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navmenu li.dropdown:hover > ul {
  display: block;
}

.navmenu li.dropdown ul ul {
  top: 0;
  left: 100%;
  display: none;
}

.navmenu li.dropdown ul li:hover > ul {
  display: block;
}

.navmenu li.dropdown ul ul li a {
  color: #000 !important;
  padding: 8px 16px;
  display: block;
  white-space: nowrap;
  background-color: #fff;
  text-decoration: none;
}

.navmenu li.dropdown ul ul li a:hover {
  background-color: #f0f0f0;
  color: #000;
}


/* Expande a área do item pai para evitar que o cursor feche o submenu ao mover lateralmente */
.navmenu li.dropdown ul li {
  position: relative;
}

.navmenu li.dropdown ul ul {
  left: auto !important;
  right: 100% !important;
  top: 0;
  margin-left: 0;
  display: none;
  position: absolute;
  z-index: 9999;
  min-width: 200px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  white-space: nowrap;
}

.navmenu li.dropdown ul li:hover > ul {
  display: block;
}

/* Aplica o mesmo estilo de hover vermelho no submenu lateral */
.navmenu li.dropdown ul ul li a:hover {
  background-color: var(--accent-color) !important; /* vermelho igual ao menu principal */
  color: #fff !important;
}

/*====================================BLOG===================================*/
.blog-hero-2 .blog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .blog-hero-2 .blog-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero-2 .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-hero-2 .blog-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: transform 0.3s ease-in-out;
  background-color: var(--surface-color);
}

.blog-hero-2 .blog-item:hover {
  transform: translateY(-5px);
}

.blog-hero-2 .blog-item:hover img {
  transform: scale(1.05);
}

.blog-hero-2 .blog-item:hover .blog-content {
  background: linear-gradient(
    0deg,
    color-mix(in srgb, var(--default-color), transparent 10%) 0%,
    transparent 100%
  );
}

.blog-hero-2 .blog-item.featured {
  grid-column: span 8;
}

@media (max-width: 991px) {
  .blog-hero-2 .blog-item.featured {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .blog-hero-2 .blog-item.featured {
    grid-column: span 1;
  }

  .blog-hero-2 .blog-item.featured .post-title {
    font-size: 1.5rem;
  }
}

.blog-hero-2 .blog-item.featured .post-title {
  font-size: 2rem;
}

.blog-hero-2 .blog-item:not(.featured) {
  grid-column: span 4;
}

@media (max-width: 991px) {
  .blog-hero-2 .blog-item:not(.featured) {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .blog-hero-2 .blog-item:not(.featured) {
    grid-column: span 1;
  }
}

.blog-hero-2 .blog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9; /* opcional, para manter formato widescreen */
  display: block;
}

.blog-hero-2 .blog-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fff; /* ou cor de fundo neutra para áreas vazias */
}

.blog-hero-2 .blog-item .blog-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(
    0deg,
    color-mix(in srgb, var(--default-color), transparent 20%) 0%,
    transparent 100%
  );
  transition: background 0.3s ease-in-out;
}

.blog-hero-2 .blog-item .post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--contrast-color);
}

.blog-hero-2 .blog-item .post-meta .date,
.blog-hero-2 .blog-item .post-meta .category {
  display: flex;
  align-items: center;
}

.blog-hero-2 .blog-item .post-meta .date::before {
  content: "\F282";
  font-family: "bootstrap-icons";
  margin-right: 0.5rem;
  font-size: 1rem;
}

.blog-hero-2 .blog-item .post-meta .category::before {
  content: "\F5D3";
  font-family: "bootstrap-icons";
  margin-right: 0.5rem;
  font-size: 1rem;
}

.blog-hero-2 .blog-item .post-title {
  margin: 0;
  font-family: var(--heading-font);
}

.blog-hero-2 .blog-item .post-title a {
  color: var(--contrast-color);
  text-decoration: none;
}

.blog-hero-2 .blog-item .post-title a:hover {
  color: #333;
}

.blog-hero-2 {
  color: #000 !important;
}

.post-title a {
  color: #000;
}

.blog-hero-2 {
  --contrast-color: #000;
  --default-color: #000;
  color: #000;
}

/* =================================================================== */
/* == AJUSTES FINAIS PARA O MENU DE NAVEGAÇÃO (DESKTOP E MOBILE) == */
/* =================================================================== */

/* --- AJUSTES DESKTOP (Telas maiores que 1199px) --- */
@media (min-width: 1200px) {
  
  /* 1. Restaura o efeito de sublinhado vermelho no item ativo/hover */
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  /* 2. Força o sub-submenu a abrir para a esquerda usando a classe que adicionamos no HTML */
  .navmenu .submenu-open-left > .dropdown-menu {
    right: 100%;
    left: auto;
    margin-right: 5px;
    margin-left: 0;
  }
}


/* --- AJUSTES MOBILE (Telas menores que 1199px) --- */
@media (max-width: 1199px) {

  /* 3. Garante que os sub-submenus abram para baixo, e não para o lado */
  .navmenu .submenu-hover > .dropdown-menu {
    position: static !important;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding-left: 20px;
  }

  /* 4. Corrige a seta do dropdown para ser mais visível */
  .navmenu .dropdown > a.dropdown-toggle::after,
  .navmenu .submenu-hover > a.dropdown-toggle::after {
    content: "\f282"; /* Ícone de seta para baixo do Bootstrap Icons */
    font-family: "bootstrap-icons";
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-color); /* Cor vermelha para destaque */
    margin-left: 0.5em;
    transition: transform 0.2s ease-in-out;
    /* Reseta estilos de seta antigos */
    border: none;
    width: auto;
    height: auto;
    vertical-align: middle;
    transform: rotate(0deg);
  }

  /* 5. Gira a seta quando o menu está aberto */
  .navmenu .dropdown.show > a.dropdown-toggle::after,
  .navmenu .submenu-hover.show > a.dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* =================================================================== */
/* BLOCO DE AJUSTES FINAIS - ADICIONAR AO FIM DO ARQUIVO CSS
/* =================================================================== */

/* --- 1. CORREÇÃO DO LOGO E DA LINHA VERMELHA DO MENU --- */

/* Garante que o logo seja sempre exibido */
.header .logo {
  display: flex !important;
  align-items: center !important;
}

/* Remove a linha vermelha contínua que apareceu sob o menu */
.navmenu > ul {
  border-bottom: none !important;
}

/* Restaura o efeito de sublinhado APENAS no item ativo/hover (para Desktop) */
@media (min-width: 1200px) {
  /* O pseudo-elemento :before cria o sublinhado */
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 10px; /* Posição do sublinhado */
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden; /* Começa invisível */
    width: 0px;        /* Começa com largura zero */
    transition: all 0.3s ease-in-out;
  }

  /* Regra que torna o sublinhado visível no hover ou quando o link está ativo */
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }
}

/* --- 2. CORREÇÃO DO SUBMENU ABRINDO PARA A DIREITA --- */

/* Esta regra faz o submenu abrir para a esquerda em telas de desktop. */
/* Ela depende da classe .submenu-open-left que adicionamos no HTML. */
@media (min-width: 1200px) {
  .navmenu .submenu-open-left > .dropdown-menu {
    right: 100%; /* Ancora o submenu à direita do item pai */
    left: auto;  /* Remove o posicionamento à esquerda */
    margin-right: 5px;
    margin-left: 0;
  }
}

/* =================================================================== */
/* CORREÇÃO FINAL E DEFINITIVA PARA O LOGO DO CABEÇALHO */
/* =================================================================== */

.header .logo {
  display: flex !important;
  align-items: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
}

/*AJUSTE DO CERTIFICADO PARA MOBILE*/
/*--------------------------------------------------------------
# Correção de Responsividade para Certificado Box
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Correção de Responsividade para Certificado Box e Formas
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .certificado-box {
    width: 100%; /* Ocupa a largura total do contêiner pai */
    padding: 15px;   /* Reduz o preenchimento interno */
  }

  /* Ajusta a forma do canto inferior direito */
  .about-img .shape-1 {
    width: 120px;  /* Reduz a largura da forma */
    height: 120px; /* Reduz a altura da forma */
    bottom: -20px; /* Ajusta a posição vertical */
    right: -20px;  /* Ajusta a posição horizontal */
  }

  /* Ajusta a forma do canto superior esquerdo */
  .about-img .shape-2 {
    width: 100px;   /* Reduz a largura da forma */
    height: 100px;  /* Reduz a altura da forma */
    top: -15px;     /* Ajusta a posição vertical */
    left: -15px;    /* Ajusta a posição horizontal */
  }
}



/*--------------------------------------------------------------
# Correção de Responsividade FORÇADA para .features-image
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .features-image {
    min-height: auto !important; /* Força a remoção da altura mínima */
    width: 100% !important;     /* Força a largura total */
    padding: 0 !important;      /* Remove qualquer preenchimento que possa estar interferindo */
    margin-top: 30px !important;/* Adiciona um espaço para separá-lo do conteúdo */
    text-align: center;         /* Garante que a imagem fique centralizada */
  }
}

/*--------------------------------------------------------------
# Responsividade do Menu de Filtros de Produtos
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .filter-menu {
    display: grid; /* Ativa o layout em grid */
    grid-template-columns: repeat(2, 1fr); /* Cria um grid de 2 colunas iguais */
    gap: 10px; /* Define um pequeno espaço entre os botões */
  }

  .filter-item {
    width: auto;  /* Remove a largura fixa para que se ajuste ao grid */
    height: auto; /* Remove a altura fixa para que o conteúdo defina a altura */
    min-height: 90px; /* Define uma altura mínima para manter a uniformidade */
  }

  .filter-btn {
    font-size: 11px; /* Reduz o tamanho da fonte do texto */
    padding: 10px 8px; /* Ajusta o espaçamento interno */
    flex-direction: column; /* Garante que ícone e texto fiquem um sobre o outro */
    justify-content: center; /* Centraliza o conteúdo verticalmente */
    gap: 5px; /* Adiciona um pequeno espaço entre o ícone e o texto */
    line-height: 1.3; /* Melhora a legibilidade do texto que quebra a linha */
  }

  .filter-btn i {
    font-size: 18px; /* Reduz um pouco o tamanho do ícone */
    margin-bottom: 0;
  }

  /* Ajusta o submenu para telas pequenas */
  .submenu {
    width: 100%; /* Faz o submenu ocupar a largura do botão pai */
  }
}

/*--------------------------------------------------------------
# Responsividade para a Página de Instalações (Tabs)
--------------------------------------------------------------*/
@media (max-width: 991px) {
  /* Altera a direção do layout de linha para coluna */
  .tabs-instrucoes .tabs-container .row {
    flex-direction: column;
  }

  /* Faz com que a coluna do menu e do conteúdo ocupem 100% da largura */
  .tabs-instrucoes .col-lg-4,
  .tabs-instrucoes .col-lg-8 {
    width: 100%;
    flex: 0 0 100%;
  }

  /* Ajusta o menu lateral */
  .tabs-instrucoes .nav-sidebar {
    position: static; /* Remove o efeito "sticky" no celular */
    margin-bottom: 30px; /* Adiciona um espaço abaixo do menu */
  }

  /* Ajusta os botões do menu para não ficarem tão grandes */
  .tabs-instrucoes .tabs-instrucoes-link {
    padding: 15px;
  }

  .tabs-instrucoes .tabs-instrucoes-link .nav-text h6 {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .tabs-instrucoes .tabs-instrucoes-link {
    padding: 12px 15px; /* Reduz o espaçamento interno vertical e horizontal */
    gap: 12px; /* Diminui o espaço entre o ícone e o texto */
  }

  .tabs-instrucoes .tabs-instrucoes-link .nav-icon {
    width: 40px;
    height: 40px;
  }
}

#conteudo-principal {
  scroll-margin-top: 100px;
}

/* ——— Bordas arredondadas nas imagens da seção “Quem somos”/Features ——— */
#features .tab-content img {
  border-radius: 12px;     /* ajuste o valor a seu gosto */
}


/*--------------------------------------------------------------
# Ajustes de Responsividade para o Carrossel (Hero Section)
--------------------------------------------------------------*/

#hero .info {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  height: auto !important;
}

@media (max-width: 480px) {
  /* Regras para telas MUITO pequenas (até 480px) */
  #hero-carousel .carousel-item {
    height: 28vh !important;
  }
  #hero {
    min-height: 28vh !important;
  }
}

@media (max-width: 767.98px) { /* Usando a maior largura para englobar ambos */
  
  /* --- REGRAS DO #HERO E #FEATURES --- */
  #hero {
    min-height: 35vh !important;
  }
  #hero .info {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #features.section {
    padding-top: 0 !important;
  }
  #features .tab-pane img {
    width: auto !important;
    height: auto !important;
    max-width: 70% !important;
    display: block;
    margin: 0.5rem auto;
    border-radius: 12px !important;
    overflow: hidden;
  }
  #hero .carousel-item {
    height: 35vh !important;
    border-radius: 12px;
    overflow: hidden;
  }
  #hero .carousel-item img {
    border-radius: 0;
  }
  #hero-carousel .carousel-item img {
    object-position: 7% center !important;
  }

  /* --- REGRAS DO FILTER MENU --- */
  .filter-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .filter-menu .filter-item.has-submenu:nth-child(odd) .submenu {
    left: 0 !important;
    transform: none !important;
  }
  .filter-menu .filter-item.has-submenu:nth-child(even) .submenu {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .filter-item.has-submenu .submenu {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    z-index: 1000;
  }
  .filter-item.has-submenu:hover .submenu,
  .filter-item.has-submenu .submenu:hover {
    display: none !important;
  }
  .filter-item.has-submenu.submenu-open .submenu {
    display: flex !important;
    flex-direction: column;
  }
  
  /* --- REGRAS DA PÁGINA DE DETALHES --- */
  html.produts-details-maquinas-p1-page,
  body.produts-details-maquinas-p1-page {
    overflow-x: hidden !important;
  }
  html.produts-details-maquinas-p1-page .page-title .container,
  html.produts-details-maquinas-p1-page .portfolio-details-2 > .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  html.produts-details-maquinas-p1-page .portfolio-details-2 .portfolio-details-slider,
  html.produts-details-maquinas-p1-page .portfolio-details-2 .portfolio-details-slider .swiper-slide,
  html.produts-details-maquinas-p1-page .portfolio-details-2 .portfolio-details-slider .swiper-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }
  body.produts-details-maquinas-p1-page main.main {
    padding-top: 90px;
    flex-grow: 0 !important;
  }
  section#portfolio-details-2 {
    overflow: visible !important;
  }
  .swiper-slide .image-box {
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 15px;
  }
  .swiper-slide .image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* --- REGRAS GERAIS DA PÁGINA --- */
  .page-title.dark-background {
	padding: 110px 0 30px !important; /* Valor aumentado para 100px */
  }
  .page-title h1 {
    font-size: 2.5rem !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    margin: 0 auto;
    line-height: 1.2 !important;
  }
  .page-title .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* =================================================================== */
/* Otimização para Mobile - Cards da Página de Serviços
/* =================================================================== */
/* =================================================================== */
/* Otimização SOMENTE PARA MOBILE - Cards da Página de Serviços (Layout 2x2)
/* =================================================================== */
/* =================================================================== */
/* Otimização SOMENTE PARA MOBILE - Cards da Página de Serviços (Layout 2x2)
/* =================================================================== */
@media (max-width: 767px) {

  /* 1. FORÇA O LAYOUT DE 2 COLUNAS NO MOBILE */
  #services-2 .services-grid .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* 2. DEIXA OS CARDS MENORES E MAIS COMPACTOS */

  .services-2 .service-card {
    padding: 15px 10px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .services-2 .service-content .service-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 28px;
    margin-bottom: 10px;
  }

  .services-2 .service-content .service-info h3 {
    font-size: 0.9rem; 
    line-height: 1.3;
    margin: 0;
    overflow-wrap: break-word; /* <-- ADICIONE ESTA LINHA PARA CORRIGIR O TEXTO */
  }

  /* Ajusta o título principal da seção */
  .services-2 .services-headline {
    text-align: center;
    margin-bottom: 30px;
  }

  .services-2 .services-grid {
    margin-left: 0;
  }

/* =================================================================== */
/* Otimização Mobile - Cards de Contato em Layout 2x2
/* =================================================================== */
/* =================================================================== */
/* Otimização Final para Mobile - Página de Serviços
/* =================================================================== */
@media (max-width: 767px) {

  /* --- AJUSTE 1: Cards de Serviço em 2 Colunas --- */
  #services-2 .services-grid .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #services-2 .service-card {
    padding: 15px 10px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #services-2 .service-content .service-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 28px;
    margin-bottom: 10px;
  }

  #services-2 .service-content .service-info h3 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: break-word;
  }

  /* --- AJUSTE 2: Cards de Contato em 2 Colunas --- */
  #contact-2 .col-lg-6 .row > .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #contact-2 .info-item {
    padding: 20px 10px;
    text-align: center;
  }

  #contact-2 .info-item i {
    font-size: 28px;
    margin-bottom: 10px;
  }

  #contact-2 .info-item h3 {
    font-size: 1rem;
  }

  /* --- NOVA CORREÇÃO: Quebra de texto longo (e-mail) --- */
  #contact-2 .info-item p {
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all; /* Força a quebra de palavras/textos longos */
  }

}

/* =================================================================== */
/* Otimização Final e Completa para Mobile - PÁGINA INICIAL (index.html)
/* =================================================================== */
@media (max-width: 767px) {

  /* --- Seção 'Setores Atendidos' (#services) --- */
  #services .col-lg-4.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  #services .service-item {
    padding: 20px 15px;
  }
  #services .service-item .icon {
    width: 40px;
    height: 40px;
    font-size: 36px;
    margin-bottom: 20px;
  }
  #services .service-item h3 {
    font-size: 1rem;
	overflow-wrap: break-word;
  }
  #services .service-item p {
    font-size: 13px;
	overflow-wrap: break-word;
  }

  /* --- Seção 'Produtos' (#constructions) --- VERSÃO FINAL COM ALINHAMENTO GARANTIDO --- */

  /* Mantém o layout 2x2 e adiciona espaçamento vertical entre as linhas */
  #constructions .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 24px; 
  }

  /* Garante altura MÍNIMA igual para todos os cards e usa flexbox */
  #constructions .card-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 370px; /* NOVO: Força uma altura mínima para alinhar os botões */
    background-color: #252525;
    border-radius: 12px;
    overflow: hidden;
  }
  
  /* Ajusta a imagem para não cortar */
  #constructions .card-item .card-bg {
    height: 140px;
    padding: 10px;
    background-color: #fff;
  }
  #constructions .card-item .card-bg img {
    object-fit: contain !important;
    height: 100%;
    width: 100%;
  }
  
  /* Corpo do card com flexbox para alinhar o botão no fundo */
  #constructions .card-item .card-body {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  /* REDUZIDO: Diminui o tamanho dos textos */
  #constructions .card-item h4 {
    font-size: 0.9rem; /* 14.4px */
    overflow-wrap: break-word;
	word-break: break-word;
    margin-bottom: 8px;
  }
  #constructions .card-item p {
    font-size: 12px; /* Fonte do parágrafo reduzida */
    line-height: 1.4;
    overflow-wrap: break-word;
    flex-grow: 1;
	word-break: break-word;
    margin-bottom: 15px;
  }

  /* Botão alinhado na base */
  #constructions .card-item .btn {
    margin-top: auto;
    padding: 10px;
    font-size: 14px;
    width: 100%;
  }

  /* --- Seção 'Serviços' (#services-5) --- */
  #services-5 .col-lg-4.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  #services-5 .service-card {
    padding: 20px 15px;
  }
  #services-5 .service-card .icon-box {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  #services-5 .service-card .icon-box i {
    font-size: 28px;
  }
  #services-5 .service-card h3 {
    font-size: 1rem;
	overflow-wrap: break-word;
  }
  #services-5 .service-card p {
    font-size: 13px;
	overflow-wrap: break-word;
  }
  
/*------------------PRODUCT DETAILS--------------------*/
  /* Reduz o título principal do produto */
  .portfolio-details-2 .project-content .project-header h2 {
    font-size: 1.7rem; /* Aprox. 27px */
    line-height: 1.3;
  }

  /* Reduz o subtítulo das seções (ex: "Descrição") */
  .portfolio-details-2 .project-content .content .project-section h3 {
    font-size: 1.3rem; /* Aprox. 21px */
  }

  /* Reduz o parágrafo de destaque (lead) */
  .portfolio-details-2 .project-content .content .lead {
    font-size: 1rem; /* Aprox. 16px */
    line-height: 1.6;
  }

  /* Reduz os parágrafos de texto comum */
  .portfolio-details-2 .project-content .content .project-section p {
    font-size: 0.95rem; /* Aprox. 15px */
    line-height: 1.6;
  }

  /* Ajusta os textos da barra lateral de informações */
  .portfolio-details-2 .project-sidebar .info-card h3 {
    font-size: 1.2rem; /* Aprox. 19px */
  }

  .portfolio-details-2 .project-sidebar .info-card .features-list li {
    font-size: 0.9rem; /* Aprox. 14.4px */
  }



/* =================================================================== */
/* Otimização Mobile - Painel de Contato (Ícones no Topo)
/* =================================================================== */
@media (max-width: 767px) {

  /* --- Container que agrupa os 4 cards --- */
  .contact-info-panel .contact-info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* --- Cards Individuais (Endereço, Email, etc.) --- */
  .contact-info-panel .info-card {
    width: 48%;
    margin-bottom: 20px;
    padding: 20px 15px;
    gap: 10px;
    /* NOVAS REGRAS PARA O LAYOUT VERTICAL */
    flex-direction: column; /* Coloca os itens (ícone e texto) um em cima do outro */
    align-items: center;   /* Centraliza os itens horizontalmente */
  }
  
  /* NOVO: Centraliza o texto para combinar com o ícone centralizado */
  .contact-info-panel .card-content {
    text-align: center;
  }

  /* --- Ajustes de Conteúdo (Textos e Ícones) --- */

  /* Reduz o container do ícone e o ícone */
  .contact-info-panel .icon-container {
    width: 40px;
    height: 40px;
  }
  .contact-info-panel .icon-container i {
    font-size: 18px;
  }

  /* Reduz o título principal do painel */
  .contact-info-panel .contact-info-header h3 {
    font-size: 1.2rem;
  }
  
  /* Reduz o título de cada card */
  .contact-info-panel .card-content h4 {
    font-size: 0.8rem; /* aprox. 14.4px */
  }

  /* Reduz o texto descritivo de cada card */
  .contact-info-panel .card-content p {
    font-size: 11px;
    line-height: 1.4;
    word-break: break-all;
  }

/*-----------------ajustar botões de avançar e voltar no carrossel no mobile----------------*/
  /* Torna os botões sempre visíveis e adiciona um fundo para contraste */
  .portfolio-details-2 .portfolio-details-slider .swiper-button-next,
  .portfolio-details-2 .portfolio-details-slider .swiper-button-prev {
    opacity: 0.8 !important; /* Garante que fiquem sempre visíveis */
    background-color: rgba(0, 0, 0, 0.4) !important; /* Fundo escuro semi-transparente */
    color: #ffffff !important; /* Garante que a seta seja branca */
    width: 40px; /* Tamanho um pouco menor para mobile */
    height: 40px;
    border-radius: 50%;
  }

  /* Garante que a cor da seta dentro do botão seja sempre branca */
  .portfolio-details-2 .portfolio-details-slider .swiper-button-next::after,
  .portfolio-details-2 .portfolio-details-slider .swiper-button-prev::after {
    color: #ffffff !important;
    font-size: 16px; /* Tamanho da seta um pouco menor */
  }

  /* Opcional: Efeito de hover para dar um feedback ao usuário */
  .portfolio-details-2 .portfolio-details-slider .swiper-button-next:hover,
  .portfolio-details-2 .portfolio-details-slider .swiper-button-prev:hover {
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
  }


  /* --- Bolinhas de Paginação (Abaixo da imagem) --- */

  /* Garante que a paginação tenha um fundo para se destacar */
  .portfolio-details-2 .portfolio-details-slider .swiper-pagination {
    bottom: 15px !important; /* Posição a partir da base */
  }

  /* Estilo da bolinha inativa */
  .portfolio-details-2 .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7) !important; /* Cor branca com transparência */
    opacity: 1;
  }

  /* Estilo da bolinha ativa */
  .portfolio-details-2 .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #f44336 !important; /* Cor vermelha de destaque */
  }

/*--------------Centralizar video no card do carrossel no mobile--------------------*/

  .portfolio-details-2 .portfolio-details-slider .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    aspect-ratio: 4 / 3 !important; /* Define uma proporção de 4:3 para o card */
  }

  /* 2. REGRA ESPECÍFICA PARA AJUSTAR O VÍDEO DENTRO DO SLIDE */
  /* Garante que o container do vídeo ocupe toda a largura do card */
  .portfolio-details-2 .swiper-slide > div[style*="padding-bottom"] {
    width: 100% !important; 
  }

  /* 3. REGRA ESPECÍFICA PARA AJUSTAR A IMAGEM DENTRO DO SLIDE */
  /* Garante que a imagem tenha um respiro (borda branca) e não seja cortada */
  .portfolio-details-2 .swiper-slide .image-box {
    width: 100%;
    height: 100%;
    padding: 15px; /* Borda branca interna */
    box-sizing: border-box; /* Garante que o padding não quebre o layout */
  }
  
  .portfolio-details-2 .swiper-slide .image-box img {
      width: 100%;
      height: 100%;
      object-fit: contain; /* Garante que a imagem inteira apareça */
  }

	/*--------------Ajustar tamanho do titulo do produto no mobile ----------------------*/
	/* Reduz o título principal do produto */
	.portfolio-details-2 .project-content .project-header h2 {
	  font-size: 1.4rem; /* Valor reduzido (era 1.7rem) - Aprox. 22px */
	  line-height: 1.3;
	}
	.portfolio-details-2 .section-title h2 {
	  font-size: 1.5rem; /* Aprox. 24px */
	  padding-bottom: 30px; /* Reduz o espaçamento abaixo do título */
	}
	/* Remove as linhas decorativas do título "Informações Gerais" no mobile */
	.portfolio-details-2 .section-title h2::before,
	.portfolio-details-2 .section-title h2::after {
	  display: none;
	}
}

/*-----------Ajuste buscador no menu---------------------------*/
/* 1) Faz o navmenu virar um flexbox, alinhando verticalmente os itens */
.navmenu {
  display: flex;
  align-items: center;
  gap: 1rem; /* espaçamento entre menu e busca (ajuste à vontade) */
}

/* 2) Se quiser empurrar o campo de busca para a extremidade direita: */
.navmenu form {
  margin-left: auto;
}

