/* ==============================================
   PRODUTOS — HERO OVERRIDE
   ============================================== */
.produtos-hero__sub {
  position: absolute;
  z-index: 1;
  font-size: clamp(16px, 2vw, 32px);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -1.6px;
  line-height: 1;
  bottom: clamp(52px, 9vw, 165px);
  left: var(--sp);
}

/* ==============================================
   PRODUTOS — SERVIÇOS SLIDER
   ============================================== */
.prod-servicos {
  background: #ffffff;
  padding: 100px var(--sp);
  position: relative;
  overflow: hidden;
}

.prod-servicos__float {
  position: absolute;
  right: max(0px, calc((100% - var(--bs-container-max, 1320px)) / 2 - 80px));
  top: 170px;
  width: clamp(80px, 11.3vw, 217px);
  height: auto;
  pointer-events: none;
  object-fit: contain;
}

.prod-servicos__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 608px;
  margin-bottom: 40px;
}

.prod-servicos__label {
  font-size: 20px;
  font-weight: 400;
  color: #0098f0;
  letter-spacing: -1px;
}

.prod-servicos__title {
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 600;
  color: #3c3c3c;
  letter-spacing: -2px;
  line-height: 1.1;
}

/* Tabs navigation */
.prod-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(60, 60, 60, 0.2);
  border-bottom: 1px solid rgba(60, 60, 60, 0.2);
  margin-bottom: 30px;
}

.prod-tabs-list {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
}
.prod-tabs-list::-webkit-scrollbar { display: none; }

.prod-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  padding: 30px 50px 30px 0;
  font-family: inherit;
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: 400;
  color: #3c3c3c;
  letter-spacing: -1.2px;
  opacity: 0.2;
  white-space: nowrap;
  transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}

.prod-tab.active {
  color: #009cde;
  opacity: 1;
  border-bottom-color: #009cde;
}

.prod-tabs-arrows {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  padding-left: 20px;
}

.prod-tabs-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
}
.prod-tabs-arrow:hover {
  opacity: 1;
  transform: scale(1.14);
}
.prod-tabs-arrow img {
  width: 40px;
  height: 24px;
  display: block;
}

/* Panels */
.prod-panels { }

.prod-panel {
  display: none;
  gap: 70px;
  align-items: center;
}

.prod-panel.active { display: flex; }

/* Dark card */
.prod-card {
  flex-shrink: 0;
  width: 56.2%;
  max-width: 745px;
  aspect-ratio: 745 / 459;
  background: #212121;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.prod-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 560px 480px at 36% 60%,
    rgba(0, 152, 240, 0.45) 0%,
    transparent 58%
  );
  pointer-events: none;
}

.prod-card__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}
.prod-card__overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

.prod-card__photo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.prod-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

/* Panel text */
.prod-panel__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 354px;
}

.prod-panel__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prod-panel__text h3 {
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 500;
  color: #3c3c3c;
  letter-spacing: -1.6px;
  line-height: 1.2;
}

.prod-panel__text p {
  font-size: 15px;
  font-weight: 400;
  color: #838693;
  letter-spacing: -0.75px;
  line-height: 1.65;
}

.prod-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #009cde;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.85px;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 100px;
  white-space: nowrap;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}
.prod-panel__cta:hover {
  background: #007bae;
  transform: translateY(-1px);
}
.prod-panel__cta img {
  width: 25px;
  height: 14px;
  display: block;
}

/* ==============================================
   PRODUTOS — NOSSOS DIFERENCIAIS
   ============================================== */
.prod-dif {
  background: #ffffff;
  padding: 100px 0 100px var(--sp);
  overflow: hidden;
}

.prod-dif__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  padding-right: var(--sp);
}

.prod-dif__header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.prod-dif__sup {
  font-size: 20px;
  font-weight: 400;
  color: #009cde;
  letter-spacing: -1px;
}

.prod-dif__title {
  font-size: clamp(36px, 3.8vw, 60px);
  font-weight: 600;
  color: #3c3c3c;
  letter-spacing: -3px;
  line-height: 1;
}

.prod-dif__desc {
  font-size: 15px;
  font-weight: 400;
  color: #838693;
  letter-spacing: -0.75px;
  line-height: 1.6;
  max-width: 472px;
  text-align: right;
  flex-shrink: 0;
}

.prod-dif__body {
  display: flex;
  gap: 80px;
  align-items: center;
}

/* Counter + nav */
.prod-dif__nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  width: 212px;
  height: 360px;
}

.prod-dif__counter {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
  user-select: none;
}

.prod-dif__counter-big {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 600;
  color: #3c3c3c;
  letter-spacing: -4px;
  line-height: 1;
  min-width: 2ch;
}

.prod-dif__counter-small {
  font-size: clamp(20px, 2.3vw, 36px);
  font-weight: 600;
  color: #838693;
  letter-spacing: -2px;
}

.prod-dif__arrows {
  position: relative;
  width: 212px;
  height: 100px;
}

.prod-dif__arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 0;
  transition: transform 0.15s;
}
.prod-dif__arrow-btn:hover { transform: scale(1.06); }
.prod-dif__arrow-btn img {
  width: 100px;
  height: 100px;
  display: block;
}

.prod-dif__arrow-prev { left: 0; }
.prod-dif__arrow-next { left: 112px; }

/* Cards carousel */
.prod-dif__cards-outer {
  flex: 1;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 25px 0 35px 0;
  margin: -25px 0 -35px 0;
}
.prod-dif__cards-outer::-webkit-scrollbar {
  display: none;
}

.prod-dif__cards {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 30px;
  padding-right: var(--sp);
  width: max-content !important;
  min-width: 100%;
}

.prod-dif__card {
  flex: 0 0 440px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 440px !important;
  max-width: 440px !important;
  min-width: 440px !important;
  height: 360px;
  min-height: 360px;
  border-radius: 20px;
  border: 1px solid #e9e9e9;
  background: #ffffff;
  box-shadow: 0 0 20px 0 rgba(0, 152, 240, 0.12);
  position: relative;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Explicit active state */
.prod-dif__card:not(.prod-dif__card--inactive) {
  background: #ffffff;
  border-color: #e9e9e9;
  box-shadow: 0 0 20px 0 rgba(0, 152, 240, 0.12);
}

.prod-dif__card--inactive {
  background: #f2f2f3;
  border-color: #cccccc;
  box-shadow: none;
}

.prod-dif__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prod-dif__card-tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1px solid #009cde;
  font-size: 14px;
  font-weight: 600;
  color: #009cde;
  letter-spacing: -0.5px;
  white-space: nowrap;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.prod-dif__card--inactive .prod-dif__card-tag {
  border-color: #838693;
  color: #838693;
}

.prod-dif__card-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 156, 222, 0.08);
  color: #009cde;
  border: 1px solid rgba(0, 156, 222, 0.18);
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.prod-dif__card-badge-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
}

.prod-dif__card--inactive .prod-dif__card-badge-icon {
  background: rgba(131, 134, 147, 0.08);
  color: #838693;
  border-color: rgba(131, 134, 147, 0.2);
}

.prod-dif__card-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prod-dif__card-title {
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 600;
  color: #009cde;
  letter-spacing: -1.5px;
  line-height: 1.15;
  transition: color 0.35s ease;
}

.prod-dif__card--inactive .prod-dif__card-title {
  color: #838693;
}

.prod-dif__card-text {
  font-size: 15px;
  font-weight: 400;
  color: #838693;
  letter-spacing: -0.5px;
  line-height: 1.6;
  max-width: 360px;
}

/* ==============================================
   PRODUTOS — FAQ
   ============================================== */
.prod-faq {
  background: #ffffff;
  padding: 100px var(--sp);
  border-top: 1px solid rgba(60, 60, 60, 0.06);
}

.prod-faq__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: 80px;
}

.prod-faq__title {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600;
  color: #3c3c3c;
  letter-spacing: -3px;
  line-height: 1;
}

.prod-faq__subtitle {
  font-size: 15px;
  font-weight: 400;
  color: #838693;
  letter-spacing: -0.75px;
  line-height: 1.6;
  max-width: 648px;
}

.prod-faq__subtitle a {
  color: #0098f0;
  text-decoration: none;
}

.prod-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  align-items: start;
}

.prod-faq__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ item */
.faq-item {
  background: #f2f2f3;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-item:hover { background: #ebebec; }

.faq-item__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  min-height: 66px;
  user-select: none;
}

.faq-item__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: #3c3c3c;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.faq-item__icon::before {
  width: 2px;
  height: 12px;
  top: 5px;
  left: 10px;
}
.faq-item__icon::after {
  width: 12px;
  height: 2px;
  top: 10px;
  left: 5px;
}
.faq-item.is-open .faq-item__icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item__question {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.8px;
  line-height: 1.4;
  flex: 1;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px 0 60px;
  font-size: 15px;
  font-weight: 400;
  color: #838693;
  letter-spacing: -0.75px;
  line-height: 1.65;
}
.faq-item.is-open .faq-item__answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ==============================================
   RESPONSIVE — PRODUTOS
   ============================================== */
@media (max-width: 1100px) {
  .prod-card {
    width: 50%;
  }
  .prod-panel.active {
    gap: 40px;
  }
  .prod-dif__body {
    gap: 60px;
  }
  .prod-dif__nav {
    width: 180px;
  }
}

@media (max-width: 860px) {
  .prod-servicos__float {
    display: none;
  }

  .prod-panel.active {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .prod-card {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  .prod-panel__info {
    max-width: 100%;
    gap: 24px;
  }

  .prod-tab {
    padding: 20px 24px 20px 0;
    font-size: 16px;
  }

  .prod-dif {
    padding: 60px 0 60px var(--sp);
    overflow: hidden;
  }

  .prod-dif__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
    padding-right: var(--sp);
  }

  .prod-dif__title {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -1.5px;
  }

  .prod-dif__desc {
    text-align: left;
    max-width: 100%;
    font-size: 15px;
  }

  .prod-dif__body {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 32px !important;
    width: 100% !important;
  }

  .prod-dif__nav {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: var(--sp);
    box-sizing: border-box;
  }

  .prod-dif__counter-big {
    font-size: 48px;
  }

  .prod-dif__counter-small {
    font-size: 22px;
  }

  .prod-dif__arrows {
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .prod-dif__arrow-btn {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .prod-dif__arrow-btn img {
    width: 56px;
    height: 56px;
  }

  .prod-dif__arrow-prev { left: auto; }
  .prod-dif__arrow-next { left: auto; }

  .prod-dif__cards-outer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 0 24px 0 !important;
    margin: -16px 0 -24px 0 !important;
    scrollbar-width: none;
  }
  .prod-dif__cards-outer::-webkit-scrollbar {
    display: none;
  }

  .prod-dif__cards {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: max-content !important;
    padding-right: 40px !important;
  }

  .prod-dif__card {
    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    height: 330px;
    min-height: 330px;
    padding: 28px;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .prod-faq__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .prod-tabs-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 12px;
  }
  .prod-tabs-arrow img {
    width: 32px;
    height: 20px;
  }

  .prod-dif__cards {
    gap: 16px !important;
    width: max-content !important;
    padding-right: 32px !important;
  }

  .prod-dif__card {
    flex: 0 0 84vw !important;
    width: 84vw !important;
    min-width: 84vw !important;
    max-width: 330px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    height: auto !important;
    min-height: 290px !important;
    padding: 24px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .prod-dif__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .prod-dif__card-tag {
    font-size: 12px;
    height: 28px;
    padding: 0 12px;
    white-space: nowrap;
    border-radius: 100px;
  }

  .prod-dif__card-badge-icon {
    width: 38px;
    height: 38px;
  }

  .prod-dif__card-badge-icon svg {
    width: 18px;
    height: 18px;
  }

  .prod-dif__card-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .prod-dif__card-title {
    font-size: 24px;
    letter-spacing: -1px;
  }

  .prod-dif__card-text {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
  }

  .prod-faq__title {
    font-size: clamp(28px, 8vw, 44px);
  }
}
