@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/barlow-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-700.woff2') format('woff2'); }

:root {
  --petrol-950: #082b34;
  --petrol-800: #0e4452;
  --petrol-600: #17606f;
  --petrol-300: #7fb1ba;
  --petrol-100: #d5e8eb;
  --petrol-50: #edf5f6;
  --coral-500: #f2694b;
  --coral-700: #b5432a;
  --coral-100: #fde6df;
  --sand-50: #fbf8f2;
  --sand-100: #f4eee3;
  --sand-300: #ddd1bc;
  --ink: #172429;
  --ink-soft: #4b5b60;
  --gutter: 16px;
  --body: 'Barlow', system-ui, sans-serif;
  --sign: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
}

img { max-width: 100%; height: auto; }

a { color: var(--petrol-800); text-decoration-color: var(--coral-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-700); }
:focus-visible { outline: 3px solid var(--coral-500); outline-offset: 2px; }

code { font: 0.92em ui-monospace, 'SFMono-Regular', Menlo, monospace; background: var(--petrol-50); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }

h1, h2, h3 { font-family: var(--sign); font-weight: 700; color: var(--petrol-800); }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 8px; top: -60px; background: var(--coral-500); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { top: 8px; }

.ext::after { content: '↗'; font-size: 0.8em; margin-left: 0.15em; text-decoration: none; display: inline-block; }

.eyebrow { margin: 0 0 0.5rem; font: 700 0.85rem/1.3 var(--sign); letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-700); }

.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 1rem; max-width: 46rem; }

.go { font: 700 1.15rem/1.45 var(--sign); color: var(--petrol-800); text-decoration: underline; text-decoration-color: var(--coral-500); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.go::after { content: ' →'; }

/* Cabeçalho: barra da marca e a linha dos quatro cenários */

.masthead { background: var(--petrol-950); color: var(--sand-50); }
.masthead-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--sand-50); text-decoration: none; margin: 0; }
.brand:hover { color: var(--sand-50); }
.logo { display: inline-flex; }
.logo svg { width: 34px; height: 34px; }
.brand-name { font: 700 1.55rem/1 var(--sign); letter-spacing: 0.01em; }
.brand-name b { color: var(--coral-500); }

.masthead-links { display: flex; gap: 18px; }
.masthead-links a { color: var(--sand-100); font: 700 1rem var(--sign); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.masthead-links a:hover { color: var(--coral-500); }

.line-nav { background: var(--petrol-800); }
.line-nav ol { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; padding-block: 12px; }
.line-nav ol::before { content: ''; position: absolute; top: 19px; left: calc(var(--gutter) + (100% - 2 * var(--gutter)) / 8); right: calc(var(--gutter) + (100% - 2 * var(--gutter)) / 8); border-top: 2px dashed var(--petrol-300); }
.line-nav a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-inline: 4px; text-align: center; color: var(--petrol-100); text-decoration: none; font: 700 0.95rem/1.15 var(--sign); letter-spacing: 0.02em; }
.line-stop { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--petrol-800); border: 3px solid var(--petrol-100); }
.line-nav a:hover { color: #fff; }
.line-nav a:hover .line-stop { border-color: var(--coral-500); }
.line-nav a[aria-current] { color: #fff; }
.line-nav a[aria-current] .line-stop { background: var(--coral-500); border-color: var(--coral-500); box-shadow: 0 0 0 3px var(--petrol-800), 0 0 0 5px var(--coral-500); }

/* Home */

.hero {
  background-color: var(--petrol-950);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300'%3E%3Cg fill='none' stroke='%2317606F' stroke-width='1.2' opacity='.6'%3E%3Cpath d='M0 25C100 0 200 50 300 25S500 0 600 25'/%3E%3Cpath d='M0 75C100 45 200 105 300 75S500 45 600 75'/%3E%3Cpath d='M0 125C100 95 200 150 300 125S500 95 600 125'/%3E%3Cpath d='M0 175C100 150 200 205 300 175S500 150 600 175'/%3E%3Cpath d='M0 225C100 195 200 250 300 225S500 195 600 225'/%3E%3Cpath d='M0 275C100 250 200 300 300 275S500 250 600 275'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--petrol-100);
  padding: 40px 0 48px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 7vw, 4.4rem); line-height: 1.02; margin: 0 0 1rem; max-width: 19ch; }
.hero .eyebrow { color: var(--coral-500); }
.hero .lede { color: var(--petrol-100); }

.choices { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; }
.choices li { position: relative; }
.choices li:not(:last-child)::before { content: ''; position: absolute; left: 25px; top: 40px; bottom: -12px; border-left: 2px dashed var(--petrol-300); }
.choice { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 2px; padding: 12px 0; color: inherit; text-decoration: none; }
.choice-icon { grid-row: span 3; position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--coral-500); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--petrol-950); }
.choice-icon .icon { width: 26px; height: 26px; }
.choice-name { font: 700 1.55rem/1.1 var(--sign); color: #fff; }
.choice-short { font-size: 1rem; line-height: 1.45; color: var(--petrol-100); }
.choice-count { font: 700 0.85rem/1.4 var(--sign); letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-500); }
.choice:hover .choice-name { text-decoration: underline; text-decoration-color: var(--coral-500); }

.featured { display: grid; gap: 28px; padding-block: 48px; align-items: start; }
.featured h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.08; margin: 0 0 1.25rem; }
.featured h2 a { text-decoration: none; }
.featured h2 a:hover { text-decoration: underline; text-decoration-color: var(--coral-500); }
.featured-shot { margin: 0; }
.featured-shot .phone { width: 190px; margin-inline: auto; }
.featured .note { margin-block: 1.25rem; }

.scenario { padding: 52px 0; border-top: 1px solid var(--sand-300); scroll-margin-top: 0; }
.scenario:nth-of-type(odd) { background: var(--sand-100); }
.scenario-grid { display: grid; gap: 24px; }
.scenario-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.05; margin: 14px 0 10px; }
.scenario-head p { margin: 0; color: var(--ink-soft); }
.scenario-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--petrol-800); color: var(--sand-50); border: 3px solid var(--sand-50); box-shadow: 0 0 0 2px var(--petrol-800); }
.scenario-icon .icon { width: 30px; height: 30px; }
.scenario:target .scenario-icon { background: var(--coral-500); box-shadow: 0 0 0 2px var(--coral-500); }

.apps-index { padding-block: 52px; }
.apps-index > h2, .method > h2 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.05; margin: 0 0 0.5rem; }
.app-rows { list-style: none; padding: 0; margin: 24px 0 0; }
.app-rows li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--sand-300); }
.app-rows h3 { font-size: 1.6rem; line-height: 1.1; margin: 0; }
.app-rows p { margin: 0; }
.app-row-meta { font-size: 0.92rem; color: var(--ink-soft); }

.method { padding-block: 20px 64px; }
.apps-index > h2::before, .method > h2::before { content: ''; display: block; width: 64px; height: 6px; margin-bottom: 14px; border-radius: 3px; background: var(--coral-500); }

/* Lista de guias como trechos de um trajeto */

.legs { list-style: none; margin: 0; padding: 0; align-self: start; }
.legs:empty { display: none; }
.leg { position: relative; padding: 16px 0 18px 34px; border-bottom: 1px dashed var(--sand-300); }
.leg:last-child { border-bottom: 0; }
.leg::before { content: ''; position: absolute; left: 1px; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--sand-50); border: 4px solid var(--coral-500); }
.leg:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 44px; bottom: -20px; border-left: 2px dotted var(--petrol-300); }
.leg-kind { margin: 0 0 4px; font: 700 0.82rem/1.3 var(--sign); letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-700); }
.leg-title { margin: 0 0 6px; font-size: 1.45rem; line-height: 1.15; }
.leg-title a { text-decoration: none; }
.leg-title a:hover { text-decoration: underline; text-decoration-color: var(--coral-500); }
.leg-summary { margin: 0 0 6px; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }

/* Ficha da prova */

.ticket { background: var(--petrol-50); border: 2px solid var(--petrol-800); border-radius: 12px; overflow: hidden; }
.ticket-title { margin: 0; padding: 10px 16px; background: var(--petrol-800); color: var(--sand-50); font: 700 1rem/1.2 var(--sign); letter-spacing: 0.12em; text-transform: uppercase; }
.ticket dl { margin: 0; padding: 4px 16px; }
.ticket dl div { padding: 9px 0; border-bottom: 1px dashed var(--petrol-300); }
.ticket dl div:last-child { border-bottom: 0; }
.ticket dt { font: 700 0.8rem/1.4 var(--sign); letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol-600); }
.ticket dd { margin: 2px 0 0; font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.ticket-foot { margin: 0; padding: 10px 16px; border-top: 2px dashed var(--petrol-800); font-size: 0.95rem; }

/* Guia */

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 22px 0 18px; padding: 0; font-size: 0.92rem; color: var(--ink-soft); }
.crumbs li + li::before { content: '›'; margin-right: 8px; color: var(--coral-700); }
.crumbs [aria-current] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.guide-head h1, .app-head h1, .page-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.04; margin: 0 0 1rem; max-width: 22ch; }
.guide-aside { margin-bottom: 8px; }
.guide-body, .review-body, .page-body { max-width: 46rem; }

.chapter h2, .detours h2, .official h2, .sources h2, .criteria h2, .limits h2, .free-paid h2, .app-guides h2, .related h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.1; margin: 2.6rem 0 0.8rem; }
.chapter p, .free-paid p { margin: 0 0 1rem; }

.route { list-style: none; margin: 1.6rem 0 2rem; padding: 0; }
.stop { position: relative; display: grid; gap: 14px; padding: 0 0 2.2rem 3.6rem; }
.stop::before { content: ''; position: absolute; left: calc(1.3rem - 2px); top: 2.9rem; bottom: 0.3rem; border-left: 4px dotted var(--petrol-600); }
.stop:last-child { padding-bottom: 0.5rem; }
.stop:last-child::before { display: none; }
.stop-marker { position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--coral-500); color: #fff; display: grid; place-items: center; font: 700 1.3rem/1 var(--sign); box-shadow: 0 0 0 4px var(--sand-50), 0 0 0 6px var(--coral-500); }
.stop-text h3 { margin: 0.25rem 0 0.35rem; font-size: 1.4rem; line-height: 1.2; }
.stop-text p { margin: 0; }
.stop-shot { margin: 0; }

.phone { display: block; width: min(100%, 230px); border: 6px solid var(--petrol-950); border-radius: 22px; overflow: hidden; background: var(--petrol-950); }
.phone img { display: block; width: 100%; }
.shot { margin: 1.6rem 0; }
.shot figcaption { margin-top: 8px; font-size: 0.94rem; color: var(--ink-soft); max-width: 34rem; }

.note { margin: 1.2rem 0; padding: 14px 16px; border-left: 6px solid; border-radius: 0 10px 10px 0; font-size: 1.05rem; }
.note-label { display: block; margin-bottom: 4px; font: 700 0.85rem/1.3 var(--sign); letter-spacing: 0.1em; text-transform: uppercase; }
.note-warning { background: var(--coral-100); border-color: var(--coral-500); }
.note-warning .note-label { color: var(--coral-700); }
.note-result { background: var(--petrol-50); border-color: var(--petrol-800); }
.note-result .note-label { color: var(--petrol-600); }
.note-result .note-label::before { content: ''; display: inline-block; width: 14px; height: 10px; margin-right: 7px; vertical-align: -1px; background: repeating-conic-gradient(var(--petrol-800) 0 25%, transparent 0 50%) 0 0 / 7px 5px; outline: 1px solid var(--petrol-800); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 0.55rem; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px; background: var(--coral-500); transform: rotate(45deg); }

.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
th { text-align: left; vertical-align: bottom; padding: 8px 14px 8px 0; font: 700 0.85rem/1.3 var(--sign); letter-spacing: 0.06em; text-transform: uppercase; color: var(--petrol-600); border-bottom: 2px solid var(--petrol-800); }
td { vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px dashed var(--sand-300); }

.detours dl { margin: 0; }
.detours div { position: relative; padding: 14px 0 14px 42px; border-bottom: 1px dashed var(--sand-300); }
.detours div::before { content: '!'; position: absolute; left: 4px; top: 18px; width: 22px; height: 22px; display: grid; place-items: center; transform: rotate(45deg); background: var(--coral-500); color: #fff; font: 700 0.9rem/1 var(--sign); border-radius: 3px; }
.detours dt { font-weight: 600; }
.detours dd { margin: 4px 0 0; color: var(--ink-soft); }

.official { margin-top: 2.6rem; padding: 4px 20px 16px; border: 2px dashed var(--petrol-300); border-radius: 12px; }
.official h2 { margin-top: 1rem; }
.official ul { list-style: none; padding: 0; margin: 0; }
.official li { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 0; border-top: 1px solid var(--petrol-100); }
.official li strong { flex-basis: 100%; font-family: var(--sign); font-size: 1.2rem; color: var(--petrol-800); }

.sources ol { padding-left: 1.3rem; margin: 0; font-size: 0.98rem; }
.sources li { margin-bottom: 0.5rem; overflow-wrap: anywhere; }
.checked { display: block; font-size: 0.86rem; color: var(--ink-soft); }

.related { padding-block: 8px 56px; }
.related h2 { margin-top: 2rem; }

/* Análise do app */

.app-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 24px; margin: 1.4rem 0 0; padding: 10px 20px; background: var(--petrol-800); color: var(--sand-50); border-radius: 12px; box-shadow: inset 0 0 0 4px var(--petrol-800), inset 0 0 0 6px var(--petrol-100); }
.app-facts div { padding: 10px 0; }
.app-facts dt { font: 700 0.8rem/1.4 var(--sign); letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol-300); }
.app-facts dd { margin: 2px 0 0; font-size: 1.02rem; overflow-wrap: anywhere; }
.app-facts a { color: #fff; }

.criteria ul, .limits ul { list-style: none; margin: 0; padding: 0; }
.criteria li { padding: 14px 0; border-bottom: 1px dashed var(--sand-300); }
.criteria p { margin: 0; }
.criterion-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px !important; }
.criterion-head strong { font: 700 1.25rem/1.2 var(--sign); color: var(--petrol-800); }
.verdict { font: 700 0.82rem/1.3 var(--sign); letter-spacing: 0.06em; text-transform: uppercase; color: var(--petrol-800); background: var(--petrol-100); padding: 3px 8px; border-radius: 4px; }
.limits li { position: relative; padding: 8px 0 8px 30px; }
.limits li::before { content: '×'; position: absolute; left: 2px; top: 4px; font: 700 1.5rem/1.2 var(--sign); color: var(--coral-700); }

/* Institucionais e 404 */

.page { padding-bottom: 56px; }
.lost { padding-block: 56px 72px; }
.lost h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.04; margin: 0 0 1rem; }

/* Rodapé */

.footer { background: var(--petrol-950); color: var(--petrol-100); padding: 44px 0 24px; font-size: 1rem; }
.footer a { color: var(--sand-50); }
.footer-grid { display: grid; gap: 28px; }
.footer-about p { margin: 0 0 12px; max-width: 34rem; }
.footer h2 { margin: 0 0 10px; color: var(--sand-50); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer-base { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--petrol-600); font-size: 0.92rem; }

@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .stop-with-shot { grid-template-columns: minmax(0, 1fr) 210px; align-items: start; }
  .line-nav a { font-size: 1.05rem; }
}

@media (min-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .choices { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .choices li:not(:last-child)::before { left: 60px; right: -20px; top: 38px; bottom: auto; border-left: 0; border-top: 2px dashed var(--petrol-300); }
  .choice { grid-template-columns: 1fr; align-content: start; }
  .choice-icon { grid-row: auto; margin-bottom: 14px; }

  .featured { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 64px; padding-block: 64px; }
  .featured-shot .phone { width: 260px; }
  .featured .ticket dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .featured .ticket dl div:last-child { grid-column: 1 / -1; }

  .scenario-grid { grid-template-columns: 330px minmax(0, 1fr); column-gap: 64px; }
  .scenario-head { position: sticky; top: 24px; align-self: start; }

  .app-rows li { grid-template-columns: 230px minmax(0, 1fr); column-gap: 36px; }
  .app-rows h3 { grid-row: span 2; }

  .guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: 'head head' 'body aside'; column-gap: 64px; }
  .guide-head { grid-area: head; }
  .guide-body { grid-area: body; }
  .guide-aside { grid-area: aside; margin-top: 2.6rem; }
  .guide-aside .ticket { position: sticky; top: 24px; }

  .review-body { max-width: none; display: grid; grid-template-columns: minmax(0, 46rem) 340px; justify-content: space-between; column-gap: 56px; align-items: start; }
  .review-body > * { grid-column: 1; }
  .review-body > .app-guides { grid-column: 2; grid-row: 1 / span 6; margin-top: 2.6rem; padding: 0 0 8px 24px; border-left: 4px solid var(--coral-500); }
  .app-guides h2 { margin-top: 0; }
  .app-guides .leg-title { font-size: 1.25rem; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
