:root {
  --primary: #1b1e4b; /* Azul Marinho do Logo */
  --secondary-color: #f15a24; /* Laranja do Logo */
  --light-bg: #ffffff;
  --gray-bg: #f8f9fa;
  --text-dark: #2d3436;
  --text-muted: #636e72;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.05);
}

/* NAVBAR */
.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar-brand img {
  max-height: 120px;
  width: auto;
  transition: all 0.3s ease;
}
.hero-section {
  background:
    radial-gradient(circle at top right, rgba(241, 90, 36, 0.05), transparent),
    radial-gradient(circle at bottom left, rgba(27, 30, 75, 0.05), transparent);
}
.section-padding {
  padding: 20px 0 !important;
}

.container-hero {
  margin-top: 60px;
}

.container-services {
  margin-top: 90px;
}

/* BODY */
body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.bg-light-gray {
  background-color: var(--gray-bg);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.text-gradient {
  background: linear-gradient(90deg, #1b1e4b, #f15a24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-navbar {
  background: transparent !important;
}

.btn-primary {
  background: linear-gradient(90deg, #1b1e4b, #f15a24);
  border: none;
  color: white !important;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(27, 30, 75, 0.2);
}

.card-service {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  border-radius: 15px;
}

.card-service:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary-color {
  color: var(--secondary-color) !important;
}

.bg-primary-gradient {
  background: linear-gradient(90deg, #1b1e4b, #f15a24);
}

.timeline-circle {
  background: white;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: bold;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.dashboard-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(241, 90, 36, 0.4);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(241, 90, 36, 0);
  }
}

.hover-primary:hover {
  color: var(--secondary-color) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
}

footer {
  background-color: #f8f9fa !important;
  color: var(--text-dark) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer h5 {
  color: var(--primary);
}

.badge-tag {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-muted);
}

.logo-footer {
  width: 150px;
  height: auto;
}

.logo-navbar {
  width: 200px !important;
  height: auto;
}

/* COOKIES BANNER */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 30, 75, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookies-banner.hidden {
  display: none;
}

.cookies-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookies-text {
  flex: 1;
  min-width: 250px;
  font-size: 14px;
  line-height: 1.6;
}

.cookies-text a {
  color: #f15a24;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.cookies-text a:hover {
  opacity: 0.8;
}

.cookies-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookies-accept {
  background: #f15a24;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cookies-accept:hover {
  background: #d94a1a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(241, 90, 36, 0.3);
}

.btn-cookies-reject {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cookies-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f15a24;
}

/* SITE PROTECTION BADGE */
.site-protection-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border: 2px solid #f15a24;
  border-radius: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1b1e4b;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  animation: fadeIn 0.5s ease;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-protection-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(241, 90, 36, 0.2);
}

.site-protection-badge i {
  color: #f15a24;
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cookies-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .cookies-buttons {
    width: 100%;
  }
  
  .btn-cookies-accept,
  .btn-cookies-reject {
    flex: 1;
  }
  
  .site-protection-badge {
    bottom: 15px;
    right: 15px;
    font-size: 11px;
    padding: 10px 15px;
  }
}

/* CAROUSEL HERO */
.carousel-hero {
  position: relative;
  overflow: hidden;
}

#carouselHero {
  border-radius: 16px;
  overflow: hidden;
}

#carouselHero .carousel-inner {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#carouselHero .carousel-item {
  position: relative;
  height: 400px;
  overflow: hidden;
}

#carouselHero .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

#carouselHero .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

#carouselHero .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
  transition: all 0.3s ease;
}

#carouselHero .carousel-indicators button.active {
  background-color: white;
  width: 32px;
  border-radius: 6px;
}

#carouselHero .carousel-control-prev,
#carouselHero .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 30, 75, 0.6);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

#carouselHero:hover .carousel-control-prev,
#carouselHero:hover .carousel-control-next {
  opacity: 1;
}

#carouselHero .carousel-control-prev:hover,
#carouselHero .carousel-control-next:hover {
  background: rgba(241, 90, 36, 0.8);
}

#carouselHero .carousel-control-prev {
  left: 20px;
}

#carouselHero .carousel-control-next {
  right: 20px;
}

@media (max-width: 768px) {
  #carouselHero .carousel-item {
    height: 300px;
  }
  
  #carouselHero .carousel-control-prev,
  #carouselHero .carousel-control-next {
    opacity: 0.7;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  #carouselHero .carousel-item {
    height: 250px;
  }
  
  #carouselHero .carousel-indicators button {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  #carouselHero .carousel-indicators button.active {
    width: 24px;
  }
}


/* PARTNER CAROUSEL */
.partners-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(27, 30, 75, 0.02) 0%, rgba(241, 90, 36, 0.02) 100%);
}

.partners-section h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.partners-section .text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.owl-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.owl-carousel .item {
  flex: 0 1 calc(20% - 24px);
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.owl-carousel .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(241, 90, 36, 0.15);
  border-color: var(--secondary-color);
}

.owl-carousel .item img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.owl-carousel .item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.owl-carousel .item a img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.owl-carousel .item:hover a img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 1200px) {
  .owl-carousel .item {
    flex: 0 1 calc(25% - 22px);
  }
}

@media (max-width: 768px) {
  .owl-carousel .item {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 120px;
    padding: 15px;
  }
  
  .owl-carousel .item img {
    max-height: 60px;
  }
  
  .partners-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .owl-carousel .item {
    flex: 0 1 calc(50% - 15px);
    min-width: 100px;
    padding: 12px;
  }
  
  .owl-carousel .item img {
    max-height: 50px;
  }
  
  .partners-section {
    padding: 50px 0;
  }
  
  .partners-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}
