/* Estilos personalizados para o site Setpoint */

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --light-color: #f8fafc;
  --dark-color: #1e293b;
  --success-color: #22c55e;
  --text-color: #334155;
  --light-bg: #f1f5f9;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* Estilos de cabeçalho */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand img {
  max-height: 40px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Estilos de hero section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/pattern.png');
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-weight: 300;
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

/* Estilos de seções */
.section {
  padding: 5rem 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.section-subtitle {
  font-weight: 300;
  margin-bottom: 3rem;
  color: var(--text-color);
}

/* Cards de serviços */
.service-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: none;
}

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

.service-card .card-header {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 1.25rem;
  border: none;
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Estilos de recursos */
.feature-item {
  margin-bottom: 2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Estilos de CTA */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.btn-cta {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--light-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos de formulário */
.form-control {
  border-radius: 4px;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Estilos de rodapé */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-links a:hover {
  background-color: var(--primary-color);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsividade */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Animações */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

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

/* Acessibilidade */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Botões */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
}

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

.card-icon {
  padding: 5px;
  font-size:24px;
}

/*   CARROSSEL   */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review {
    min-width: 100%;
    box-sizing: border-box;
    padding: 50px;
    text-align: center;
}

.stars {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.review-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.reviewer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: #2c3e50;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(37, 99, 235, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 100;
    transition: all 0.3s ease;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(37, 99, 235, 1);
}

/* Estilos para os indicadores */
.indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: rgba(37, 99, 235, 1);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    .review {
        padding: 20px;
    }

    .review-text {
        font-size: 1em;
    }

    .stars {
        font-size: 1em;
    }

    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }

    .avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9em;
    }

    .success-message {
      padding-top: 30px;
      border-radius: 5px;
      background-color: #5ec045 !important;
      color: #fff !important;
    }

    .success-message.transparant {
      padding-top: 42px;
      background-color: transparent;
    }

    .error-bg {
      padding-top: 12px;
      padding-bottom: 1px;
      border-radius: 3px;
      color: #e42121 !important;
      font-size: 12px;
      text-align: center;
    }

    .w-form-done {
      display: none;
      padding: 20px;
      text-align: center;
      background-color: #dddddd;
    }

    .w-form-fail {
      display: none;
      margin-top: 10px;
      padding: 10px;
      background-color: #ffdede;
    }
}
