:root {
  --font-default: 'Poppins', sans-serif;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --color-primary: #0099de;
  --color-secondary: #2b579a;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
  .hide-on-mobile {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  height: 90px;
}

.header.sticked {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 90px;
}

.header .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.header.stikcy-menu {
  background: var(--light-color);
}

.header.stikcy-menu .logo h1 {
  color: var(--color-primary);
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  letter-spacing: 0.8px;
  color: var(--color-primary);
  font-family: var(--font-primary);
}

.header .logo h1 span {
  color: var(--color-primary);
}

.sticked-header-offset {
  margin-top: 0;
}

section { background: var(--light-color); }

.logo-scrolled {
  display: none;
}

.header.stikcy-menu .logo-default {
  display: none;
}

.header.stikcy-menu .logo-scrolled {
  display: block;
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar > ul > li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: var(--menu-color);
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .stikcy-menu .navbar a {
    color: var(--text-color);
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-right: 5px;
  }

  .navbar a:hover:before,
  .navbar li:hover > a:before,
  .navbar .active:before {
    visibility: visible;
    width: 100%;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover > a {
    color: var(--color-primary);
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--light-color);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 0px;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-color);
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover > a {
    color: var(--color-primary);
  }

  .navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {
  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: var(--color-primary);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: rgb(255 255 255);
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover > a {
    color: #fff;
  }

  .navbar .getstarted,
  .navbar .getstarted:focus {
    background: var(--color-primary);
    padding: 8px 20px;
    border-radius: 4px;
    margin: 15px;
    color: #fff;
  }

  .navbar .getstarted:hover,
  .navbar .getstarted:focus:hover {
    color: #fff;
    background: rgba(0, 131, 116, 0.8);
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    background-color: var(--color-primary);
  }

  .navbar .dropdown > .dropdown-active,
  .navbar .dropdown .dropdown > .dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    color: var(--color-primary);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    margin-right: 10px;
  }

  .mobile-nav-hide {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 80%);
    z-index: 9996;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  background: url(../images/hero-bg.png) center center;
  background-size: cover;
  padding: 60px 0 0 0;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  z-index: 0;
  margin-top: 0;
  background: linear-gradient(360deg, var(--hero-overlay-color), var(--hero-overlay-color));
}

.hero .circle {
  color: var(--color-primary);
}

.social {
  margin-top: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social a {
  color: var(--text-color);
  transition: 0.3s;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.social i {
  font-size: 14px;
  margin: 0 2px;
  color: var(--color-primary);
}

.mr-20 {
  margin-left: 20px !important;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--hero-text-color);
  text-transform: capitalize;
  letter-spacing: 0.7px;
  font-weight: 600;
}

.hero span {
  color: var(--color-primary);
  font-weight: bold;
}

.hero p {
  color: var(--hero-text-color);
  font-weight: 400;
  margin-bottom: 30px;
}

.btn-get-started {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 20px;
  border-radius: 50px;
  transition: 0.3s;
  color: var(--text-white-color);
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
}

.btn-get-started:hover {
  background: linear-gradient(45deg, var(--color-secondary), var(--color-primary));
  color: var(--text-white-color);
}

@media (max-width: 991px) {
  .hero {
    background: url(../images/hero-bg.png) center center;
  }

  .hero h2 {
    font-size: 22px;
  }

  .call-to-action {
    background: url(../images/cta-bg.jpg) center left;
    background-size: cover;
    padding: 150px 60px;
    border-radius: 0px;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .text-left.caption {
    text-align: center;
  }

  .caption .justify-content-start {
    justify-content: center !important;
  }

  .caption .social {
    justify-content: center;
  }

  .btn-get-started {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .btn-get-started {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Particles
--------------------------------------------------------------*/
#particles-js {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

canvas {
  display: block;
  vertical-align: bottom;
}

.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}

/*--------------------------------------------------------------
# Fix: Bootstrap 5 .navbar overrides – use #navbar (ID specificity) to win
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  /* Bootstrap sets position:relative and display:flex on .navbar — override both */
  #navbar {
    position: fixed;
    display: block;
    flex-wrap: unset;
    padding: 0;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  /* Align all nav links to the left — fixes "Área do Cliente" icon+text spreading apart */
  #navbar a,
  #navbar a:focus {
    justify-content: flex-start;
    gap: 8px;
  }

  .mobile-nav-active #navbar {
    right: 0;
  }

  .mobile-nav-active #navbar::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 80%);
    z-index: 9996;
  }
}

/*--------------------------------------------------------------
# Pricing page responsive fixes
--------------------------------------------------------------*/
@media (max-width: 575px) {
  .pricing-features {
    grid-template-columns: 1fr !important;
  }

  .pricing-card-body {
    padding: 30px 20px !important;
  }

  .pricing-desc-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*--------------------------------------------------------------
# "Conheça Nossos Sistemas" — mobile fixes
--------------------------------------------------------------*/

/* Tablets: remove SVG clip-path (designed for 762px), free the fixed height */
@media (max-width: 1199px) {
  .project-content.style1 {
    height: auto !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    border-radius: 16px !important;
    padding: 30px 25px !important;
  }

  /* 3-column tab grid on tablets */
  .project-item-wrapper.style1 {
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 70px 20px 0 !important;
  }
}

/* Phones */
@media (max-width: 767px) {
  /* 2-column tab grid – avoids 5 tall stacked cards */
  .project-item-wrapper.style1 {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 60px 12px 0 !important;
    gap: 20px !important;
  }

  /* More top-padding needed since tab cards are now 3 rows (2+2+1) */
  .project-wrapper.style1 {
    padding: 170px 15px 30px !important;
  }

  .project-content.style1 {
    padding: 20px 15px !important;
    text-align: left !important;
  }

  /* Hide the small decorative side-image (col-xl-3) on phones */
  .project-content.style1 .col-xl-3 {
    display: none !important;
  }

  /* Make feature icon rows wrap to column earlier */
  .project-content.style1 .fancy-box-wrapper.style3 {
    gap: 12px !important;
  }
}