/* Planos FacilitaOS — layout v2 */

.fx-planos-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 5rem 0 0;
}

.fx-planos-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .fx-planos-wrap {
    padding: 0 1.5rem;
  }
}

.fx-planos-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.fx-planos-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1565e0;
  margin-bottom: 0.75rem;
}

.fx-planos-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #13205c;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.fx-planos-subtitle {
  font-size: 0.95rem;
  color: #5a6b8c;
  line-height: 1.6;
}

.fx-planos-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.fx-planos-toggle span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.2s;
}

.fx-planos-toggle span.is-active {
  color: #13205c;
}

.fx-planos-toggle .fx-save {
  color: #16a34a;
  font-size: 0.7rem;
  font-weight: 800;
}

.fx-planos-switch {
  width: 3rem;
  height: 1.75rem;
  border-radius: 999px;
  border: none;
  background: #e2e8f0;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.fx-planos-switch[aria-checked="true"] {
  background: #1565e0;
}

.fx-planos-switch-knob {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(19, 32, 92, 0.2);
  transition: transform 0.2s;
}

.fx-planos-switch[aria-checked="true"] .fx-planos-switch-knob {
  transform: translateX(1.25rem);
}

.fx-planos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .fx-planos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .fx-planos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fx-plan-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 24px rgba(19, 32, 92, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fx-plan-card:hover {
  box-shadow: 0 12px 36px rgba(19, 32, 92, 0.09);
  transform: translateY(-2px);
}

.fx-plan-card--featured {
  border: 2px solid #5b6cf0;
  box-shadow: 0 8px 32px rgba(91, 108, 240, 0.15);
}

.fx-plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #5b6cf0, #1565e0);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.fx-plan-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.fx-plan-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.fx-plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.fx-plan-desc {
  font-size: 0.78rem;
  color: #5a6b8c;
  line-height: 1.45;
  min-height: 2.6rem;
  margin-bottom: 1rem;
}

.fx-plan-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: #13205c;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.fx-plan-price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

.fx-plan-annual-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.fx-plan-features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex: 1;
}

.fx-plan-features li {
  display: grid;
  grid-template-columns: 1.1rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.42rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.76rem;
  color: #1f2a44;
}

.fx-plan-features li:last-child {
  border-bottom: none;
}

.fx-plan-features .fx-feat-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-plan-features .fx-feat-icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

.fx-plan-features .fx-val {
  font-weight: 800;
  font-size: 0.78rem;
}

.fx-plan-features .fx-ok,
.fx-plan-features .fx-no {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.fx-plan-features .fx-ok {
  color: #16a34a;
}

.fx-plan-features .fx-no {
  color: #dc2626;
}

.fx-plan-features .fx-ok svg,
.fx-plan-features .fx-no svg {
  width: 1rem;
  height: 1rem;
}

.fx-plan-storage {
  font-size: 0.78rem;
  color: #5a6b8c;
  margin-bottom: 1rem;
}

.fx-plan-storage strong {
  font-weight: 800;
}

.fx-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: auto;
}

.fx-plan-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.fx-plan-btn--outline {
  background: #fff;
  border: 2px solid currentColor;
}

.fx-plan-btn--solid {
  color: #fff !important;
  border: 2px solid transparent;
}

/* Temas */
.fx-plan-card--light .fx-plan-icon { background: #e8f1fe; color: #1565e0; }
.fx-plan-card--light .fx-plan-name { color: #1565e0; }
.fx-plan-card--light .fx-plan-annual-pill { background: #e8f1fe; color: #1565e0; }
.fx-plan-card--light .fx-val { color: #1565e0; }
.fx-plan-card--light .fx-plan-storage strong { color: #1565e0; }
.fx-plan-card--light .fx-plan-btn--outline { color: #1565e0; }

.fx-plan-card--basic .fx-plan-icon { background: #e7f9ef; color: #16a34a; }
.fx-plan-card--basic .fx-plan-name { color: #16a34a; }
.fx-plan-card--basic .fx-plan-annual-pill { background: #e7f9ef; color: #16a34a; }
.fx-plan-card--basic .fx-val { color: #16a34a; }
.fx-plan-card--basic .fx-plan-storage strong { color: #16a34a; }
.fx-plan-card--basic .fx-plan-btn--outline { color: #16a34a; }

.fx-plan-card--pro .fx-plan-icon { background: #ede9fe; color: #6d28d9; }
.fx-plan-card--pro .fx-plan-name { color: #6d28d9; }
.fx-plan-card--pro .fx-plan-annual-pill { background: #ede9fe; color: #6d28d9; }
.fx-plan-card--pro .fx-val { color: #6d28d9; }
.fx-plan-card--pro .fx-plan-storage strong { color: #6d28d9; }
.fx-plan-card--pro .fx-plan-btn--solid { background: linear-gradient(135deg, #5b6cf0, #1565e0); }

.fx-plan-card--advanced .fx-plan-icon { background: #fff4e6; color: #ea580c; }
.fx-plan-card--advanced .fx-plan-name { color: #ea580c; }
.fx-plan-card--advanced .fx-plan-annual-pill { background: #fff4e6; color: #ea580c; }
.fx-plan-card--advanced .fx-val { color: #ea580c; }
.fx-plan-card--advanced .fx-plan-storage strong { color: #ea580c; }
.fx-plan-card--advanced .fx-plan-btn--outline { color: #ea580c; }

/* Trust bar */
.fx-planos-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 2rem 1.5rem 2.5rem;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .fx-planos-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fx-planos-trust {
    grid-template-columns: repeat(4, 1fr);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.fx-trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.fx-trust-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fx-trust-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.fx-trust-item:nth-child(1) .fx-trust-icon { background: #e8f1fe; color: #1565e0; }
.fx-trust-item:nth-child(2) .fx-trust-icon { background: #e7f9ef; color: #16a34a; }
.fx-trust-item:nth-child(3) .fx-trust-icon { background: #ede9fe; color: #6d28d9; }
.fx-trust-item:nth-child(4) .fx-trust-icon { background: #fff4e6; color: #ea580c; }

.fx-trust-item strong {
  display: block;
  font-size: 0.82rem;
  color: #13205c;
  margin-bottom: 0.15rem;
}

.fx-trust-item span {
  font-size: 0.72rem;
  color: #5a6b8c;
  line-height: 1.45;
}
