/* ofertas.efix.finance — tema claro EFIX (papel, tinta e âmbar). Sem build: CSS servido como está. */
:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-2: #ece7dc;
  --card: #fbfaf6;
  --ink: #141a2e;
  --ink-2: #3a4054;
  --ink-3: #585e70;
  --line: #d8d1c1;
  --line-2: #c9c0ac;
  --amber: #e0a11a;
  --amber-ink: #7a4d00;
  --amber-soft: #f7ebcc;
  --focus: #1d4ed8;
  --display: "Sora", -apple-system, "Segoe UI", system-ui, sans-serif;
  --text: "Instrument Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 500; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 24px; width: auto; }
.brand span { font-size: 0.78rem; color: var(--ink-3); border-left: 1px solid var(--line-2); padding-left: 12px; line-height: 1.25; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-size: 0.92rem; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .pill { border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; color: var(--ink); }
@media (max-width: 860px) {
  .nav a:not(.pill) { display: none; }
  .brand span { display: none; }
}

/* faixa de conteúdo patrocinado (só aparece quando a visita vem de anúncio) */
.sponsored {
  display: none;
  background: var(--ink); color: #f4f1ea;
  font-size: 0.86rem;
}
.sponsored.on { display: block; }
.sponsored .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sponsored b { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.74rem; background: var(--amber); color: var(--ink); padding: 2px 8px; border-radius: 4px; }
.sponsored a { color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 32px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 36em; margin-top: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1.5px solid var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #222a44; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }

/* cartão de identificação (visível sem clique) */
.idcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: 0 1px 0 rgba(20, 26, 46, 0.04), 0 12px 32px -18px rgba(20, 26, 46, 0.25); }
.idcard h2 { font-size: 0.8rem; font-family: var(--text); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.idcard dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.idcard .row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.idcard .row:first-child { border-top: 0; }
.idcard dt { font-size: 0.8rem; color: var(--ink-3); }
.idcard dd { margin: 0; font-size: 0.93rem; overflow-wrap: anywhere; }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- aviso art. 34 ---------- */
.notice { margin: 20px 0 0; }
.notice .box { background: var(--amber-soft); border: 1px solid #e6cf92; border-left: 6px solid var(--amber); border-radius: var(--radius); padding: 18px 22px; }
.notice h2, .doc .notice h2 { margin: 0 0 8px; line-height: 1.4; font-family: var(--text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 8px; }
.notice p { margin: 0 0 0.5em; font-size: 0.98rem; color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }

/* ---------- seções ---------- */
section.block { padding: 56px 0; border-top: 1px solid var(--line); }
section.block:first-of-type { border-top: 0; }
.sec-head { max-width: 44em; margin-bottom: 26px; }
.sec-head .kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 8px; }
.sec-head p { color: var(--ink-2); margin-top: 10px; }

.legend, .sec-head p.legend, .card p.legend { color: var(--paper); }
.legend { display: inline-flex; gap: 10px; align-items: flex-start; font-weight: 600; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 12px 16px; margin: 4px 0 0; }
.legend::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }

.empty { background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 22px; color: var(--ink-2); }
.empty strong { color: var(--ink); }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--ink-2); font-size: 0.95rem; margin: 8px 0 0; }
.step { position: relative; padding-top: 46px; }
.step .n { position: absolute; top: 18px; left: 20px; font-family: var(--display); font-weight: 500; font-size: 0.9rem; color: var(--amber-ink); }

/* tabela de taxas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; background: var(--paper-2); }
td.v { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
caption { caption-side: top; text-align: left; padding: 12px 16px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.table-note { margin: 12px 0 0; font-size: 0.86rem; color: var(--ink-3); max-width: 44em; }
/* celular: a tabela de taxas vira lista (política do Google: todas as taxas visíveis sem rolar para o lado) */
@media (max-width: 640px) {
  #taxas .table-wrap { overflow-x: visible; }
  #taxas table, #taxas tbody, #taxas tr, #taxas td { display: block; min-width: 0; }
  #taxas thead { display: none; }
  #taxas caption { display: block; }
  #taxas tr { border-top: 1px solid var(--line); padding: 8px 0; }
  #taxas tbody tr:first-child { border-top: 0; }
  #taxas td { border-top: 0; padding: 4px 16px; }
  #taxas td.v { white-space: normal; }
  #taxas td::before { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
  #taxas td:nth-child(1)::before { content: "Quem paga"; }
  #taxas td:nth-child(2)::before { content: "Item"; }
  #taxas td:nth-child(3)::before { content: "Valor"; }
  #taxas td:nth-child(4)::before { content: "Quando"; }
}
.fill { background: #fde2e2; color: #8a1c1c; padding: 0 4px; border-radius: 3px; font-weight: 700; }

ul.clean { list-style: none; margin: 0; padding: 0; }
ul.clean li { padding: 12px 0; border-top: 1px solid var(--line); }
ul.clean li:first-child { border-top: 0; }
ul.dots { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
ul.dots li { margin: 0.35em 0; }

/* ---------- texto longo (material didático, privacidade) ---------- */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc h1 { margin-bottom: 10px; }
.doc .meta { color: var(--ink-3); font-size: 0.9rem; margin-bottom: 28px; }
.doc h2 { margin: 40px 0 12px; font-size: 1.35rem; }
.doc h3 { margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin: 0.4em 0; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 8px; }
.toc ol { margin: 6px 0 0; columns: 2; column-gap: 32px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
dl.glossary dt { font-weight: 600; color: var(--ink); margin-top: 14px; }
dl.glossary dd { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- rodapé ---------- */
.foot { background: var(--ink); color: #d9d6cc; padding: 44px 0 28px; font-size: 0.9rem; }
.foot a { color: #fff; text-decoration-color: var(--amber); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h2 { font-family: var(--text); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #a9a597; margin-bottom: 10px; }
.foot p { margin: 0 0 0.4em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 0.45em; }
.foot .logo { height: 22px; width: auto; filter: invert(1) brightness(1.6); margin-bottom: 14px; }
.foot .legal { border-top: 1px solid #2c3349; margin-top: 30px; padding-top: 18px; font-size: 0.82rem; color: #a9a597; }
.foot .legal p { margin-bottom: 0.6em; }

@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr; }
  section.block { padding: 44px 0; }
}
@media (max-width: 420px) {
  .idcard .row { grid-template-columns: 1fr; gap: 2px; }
  .btn { width: 100%; }
}
@media print {
  .top, .sponsored, .ctas, .foot .cols { display: none; }
  body { background: #fff; }
}
