/* ========================================================
   ESTILOS DE PLANOS & SERVIÇOS ADICIONAIS - PLUS WEB
   Padronizado proporcionalmente ao Oficina Conect
   ======================================================== */

/* Reset de Containers para a página de Planos (anulando overrides do custom.css) */
#precos,
#secao-adicionais,
.cta-section {
  width: 100%;
  box-sizing: border-box;
}

#precos .container,
#secao-adicionais .container,
.cta-section .container {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  display: block !important;
  box-sizing: border-box !important;
}

#precos .row,
#secao-adicionais .row,
.cta-section .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
  justify-content: center !important;
}

#precos .col-lg-4,
#precos .col-md-6 {
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box !important;
}

/* ----- TÍTULOS DE SEÇÃO ----- */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3.5rem;
  color: #2c3e50;
  position: relative;
  font-family: "Inter", sans-serif;
  line-height: 1.2;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #0073e6 0%, #00a859 100%);
  border-radius: 2px;
}

/* ----- SEÇÃO DE PREÇOS (3 PLANOS) ----- */
#precos {
  background-color: #f8fafc;
  padding: 5rem 0 4rem 0;
}

.pricing-card {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 3rem 2rem 2.2rem 2rem;
  box-sizing: border-box;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  font-family: "Inter", sans-serif;
  max-width: 100%;
}

.pricing-card:hover {
  border-color: #0073e6;
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 115, 230, 0.12);
}

.pricing-card.featured {
  border-color: #0073e6;
  box-shadow: 0 12px 35px rgba(0, 115, 230, 0.16);
}

.pricing-badge {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0073e6 0%, #0056b3 100%);
  color: #ffffff;
  padding: 6px 22px;
  border-radius: 0 0 16px 16px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-align: center;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0073e6;
  margin-bottom: 0.5rem;
  text-align: center;
  word-wrap: break-word;
}

.pricing-period {
  color: #6c757d;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: normal;
}

.pricing-features {
  flex-grow: 1;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  overflow: visible;
  max-height: none;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  word-break: break-word;
  font-size: 0.95rem;
  color: #4b5563;
  border-bottom: 1px dashed #f1f5f9;
}

.pricing-features li::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pricing-features .nao-incluido {
  color: #9ca3af;
  text-decoration: line-through;
}

.pricing-features .nao-incluido::before {
  content: "✕";
  color: #ef4444;
  font-weight: bold;
  margin-right: 0.75rem;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-align: center;
  display: block;
}

.pricing-card .btn-primary {
  background-color: #0073e6;
  border: 2px solid #0073e6;
  color: #ffffff;
}

.pricing-card .btn-primary:hover {
  background-color: #005bb5;
  border-color: #005bb5;
}

.pricing-card .btn-outline-primary {
  color: #0073e6;
  border: 2px solid #0073e6;
  background-color: transparent;
}

.pricing-card .btn-outline-primary:hover {
  background-color: #0073e6;
  color: #ffffff;
}

/* ========================================================
   SERVIÇOS ADICIONAIS - GRID E CARDS
   ======================================================== */
#secao-adicionais {
  background-color: #ffffff;
  padding: 4rem 0 6rem 0;
}

#titulo-servicos-adicionais {
  display: flex !important;
  justify-content: center !important;
  padding-top: 20px;
  padding-bottom: 25px;
  text-align: center;
  width: 100%;
}

#titulo-servicos-adicionais h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
  font-weight: 800;
  position: relative;
  line-height: 1.2;
  color: #2c3e50;
  font-family: "Inter", sans-serif;
}

#secao-adicionais #cards.cards,
.container #cards.cards {
  padding: 20px 0 30px 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.card-adicional-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.card-adicional-modern {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.card-adicional-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
  border-color: #cbd5e1;
}

.card-adicional-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  min-height: 44px;
}

.card-adicional-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.card-adicional-icon img {
  max-width: 44px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.badge-tag {
  background-color: #ebf5ff;
  color: #0073e6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-adicional-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-adicional-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  text-align: left;
  line-height: 1.2;
}

.card-adicional-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 20px 0;
  text-align: left;
  min-height: 44px;
}

.bancos-homologados-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
}

.bancos-homologados-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: left;
}

.bancos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.banco-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.2px;
}

.banco-logo-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
  display: block;
}

.card-adicional-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-adicional-pricing-box {
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
  width: 100%;
  box-sizing: border-box;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.pricing-tier {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pricing-tier .tier-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.pricing-tier .tier-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 2px;
}

.pricing-amount {
  text-align: right;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-amount .price-val {
  font-size: 22px;
  font-weight: 700;
  color: #0073e6;
}

.pricing-amount .price-unit {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.pricing-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 12px 0;
  width: 100%;
}

.btn-conhecer-mais {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border: 2px solid #0073e6;
  border-radius: 50px;
  color: #0073e6;
  background-color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-conhecer-mais:hover {
  background-color: #0073e6;
  color: #ffffff !important;
}

/* ----- CTA SECTION ----- */
.gradient-bg {
  background: linear-gradient(135deg, #0073e6 0%, #004c99 100%) !important;
}

.cta-section {
  padding: 5rem 0 !important;
  color: #ffffff !important;
}

.cta-section h2 {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.2rem !important;
  color: #ffffff !important;
  font-family: "Inter", sans-serif !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

.cta-section p,
.cta-section .lead {
  font-size: 1.25rem !important;
  color: #ffffff !important;
  opacity: 0.95 !important;
  margin-bottom: 2.5rem !important;
  text-align: center !important;
  line-height: 1.5 !important;
}

.cta-section b,
.cta-section strong {
  color: #ffffff !important;
}

.cta-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.cta-buttons .btn {
  border-radius: 50px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.cta-buttons .btn-light {
  background-color: #ffffff !important;
  color: #0073e6 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.cta-buttons .btn-light i {
  color: #25d366 !important;
  font-size: 1.25rem !important;
}

.cta-buttons .btn-light:hover {
  background-color: #f8fafc !important;
  color: #005bb5 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.cta-buttons .btn-outline-light {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
}

.cta-buttons .btn-outline-light i {
  color: #ffffff !important;
  font-size: 1.1rem !important;
}

.cta-buttons .btn-outline-light:hover {
  background-color: #ffffff !important;
  color: #0073e6 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.cta-buttons .btn-outline-light:hover i {
  color: #0073e6 !important;
}

/* Floating WhatsApp Icon */
.icone-whats img {
  position: fixed;
  bottom: 75px;
  right: 15px;
  z-index: 1000;
  height: 60px;
  display: inline-block;
  cursor: pointer;
  animation: pulse 1s infinite;
}

/* Responsive Media Queries */
@media only screen and (max-width: 1100px) {
  #secao-adicionais #cards.cards,
  .container #cards.cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media only screen and (max-width: 768px) {
  #secao-adicionais #cards.cards,
  .container #cards.cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .pricing-card {
    margin-bottom: 25px;
  }

  .card-adicional-modern {
    padding: 24px 20px;
    border-radius: 20px;
  }

  #titulo-servicos-adicionais h2,
  .section-title {
    font-size: 1.8rem;
  }
}
