/* ──────────────── COMPARATIVO DE FRETES ──────────────── */
.freight-compare-section {
  position: relative;
  padding: 4.5rem 1.5rem 6rem;
  background: transparent;
}

.freight-compare-section::after {
  content: none;
}

.freight-compare-in-plans {
  margin-top: 4.5rem;
  padding: 4.5rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.freight-compare-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.freight-compare-heading {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 2.1rem;
  text-align: center;
}

.freight-compare-title {
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(1.35rem, 2.25vw, 1.88rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: normal;
  text-transform: uppercase;
}

.freight-compare-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 100%);
  margin: 1.05rem auto 1.15rem;
  gap: 0.75rem;
}

.freight-compare-rule-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(44, 67, 100, 0.03) 0%, rgba(44, 67, 100, 0.18) 100%);
}

.freight-compare-rule-line.is-reversed {
  background: linear-gradient(90deg, rgba(44, 67, 100, 0.18) 0%, rgba(44, 67, 100, 0.03) 100%);
}

.freight-compare-rule-symbol {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.freight-compare-subtitle {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--brand-gray-text);
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 1.55;
}

@media (min-width: 980px) {
  .freight-compare-title,
  .freight-compare-subtitle {
    white-space: nowrap;
  }
}

.freight-simulation-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 1.8rem;
}

.freight-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 3.7rem;
  padding: 0.76rem 1rem;
  border: 1px solid #d7e2ee;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: 0 12px 30px rgba(44, 67, 100, 0.09);
}

.freight-meta-label {
  color: #66788d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.freight-meta-value {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.68rem;
  border-radius: 0.72rem;
  background: rgba(44, 67, 100, 0.08);
  color: var(--brand-navy);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.freight-route-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.freight-route-tab {
  appearance: none;
  min-height: 3rem;
  padding: 0.82rem 1.22rem;
  border: 1px solid #d6e1ec;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: 0 8px 22px rgba(44, 67, 100, 0.08);
  color: #5d7086;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.freight-route-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 67, 100, 0.42);
  box-shadow: 0 12px 26px rgba(44, 67, 100, 0.13);
}

.freight-route-tab:focus-visible {
  outline: 3px solid rgba(255, 205, 0, 0.42);
  outline-offset: 3px;
}

.freight-route-tab.is-active {
  border-color: var(--brand-navy);
  background: linear-gradient(180deg, #314f78 0%, var(--brand-navy) 100%);
  box-shadow: 0 14px 30px rgba(44, 67, 100, 0.22);
  color: #fff;
}

.freight-compare-card {
  overflow: hidden;
  border: 1px solid #e1e9f2;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(44, 67, 100, 0.1);
}

.freight-card-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  min-height: 112px;
  padding: 0;
  background: linear-gradient(112deg, var(--brand-navy) 0%, #213a5b 100%);
  color: #fff;
}

.freight-route-summary,
.freight-saving-highlight {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 1.1rem 1.4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
}

.freight-route-summary::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 0;
  width: 2px;
  height: calc(100% - 28px);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.2) 18%, rgba(255,255,255,0.2) 82%, rgba(255,255,255,0.05) 100%);
}

.freight-route-label,
.freight-saving-label {
  margin: 0;
  color: rgba(222, 235, 249, 0.92);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.freight-route-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
}

.freight-route-short {
  color: #fff;
  font-size: clamp(1.72rem, 2.95vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  white-space: nowrap;
}

.freight-route-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.freight-saving-highlight {
  background: rgba(7, 29, 55, 0.14);
  color: #fff;
}

.freight-saving-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  color: var(--brand-yellow-bright);
  line-height: 1;
}

.freight-max-saving {
  margin-left: 0;
  color: var(--brand-yellow-bright);
  font-size: clamp(2.35rem, 4.25vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: none;
}

.freight-saving-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.62rem 1.28rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 0.88rem;
  background: var(--brand-yellow-bright);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.26);
  color: var(--brand-navy);
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.freight-table-wrap {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.freight-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
}

.freight-table th,
.freight-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid #eaf0f5;
  text-align: center;
}

.freight-table th {
  background: #f7f9fc;
  color: #52637a;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  vertical-align: middle;
}

.freight-table th:first-child {
  text-align: center;
}

.freight-table td:first-child {
  text-align: center;
}

.freight-table th.is-best {
  background: rgba(255, 205, 0, 0.18);
  color: var(--brand-navy);
}

.freight-table thead th + th {
  border-left: 1px solid #dfe6ee;
}

.freight-table tbody td + td {
  border-left: 1px solid #eef3f7;
}

.freight-table thead th {
  text-align: center;
}

.freight-table thead th.is-best {
  box-shadow: inset 0 0 0 1px rgba(252, 205, 4, 0.18);
}

.freight-table tbody tr:last-child td {
  border-bottom: 0;
}

.freight-table tbody tr:hover td {
  background: #fbfdff;
}

.freight-table tbody tr:hover td.is-best {
  background: rgba(255, 205, 0, 0.13);
}

.freight-carrier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--brand-navy);
  font-size: 0.96rem;
  font-weight: 800;
}

.freight-carrier-only-logo {
  justify-content: center;
}

.freight-carrier-logo-wrap,
.freight-carrier-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 7rem;
  height: 2.75rem;
  padding: 0.24rem 0.5rem;
  border: 1px solid #e6edf4;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(44, 67, 100, 0.06);
}

.freight-carrier-logo-wrap.is-correios {
  min-width: 7.8rem;
}

.freight-carrier-logo-wrap.is-loggi {
  min-width: 6.5rem;
}

.freight-carrier-logo-wrap.is-jadlog {
  min-width: 6.15rem;
}

.freight-carrier-logo-wrap.is-pac {
  min-width: 6.3rem;
}

.freight-carrier-logo {
  display: block;
  max-width: 100%;
  max-height: 1.8rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.freight-carrier-mark {
  color: var(--brand-navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.freight-carrier-name {
  display: none;
}

.freight-value {
  color: var(--brand-navy);
  font-size: 1.04rem;
  font-weight: 800;
  white-space: nowrap;
}

.freight-value-muted {
  color: #708196;
}

.freight-table td.is-best {
  position: relative;
  background: rgba(255, 205, 0, 0.09);
}

.freight-best-value {
  font-size: 1.12rem;
  font-weight: 900;
}

.freight-save-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.28rem;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #087a46;
  font-size: 0.62rem;
  font-weight: 900;
  white-space: nowrap;
}

.freight-compare-note {
  padding: 0.95rem 1.25rem;
  border-top: 1px solid #edf2f7;
  background: #fbfcfe;
  color: #738298;
  font-size: 0.7rem;
  line-height: 1.55;
  text-align: center;
}

.freight-compare-note strong {
  color: #56687e;
}


@media (max-width: 700px) {
  .freight-carrier {
    gap: 0;
  }

  .freight-carrier-logo-wrap,
  .freight-carrier-mark {
    min-width: 5.7rem;
    height: 2.35rem;
    padding-inline: 0.38rem;
  }

  .freight-carrier-logo-wrap.is-correios {
    min-width: 6.5rem;
  }

  .freight-carrier-logo {
    max-height: 1.55rem;
  }
}

@media (max-width: 900px) {
  .freight-card-top {
    min-height: 104px;
  }

  .freight-route-summary,
  .freight-saving-highlight {
    padding-inline: 1.2rem;
  }

  .freight-route-label,
  .freight-saving-label {
    font-size: 0.84rem;
  }

  .freight-route-short {
    font-size: clamp(1.56rem, 4.9vw, 2.35rem);
  }

  .freight-max-saving {
    font-size: clamp(2.18rem, 6vw, 3.25rem);
  }

  .freight-saving-plan {
    min-height: 42px;
    font-size: 1rem;
  }
}

@media (max-width: 700px) {
  .freight-compare-section {
    padding: 3.75rem 1rem;
  }

  .freight-compare-in-plans {
    margin-top: 3rem;
    padding: 3rem 0 0;
    border-radius: 0;
  }

  .freight-compare-heading {
    margin-bottom: 1.5rem;
  }

  .freight-compare-title {
    font-size: 1.16rem;
    line-height: 1.18;
  }

  .freight-compare-rule {
    width: min(320px, 92%);
    margin-block: 0.85rem 0.95rem;
  }

  .freight-compare-rule-symbol {
    width: 25px;
    height: 25px;
  }

  .freight-compare-subtitle {
    max-width: 21rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .freight-simulation-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: min(100%, 22rem);
    margin: 1.2rem auto 1.4rem;
  }

  .freight-meta-pill {
    width: 100%;
    min-height: 3.45rem;
    justify-content: space-between;
    padding: 0.72rem 0.9rem;
    border-radius: 1rem;
  }

  .freight-meta-label {
    font-size: 0.8rem;
  }

  .freight-meta-value {
    min-height: 1.9rem;
    padding-inline: 0.62rem;
    font-size: 0.94rem;
  }

  .freight-route-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    width: min(100%, 22rem);
    margin: 0 auto 1rem;
    padding: 0;
    overflow: visible;
  }

  .freight-route-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.72rem 0.8rem;
    text-align: center;
    white-space: normal;
    line-height: 1.12;
    font-size: 0.78rem;
    box-shadow: 0 8px 20px rgba(44, 67, 100, 0.08);
  }

  .freight-compare-card {
    border-radius: 1rem;
  }

  .freight-card-top {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .freight-route-summary,
  .freight-saving-highlight {
    padding: 0.9rem 1rem 0.95rem;
    gap: 0.38rem;
  }

  .freight-route-summary::after {
    top: auto;
    right: 18px;
    bottom: 0;
    width: calc(100% - 32px);
    height: 1px;
  }

  .freight-route-label,
  .freight-saving-label {
    font-size: 0.82rem;
  }

  .freight-route-short {
    font-size: clamp(1.46rem, 8vw, 2.05rem);
  }

  .freight-max-saving {
    font-size: clamp(1.88rem, 11vw, 2.6rem);
  }

  .freight-saving-plan {
    min-height: 38px;
    padding-inline: 0.95rem;
    font-size: 0.94rem;
  }

  .freight-table th,
  .freight-table td {
    padding: 0.9rem 0.65rem;
  }
}

@media (max-width: 420px) {
  .freight-route-label,
  .freight-saving-label {
    font-size: 0.86rem;
  }

  .freight-route-short {
    font-size: 1.72rem;
  }

  .freight-max-saving {
    font-size: 2.3rem;
  }
}

@media (max-width: 390px) {
  .freight-simulation-meta,
  .freight-route-tabs {
    width: 100%;
  }

  .freight-route-tabs {
    grid-template-columns: 1fr;
  }

  .freight-meta-pill {
    padding-inline: 0.82rem;
  }

  .freight-route-tab {
    min-height: 3rem;
    font-size: 0.8rem;
  }
}

/* ──────────────── DIFERENCIAL DE FRETE NAS PÁGINAS DE PLANO ──────────────── */
.cp-freight-section {
  position: relative;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 160, 23, 0.1), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(255, 241, 18, 0.055), transparent 28%),
    linear-gradient(180deg, #0f1218 0%, #111318 100%);
}

.cp-freight-section::before {
  content: none;
}

.cp-freight-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

.cp-freight-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.cp-freight-header--merged {
  gap: 0;
  margin-bottom: 2.8rem;
}

.cp-freight-header-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
}

.cp-freight-header-main .hero-cp-rule {
  margin: 0 auto;
}

.cp-freight-header-main .cp-freight-desc {
  max-width: 760px;
}

.cp-freight-subheader {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.cp-freight-subtitle {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cp-freight-subtitle .highlight-yellow {
  display: inline-block;
  padding: 0.02em 0.25em;
  border-radius: 0.3rem;
  background: var(--cp-yellow, #fff112);
  color: var(--cp-bg, #0d0f14);
  line-height: 1.12;
}
.cp-freight-subrule {
  width: min(540px, 100%);
  margin: 1rem auto 0.95rem;
}

.cp-freight-subrule .hero-cp-rule-symbol {
  width: 30px;
  height: 30px;
}

.cp-freight-desc--compact {
  max-width: 680px;
  margin-top: 1.1rem;
}

.cp-freight-kicker {
  display: none !important;
}

.cp-freight-header.entered .cp-freight-kicker {
  opacity: 1;
  transform: none;
}

.cp-freight-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cp-freight-title .highlight-yellow {
  display: inline-block;
  padding: 0.02em 0.25em;
  border-radius: 0.3rem;
  background: var(--cp-yellow, #fff112);
  color: var(--cp-bg, #0d0f14);
  line-height: 1.12;
}

.cp-freight-header .hero-cp-rule {
  margin: 1.35rem auto 1.2rem;
}

.cp-freight-desc {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.96rem;
  line-height: 1.75;
}

.cp-freight-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
  text-align: center;
}

.cp-freight-action p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
  line-height: 1.6;
}

.cp-freight-action .btn-cp-primary {
  flex: 0 0 auto;
}

.cp-freight-button-badge {
  font-size: inherit;
}

.plan-freight-differential {
  --pfd-bg: #151820;
  --pfd-surface: #1a1e27;
  --pfd-surface-strong: #10131a;
  --pfd-border: rgba(255, 255, 255, 0.09);
  --pfd-text: #fff;
  --pfd-muted: rgba(255, 255, 255, 0.52);
  --pfd-accent: #fff112;
  --pfd-accent-text: #101318;
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--pfd-border);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(26, 30, 39, 0.98) 0%, rgba(17, 20, 27, 0.99) 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  color: var(--pfd-text);
}

.plan-freight-differential::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 18, 0.72), transparent);
  pointer-events: none;
}

.plan-freight-differential--upgrade {
  max-width: 680px;
  margin: 0.75rem auto 0.35rem;
  border-color: rgba(255, 241, 18, 0.13);
  background: linear-gradient(180deg, rgba(25, 29, 37, 0.96) 0%, rgba(15, 18, 24, 0.98) 100%);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.plan-freight-differential--plus {
  max-width: 1080px;
  margin: 0 auto;
  border-color: rgba(212, 160, 23, 0.26);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 241, 18, 0.025) inset;
}

.pfd-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--pfd-border);
  background: rgba(255, 255, 255, 0.018);
}

.pfd-intro-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 0.35rem;
  text-align: left;
}

.pfd-kicker {
  color: var(--pfd-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pfd-comparison-label {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.pfd-comparison-label span {
  margin-inline: 0.22rem;
  color: var(--pfd-accent);
}

.pfd-simulation-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.38rem 0.65rem;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
}

.pfd-simulation-meta span {
  position: relative;
  white-space: nowrap;
}

.pfd-simulation-meta span + span {
  padding-left: 0.65rem;
}

.pfd-simulation-meta span + span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 241, 18, 0.65);
  transform: translateY(-50%);
}

.pfd-route-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 1rem 1.25rem 0;
}

.pfd-route-tab {
  appearance: none;
  min-height: 42px;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.pfd-route-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 241, 18, 0.28);
  color: #fff;
}

.pfd-route-tab:focus-visible {
  outline: 3px solid rgba(255, 241, 18, 0.35);
  outline-offset: 2px;
}

.pfd-route-tab.is-active {
  border-color: var(--pfd-accent);
  background: var(--pfd-accent);
  box-shadow: 0 8px 22px rgba(255, 241, 18, 0.16);
  color: var(--pfd-accent-text);
}

.pfd-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  margin: 0.8rem 1.25rem 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: var(--pfd-surface-strong);
}

.pfd-route-readout,
.pfd-max-readout {
  display: flex;
  min-width: 0;
  padding: 0.85rem 1rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.pfd-route-readout {
  align-items: flex-start;
  text-align: left;
}

.pfd-max-readout {
  min-width: 176px;
  align-items: flex-end;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 241, 18, 0.035);
  text-align: right;
}

.pfd-route-readout > span,
.pfd-max-readout > span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pfd-route-readout strong {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pfd-max-readout strong {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.pfd-max-readout strong span {
  margin-right: 0.28rem;
  color: var(--pfd-accent);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: none;
}

.pfd-carrier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.9rem 1.25rem 1.1rem;
}

.pfd-carrier-card {
  display: flex;
  min-width: 0;
  min-height: 210px;
  padding: 0.9rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.pfd-carrier-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 241, 18, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

.pfd-carrier-brand,
.pfd-carrier-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.pfd-carrier-fallback {
  color: #2c4364;
  font-size: 0.76rem;
  font-weight: 900;
}

.pfd-carrier-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 1.75rem;
  object-fit: contain;
}

.pfd-carrier-brand.is-correios .pfd-carrier-logo {
  max-height: 1.9rem;
}

.pfd-carrier-brand.is-pac .pfd-carrier-logo {
  max-height: 1.8rem;
}

.pfd-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.38rem;
}

.pfd-value-block {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
}

.pfd-value-block--from {
  align-items: flex-start;
  text-align: left;
}

.pfd-value-block--to {
  align-items: flex-end;
  text-align: right;
}

.pfd-value-label {
  min-height: 2.35em;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
}

.pfd-value-label--premium {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.pfd-premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.38rem;
  padding: 0.16rem 0.42rem 0.18rem;
  border-radius: 0.36rem;
  background: #fccd04;
  color: #0e345c;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0.08em 0.22em rgba(14, 52, 92, 0.12);
}

.pfd-value {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.pfd-value-block--to .pfd-value {
  color: var(--pfd-accent);
  font-size: 1.08rem;
  font-weight: 900;
}

.pfd-value-arrow {
  color: rgba(255, 241, 18, 0.55);
  font-size: 0.9rem;
  font-weight: 900;
}

.pfd-saving {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem 0.45rem;
  margin-top: auto;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pfd-saving-label {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.pfd-saving strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.pfd-saving-percent {
  grid-column: 1 / -1;
  justify-self: stretch;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 241, 18, 0.09);
  color: var(--pfd-accent);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.pfd-note {
  margin: 0;
  padding: 0.85rem 1.25rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
  line-height: 1.55;
  text-align: center;
}

.pfd-note strong {
  color: rgba(255, 255, 255, 0.52);
}

.pfd-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;
}

/* Variante compacta dentro da chamada do Clube+ na página Clube de Envios */
.plan-freight-differential--upgrade .pfd-carrier-grid {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.plan-freight-differential--upgrade .pfd-carrier-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 124px;
  align-items: center;
  min-height: 0;
  padding: 0.78rem;
  gap: 0.95rem;
}

.plan-freight-differential--upgrade .pfd-carrier-brand,
.plan-freight-differential--upgrade .pfd-carrier-fallback {
  height: 42px;
}

.plan-freight-differential--upgrade .pfd-values {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.plan-freight-differential--upgrade .pfd-value-label {
  min-height: auto;
}

.plan-freight-differential--upgrade .pfd-value-block--to {
  gap: 0.28rem;
}

.plan-freight-differential--upgrade .pfd-value-block--to .pfd-value {
  font-size: 0.98rem;
}


.plan-freight-differential--upgrade .pfd-saving {
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0 0 0 0.85rem;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
}

.plan-freight-differential--upgrade .pfd-saving-label,
.plan-freight-differential--upgrade .pfd-saving strong {
  text-align: right;
}

.plan-freight-differential--upgrade .pfd-saving-percent {
  grid-column: auto;
  justify-self: end;
  min-width: 58px;
}

.plan-freight-differential--upgrade .pfd-simulation-meta {
  gap: 0.42rem 0.75rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
}

.plan-freight-differential--upgrade .pfd-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-freight-differential--upgrade .pfd-route-readout,
.plan-freight-differential--upgrade .pfd-max-readout {
  align-items: center;
  padding: 0.92rem 1rem;
  text-align: center;
}

.plan-freight-differential--upgrade .pfd-route-readout {
  justify-content: center;
}

.plan-freight-differential--upgrade .pfd-max-readout {
  min-width: 0;
}

.plan-freight-differential--upgrade .pfd-route-readout strong {
  font-size: 1.18rem;
}

.plan-freight-differential--upgrade .pfd-max-readout strong {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.3rem;
}

.plan-freight-differential--upgrade .pfd-max-readout strong span {
  margin-right: 0;
}

.plan-freight-differential--upgrade .pfd-carrier-card {
  grid-template-columns: 112px minmax(0, 1fr) 116px;
  padding: 0.82rem 0.88rem;
  gap: 0.8rem;
}

.plan-freight-differential--upgrade .pfd-values {
  width: 100%;
  max-width: 350px;
  justify-self: center;
  gap: 0.42rem;
}

.plan-freight-differential--upgrade .pfd-value-label {
  font-size: 0.58rem;
}

.plan-freight-differential--upgrade .pfd-value-arrow {
  font-size: 0.96rem;
}

.plan-freight-differential--upgrade .pfd-saving {
  justify-items: center;
  align-content: center;
  gap: 0.22rem;
  padding: 0 0 0 0.75rem;
  text-align: center;
}

.plan-freight-differential--upgrade .pfd-saving-label,
.plan-freight-differential--upgrade .pfd-saving strong {
  text-align: center;
}

.plan-freight-differential--upgrade .pfd-saving strong {
  font-size: 0.9rem;
}

.plan-freight-differential--upgrade .pfd-saving-percent {
  justify-self: center;
}

.plan-freight-differential--upgrade .pfd-note {
  padding: 0.95rem 1.25rem 1.05rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

/* Animações alinhadas às páginas de plano */
.pfd-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(.22, 1, .36, 1);
}

.pfd-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.pfd-reveal .pfd-carrier-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(.22, 1, .36, 1),
    border-color 0.2s ease,
    background 0.2s ease;
}

.pfd-reveal.is-visible .pfd-carrier-card {
  opacity: 1;
  transform: none;
}

.pfd-reveal.is-visible .pfd-carrier-card:nth-child(1) { transition-delay: 0.08s; }
.pfd-reveal.is-visible .pfd-carrier-card:nth-child(2) { transition-delay: 0.16s; }
.pfd-reveal.is-visible .pfd-carrier-card:nth-child(3) { transition-delay: 0.24s; }
.pfd-reveal.is-visible .pfd-carrier-card:nth-child(4) { transition-delay: 0.32s; }

@media (max-width: 920px) {
  .cp-freight-inner {
    padding-block: 5rem;
  }

  .pfd-carrier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pfd-carrier-card {
    min-height: 196px;
  }
}

@media (max-width: 700px) {
  .cp-freight-inner {
    padding: 4rem 1rem;
  }

  .cp-freight-header {
    margin-bottom: 2rem;
  }

  .cp-freight-header--merged {
    margin-bottom: 2.2rem;
  }

  .cp-freight-header-main {
    gap: 1rem;
  }

  .cp-freight-subheader {
    margin-top: 1.65rem;
    padding-top: 1.65rem;
  }

  .cp-freight-subrule {
    margin: 0.9rem auto 0.8rem;
  }

  .cp-freight-title {
    font-size: clamp(1.55rem, 7.6vw, 2.15rem);
  }

  .cp-freight-subtitle {
    font-size: clamp(1.35rem, 6.8vw, 1.95rem);
  }

  .cp-freight-desc {
    max-width: 34rem;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .cp-freight-action {
    flex-direction: column;
    margin-top: 1.5rem;
  }

  .cp-freight-action .btn-cp-primary {
    width: min(100%, 22rem);
    justify-content: center;
  }

  .plan-freight-differential {
    border-radius: 1.1rem;
  }

  .pfd-intro {
    align-items: flex-start;
    padding: 1rem;
    flex-direction: column;
    gap: 0.7rem;
  }

  .pfd-simulation-meta {
    justify-content: flex-start;
    text-align: left;
  }

  .plan-freight-differential--upgrade .pfd-simulation-meta {
    font-size: 0.7rem;
    gap: 0.35rem 0.6rem;
  }

  .pfd-route-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.9rem 1rem 0;
  }

  .pfd-route-tab {
    min-height: 44px;
    font-size: 0.7rem;
  }

  .pfd-summary {
    grid-template-columns: 1fr 1fr;
    margin-inline: 1rem;
  }

  .pfd-route-readout,
  .pfd-max-readout {
    padding: 0.78rem 0.8rem;
  }

  .pfd-max-readout {
    min-width: 0;
  }

  .pfd-route-readout strong {
    font-size: 1.05rem;
  }

  .pfd-max-readout strong span {
    display: block;
    margin: 0 0 0.15rem;
    font-size: 1.35rem;
  }

  .pfd-carrier-grid,
  .plan-freight-differential--upgrade .pfd-carrier-grid {
    grid-template-columns: 1fr;
    padding: 0.8rem 1rem 1rem;
  }

  .pfd-carrier-card,
  .plan-freight-differential--upgrade .pfd-carrier-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
    padding: 0.75rem;
    gap: 0.7rem 0.8rem;
  }

  .pfd-carrier-brand,
  .pfd-carrier-fallback,
  .plan-freight-differential--upgrade .pfd-carrier-brand,
  .plan-freight-differential--upgrade .pfd-carrier-fallback {
    width: 92px;
    height: 43px;
  }

  .pfd-values {
    align-self: center;
  }

  .pfd-premium-badge {
    min-height: 1.28rem;
    padding-inline: 0.38rem;
    font-size: 0.54rem;
  }

  .pfd-saving,
  .plan-freight-differential--upgrade .pfd-saving {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 0;
  }

  .pfd-saving-label,
  .plan-freight-differential--upgrade .pfd-saving-label {
    text-align: left;
  }

  .pfd-saving strong,
  .plan-freight-differential--upgrade .pfd-saving strong {
    text-align: right;
  }

  .pfd-saving-percent,
  .plan-freight-differential--upgrade .pfd-saving-percent {
    grid-column: auto;
    justify-self: end;
    min-width: 56px;
  }

  .pfd-note {
    padding-inline: 1rem;
  }

  .plan-freight-differential--upgrade .pfd-note {
    font-size: 0.66rem;
  }
}

@media (max-width: 420px) {
  .cp-freight-inner {
    padding-inline: 0.85rem;
  }

  .cp-freight-kicker {
    font-size: 0.64rem;
  }

  .cp-freight-header-main .cp-freight-desc,
  .cp-freight-desc--compact {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .cp-freight-subheader {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
  }

  .pfd-route-tabs {
    gap: 0.45rem;
  }

  .pfd-route-tab {
    padding-inline: 0.45rem;
    font-size: 0.66rem;
  }

  .pfd-route-readout > span,
  .pfd-max-readout > span {
    font-size: 0.55rem;
  }

  .pfd-carrier-card,
  .plan-freight-differential--upgrade .pfd-carrier-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .pfd-carrier-brand,
  .pfd-carrier-fallback,
  .plan-freight-differential--upgrade .pfd-carrier-brand,
  .plan-freight-differential--upgrade .pfd-carrier-fallback {
    width: 82px;
    padding-inline: 0.45rem;
  }

  .pfd-value-label {
    font-size: 0.5rem;
  }

  .pfd-value {
    font-size: 0.86rem;
  }

  .pfd-value-block--to .pfd-value {
    font-size: 0.98rem;
  }

  .pfd-saving-label {
    font-size: 0.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfd-reveal,
  .pfd-reveal .pfd-carrier-card,
  .cp-freight-kicker {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
