/* CapitalVaultEdge — guia editorial de inglês para viagens
   Visual: branco limpo, petróleo e turquesa do logo. Mobile first. */

:root {
  --petrol: #0b3d4f;
  --petrol-2: #0e5266;
  --teal: #0f7c86;
  --teal-2: #13959c;
  --aqua: #7fcfd6;
  --aqua-soft: #e6f4f5;
  --aqua-softer: #f2f9fa;
  --bg: #ffffff;
  --bg-alt: #f5f8f9;
  --text: #11252e;
  --muted: #5a6e77;
  --line: #dce6e9;
  --line-2: #c9d7db;
  --ok: #1d8a5b;
  --ok-soft: #e5f5ec;
  --mid: #b07a12;
  --mid-soft: #fbf2df;
  --bad: #b5473a;
  --bad-soft: #fbeae7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 61, 79, .06), 0 4px 16px rgba(11, 61, 79, .07);
  --shadow-lg: 0 10px 40px rgba(11, 61, 79, .16);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --wrap: 1180px;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 60px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--petrol); }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--petrol); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--petrol); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.print-only { display: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .7em 1.2em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--petrol); color: #fff; }
.btn-ghost { background: #fff; color: var(--petrol); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost[aria-pressed="true"] { background: var(--aqua-soft); border-color: var(--teal); color: var(--petrol); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn-sm { padding: .5em .95em; font-size: .87rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 0; background: transparent; color: var(--petrol); position: relative; text-decoration: none;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--aqua-soft); color: var(--teal); }
.icon-btn .icon { width: 22px; height: 22px; }
.link-more { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-more:hover .icon { transform: translateX(3px); }
.link-more .icon { transition: transform .15s; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header); }
.brand img { height: 30px; width: auto; }
.brand { flex: none; }
.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--bad); color: #fff; font-size: .68rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.menu-btn { margin-left: -8px; }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .brand img { height: 34px; }
  .main-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
  .main-nav > a, .dd-btn {
    padding: .55em .95em; border-radius: 999px; text-decoration: none; color: var(--text);
    font-weight: 600; font-size: .96rem; border: 0; background: none; display: inline-flex; align-items: center; gap: .3em;
  }
  .main-nav > a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { background: var(--aqua-soft); color: var(--petrol); }
  .main-nav > a[aria-current="page"], .dd-btn[data-current] { color: var(--teal); background: var(--aqua-softer); }
  .header-actions { margin-left: 0; }
}
.dd { position: relative; }
.dd-caret { transform: rotate(90deg); width: .9em; height: .9em; transition: transform .15s; }
.dd-btn[aria-expanded="true"] .dd-caret { transform: rotate(-90deg); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 400px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px;
}
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.dd-item:hover { background: var(--aqua-softer); color: var(--text); }
.dd-item strong { display: block; color: var(--petrol); font-size: .95rem; }
.dd-item small { color: var(--muted); font-size: .83rem; }
.dd-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--aqua-soft); color: var(--teal); display: grid; place-items: center; flex: none; }

/* painel de voz */
.voice { position: relative; }
.voice-panel {
  position: absolute; right: -50px; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px; z-index: 50;
}
.voice-title { font-weight: 800; color: var(--petrol); margin-bottom: 8px; }
.voice-panel fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.voice-panel legend { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.voice-panel label { display: flex; gap: 8px; align-items: center; padding: 3px 0; font-size: .93rem; }
.voice-panel .switch { margin-bottom: 12px; }
.voice-note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
input[type=radio], input[type=checkbox] { accent-color: var(--teal); width: 17px; height: 17px; }

/* menu lateral (mobile) */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(8, 30, 40, .45); }
.drawer-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff;
  padding: 14px 12px 24px; overflow-y: auto; animation: slidein .2s ease;
}
@keyframes slidein { from { transform: translateX(-30px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding: 0 4px; }
.drawer-head img { height: 26px; width: auto; }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.drawer nav a .icon { color: var(--teal); }
.drawer nav a:hover { background: var(--aqua-softer); }
.drawer-label { margin: 14px 10px 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }

/* barra inferior (mobile) */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(11,61,79,.06);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); text-decoration: none; padding: 4px 0; }
.tabbar a .icon { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--teal); }
.tabbar .tab-main .icon { background: var(--teal); color: #fff; width: 40px; height: 40px; padding: 9px; border-radius: 14px; margin-top: -18px; box-shadow: 0 4px 12px rgba(15,124,134,.35); }
.tabbar .tab-main { color: var(--petrol); }
@media (min-width: 960px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* busca */
.search-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(8, 30, 40, .5); padding: 12px; overflow-y: auto; }
.search-panel { max-width: 680px; margin: 6vh auto 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.search-box > .icon { color: var(--teal); width: 22px; height: 22px; }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 1.05rem; padding: 10px 0; min-width: 0; background: none; }
.search-results { padding: 14px 18px 18px; max-height: 70vh; overflow-y: auto; }
.search-hint { color: var(--muted); font-size: .92rem; margin: 0; }
.search-hint button { border: 1px solid var(--line-2); background: var(--aqua-softer); border-radius: 999px; padding: 2px 10px; margin: 3px 2px; color: var(--petrol); font-weight: 600; }
.search-empty { color: var(--muted); }
.sr-h { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; margin: 12px 0 6px; }
.sr-h:first-child { margin-top: 0; }
.sr-list { list-style: none; padding: 0; margin: 0; }
.sr-list li { display: flex; align-items: center; gap: 6px; }
.sr-list a { flex: 1; display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.sr-list a:hover { background: var(--aqua-softer); }
.sr-list a span { font-weight: 700; color: var(--petrol); }
.sr-list a small { display: block; color: var(--muted); }
.sr-inline { display: flex; flex-wrap: wrap; gap: 4px; }
.sr-inline a small { display: inline; }
.sr-more { margin-top: 14px; }

/* trilha */
.crumbs { padding-top: 14px; font-size: .85rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }

/* ---------- elementos gerais ---------- */
.page-head { padding: 22px 16px 10px; }
.page-head .lead { max-width: 760px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: .4em; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--teal); margin-bottom: .6em; text-decoration: none; }
.eyebrow-link:hover { color: var(--petrol); }
.section { padding: 34px 16px; }
.section-tight { margin: 26px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 20px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--petrol); font-weight: 600; font-size: .9rem;
  text-decoration: none; line-height: 1.2;
}
.chip .icon { color: var(--teal); }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip[aria-pressed="true"], .chip[aria-current="page"], .chips-check .chip:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip[aria-pressed="true"] .icon, .chip[aria-current="page"] .icon, .chips-check .chip:has(input:checked) .icon { color: #fff; }
.chips-check input { position: absolute; opacity: 0; pointer-events: none; }
.chips-check .chip { position: relative; cursor: pointer; }
.chips-check .chip:focus-within { outline: 3px solid var(--aqua); outline-offset: 1px; }
.tag { display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.tag .icon { width: 1em; height: 1em; }
.tag-ess { background: var(--aqua-soft); color: var(--petrol); }
.tag-hear { background: var(--mid-soft); color: #7a5307; }
.tag-tom { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.lvl { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 9px; border-radius: 999px; }
.lvl-iniciante { background: var(--ok-soft); color: var(--ok); }
.lvl-basico { background: var(--aqua-soft); color: var(--teal); }
.lvl-intermediario { background: var(--mid-soft); color: #8a5f0c; }
.input { width: 100%; padding: .7em .9em; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; }
.input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,124,134,.15); }
.input-sm { padding: .45em .7em; font-size: .92rem; width: auto; max-width: 100%; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; cursor: pointer; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--bg-alt); border: 1px solid var(--line); padding: 4px; border-radius: 999px; }
.seg button, .seg label span { border: 0; background: none; padding: .42em .9em; border-radius: 999px; font-weight: 700; font-size: .87rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35em; cursor: pointer; }
.seg button[aria-pressed="true"], .seg input:checked + span { background: #fff; color: var(--petrol); box-shadow: var(--shadow); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg input:focus-visible + span { outline: 3px solid var(--aqua); }
.seg-wrap { border-radius: 16px; }
.count { display: inline-block; font-size: .8rem; background: var(--aqua-soft); color: var(--teal); padding: 1px 9px; border-radius: 999px; vertical-align: middle; font-family: var(--font); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); background: var(--bg-alt); border-radius: var(--radius); }
.empty-ic { width: 42px; height: 42px; color: var(--aqua); margin: 0 auto 8px; display: block; }
.loading { opacity: .55; transition: opacity .2s; pointer-events: none; }
.updated { font-size: .85rem; color: var(--muted); }
.credit { position: absolute; right: 8px; bottom: 8px; font-size: .68rem; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 999px; }
.ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--aqua-soft), #d4ecef); color: var(--teal); aspect-ratio: 3/2; width: 100%; }
.ph-icon { width: 38%; height: 38%; opacity: .5; }

/* ---------- hero da home ---------- */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(127,207,214,.35), transparent 60%),
    linear-gradient(180deg, var(--aqua-softer), #fff);
  padding: 28px 0 30px; border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 26px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.3rem); line-height: 1.08; }
.hero h1 span { color: var(--teal); }
.hero .lead { max-width: 620px; }
.hero-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 5px 5px 5px 16px; box-shadow: var(--shadow); max-width: 620px; margin: 18px 0 16px; }
.hero-search:focus-within { border-color: var(--teal); }
.hero-search > .icon { color: var(--teal); }
.hero-search input { flex: 1; border: 0; outline: 0; background: none; padding: 8px 0; min-width: 0; }
@media (min-width: 900px) { .hero { padding: 54px 0 56px; } .hero-grid { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; } }

.today {
  background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-2) 55%, var(--teal) 100%); color: #fff;
  border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.today::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(127,207,214,.18); }
.today-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.today-label { display: inline-flex; gap: .4em; align-items: center; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }
.today-date { font-size: .82rem; opacity: .8; }
.today-en { font-family: var(--font-h); font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 700; line-height: 1.25; margin-bottom: .3em; }
.today-pron { color: var(--aqua); font-weight: 600; font-size: .95rem; margin-bottom: .6em; }
.today-pt { font-size: 1.08rem; margin-bottom: .6em; }
.today-ctx { font-size: .9rem; opacity: .85; }
.today-ctx a, .today-from a { color: #fff; }
.today-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.today-actions .fav { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); }
.today-actions .link-more { color: #fff; margin-left: auto; }
.today-from { font-size: .82rem; opacity: .85; margin: 12px 0 0; }
.today-big { max-width: 820px; padding: 30px; }
.today-big .today-en { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.speak-inline .icon { width: 1.1em; height: 1.1em; }

.stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -1px; padding: 0; transform: translateY(-20px); max-width: calc(var(--wrap) - 32px); width: calc(100% - 32px); }
.stats-bar div { background: #fff; padding: 14px; text-align: center; }
.stats-bar strong { display: block; font-family: var(--font-h); font-size: 1.6rem; color: var(--teal); line-height: 1.1; }
.stats-bar span { font-size: .82rem; color: var(--muted); font-weight: 600; }
@media (min-width: 700px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }

/* ---------- cards de situação ---------- */
.sit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .sit-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .sit-grid { grid-template-columns: repeat(4, 1fr); } }
.sit-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; text-decoration: none; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.sit-media, .sit-media img, .sit-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.sit-media img { transition: transform .4s; }
.sit-card:hover .sit-media img { transform: scale(1.05); }
.sit-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,61,79,0) 25%, rgba(11,61,79,.92) 100%); z-index: 0; }
.sit-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; z-index: 1; display: flex; flex-direction: column; }
.sit-info strong { font-family: var(--font-h); font-size: 1.05rem; line-height: 1.2; }
.sit-info small { font-size: .78rem; opacity: .85; }
.sit-count { font-size: .72rem; font-weight: 700; margin-top: 4px; color: var(--aqua); }
.sit-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sit, var(--teal)); color: #fff; margin-bottom: 6px; flex: none; }
.sit-ic .icon { width: 19px; height: 19px; }
.sit-card .sit-ic { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.3); }
.sit-ic-lg { width: 48px; height: 48px; border-radius: 14px; }
.sit-ic-lg .icon { width: 26px; height: 26px; }
.h-ic { display: flex; align-items: center; gap: 10px; }
.h-ic .sit-ic { margin: 0; }

/* lista de situações */
.sit-list { display: grid; gap: 16px; padding-bottom: 30px; }
.sit-row { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.sit-row-media img, .sit-row-media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/8; }
.sit-row-body { padding: 18px; }
.sit-row-body h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 1.3rem; }
.sit-row-body h2 a { color: var(--petrol); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.sit-row-body h2 .sit-ic { margin: 0; }
.sit-row-body h2 small { font-family: var(--font); font-size: .85rem; color: var(--muted); font-weight: 500; }
.sit-row-body p { color: var(--muted); }
.sit-row-topics { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.sit-row-topics a { display: inline-block; font-size: .87rem; padding: 4px 11px; border-radius: 999px; background: var(--aqua-softer); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.sit-row-topics a:hover { border-color: var(--teal); }
@media (min-width: 760px) { .sit-row { grid-template-columns: 300px 1fr; } .sit-row-media img, .sit-row-media .ph { aspect-ratio: auto; min-height: 100%; } }

/* hero da situação */
.sit-hero { position: relative; color: #fff; min-height: 300px; display: flex; align-items: flex-end; isolation: isolate; margin-top: 12px; }
.sit-hero-media, .sit-hero-media img, .sit-hero-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; aspect-ratio: auto; }
.sit-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,61,79,.94) 0%, rgba(11,61,79,.75) 55%, rgba(11,61,79,.35) 100%); }
.sit-hero-inner { padding-top: 40px; padding-bottom: 32px; }
.sit-hero h1 { color: #fff; margin-top: 10px; }
.sit-hero h1 small { display: block; font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--aqua); margin-top: 4px; }
.sit-hero .lead { color: rgba(255,255,255,.9); max-width: 640px; }
.sit-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.sit-hero-stats span { font-size: .82rem; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 4px 12px; border-radius: 999px; }
.intro-text { font-size: 1.07rem; }

/* layout com coluna lateral */
.layout-side { display: grid; gap: 28px; padding-top: 10px; padding-bottom: 20px; }
.main-col { min-width: 0; }
@media (min-width: 1000px) {
  .layout-side { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .layout-side-left { grid-template-columns: 290px minmax(0, 1fr); }
}
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; background: #fff; }
.side-box h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.side-box p { font-size: .93rem; color: var(--muted); }
.side-sticky { position: sticky; top: calc(var(--header) + 70px); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; align-items: center; gap: 8px; padding: 7px 4px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .93rem; border-radius: 8px; }
.side-links a .icon { color: var(--teal); }
.side-links a:hover { color: var(--teal); background: var(--aqua-softer); }
.side-actions { display: grid; gap: 8px; margin-top: 14px; }
.toc { padding-left: 20px; margin: 0; font-size: .93rem; }
.toc li { margin: 4px 0; }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--teal); }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--aqua-soft); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.card-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; gap: 5px; align-items: center; font-size: .74rem; font-weight: 800; background: rgba(255,255,255,.94); color: var(--petrol); padding: 4px 10px; border-radius: 999px; }
.card-badge .icon { color: var(--teal); }
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.08rem; margin: 0 0 2px; display: block; font-family: var(--font-h); color: var(--petrol); line-height: 1.25; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card-title a:hover { color: var(--teal); }
.card-en { font-size: .86rem; color: var(--teal); font-style: italic; margin-bottom: 8px; }
.card-text { font-size: .92rem; color: var(--muted); margin-bottom: 12px; display: block; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: auto; font-size: .8rem; color: var(--muted); font-weight: 600; }
.card-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.card-topic > .fav { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.94); }
.card-article .eyebrow { margin-bottom: 4px; }

/* simulações */
.sim-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .sim-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .sim-grid:not(.sim-grid-1) { grid-template-columns: repeat(3, 1fr); } }
.sim-grid-1 { grid-template-columns: 1fr !important; }
.card-sim { flex-direction: row; align-items: center; gap: 14px; padding: 16px; text-decoration: none; color: var(--text); }
.card-sim .card-body { padding: 0; }
.card-sim .eyebrow { margin-bottom: 2px; font-size: .7rem; }
.card-sim .card-text { margin-bottom: 8px; }
.sim-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--aqua-soft); color: var(--teal); display: grid; place-items: center; flex: none; align-self: flex-start; }
.sim-ic .icon { width: 24px; height: 24px; }
.sim-go { color: var(--teal); width: 22px; height: 22px; }
.sim-best { color: var(--ok); }
.sim-grid-mini .card-text, .sim-grid-mini .sim-ic, .sim-grid-mini .sim-go { display: none; }
.sim-grid-mini .card-sim { padding: 12px 14px; }
.sim-grid-mini .card-title { font-size: .98rem; }
.sim-cta { margin-top: 22px; }

/* ---------- ferramentas ---------- */
.tools-band { background: linear-gradient(160deg, var(--petrol), var(--petrol-2)); color: #fff; padding: 40px 0; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255,255,255,.8); }
.tools-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tools-grid { grid-template-columns: repeat(4, 1fr); } }
.tool { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 20px; color: #fff; text-decoration: none; transition: background .15s, transform .15s; }
.tool:hover { background: rgba(255,255,255,.13); color: #fff; transform: translateY(-2px); }
.tool strong { font-family: var(--font-h); font-size: 1.15rem; }
.tool span:not(.tool-ic) { font-size: .92rem; opacity: .85; flex: 1; }
.tool em { font-style: normal; font-weight: 800; color: var(--aqua); display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.tool-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--teal); display: grid; place-items: center; }
.tool-ic .icon { width: 24px; height: 24px; }

/* frase aleatória + teste rápido */
.two-col { display: grid; gap: 22px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.random-box, .quick-quiz { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--aqua-softer); }
.box-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.box-head h2 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.box-head h2 .icon { color: var(--teal); }
.random-card { margin-bottom: 14px; min-height: 150px; }

/* faixa sobre */
.about-band { display: grid; gap: 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .about-band { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 50px; } }
.checks { list-style: none; padding: 20px; margin: 0; display: grid; gap: 12px; background: var(--aqua-softer); border-radius: var(--radius); }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks .icon { color: var(--ok); margin-top: 3px; }

/* ---------- frase ---------- */
.phrase-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .phrase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .phrase-grid { grid-template-columns: repeat(3, 1fr); } }
.phrase-list { display: grid; gap: 10px; }
.phrase {
  display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 12px 14px 16px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .2s;
  border-left: 4px solid var(--aqua);
}
.phrase-hear { border-left-color: #e2b55a; }
.phrase.hl { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,124,134,.18); }
.phrase-body { flex: 1; min-width: 0; }
.phrase-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.phrase-tags:empty { display: none; }
.phrase-en { font-weight: 700; font-size: 1.08rem; color: var(--petrol); margin: 0 0 2px; line-height: 1.35; }
.phrase-pron { font-size: .86rem; color: var(--teal); margin: 0 0 4px; font-weight: 600; letter-spacing: .01em; }
.phrase-pt { margin: 0; color: var(--text); }
.phrase-ctx { font-size: .87rem; color: var(--muted); margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); }
.phrase-from { display: inline-flex; gap: 5px; align-items: center; font-size: .78rem; font-weight: 700; margin-top: 8px; text-decoration: none; }
.phrase-actions { display: flex; flex-direction: column; gap: 4px; }
.speak, .fav, .copy {
  width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--teal); flex: none; padding: 0;
}
.speak:hover, .copy:hover { background: var(--aqua-soft); border-color: var(--aqua); }
.speak.speaking { background: var(--teal); color: #fff; border-color: var(--teal); animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(15,124,134,.18); } }
.fav { color: var(--muted); }
.fav:hover { color: var(--bad); border-color: #f0c4be; }
.fav.on { color: var(--bad); background: var(--bad-soft); border-color: #f0c4be; }
.fav.on .icon, [data-fav].on .icon { fill: currentColor; }
.btn[data-fav].on { color: var(--bad); border-color: #f0c4be; background: var(--bad-soft); }
.speak-sm { width: 28px; height: 28px; border-radius: 8px; vertical-align: middle; }
.speak-sm .icon { width: 15px; height: 15px; }
.copy { color: var(--muted); }

/* ocultar pronúncia e tradução */
body.no-pron [data-pron] { display: none; }
.hide-trad [data-trad] { color: transparent; background: repeating-linear-gradient(-45deg, var(--aqua-soft) 0 6px, var(--aqua-softer) 6px 12px); border-radius: 6px; cursor: pointer; user-select: none; }
.hide-trad [data-trad]::before { content: 'Toque para ver a tradução'; color: var(--muted); font-size: .8rem; font-weight: 600; position: absolute; }
.hide-trad .phrase-pt[data-trad], .hide-trad .kt-pt[data-trad] { position: relative; }
.hide-trad [data-trad].shown { color: inherit; background: none; }
.hide-trad [data-trad].shown::before { content: none; }
.hide-trad em[data-trad]::before { content: '•••'; }

/* ---------- página de tópico ---------- */
.topic-hero { padding: 18px 0 10px; }
.topic-hero-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .topic-hero-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; } }
.topic-en { font-size: 1.1rem; color: var(--teal); font-style: italic; margin-top: -4px; }
.topic-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .87rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.topic-meta span { display: inline-flex; align-items: center; gap: 5px; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-hero-media { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/2; background: var(--aqua-soft); }
.topic-hero-media img, .topic-hero-media .ph { width: 100%; height: 100%; object-fit: cover; }
.topic-nav { position: sticky; top: var(--header); z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); backdrop-filter: blur(8px); margin-top: 18px; }
.topic-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.topic-nav .wrap::-webkit-scrollbar { display: none; }
.topic-nav a { white-space: nowrap; padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--muted); }
.topic-nav a:hover { color: var(--petrol); background: var(--bg-alt); }
.topic-nav a.on { background: var(--aqua-soft); color: var(--petrol); }
.topic-section { margin: 30px 0; }
.needs { background: var(--aqua-softer); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 22px 0; }
.needs h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.needs h2 .icon { color: var(--teal); }
.needs-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* diálogo */
.dialog-scene { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; color: var(--muted); background: var(--bg-alt); padding: 10px 14px; border-radius: var(--radius-sm); }
.dialog-scene .icon { color: var(--teal); margin-top: 3px; }
.dialog { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.bubble { position: relative; max-width: 88%; padding: 10px 46px 10px 14px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); transition: transform .25s, opacity .25s, box-shadow .2s; }
.bubble.enter { opacity: 0; transform: translateY(8px); }
.bubble-them { align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble-me { align-self: flex-end; background: var(--aqua-soft); border-color: #bfe3e6; border-bottom-right-radius: 4px; }
.bubble.now { box-shadow: 0 0 0 3px rgba(15,124,134,.3); }
.bubble-who { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.bubble-en { font-weight: 700; color: var(--petrol); margin: 2px 0; }
.bubble-pt { font-size: .9rem; color: var(--muted); margin: 0; }
.bubble-speak { position: absolute; right: 6px; top: 8px; width: 32px; height: 32px; }
.bubble-reveal { display: none; }
.dialog.no-pt .bubble-pt, .sim.no-pt .bubble-pt { display: none; }
.dialog.role .bubble-me:not(.revealed) .bubble-en, .dialog.role .bubble-me:not(.revealed) .bubble-speak { visibility: hidden; height: 0; margin: 0; }
.dialog.role .bubble-me:not(.revealed) .bubble-en { display: block; }
.dialog.role .bubble-me:not(.revealed) .bubble-reveal { display: inline-block; border: 1.5px dashed var(--teal); background: #fff; color: var(--teal); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 4px 12px; margin-top: 6px; }
.study .bubble:not(.shown) .bubble-pt { filter: blur(5px); cursor: pointer; }

/* vocabulário */
.vocab { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 700px) { .vocab { grid-template-columns: repeat(2, 1fr); } }
.vocab-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 50px 10px 14px; }
.vocab-front { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.vocab-en { font-weight: 800; color: var(--petrol); }
.vocab-pron { font-size: .82rem; color: var(--teal); font-weight: 600; }
.vocab-back { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.vocab-pt { font-size: .95rem; }
.vocab-type { font-size: .72rem; color: var(--muted); font-style: italic; }
.vocab-from { font-size: .78rem; font-weight: 700; text-decoration: none; }
.vocab-ex { font-size: .83rem; color: var(--muted); margin: 4px 0 0; font-style: italic; }
.vocab-speak { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; }
.vocab-compact .vocab-item { padding-top: 8px; padding-bottom: 8px; }
.vocab.cards .vocab-item { cursor: pointer; min-height: 84px; display: flex; flex-direction: column; justify-content: center; }
.vocab.cards .vocab-item .vocab-back, .vocab.cards .vocab-item .vocab-ex { display: none; }
.vocab.cards .vocab-item.flipped .vocab-back, .vocab.cards .vocab-item.flipped .vocab-ex { display: flex; }
.vocab.cards .vocab-item.flipped { background: var(--aqua-softer); border-color: var(--aqua); }
.vocab.cards .vocab-item:not(.flipped)::after { content: 'toque para virar'; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.study .vocab-item:not(.shown) .vocab-pt { filter: blur(5px); }

/* dicas e erros */
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tips li { display: flex; gap: 12px; align-items: flex-start; background: var(--aqua-softer); border-radius: var(--radius-sm); padding: 12px 14px; }
.tips li > .icon { color: var(--teal); margin-top: 3px; width: 20px; height: 20px; }
.tips p { margin: 0; }
.mistakes { display: grid; gap: 12px; }
@media (min-width: 760px) { .mistakes { grid-template-columns: repeat(2, 1fr); } }
.mistake { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.mistake p { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }
.mk-wrong { color: var(--bad); text-decoration: line-through; text-decoration-color: rgba(181,71,58,.5); }
.mk-right { color: var(--ok); font-weight: 700; }
.mk-wrong .icon, .mk-right .icon { flex: none; }
.mk-why { font-size: .9rem; color: var(--muted); display: block !important; margin: 8px 0 0 !important; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 10px; }
.pager a { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--petrol); font-weight: 700; font-size: .93rem; }
.pager a:hover { border-color: var(--teal); }
.pager small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; }
.pager-next { justify-content: flex-end; text-align: right; grid-column: 2; }
.related { border-top: 1px solid var(--line); }
.related-sub { margin-top: 28px; }
.article-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .article-links { grid-template-columns: repeat(3, 1fr); } }
.article-links a { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.article-links a:hover { border-color: var(--teal); }
.article-links .icon { color: var(--teal); margin-top: 3px; }
.article-links strong { display: block; color: var(--petrol); }
.article-links small { color: var(--muted); }

/* ---------- quiz ---------- */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.quick-quiz .quiz { box-shadow: none; }
.quiz-top { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--muted); }
.quiz-pts { color: var(--ok); }
.quiz-bar { height: 6px; background: var(--bg-alt); border-radius: 999px; margin: 6px 0 14px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--aqua)); border-radius: 999px; transition: width .3s; }
.quiz-type { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--teal); margin-bottom: 4px; }
.quiz-type span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.quiz-q { font-weight: 700; font-size: 1.06rem; color: var(--petrol); }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opt { display: flex; align-items: center; gap: 10px; text-align: left; padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 600; transition: border-color .15s, background .15s; }
.quiz-opt:hover:not([disabled]) { border-color: var(--teal); background: var(--aqua-softer); }
.opt-letter { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-alt); display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: var(--muted); flex: none; }
.quiz-opt.right { border-color: var(--ok); background: var(--ok-soft); }
.quiz-opt.right .opt-letter { background: var(--ok); color: #fff; }
.quiz-opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.quiz-opt.wrong .opt-letter { background: var(--bad); color: #fff; }
.quiz-opt[disabled] { cursor: default; }
.quiz-gap { font-size: 1.15rem; font-weight: 700; color: var(--petrol); line-height: 2; }
.gap-input { border: 0; border-bottom: 2.5px solid var(--teal); background: var(--aqua-softer); padding: 0 6px; margin: 0 4px; font-weight: 700; color: var(--petrol); border-radius: 6px 6px 0 0; text-align: center; max-width: 140px; }
.gap-input:focus { outline: 0; background: var(--aqua-soft); }
.gap-input.right { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }
.gap-input.wrong { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); text-decoration: line-through; }
.quiz-hint { font-size: .9rem; color: var(--muted); }
.quiz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.quiz-chips .chip.right { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.quiz-fb { margin-top: 14px; border-radius: 12px; }
.quiz-fb.ok, .quiz-fb.bad { padding: 14px; }
.quiz-fb.ok { background: var(--ok-soft); }
.quiz-fb.bad { background: var(--bad-soft); }
.fb-title { font-weight: 800; margin-bottom: 4px; }
.quiz-fb.ok .fb-title { color: var(--ok); }
.quiz-fb.bad .fb-title { color: var(--bad); }
.quiz-fb p { font-size: .93rem; }
.fb-audio { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--petrol); }
.quiz-result { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--teal) calc(var(--p) * 1%), var(--bg-alt) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
.ring span { position: relative; font-family: var(--font-h); font-weight: 800; font-size: 1.35rem; color: var(--petrol); }
.res-title { font-family: var(--font-h); font-weight: 800; font-size: 1.2rem; color: var(--petrol); margin-bottom: 4px; }
.res-best { font-size: .85rem; color: var(--ok); font-weight: 700; }
.quiz-review { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.quiz-review ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.quiz-review li { margin: 6px 0; }
.quiz-big { padding: 24px; }

/* exercícios */
.ex-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.ex-form legend { font-weight: 800; color: var(--petrol); margin-bottom: 6px; font-size: .93rem; }
.ex-form label { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: .93rem; }
.ex-form > label { margin-bottom: 14px; }
.check-list { display: grid; gap: 0; }
.ex-best { margin-left: auto; font-size: .75rem; font-weight: 800; color: var(--ok); }
.fs-hint { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }

/* ---------- simulador ---------- */
.how-steps { display: grid; gap: 10px; margin-bottom: 10px; }
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-steps div { display: flex; gap: 12px; align-items: flex-start; background: var(--aqua-softer); padding: 14px; border-radius: var(--radius); }
.how-steps span { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.how-steps p { margin: 0; font-size: .93rem; }
.sim { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; box-shadow: var(--shadow); }
.sim-scene { background: var(--aqua-softer); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; }
.sim-scene p { margin: 0 0 6px; }
.sim-scene p:last-child { margin: 0; }
.sim-scene .icon { color: var(--teal); }
.sim-top { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 14px 0 6px; }
.sim-score { font-weight: 800; color: var(--petrol); background: var(--aqua-soft); padding: 4px 12px; border-radius: 999px; font-size: .9rem; margin-right: auto; }
.sim-log { min-height: 80px; }
.sim-fb { font-size: .86rem; margin-top: 8px; padding: 8px 10px; border-radius: 10px; }
.sim-fb-ok { background: var(--ok-soft); color: #145c3d; }
.sim-fb-mid { background: var(--mid-soft); color: #6d4a08; }
.sim-fb-bad { background: var(--bad-soft); color: #8a3329; }
.sim-ask { font-weight: 800; color: var(--petrol); margin: 16px 0 8px; }
.sim-options { display: grid; gap: 8px; }
.sim-opt { text-align: left; border: 1.5px solid var(--line-2); background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background .15s; }
.sim-opt:hover { border-color: var(--teal); background: var(--aqua-softer); }
.sim-opt span { font-weight: 700; color: var(--petrol); }
.sim-opt small { color: var(--muted); font-size: .86rem; }
.sim.no-pt .sim-opt small { display: none; }
.sim-end { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- assistente ---------- */
.wiz-wrap { padding-bottom: 30px; }
.wiz { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); max-width: 900px; }
.wiz-steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: st; }
.wiz-steps li { counter-increment: st; font-size: .78rem; font-weight: 700; color: var(--muted); border-top: 4px solid var(--line); padding-top: 6px; }
.wiz-steps li::before { content: counter(st) '. '; }
.wiz-steps li.done { border-color: var(--teal); color: var(--petrol); }
.wiz-steps li.now { color: var(--teal); }
.wiz-steps a { color: inherit; }
.wiz-q { display: flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.wiz-q .icon { color: var(--teal); }
.wiz-sub { color: var(--muted); margin-top: -6px; }
.wiz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .wiz-grid { grid-template-columns: repeat(4, 1fr); } }
.wiz-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 10px; border: 1.5px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--petrol); transition: border-color .15s, transform .15s; }
.wiz-opt .icon { width: 30px; height: 30px; color: var(--sit, var(--teal)); }
.wiz-opt:hover { border-color: var(--teal); transform: translateY(-2px); background: var(--aqua-softer); }
.wiz-list { display: grid; gap: 8px; }
.wiz-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); }
.wiz-row:hover { border-color: var(--teal); background: var(--aqua-softer); }
.wiz-row strong { color: var(--petrol); }
.wiz-row small { grid-column: 1; color: var(--muted); font-size: .85rem; }
.wiz-row .icon { grid-row: 1 / span 2; grid-column: 2; color: var(--teal); }
.wiz-row-alt { background: var(--bg-alt); border-style: dashed; }
.wiz-back { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-weight: 700; text-decoration: none; }
.wiz-h3 { margin-top: 22px; }
.wiz-tip { display: flex; gap: 10px; background: var(--mid-soft); padding: 12px 14px; border-radius: 12px; margin-top: 18px; }
.wiz-tip .icon { color: var(--mid); flex: none; margin-top: 3px; }
.wiz-end { margin-top: 22px; }

/* ---------- kit ---------- */
.kit-form { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: var(--aqua-softer); margin-bottom: 26px; }
.kit-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.kit-form legend { font-family: var(--font-h); font-weight: 700; color: var(--petrol); font-size: 1.05rem; margin-bottom: 10px; }
.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
@media (min-width: 700px) { .kit-grid { grid-template-columns: repeat(4, 1fr); } }
.kit-opt { position: relative; cursor: pointer; }
.kit-opt input { position: absolute; opacity: 0; }
.kit-opt-box { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-size: .92rem; height: 100%; }
.kit-opt-box .icon { color: var(--sit, var(--teal)); }
.kit-opt input:checked + .kit-opt-box { border-color: var(--teal); background: var(--teal); color: #fff; }
.kit-opt input:checked + .kit-opt-box .icon { color: #fff; }
.kit-opt input:focus-visible + .kit-opt-box { outline: 3px solid var(--aqua); }
.kit-options { display: grid; gap: 4px 24px; }
@media (min-width: 900px) { .kit-options { grid-template-columns: 1.4fr 1fr 1fr; } }
.kit-options label { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; margin-bottom: 6px; }
.kit-options input { margin-top: 4px; }
.kit { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; box-shadow: var(--shadow); margin-bottom: 30px; }
.kit-head { border-bottom: 2px solid var(--teal); padding-bottom: 14px; margin-bottom: 16px; }
.kit-head h2 { margin-bottom: 4px; }
.kit-head > p { color: var(--muted); }
.kit-note { display: flex; gap: 8px; font-size: .9rem; background: var(--aqua-softer); padding: 10px 12px; border-radius: 10px; color: var(--text) !important; }
.kit-note .icon { color: var(--teal); flex: none; margin-top: 3px; }
.kit-stage { margin: 22px 0; break-inside: avoid-page; }
.kit-stage h3 { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.kit-stage h3 .icon { color: var(--teal); }
.kit-num { width: 28px; height: 28px; border-radius: 50%; background: var(--petrol); color: #fff; font-size: .85rem; display: grid; place-items: center; }
.kit-topic h4 { font-size: .98rem; margin: 14px 0 6px; }
.kit-topic h4 a { text-decoration: none; }
.kit-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.kit-table td { border-bottom: 1px solid var(--line); padding: 7px 6px; vertical-align: top; }
.kt-en { width: 52%; font-weight: 700; color: var(--petrol); }
.kt-en small { display: block; font-weight: 600; color: var(--teal); font-size: .8rem; }
.kt-act { width: 44px; text-align: right; }
.kit-vocab ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; font-size: .9rem; }
.kit-vocab span { font-weight: 700; color: var(--petrol); }
.kit-vocab em { color: var(--muted); }
.kit-foot { font-size: .8rem; color: var(--muted); text-align: center; margin: 20px 0 0; }
@media (max-width: 600px) { .kit-table tr { display: grid; grid-template-columns: 1fr auto; } .kt-en { width: auto; } .kt-pt { grid-column: 1; border-bottom: 0 !important; padding-top: 0 !important; } .kt-act { grid-row: 1; grid-column: 2; } .kit-table td.kt-en { border-bottom: 0; } .kit-table tr { border-bottom: 1px solid var(--line); } }

/* ---------- explorador ---------- */
.explore { display: grid; gap: 22px; padding-bottom: 30px; }
@media (min-width: 1000px) { .explore { grid-template-columns: 320px minmax(0, 1fr); align-items: start; } .explore-form { position: sticky; top: calc(var(--header) + 16px); max-height: calc(100vh - var(--header) - 32px); overflow-y: auto; } }
.explore-form { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--aqua-softer); display: grid; gap: 14px; }
.explore-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 12px; }
.explore-search:focus-within { border-color: var(--teal); }
.explore-search .icon { color: var(--teal); }
.explore-search input { flex: 1; border: 0; outline: 0; padding: 11px 0; min-width: 0; background: none; }
.filter-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); margin: 0 0 6px; cursor: pointer; }
.filter-count:not(:empty) { background: var(--teal); color: #fff; border-radius: 999px; padding: 0 7px; margin-left: 4px; }
.filter-sits .chips { gap: 6px; }
.filter-sits .chip { font-size: .82rem; padding: .35em .75em; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.filter-row > label:not(.switch) { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.results-head p { margin: 0; }
.results-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.results-jump a { font-size: .82rem; font-weight: 700; text-decoration: none; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); }
.results-jump span { color: var(--muted); }
.results-group { margin-bottom: 30px; }
.results-group h2 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; }
.results-group h2 > .icon { color: var(--teal); }
.more { text-align: center; margin-top: 16px; }
.explore-random { margin-bottom: 20px; }
.explore .phrase-grid { grid-template-columns: 1fr; }
@media (min-width: 760px) { .explore .phrase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .explore .card-grid { grid-template-columns: repeat(2, 1fr); } }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.ess-group { margin-bottom: 34px; }
.ess-group h2 { display: flex; align-items: center; gap: 10px; }
.ess-group h2 .sit-ic { margin: 0; }
.dated-day { display: block; font-size: .75rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.dated .phrase { height: calc(100% - 26px); }
.fav-sit { margin: 22px 0 10px; font-size: 1rem; color: var(--teal); }

/* flashcards */
.flash { max-width: 560px; margin: 10px auto 30px; text-align: center; }
.flash-count { color: var(--muted); font-size: .85rem; font-weight: 700; }
.flash-card { width: 100%; min-height: 220px; border: 0; border-radius: 22px; padding: 30px 20px; background: linear-gradient(150deg, var(--petrol), var(--teal)); color: #fff; font-size: 1.35rem; font-weight: 700; font-family: var(--font-h); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.flash-card small { display: block; font-family: var(--font); font-size: .82rem; font-weight: 500; opacity: .75; margin-top: 12px; }
.flash-back { display: none; }
.flash-card.flipped { background: #fff; color: var(--petrol); border: 2px solid var(--teal); }
.flash-card.flipped .flash-front { display: none; }
.flash-card.flipped .flash-back { display: block; }
.flash-card.flipped small { color: var(--teal); opacity: 1; }
.flash-actions { justify-content: center; margin-top: 16px; }

/* ---------- artigo / prosa ---------- */
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose-narrow { max-width: 780px; }
.article-head { max-width: 900px; padding-top: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.article-media { position: relative; margin: 20px 0 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16/8; background: var(--aqua-soft); }
.article-media img, .article-media .ph { width: 100%; height: 100%; object-fit: cover; }
.article-body section { scroll-margin-top: calc(var(--header) + 20px); }
.examples { display: grid; gap: 8px; margin: 14px 0 18px; }
.example { border-left: 4px solid var(--aqua); background: var(--aqua-softer); padding: 10px 14px; border-radius: 0 12px 12px 0; }
.example p { margin: 0; }
.ex-en { font-weight: 700; color: var(--petrol); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ex-pt { color: var(--text); font-size: .96rem; }
.ex-note { font-size: .88rem; color: var(--muted); margin-top: 4px !important; }
.table-wrap { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--aqua-softer); color: var(--petrol); font-weight: 800; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.callout { display: flex; gap: 12px; background: var(--mid-soft); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.callout .icon { color: var(--mid); flex: none; margin-top: 3px; }
.callout p { margin: 0; }

/* formulário */
.form { display: grid; gap: 14px; margin-bottom: 20px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .93rem; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.box { display: flex; gap: 10px; padding: 14px; border-radius: 12px; margin-bottom: 16px; }
.box ul { margin: 0; padding-left: 18px; }
.box p { margin: 0; }
.box-tip { background: var(--ok-soft); color: #145c3d; }
.box-alert { background: var(--bad-soft); color: #8a3329; }
.contact-alt { color: var(--muted); }

.sitemap-cols { columns: 280px; column-gap: 32px; padding-bottom: 30px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 22px; }
.sitemap-cols h2 { font-size: 1.05rem; }
.sitemap-cols ul { padding-left: 18px; margin: 0; font-size: .93rem; }
.notfound { text-align: center; margin: 0 auto; padding-bottom: 40px; }
.notfound .hero-search { margin: 20px auto; }
.notfound .btn-row { justify-content: center; }
.nf-code { font-family: var(--font-h); color: var(--teal); font-weight: 700; font-size: 1.2rem; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--petrol); color: rgba(255,255,255,.82); margin-top: 40px; padding: 40px 0 0; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 12px; }
.footer-brand p { font-size: .92rem; }
.site-footer h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 18px; padding-bottom: 22px; font-size: .82rem; color: rgba(255,255,255,.6); }

/* toast e cookies */
.toast { position: fixed; left: 50%; bottom: calc(82px + env(safe-area-inset-bottom)); transform: translate(-50%, 10px); background: var(--petrol); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); z-index: 90; opacity: 0; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .toast { bottom: 24px; } }
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .88rem; max-width: 640px; margin: 0 auto; }
.cookie p { margin: 0; flex: 1 1 260px; }
@media (min-width: 960px) { .cookie { bottom: 16px; } }
.ad-slot { margin: 26px auto; text-align: center; }
.ad-label { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }

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

/* ---------- impressão ---------- */
@media print {
  .site-header, .tabbar, .site-footer, .crumbs, .topic-nav, .side-col, .no-print, .phrase-actions, .speak, .fav, .copy,
  .cookie, .toast, .topic-actions, .needs, .seg, .btn, .btn-row, .quiz, .sim-cta, .pager, .related, .toolbar, .ad-slot, .page-kit .page-head { display: none !important; }
  body { padding: 0; font-size: 11pt; }
  .print-only { display: block; margin-bottom: 8px; }
  .layout-side { display: block; }
  .phrase, .card, .kit, .quiz { box-shadow: none; }
  .phrase { break-inside: avoid; }
  .phrase-grid { grid-template-columns: 1fr 1fr; }
  .kit { border: 0; padding: 0; }
  .topic-hero-media, .sit-hero-media { display: none; }
  .hide-trad [data-trad] { color: inherit !important; background: none !important; }
  .hide-trad [data-trad]::before { content: none !important; }
  a { color: inherit; text-decoration: none; }
}
