/* Custom Styles - Starship */

/* Metrics Section */
.metrics-section {
  background: linear-gradient(135deg, #0d4978 0%, #1a5a8a 100%);
}

.metric-card {
  text-align: center;
  padding: 2rem;
}

.metric-number {
  font-size: 3rem;
  font-weight: bold;
  color: #5fbd57;
}

.metric-label {
  font-size: 1.1rem;
  color: #fff;
  margin-top: 0.5rem;
}

/* Why Choose Section */
.why-choose-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.why-choose-item:hover {
  transform: translateX(10px);
}

.why-choose-item i {
  color: #5fbd57;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Service Cards */
.service-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-details {
  text-align: left;
  margin-top: 1rem;
}

.service-details li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.service-details li i {
  color: #5fbd57;
  margin-right: 0.5rem;
}

/* Tech Logos */
.tech-logo {
  padding: 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.tech-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: #5fbd57;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: #0d4978;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  margin-right: 1rem;
}

/* Portfolio Cards */
#portfolio .row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 2rem;
}

#portfolio .row > [class*="col-"] {
  display: flex;
}

.portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.portfolio-img {
  height: 200px;
  background: linear-gradient(135deg, #0d4978 0%, #5fbd57 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.portfolio-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 73, 120, 0.3) 0%, rgba(95, 189, 87, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.portfolio-img i {
  font-size: 4rem;
  color: rgba(255,255,255,0.8);
}

.portfolio-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-content p:last-child {
  margin-top: auto;
}

.portfolio-tag {
  display: inline-block;
  background: #5fbd57;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* Form Styles */
.form-floating > .form-control {
  border: 2px solid #dee2e6;
  border-radius: 8px;
}

.form-floating > .form-control:focus {
  border-color: #5fbd57;
  box-shadow: 0 0 0 0.2rem rgba(95, 189, 87, 0.25);
}

/* CTA Buttons */
.btn-cta {
  background: #5fbd57;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #4da648;
  color: #fff;
  transform: scale(1.05);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
}

/* Segment Cards */
.segment-card {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.segment-card:hover {
  background: #5fbd57;
  color: #fff;
}

.segment-card:hover i {
  color: #fff;
}

.segment-card i {
  font-size: 2.5rem;
  color: #5fbd57;
  margin-bottom: 1rem;
}

/* ============================================
   FAQ Section Styles
   ============================================ */

#faq .accordion {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

#faq .accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}

#faq .accordion-item:last-child {
  border-bottom: none;
}

#faq .accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  background-color: #fff;
  padding: 1.5rem 1.25rem;
  border: none;
  transition: all 0.3s ease;
}

#faq .accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #f4623a;
  box-shadow: none;
}

#faq .accordion-button:hover {
  background-color: #f8f9fa;
}

#faq .accordion-button:focus {
  box-shadow: none;
  border: none;
}

#faq .accordion-button::after {
  width: 1.5rem;
  height: 1.5rem;
  background-size: 1.5rem;
  transition: transform 0.3s ease;
}

#faq .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

#faq .accordion-body {
  padding: 1.5rem 1.25rem;
  background-color: #fff;
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
}

#faq .accordion-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

#faq .accordion-body ul li {
  margin-bottom: 0.5rem;
}

#faq .accordion-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

#faq .accordion-body ol li {
  margin-bottom: 0.75rem;
}

#faq .accordion-body strong {
  color: #212529;
  font-weight: 600;
}

/* Ícones nas perguntas */
#faq .accordion-button i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Ícones de check dentro das respostas */
#faq .accordion-body .bi-check-circle-fill {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

/* Animação suave ao abrir/fechar */
#faq .accordion-collapse {
  transition: all 0.3s ease-in-out;
}

/* Responsividade */
@media (max-width: 768px) {
  #faq .accordion-button {
    font-size: 1rem;
    padding: 1.25rem 1rem;
  }

  #faq .accordion-button i {
    font-size: 1.1rem;
    margin-right: 0.75rem !important;
  }

  #faq .accordion-body {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1da851;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
  line-height: 1;
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}