/* Quanto vou receber? — folha de estilo
   Estilo "banco digital": fundo cinzento-claro, cartões brancos arredondados e o resultado num cartão
   escuro com o total em verde-lima. Letra Inter (variável, SIL OFL 1.1), com algarismos tabulares nos valores.
   As cores vivem nas variáveis de :root; o modo escuro só troca as variáveis. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --letra: "Inter", "Segoe UI", system-ui, sans-serif;
  --h1-espaco: -0.04em;
  --fundo: #f3f4f6; --superficie: #ffffff; --tinta: #0b1220; --suave: #5b6472; --linha: #e5e7eb;
  --marca: #16a34a; --link: #15803d; --erro: #dc2626;
  --anel: rgb(22 163 74 / 16%); --anel-forte: #16a34a;
  --botao: #0b1220; --botao-texto: #ffffff; --raio-botao: 999px;
  --raio-g: 24px; --raio-m: 14px; --raio-simbolo: 10px;
  --sombra: 0 1px 2px rgb(16 24 40 / 4%), 0 4px 16px -4px rgb(16 24 40 / 6%);
  --sombra-forte: 0 18px 40px -12px rgb(16 24 40 / 18%);
  --cartao-borda: #e7e9ee; --cartao-borda-hover: #cfd4dc;
  --topo-fundo: #f3f4f6; --topo-linha: transparent; --topo-texto: #0b1220; --topo-suave: #4b5563;
  --nav-hover: #e5e7eb; --nav-ativo: #0b1220; --nav-ativo-texto: #ffffff;
  --simbolo-fundo: #b6f05c; --simbolo-texto: #0b1220;
  --heroi-fundo: transparent; --heroi-texto: #0b1220; --heroi-suave: #4b5563; --sobrepor: 0rem;
  --cab-icone-fundo: #0b1220; --cab-icone-cor: #b6f05c; --cab-chip: #ecfccb;
  --selo-fundo: #ffffff; --selo-texto: #0b1220; --selo-borda: #e5e7eb; --selo-icone: #16a34a;
  --campo-fundo: #f7f8fa; --campo-borda: #e1e4e9; --campo-borda-hover: #c5cbd3; --interruptor: #d1d5db;
  --resultado-fundo: #0b1220; --resultado-texto: #f8fafc; --resultado-suave: #94a0b4; --resultado-borda: #0b1220;
  --resultado-linha: rgb(255 255 255 / 9%); --resultado-linha-forte: rgb(255 255 255 / 22%);
  --sombra-resultado: 0 24px 48px -20px rgb(11 18 32 / 45%);
  --total-cor: #b6f05c; --ref-fundo: rgb(182 240 92 / 12%); --ref-texto: #c9f58a; --nota-fundo: rgb(255 255 255 / 7%);
  --barra-fundo: #0b1220; --barra-texto: #ffffff;
  --icone-fundo: #ecfccb; --icone-cor: #3f6212; --tabela-cab: #f7f8fa;
  --rodape-fundo: #0b1220; --rodape-texto: #f1f5f9; --rodape-suave: #94a0b4; --rodape-linha: rgb(255 255 255 / 10%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #0a0d14; --superficie: #121722; --tinta: #eef1f6; --suave: #9aa4b5; --linha: #232b3a;
    --marca: #4ade80; --link: #86efac; --erro: #f87171;
    --anel: rgb(74 222 128 / 22%); --anel-forte: #4ade80;
    --botao: #b6f05c; --botao-texto: #0b1220;
    --sombra: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px -8px rgb(0 0 0 / 45%);
    --sombra-forte: 0 18px 40px -12px rgb(0 0 0 / 65%);
    --cartao-borda: #1f2633; --cartao-borda-hover: #364154;
    --topo-fundo: #0a0d14; --topo-texto: #eef1f6; --topo-suave: #a7b0bf;
    --nav-hover: #1a2130; --nav-ativo: #b6f05c; --nav-ativo-texto: #0b1220;
    --heroi-texto: #eef1f6; --heroi-suave: #a7b0bf;
    --cab-icone-fundo: #b6f05c; --cab-icone-cor: #0b1220; --cab-chip: rgb(182 240 92 / 12%);
    --selo-fundo: #121722; --selo-texto: #eef1f6; --selo-borda: #232b3a; --selo-icone: #4ade80;
    --campo-fundo: #0d121c; --campo-borda: #283142; --campo-borda-hover: #3b4659; --interruptor: #303b4d;
    --resultado-fundo: #161d2b; --resultado-borda: #232c3d; --resultado-suave: #9aa5b8;
    --resultado-linha: rgb(255 255 255 / 8%); --resultado-linha-forte: rgb(255 255 255 / 20%);
    --sombra-resultado: 0 24px 48px -24px rgb(0 0 0 / 70%);
    --barra-fundo: #161d2b;
    --icone-fundo: rgb(182 240 92 / 12%); --icone-cor: #b6f05c; --tabela-cab: #161c28;
    --rodape-fundo: #06080d; --rodape-linha: rgb(255 255 255 / 8%);
    color-scheme: dark;
  }
  .barra-total { border: 1px solid var(--resultado-borda); }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--tinta);
  font-family: var(--letra);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }

a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--anel-forte); outline-offset: 2px; }

.largura { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.saltar {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 40;
  background: var(--tinta); color: var(--fundo); padding: 0.75rem 1rem; border-radius: var(--raio-m); text-decoration: none;
}
.saltar:focus { top: 0.5rem; }

.icone { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------------------------------------------------------------- topo */
.topo {
  position: relative; z-index: 30;
  background: var(--topo-fundo);
  border-bottom: 1px solid var(--topo-linha);
}
@media (min-width: 760px) {
  .topo {
    position: sticky; top: 0;
    background: color-mix(in srgb, var(--topo-fundo) 82%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
  }
}
.topo__linha {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.25rem 2rem; min-height: 4rem; padding-block: 0.5rem;
}
.marca {
  display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem;
  color: var(--topo-texto); text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em;
}
.marca__simbolo {
  display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--raio-simbolo);
  background: var(--simbolo-fundo); color: var(--simbolo-texto); font-size: 1.125rem; font-weight: 800; line-height: 1;
}
.topo__nav { display: flex; gap: 0.25rem; }
.topo__nav a {
  display: inline-flex; align-items: center; white-space: nowrap; min-height: 2.5rem; padding: 0 0.875rem;
  border-radius: 999px; color: var(--topo-suave); text-decoration: none; font-size: 0.9375rem; font-weight: 600;
  transition: background-color 0.15s, color 0.15s;
}
.topo__nav a:hover { background: var(--nav-hover); color: var(--topo-texto); }
.topo__nav a[aria-current="page"] { background: var(--nav-ativo); color: var(--nav-ativo-texto); }

@media (max-width: 759px) {
  .topo__nav {
    width: calc(100% + 2.5rem); margin-inline: -1.25rem; padding: 0 1.25rem 0.5rem;
    overflow-x: auto; scrollbar-width: none;
  }
  .topo__nav::-webkit-scrollbar { display: none; }
  .topo__nav a { font-size: 0.875rem; min-height: 2.25rem; padding: 0 0.75rem; }
}

/* ---------------------------------------------------------------- faixa do título */
.heroi {
  position: relative; overflow: hidden;
  background: var(--heroi-fundo); color: var(--heroi-texto);
  padding: 1.75rem 0 calc(2.5rem + var(--sobrepor));
}
.heroi > .largura { position: relative; }
.migalhas { font-size: 0.875rem; color: var(--heroi-suave); margin-bottom: 1.5rem; }
.migalhas a { color: inherit; }
.cabecalho { max-width: 46rem; }
.cabecalho__icone {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem;
  border-radius: var(--raio-m); background: var(--cab-icone-fundo); color: var(--cab-icone-cor);
}
h1 {
  font-size: clamp(2.125rem, 1.35rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.04;
  letter-spacing: var(--h1-espaco); margin: 0 0 1rem;
}
.lead { font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); color: var(--heroi-suave); margin: 0; max-width: 40rem; line-height: 1.55; }

.selos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.selos li {
  display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  border-radius: 999px; background: var(--selo-fundo); color: var(--selo-texto); border: 1px solid var(--selo-borda);
  font-size: 0.875rem; font-weight: 600; line-height: 1.3;
}
.selos .icone { width: 1rem; height: 1rem; color: var(--selo-icone); stroke-width: 3; }

/* ---------------------------------------------------------------- calculadora */
.calc { display: grid; gap: 1.25rem; margin: calc(-1 * var(--sobrepor)) 0 4rem; position: relative; }
@media (min-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1.5rem; align-items: start; }
  .calc__resultado { position: sticky; top: 5.5rem; }
  .calc__ver { display: none !important; }
}

.calc__form {
  display: grid; gap: 1.25rem; align-content: start;
  background: var(--superficie); border: 1px solid var(--cartao-borda); border-radius: var(--raio-g);
  box-shadow: var(--sombra); padding: clamp(1.25rem, 3vw, 2rem);
}
.calc__titulo { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 0.25rem; }

.campo { display: grid; gap: 0.375rem; }
.campo label { font-weight: 600; font-size: 0.9375rem; line-height: 1.35; }
.campo__entrada { position: relative; }
.campo input:not([type="checkbox"]) {
  width: 100%; min-height: 3.25rem; padding: 0.625rem 1rem;
  font: inherit; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--tinta); background: var(--campo-fundo);
  border: 1.5px solid var(--campo-borda); border-radius: var(--raio-m);
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.campo input:not([type="checkbox"]):hover { border-color: var(--campo-borda-hover); }
.campo input:not([type="checkbox"]):focus-visible {
  outline: none; border-color: var(--marca); background: var(--superficie); box-shadow: 0 0 0 4px var(--anel);
}
.campo input::placeholder { color: var(--suave); opacity: 0.6; font-weight: 500; }
.campo__entrada:has(.campo__sufixo) input { padding-right: 2.75rem; }
.campo__sufixo {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--suave); font-weight: 600; pointer-events: none;
}
.campo input[aria-invalid="true"] { border-color: var(--erro) !important; }
.campo__erro { margin: 0; color: var(--erro); font-weight: 600; font-size: 0.875rem; line-height: 1.4; }
.campo__ajuda { margin: 0; font-size: 0.875rem; color: var(--suave); line-height: 1.45; }

/* caixa de seleção com aspeto de interruptor */
.campo--caixa {
  grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0.125rem; align-items: center;
  padding: 0.875rem 1rem; background: var(--campo-fundo); border: 1.5px solid var(--campo-borda); border-radius: var(--raio-m);
}
.campo--caixa label { grid-column: 1; grid-row: 1; cursor: pointer; }
.campo--caixa .campo__ajuda { grid-column: 1; grid-row: 2; }
.campo--caixa input {
  grid-column: 2; grid-row: 1 / span 2;
  appearance: none; -webkit-appearance: none; position: relative; margin: 0; cursor: pointer;
  width: 2.75rem; height: 1.625rem; border-radius: 999px; background: var(--interruptor);
  transition: background-color 0.2s;
}
.campo--caixa input::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform 0.2s;
}
.campo--caixa input:checked { background: var(--marca); }
.campo--caixa input:checked::before { transform: translateX(1.125rem); }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0 1.75rem; width: 100%;
  font: inherit; font-weight: 700; color: var(--botao-texto); background: var(--botao);
  border: 0; border-radius: var(--raio-botao); cursor: pointer; transition: filter 0.15s, transform 0.15s;
}
.botao:hover { filter: brightness(1.06); }
.botao:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- resultado */
.recibo {
  display: flex; flex-direction: column;
  background: var(--resultado-fundo); color: var(--resultado-texto);
  border: 1px solid var(--resultado-borda); border-radius: var(--raio-g); box-shadow: var(--sombra-resultado);
  padding: clamp(1.25rem, 3vw, 1.75rem); font-variant-numeric: tabular-nums;
}
.recibo:focus { outline: none; }
.recibo:focus-visible { outline: 3px solid var(--anel-forte); outline-offset: 3px; }

.recibo__cab { order: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.recibo__titulo {
  margin: 0; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--resultado-suave);
}
.recibo__data {
  margin: 0; font-size: 0.75rem; font-weight: 600; color: var(--resultado-suave); text-align: right; line-height: 1.3;
}

.recibo__total { order: 1; display: flex; flex-direction: column; gap: 0.25rem; margin: 0.75rem 0 1rem; }
.recibo__total span { font-size: 0.9375rem; font-weight: 600; color: var(--resultado-suave); }
.recibo__total strong {
  font-size: clamp(2.75rem, 2rem + 3vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: var(--total-cor); white-space: nowrap;
}
.recibo--vazio .recibo__total { display: none; }
.recibo__vazio {
  order: 1; margin: 1rem 0 0.25rem; padding: 1.25rem; border-radius: var(--raio-m);
  border: 1.5px dashed var(--resultado-linha-forte); color: var(--resultado-suave); font-weight: 500;
}

.recibo__tabela { order: 2; width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.recibo__tabela th { text-align: left; font-weight: 500; }
.recibo__tabela th,
.recibo__tabela td { padding: 0.75rem 0; vertical-align: top; border-top: 1px solid var(--resultado-linha); }
.recibo__tabela td { width: 1%; white-space: nowrap; text-align: right; padding-left: 1rem; font-weight: 700; }
.recibo__grupo th {
  border-top: 0; padding: 1.25rem 0 0.5rem; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--resultado-suave);
}
.recibo__base .recibo__grupo th { padding-top: 0.25rem; }
.recibo__detalhe { display: block; margin-top: 0.125rem; font-size: 0.8125rem; color: var(--resultado-suave); line-height: 1.4; }
.recibo__ref {
  display: inline-block; margin-top: 0.375rem; padding: 0.0625rem 0.5rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; background: var(--ref-fundo); color: var(--ref-texto);
}

.recibo__pe { order: 3; margin-top: 0.75rem; font-size: 0.8125rem; color: var(--resultado-suave); line-height: 1.45; }
.recibo__pe p { margin: 0.5rem 0 0; }
.recibo__nota {
  color: var(--resultado-texto); background: var(--nota-fundo); padding: 0.75rem 1rem; border-radius: var(--raio-m);
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- barra do total (telemóvel) */
.barra-total[hidden] { display: none; }
.barra-total {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 20;
  display: flex; align-items: center; gap: 0.75rem; min-height: 4rem; padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: var(--barra-fundo); color: var(--barra-texto); text-decoration: none; border-radius: var(--raio-g);
  box-shadow: 0 12px 32px -8px rgb(0 0 0 / 35%); font-variant-numeric: tabular-nums;
}
.barra-total__rotulo { font-size: 0.8125rem; font-weight: 600; opacity: 0.75; }
.barra-total__valor { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; margin-right: auto; }
.barra-total__acao {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.125rem; border-radius: var(--raio-botao);
  background: var(--total-cor); color: #0b1220; font-weight: 700; font-size: 0.9375rem;
  transition: filter 0.15s, transform 0.15s;
}
.barra-total__acao:hover { filter: brightness(1.06); }
.barra-total__acao:active { transform: translateY(1px); }
@media (min-width: 900px) { .barra-total { display: none; } }
@media (max-width: 899px) { body:has(.barra-total:not([hidden])) { padding-bottom: 5.5rem; } }

/* ---------------------------------------------------------------- texto */
.texto { max-width: 46rem; margin-bottom: 4rem; }
.texto h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.025em; margin: 3rem 0 0.75rem; }
.texto h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; margin: 1.75rem 0 0.5rem; }
.texto ul { padding-left: 1.25rem; }
.texto li + li { margin-top: 0.375rem; }
.texto li::marker { color: var(--marca); }

.formula {
  margin: 1rem 0; padding: 1rem 1.25rem; font-weight: 700; line-height: 1.45; font-variant-numeric: tabular-nums;
  background: var(--superficie); border: 1px solid var(--cartao-borda); border-left: 4px solid var(--marca); border-radius: var(--raio-m);
}

.tabela-rolar {
  overflow-x: auto; margin: 1.25rem 0;
  background: var(--superficie); border: 1px solid var(--cartao-borda); border-radius: var(--raio-m);
}
.texto table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.texto th,
.texto td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linha); }
.texto thead th {
  background: var(--tabela-cab); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--suave);
}
.texto tbody tr:last-child td { border-bottom: 0; }
.texto th:not(:first-child),
.texto td:not(:first-child) { text-align: right; white-space: nowrap; }
.texto td:not(:first-child) { font-weight: 700; }

.faq details {
  background: var(--superficie); border: 1px solid var(--cartao-borda); border-radius: var(--raio-m);
  margin: 0.625rem 0; padding: 0 1.25rem; transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: var(--sombra); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1rem 2.75rem 1rem 0; min-height: 3rem; font-weight: 700; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--cab-chip); color: var(--marca); font-size: 1.25rem; font-weight: 500; line-height: 1;
  transition: rotate 0.2s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 1.125rem; color: var(--suave); }

.fontes ul { padding-left: 1.25rem; }
.aviso { font-size: 0.9375rem; color: var(--suave); border-top: 1px solid var(--linha); padding-top: 1rem; margin-top: 1.5rem; }

/* ---------------------------------------------------------------- início */
.heroi--inicio { padding-top: clamp(2.5rem, 6vw, 5rem); }
.heroi--inicio .cabecalho { max-width: 52rem; }
.heroi--inicio h1 { font-size: clamp(2.75rem, 1.5rem + 5.5vw, 5rem); }
.heroi--inicio .lead { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); }

.inicio__calcs { margin: calc(-1 * var(--sobrepor)) 0 4rem; position: relative; }
.cartoes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cartao {
  display: flex; flex-direction: column; gap: 0.5rem; height: 100%; padding: 1.5rem;
  background: var(--superficie); border: 1px solid var(--cartao-borda); border-radius: var(--raio-g); box-shadow: var(--sombra);
  color: var(--tinta); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cartao:hover { transform: translateY(-3px); box-shadow: var(--sombra-forte); border-color: var(--cartao-borda-hover); }
.cartao__icone {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.75rem;
  border-radius: var(--raio-m); background: var(--icone-fundo); color: var(--icone-cor);
}
.cartao__titulo { font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.cartao__texto { flex: 1; color: var(--suave); font-size: 0.9375rem; line-height: 1.5; }
.cartao__acao { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.75rem; font-weight: 700; color: var(--link); }
.cartao__acao .icone { width: 1.125rem; height: 1.125rem; transition: transform 0.2s; }
.cartao:hover .cartao__acao .icone { transform: translateX(4px); }

.inicio { display: grid; gap: 2.5rem; margin-bottom: 5rem; }
@media (min-width: 900px) {
  .inicio { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: 4rem; align-items: start; }
}
.inicio .texto { margin-bottom: 0; }
.inicio .texto > h2:first-child { margin-top: 0; }
.inicio__legenda { margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--suave); }
.em-breve { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.em-breve li {
  margin: 0 !important; padding: 0.375rem 0.875rem; border-radius: 999px; border: 1.5px dashed var(--campo-borda-hover);
  color: var(--suave); font-size: 0.875rem; font-weight: 600;
}

/* ---------------------------------------------------------------- rodapé */
.rodape { background: var(--rodape-fundo); color: var(--rodape-suave); padding: 3.5rem 0 2rem; font-size: 0.9375rem; }
.rodape__grelha { display: grid; gap: 2rem; }
@media (min-width: 760px) { .rodape__grelha { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 4rem; } }
.rodape__grelha p { margin: 0; max-width: 46ch; }
.rodape__marca { color: var(--rodape-texto); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; margin-bottom: 0.5rem !important; }
.rodape nav { display: grid; align-content: start; }
.rodape nav a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--rodape-texto); text-decoration: none; }
.rodape nav a:hover { text-decoration: underline; }
.rodape__nota { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rodape-linha); font-size: 0.8125rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------------------------------------------------------------- ajustes do estilo */
.barra-total__acao { background: #b6f05c; color: #0b1220; }

/* nas calculadoras o título é um pouco menor, para o formulário aparecer mais cedo */
.heroi:not(.heroi--inicio) h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }

@media (max-width: 479px) {
  .heroi { padding-top: 1.25rem; }
  .migalhas { margin-bottom: 1rem; }
  .cabecalho__icone { width: 2.5rem; height: 2.5rem; margin-bottom: 0.75rem; }
  .selos { gap: 0.375rem; margin-top: 1.25rem; }
  .selos li { font-size: 0.8125rem; padding: 0.25rem 0.75rem 0.25rem 0.5rem; }
}

/* valores no texto ("1.487,67 €") não se partem entre linhas */
.texto p strong { white-space: nowrap; }
