/* Variáveis de cores */
:root {
  --primary: #007bff;
  --primary-dark: #0069d9;
  --secondary: #6c757d;
  --dark: #343a40;
  --light: #f8f9fa;
  --white: #ffffff;
  --black: #212529;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header e Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
}

.hero__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.8) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  position: relative;
  z-index: 100;
}

.navbar__brand {
  display: flex;
  align-items: center;
}

.navbar__logo {
  height: 95px;
  transition: transform 0.3s ease;
}

.navbar__logo:hover {
  transform: scale(1.05);
}

.navbar__toggler {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Hero Content */
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 1.5rem;
  z-index: 1;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 30px;
  border: 2px solid var(--white);
  border-radius: 10px;
  position: relative;
}

.scroll-indicator span::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background-color: var(--white);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 5px;
    opacity: 1;
  }
  100% {
    top: 15px;
    opacity: 0;
  }
}

/* Seções */
.section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section__description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
}

/* Serviços */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service__card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.1) 0%,
    rgba(0, 123, 255, 0.05) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service__card:hover::before {
  opacity: 1;
}

.service__icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service__card:hover .service__icon {
  background-color: var(--primary);
  color: var(--white);
}

.service__card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service__card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.service__link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.service__link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service__link:hover {
  color: var(--primary-dark);
}

.service__link:hover i {
  transform: translateX(3px);
}

.service__card--cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
}

.service__card--cta h3,
.service__card--cta p {
  color: var(--white);
}

.service__card--cta .service__icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.service__card--cta .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.service__card--cta .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Sobre */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about__image img {
  min-width: 100px; /* ou o tamanho mínimo que faz sentido para seu layout */
  min-height: 100px;
  object-fit: contain; /* mantém a proporção */
}

.about__image:hover img {
  transform: scale(1.05);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat__item {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(0, 123, 255, 0.05);
  border-radius: 8px;
}

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--gray);
}

/* Contato */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form__group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form__group i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--gray);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.form__group textarea {
  padding: 0.75rem 1rem;
  min-height: 120px;
  padding-left: 2.5rem;
}

.form__group textarea + i {
  top: 1rem;
  left: 1rem;
  transform: none;
  align-items: flex-start; /* Alinha o ícone no topo */
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.info__card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.info__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info__icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.info__card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.info__card p {
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--gray-light);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  height: 95px;
  margin-bottom: 1.5rem;
}

.footer__about p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer__links h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__links h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer__links ul li {
  margin-bottom: 0.75rem;
}

.footer__links ul li a {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer__links ul li a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 5px;
}

.footer__newsletter p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.newsletter__form {
  display: flex;
  position: relative;
}

.newsletter__form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
}

.newsletter__form button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter__form button:hover {
  background-color: var(--primary-dark);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__payment {
  display: flex;
  gap: 1rem;
}

.footer__payment i {
  font-size: 1.5rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer__payment i:hover {
  opacity: 1;
}

.highlight {
  color: var(--primary);
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  color: var(--white); /* Adicionando cor branca para garantir contraste */
}

.footer-col h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--primary); /* Usando a variável de cor primária (azul) */
  bottom: -10px;
  left: 0;
}

/* Responsividade */
@media (max-width: 992px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .navbar__menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--dark);
    padding: 0.75rem 0;
  }
  /* Mobile Menu Toggle */
  .navbar__toggler.active i::before {
    content: "\f00d"; /* Ícone X do Font Awesome */
  }

  /* Mobile Menu Styles */
  @media (max-width: 768px) {
    .navbar__toggler {
      display: block;
      z-index: 1001;
    }

    .nav-link::after {
      background-color: var(--primary);
    }

    .nav-button {
      background-color: var(--primary);
      color: var(--white);
      width: 100%;
      text-align: center;
      padding: 0.75rem;
    }

    .nav-button:hover {
      background-color: var(--primary-dark);
      color: var(--white);
    }

    .hero__title {
      font-size: 2rem;
    }

    .hero__subtitle {
      font-size: 1rem;
    }

    .hero__cta {
      flex-direction: column;
      gap: 0.75rem;
    }

    .btn {
      width: 100%;
    }

    .services__grid {
      grid-template-columns: 1fr;
    }

    .section {
      padding: 3rem 0;
    }

    .about__stats {
      grid-template-columns: 1fr;
    }

    .footer__grid {
      grid-template-columns: 1fr;
    }

    .footer__bottom {
      flex-direction: column;
      text-align: center;
    }

    .footer__payment {
      justify-content: center;
    }
  }

  /* Form Input Placeholder Styles */
  ::placeholder {
    color: #adb5bd;
    opacity: 1;
  }

  :-ms-input-placeholder {
    color: #adb5bd;
  }

  ::-ms-input-placeholder {
    color: #adb5bd;
  }

  /* Loading Animation for Elements */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .service__card,
  .about__content,
  .about__image,
  .contact__form,
  .info__card {
    animation: fadeIn 0.6s ease forwards;
  }

  /* Delay animations for staggered effect */
  .service__card:nth-child(1) {
    animation-delay: 0.1s;
  }
  .service__card:nth-child(2) {
    animation-delay: 0.2s;
  }
  .service__card:nth-child(3) {
    animation-delay: 0.3s;
  }
  .service__card:nth-child(4) {
    animation-delay: 0.4s;
  }
  .service__card:nth-child(5) {
    animation-delay: 0.5s;
  }
  .service__card:nth-child(6) {
    animation-delay: 0.6s;
  }

  .about__content {
    animation-delay: 0.2s;
  }
  .about__image {
    animation-delay: 0.4s;
  }
  .contact__form {
    animation-delay: 0.1s;
  }
  .info__card:nth-child(1) {
    animation-delay: 0.2s;
  }
  .info__card:nth-child(2) {
    animation-delay: 0.3s;
  }
  .info__card:nth-child(3) {
    animation-delay: 0.4s;
  }
  .info__card:nth-child(4) {
    animation-delay: 0.5s;
  }

  /* Back to Top Button (adicione este elemento ao HTML se desejar) */
  .back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    cursor: pointer;
  }

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

  .back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
  }

  /* Custom Select Arrow */
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /* Tooltip for Form Inputs */
  .form__group:hover .form__tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .form__tooltip {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
  }

  .form__tooltip::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--dark);
  }

  /* Lazy Load Fade-in Effect */
  img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  img[loading="lazy"].loaded {
    opacity: 1;
  }

  /* Print Styles */
  @media print {
    .navbar,
    .hero__video-container,
    .hero__overlay,
    .scroll-indicator,
    .whatsapp-float,
    .footer__social,
    .footer__payment,
    .newsletter__form {
      display: none !important;
    }

    body {
      background-color: white;
      color: black;
      font-size: 12pt;
    }

    .container {
      max-width: 100%;
      padding: 0;
    }

    .section {
      padding: 1rem 0;
      page-break-inside: avoid;
    }

    .btn {
      display: none;
    }

    a::after {
      content: " (" attr(href) ")";
      font-size: 0.8em;
      font-weight: normal;
      color: #666;
    }
  }
  /* Adicione isso no seu CSS */
  .badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50px;
    margin-left: 0.5rem;
  }

  .badge-warning {
    background-color: var(--warning);
    color: var(--dark);
  }

  /* Ajuste para o badge nos links do footer */
  .footer__links small {
    font-size: 0.75em;
    opacity: 0.8;
    margin-left: 0.25rem;
  }

  /* Estilos para o container */
  .about__image-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* Ajuste conforme necessário */
    margin: 0 auto;
  }

  /* Estilos para a imagem */
  .about__responsive-image {
    width: 100%;
    height: auto; /* Mantém a proporção */
    display: block;
    border-radius: 8px; /* Opcional - para cantos arredondados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Opcional - sombra leve */
  }

  /* Media queries para ajustes específicos */
  @media (min-width: 992px) {
    /* Desktop */
    .about__image-container {
      min-height: 400px; /* Altura maior para desktop */
    }
  }

  @media (max-width: 991px) {
    /* Tablet */
    .about__image-container {
      min-height: 300px;
    }
  }

  @media (max-width: 767px) {
    /* Mobile */
    .about__image-container {
      min-height: 200px;
    }
  }
}
