  html { scroll-behavior:smooth; }
  .transfer-page { font-family:Poppins,Arial,sans-serif; color:#12243b; }
  .transfer-page #transfer-form, .transfer-page #transfer-result { scroll-margin-top:100px; }
  .tr-hero { background:#f6f8fc; border:1px solid #dce4f1; border-radius:18px; padding:2rem 1.1rem; }
  .tr-kicker { color:#174b9c; text-transform:uppercase; font-size:.83rem; letter-spacing:.06em; font-weight:800; }
  .tr-hero .tr-main-title { color:#112b54; font-size:clamp(1.75rem,3.25vw,3rem); line-height:1.16; letter-spacing:-.03em; font-weight:800; }
  .tr-hero p { font-size:1.04rem; line-height:1.65; max-width:62ch; color:#20314a; }
  .tr-card { background:#fff; border:1px solid #dce4f1; border-radius:18px; box-shadow:0 10px 26px rgba(20,55,97,.06); padding:1.5rem; }
  .tr-hero-panel { border-radius:18px; padding:1.6rem; background:#081b57; color:#fff; box-shadow:0 14px 32px rgba(9,32,86,.12); }
  .tr-hero-panel-kicker { color:#8db9ff; font-size:.82rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
  .tr-hero-checks li { color:#ffffff; font-size:.96rem; line-height:1.45; padding:.7rem 0; border-top:1px solid rgba(255,255,255,.16); position:relative; padding-left:1.45rem; }
  .tr-hero-checks li:first-child { border-top:0; padding-top:0; }
  .tr-hero-checks li::before { content:'✓'; position:absolute; left:0; top:.72rem; color:#4fe070; font-weight:800; }
  .tr-hero-checks li:first-child::before { top:.04rem; }
  .tr-hero-actions { margin-top:1rem; }
  .tr-hero-actions-note { margin-top:.65rem; color:#5d6d86; font-size:.9rem; }
  .tr-btn { display:inline-flex; align-items:center; justify-content:center; text-align:center; padding:.75rem 1.3rem; border-radius:999px; border:2px solid #174b9c; background:#174b9c; color:#fff!important; font-weight:700; text-decoration:none; }
  .tr-btn-outline { background:#fff; color:#174b9c!important; }
  .tr-btn:focus-visible { outline:3px solid #b08228; outline-offset:3px; }
  .tr-label { display:block; margin-bottom:.35rem; font-weight:650; font-size:.92rem; color:#172d4e; }
  .tr-field input, .tr-field select { width:100%; min-height:44px; padding:.55rem .75rem; border:1px solid #b6c5d8; border-radius:9px; color:#10294b; background:#fff; font-size:1rem; }
  .tr-field input:focus, .tr-field select:focus { outline:2px solid #174b9c; outline-offset:1px; }
  .tr-field small { font-size:.82rem; color:#405269; line-height:1.4; }
  .tr-legend { font-weight:750; font-size:1.2rem; color:#174b9c; margin-bottom:1rem; }
  .tr-result-box { border:1px solid #e0e7f1; border-radius:13px; padding:1.1rem; background:#f7f9fe; height:100%; }
  .tr-result-box span { display:block; color:#32475e; font-size:.88rem; }
  .tr-result-box strong { display:block; color:#102b57; font-size:1.55rem; font-weight:800; }
  .tr-result-box small { color:#45566f; font-size:.8rem; }

  /* Card principal: destaque condicionado à nova prestação. O resto mantém o visual azul. */
  .transfer-page .tr-comparison .tr-result-box--primary {
    background:#edf3ff;
    border:2px solid #adc5ee;
    box-shadow:0 10px 24px rgba(0,0,0,.10);
  }
  .transfer-page .tr-comparison .tr-result-box--primary strong {
    color:#112b54;
    font-size:2rem;
    line-height:1.12;
    font-weight:800;
    margin:.2rem 0 .35rem;
  }
  .transfer-page .tr-comparison .tr-result-box--primary span {
    color:#112b54;
    font-weight:700;
  }
  .transfer-page .tr-comparison .tr-result-box--primary small { color:#20314a; }
  .transfer-page .tr-comparison .tr-result-box--positive { background:#e3f5e8; border-color:#73c28c; }
  .transfer-page .tr-comparison .tr-result-box--positive span,
  .transfer-page .tr-comparison .tr-result-box--positive strong,
  .transfer-page .tr-comparison .tr-result-box--positive small { color:#14532d; }
  .transfer-page .tr-comparison .tr-result-box--negative { background:#fde8e7; border-color:#df8887; }
  .transfer-page .tr-comparison .tr-result-box--negative span,
  .transfer-page .tr-comparison .tr-result-box--negative strong,
  .transfer-page .tr-comparison .tr-result-box--negative small { color:#842029; }
  .tr-comparison { background:#103c78; color:#fff; padding:1.6rem; border-radius:18px; }
  .tr-comparison strong, .tr-comparison span { color:#fff; }
  .tr-result-message { padding:1rem 1.25rem; border:1px solid #d8a84d; background:#fff8e8; color:#403216; border-radius:11px; }
  .tr-cta { padding:2rem; border-radius:18px; background:#103b78; color:#fff; }
  .tr-cta h2, .tr-cta p { color:#fff; }
  .tr-table { font-size:.85rem; }
  .tr-note { color:#34465a; font-size:.91rem; line-height:1.55; }
  .tr-note a { color:#174b9c; }
  .tr-checkbox { min-width:20px; min-height:20px; vertical-align:middle; }
  .tr-points { display:grid; gap:.65rem; grid-template-columns:repeat(3,1fr); margin:1.4rem 0 0; }
  .tr-point { border-radius:11px; border:1px solid #d9e3f1; padding:.85rem .9rem; background:#fff; min-height:92px; }
  .tr-point span { display:block; color:#21324b; font-size:.94rem; line-height:1.25; margin-bottom:.3rem; }
  .tr-point strong { display:block; color:#855b0d; font-size:1.03rem; }
  @media(max-width:767px){.tr-points { grid-template-columns:1fr; } .tr-card{padding:1rem;} .tr-hero{padding:1.1rem;} .tr-hero-panel{padding:1.15rem;} .tr-hero-actions .d-flex{align-items:stretch;} .tr-hero-actions .tr-btn{width:100%;} }
body.falcao-lead-drawer-open {
  overflow: hidden;
}
.falcao-lead-drawer[hidden] {
  display: none !important;
}
.falcao-lead-drawer {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
}
.falcao-lead-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 12, 28, .66);
  cursor: pointer;
}
.falcao-lead-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  overflow-y: auto;
  background: #fff;
  color: #20242a;
  box-shadow: -20px 0 70px rgba(0,0,0,.28);
  padding: 2rem 2rem 2.5rem;
  transform: translateX(0);
}
.falcao-lead-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  width: 44px;
  height: 44px;
  margin: -.35rem -.35rem .25rem .75rem;
  border: 1px solid rgba(8,23,53,.16);
  border-radius: 50%;
  background: #fff;
  color: #081735;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.falcao-lead-kicker {
  margin: 0 0 .55rem;
  color: #80540a;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.falcao-lead-title {
  margin: 0;
  color: #081735;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.falcao-lead-intro {
  margin: 1rem 0 1.5rem;
  color: #4d5665;
  font-size: 1rem;
  line-height: 1.6;
}
.falcao-lead-progress {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.45rem;
}
.falcao-lead-progress span {
  height: 4px;
  flex: 1 1 0;
  border-radius: 999px;
  background: #e7e9ed;
}
.falcao-lead-progress span.is-active {
  background: #d8a128;
}
.falcao-lead-step[hidden] {
  display: none !important;
}
.falcao-lead-step-title {
  margin: 0 0 1rem;
  color: #081735;
  font-size: 1.15rem;
  font-weight: 700;
}
.falcao-lead-options {
  display: grid;
  gap: .75rem;
}
.falcao-lead-option {
  position: relative;
}
.falcao-lead-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.falcao-lead-option label {
  display: block;
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid #dfe3e9;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.falcao-lead-option label:hover {
  border-color: rgba(216,161,40,.8);
  transform: translateY(-1px);
}
.falcao-lead-option input:focus-visible + label {
  outline: 3px solid rgba(216,161,40,.35);
  outline-offset: 2px;
}
.falcao-lead-option input:checked + label {
  border-color: #d8a128;
  box-shadow: 0 0 0 3px rgba(216,161,40,.12);
}
.falcao-lead-option strong {
  display: block;
  color: #081735;
  font-size: 1rem;
}
.falcao-lead-option span {
  display: block;
  margin-top: .18rem;
  color: #68707d;
  font-size: .9rem;
}
.falcao-lead-next,
.falcao-lead-submit,
.falcao-lead-done {
  width: 100%;
  min-height: 50px;
  margin-top: 1.15rem;
}
.falcao-lead-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.2rem;
  padding: .8rem .9rem;
  border-radius: 12px;
  background: #f5f6f8;
}
.falcao-lead-selected strong {
  color: #081735;
}
.falcao-lead-change {
  border: 0;
  background: transparent;
  color: #9b6c08;
  font-weight: 700;
  cursor: pointer;
}
.falcao-lead-field {
  margin-bottom: .9rem;
}
.falcao-lead-field label {
  display: block;
  margin-bottom: .38rem;
  color: #252b35;
  font-size: .9rem;
  font-weight: 600;
}
.falcao-lead-field input {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  background: #fff;
  color: #20242a;
  font: inherit;
}
.falcao-lead-field input:focus {
  border-color: #d8a128;
  outline: 3px solid rgba(216,161,40,.12);
}
.falcao-lead-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: flex-start;
  margin-top: 1rem;
  color: #4d5665;
  font-size: .86rem;
  line-height: 1.45;
}
.falcao-lead-consent input {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
}
.falcao-lead-consent a {
  color: #8a620c;
}
.falcao-lead-note {
  margin: .9rem 0 0;
  color: #68707d;
  font-size: .84rem;
  line-height: 1.5;
}
.falcao-lead-status {
  min-height: 1.45rem;
  margin-top: .85rem;
  font-size: .9rem;
}
.falcao-lead-status.is-error {
  color: #a22b2b;
}
.falcao-lead-success {
  padding-top: 1.5rem;
  text-align: center;
}
.falcao-lead-success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(216,161,40,.14);
  color: #9b6c08;
  font-size: 2rem;
}
.falcao-lead-success h3 {
  color: #081735;
  font-size: 1.75rem;
}
.falcao-lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 575.98px) {
  .falcao-lead-drawer-panel {
    padding: 1.35rem 1.1rem 2rem;
  }
}

/* Integração no mesmo enquadramento visual das outras páginas do site. */
.transfer-page .tr-hero { margin-bottom:1.25rem; }
.transfer-page .tr-hero .tr-main-title { font-size:clamp(1.55rem,2.8vw,2.45rem); }
.transfer-page .tr-hero p { margin-bottom:.8rem; }
.transfer-page .tr-card { margin-bottom:1rem; }
@media(max-width:575.98px){.transfer-page .tr-hero { padding:1rem; }}

/* ZIP 031: clareza da comparação e orientação do foco nos resultados. */
.transfer-page #tr-result-heading:focus-visible,
.transfer-page #tr-result-heading:focus { outline:3px solid #174b9c; outline-offset:5px; border-radius:3px; }
.transfer-page .tr-comparison-basis { color:#ffffff; font-size:.92rem; line-height:1.6; }

/* ZIP 033: três ajustes cirúrgicos ao hero, pedidos na revisão visual. */
@media (min-width: 992px) {
  .transfer-page .tr-hero .col-lg-7 {
    transform: translateY(-28px);
  }
}
.transfer-page .tr-hero .tr-hero-panel .tr-hero-panel-kicker {
  color: #fff;
}
.transfer-page .tr-hero .tr-hero-actions .tr-hero-actions-note {
  font-size: 12.5px;
  font-weight: 400;
}

/* ZIP 034: mesma largura dos cartões, em duas filas de três centradas em desktop. */
.transfer-page #tr-compare-cards { justify-content: center; }
.transfer-page #tr-compare-cards > .tr-card-row-break { display: none; }
@media (min-width: 992px) {
  .transfer-page #tr-compare-cards > .tr-card-row-break {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding: 0;
    margin: 0;
  }
}
/* Separação explícita entre a base do cálculo e a nota sobre o histórico. */
.transfer-page #tr-comparison-basis { white-space: pre-line; }

/* ZIP 035: resposta direta para SEO/AEO (sem FAQ adicional). */
.transfer-page .tr-direct-answer { border-left:4px solid #174b9c; }
.transfer-page .tr-direct-answer-label { font-size:.78rem; font-weight:800; letter-spacing:.04em; color:#174b9c; margin-bottom:.5rem; }
.transfer-page .tr-direct-answer h2 { color:#112b54; font-weight:750; }

.transfer-page .tr-related-links { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; font-size:.9rem; color:#10294b; }
.transfer-page .tr-related-links a { color:#174b9c; text-decoration:underline; text-underline-offset:3px; }

/* ZIP 039: metodologia recolhida por defeito, com controlo nativo Abrir/Fechar. */
.transfer-page .tr-method-card { position:relative; }
.transfer-page .tr-method-card #tr-method {
  color:#112b54;
  font-weight:700;
  margin:0;
  padding-right:7rem;
  min-height:2.5rem;
  display:flex;
  align-items:center;
}
.transfer-page .tr-method-details > .tr-method-summary {
  position:absolute;
  top:1.22rem;
  right:1.5rem;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  list-style:none;
  min-width:82px;
  min-height:38px;
  padding:.45rem .85rem;
  border:1px solid #174b9c;
  border-radius:999px;
  background:#fff;
  color:#174b9c;
  font-size:.85rem;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  user-select:none;
}
.transfer-page .tr-method-details > .tr-method-summary::-webkit-details-marker { display:none; }
.transfer-page .tr-method-details > .tr-method-summary:hover { background:#f2f6fd; }
.transfer-page .tr-method-details > .tr-method-summary:focus-visible {
  outline:3px solid #b08228;
  outline-offset:3px;
}
.transfer-page .tr-method-details .tr-method-label-close { display:none; }
.transfer-page .tr-method-details[open] .tr-method-label-open { display:none; }
.transfer-page .tr-method-details[open] .tr-method-label-close { display:inline; }
.transfer-page .tr-method-content { padding-top:.9rem; }
@media (max-width:575.98px) {
  .transfer-page .tr-method-details > .tr-method-summary { top:.85rem; right:1rem; }
}
