/* =========================================================================
   Activows — sistema visual
   1. Tokens        6. Header/Footer   11. Artigo         16. Comparador
   2. Reset         7. Botoes          12. FAQ            17. Desafio
   3. Layout        8. Medalhao        13. Linkagem       18. Busca
   4. Tipografia    9. Cards           14. Curiosidades   19. Movimento
   5. Atmosfera    10. Heros           15. Quiz/Mitos     20. Responsivo
   ========================================================================= */

/* 1. Tokens ------------------------------------------------------------- */

:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-ink: #14532d;
  --green-soft: #dcfce7;
  --green-mist: #f0fdf4;

  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-ink: #1e3a8a;
  --blue-soft: #dbeafe;
  --blue-mist: #eff6ff;

  --yellow: #facc15;
  --yellow-dark: #eab308;
  --yellow-ink: #854d0e;
  --yellow-soft: #fef9c3;
  --yellow-mist: #fefce8;

  /* marca, extraida do logotipo */
  --lime: #e2f05c;
  --olive: #879345;

  --ink: #0b1220;
  --ink-soft: #1e293b;
  --slate: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f6;
  --mist: #f1f5f9;
  --paper: #ffffff;
  --bg: #f7f9fb;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;

  --shadow-xs: 0 1px 2px rgb(11 18 32 / 0.05);
  --shadow-sm: 0 2px 8px -2px rgb(11 18 32 / 0.08), 0 1px 2px rgb(11 18 32 / 0.04);
  --shadow: 0 18px 40px -24px rgb(11 18 32 / 0.22), 0 2px 8px -4px rgb(11 18 32 / 0.08);
  --shadow-lg: 0 40px 80px -40px rgb(11 18 32 / 0.32), 0 8px 24px -16px rgb(11 18 32 / 0.16);
  --shadow-glow: 0 24px 60px -30px rgb(var(--accent-rgb) / 0.55);

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --step: clamp(3.5rem, 7vw, 7rem);
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --accent: var(--green);
  --accent-dark: var(--green-dark);
  --accent-ink: var(--green-ink);
  --accent-soft: var(--green-soft);
  --accent-mist: var(--green-mist);
  --accent-rgb: 22 163 74;
}

.accent-green {
  --accent: var(--green);
  --accent-dark: var(--green-dark);
  --accent-ink: var(--green-ink);
  --accent-soft: var(--green-soft);
  --accent-mist: var(--green-mist);
  --accent-rgb: 22 163 74;
}
.accent-blue {
  --accent: var(--blue);
  --accent-dark: var(--blue-dark);
  --accent-ink: var(--blue-ink);
  --accent-soft: var(--blue-soft);
  --accent-mist: var(--blue-mist);
  --accent-rgb: 37 99 235;
}
.accent-yellow {
  --accent: var(--yellow-dark);
  --accent-dark: #ca8a04;
  --accent-ink: var(--yellow-ink);
  --accent-soft: var(--yellow-soft);
  --accent-mist: var(--yellow-mist);
  --accent-rgb: 234 179 8;
}

/* 2. Reset -------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--accent-ink);
  text-decoration-color: rgb(var(--accent-rgb) / 0.4);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgb(var(--accent-rgb) / 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
  display: inline-block;
  vertical-align: -0.14em;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  translate: -50% -220%;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: translate 0.25s var(--ease);
}

.skip-link:focus {
  translate: -50% 0;
}

/* 3. Layout ------------------------------------------------------------- */

.container {
  width: min(1216px, 100% - 2.75rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(748px, 100% - 2.5rem);
}

.container--wide {
  width: min(1360px, 100% - 2.5rem);
}

.main {
  display: block;
}

.section {
  position: relative;
  padding-block: var(--step);
}

.section--tight {
  padding-block: calc(var(--step) * 0.62);
}

.section--paper {
  background: var(--paper);
}

.section--mist {
  background: linear-gradient(180deg, var(--paper), var(--mist));
}

.section--ink {
  background: var(--ink);
  color: #cbd5e1;
}

.section--edge {
  border-block: 1px solid var(--line-soft);
}

/* 4. Tipografia --------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.1);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow .icon {
  font-size: 0.95rem;
  color: var(--accent);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head__text {
  max-width: 46rem;
}

.section-head__title {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  margin-top: 0.9rem;
}

.section-head__lead {
  margin-top: 0.9rem;
  font-size: 1.09rem;
  color: var(--slate);
  max-width: 40rem;
}

.section-head__action {
  flex: none;
  padding-bottom: 0.4rem;
}

/* 5. Atmosfera ---------------------------------------------------------- */

.atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.atmosphere__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.atmosphere__blob--1 {
  width: 42vw;
  aspect-ratio: 1;
  top: -18vw;
  left: -10vw;
  background: radial-gradient(circle, rgb(22 163 74 / 0.5), transparent 68%);
}

.atmosphere__blob--2 {
  width: 34vw;
  aspect-ratio: 1;
  top: -8vw;
  right: -8vw;
  background: radial-gradient(circle, rgb(37 99 235 / 0.42), transparent 68%);
}

.atmosphere__blob--3 {
  width: 28vw;
  aspect-ratio: 1;
  bottom: -14vw;
  left: 42%;
  background: radial-gradient(circle, rgb(250 204 21 / 0.45), transparent 66%);
}

.atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(11 18 32 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(11 18 32 / 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 78%);
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.atmosphere--soft .atmosphere__blob {
  opacity: 0.32;
}

.atmosphere--soft .atmosphere__grid,
.atmosphere--page .atmosphere__grain {
  display: none;
}

.atmosphere--page .atmosphere__blob--1 {
  width: 30vw;
  top: -14vw;
  left: -6vw;
  opacity: 0.4;
}

.atmosphere--page .atmosphere__blob--2 {
  width: 26vw;
  opacity: 0.32;
}

.atmosphere--page .atmosphere__blob--3 {
  display: none;
}

/* 6. Header / Footer ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgb(11 18 32 / 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  flex: none;
  display: block;
  border-radius: 8px;
}

.brand__logo {
  width: 172px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  transition: scale 0.4s var(--ease-out);
}

.brand:hover .brand__logo {
  scale: 1.03;
}

.nav {
  flex: 1;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--ink);
  background: var(--mist);
}

.nav__link.is-current {
  color: var(--green-ink);
  background: var(--green-soft);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: var(--slate);
  background: var(--mist);
  font-size: 1rem;
  transition: color 0.2s, background 0.2s, scale 0.2s;
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--line);
}

.icon-btn:active {
  scale: 0.94;
}

.icon-btn--lg {
  width: 3rem;
  height: 3rem;
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1.05rem;
}

.nav-toggle__close {
  display: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--step) * 0.85) 2.5rem;
  background: var(--ink);
  color: #a8b6c8;
  font-size: 0.96rem;
}

.site-footer__aura {
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 60vh;
  background: radial-gradient(ellipse at 30% 0%, rgb(22 163 74 / 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 10%, rgb(37 99 235 / 0.3), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer__brand img {
  width: 176px;
  height: 37px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__pitch {
  margin-top: 1.1rem;
  max-width: 22rem;
  color: #94a6ba;
}

.site-footer__counters {
  display: flex;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.site-footer__counters li {
  display: flex;
  flex-direction: column;
}

.site-footer__counters strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.site-footer__counters span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7d8ea3;
}

.site-footer__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}

.site-footer__list {
  display: grid;
  gap: 0.7rem;
}

.site-footer__list a {
  color: #a8b6c8;
  text-decoration: none;
  transition: color 0.2s, translate 0.2s;
  display: inline-block;
}

.site-footer__list a:hover {
  color: #fff;
  translate: 3px 0;
}

.site-footer__bottom {
  display: grid;
  gap: 0.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.86rem;
  color: #7d8ea3;
}

.site-footer__note {
  max-width: 60rem;
}

/* 7. Botoes, chips, campos --------------------------------------------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: translate 0.22s var(--ease), box-shadow 0.28s var(--ease), background 0.2s,
    scale 0.12s;
}

.btn .icon {
  font-size: 1.05em;
}

.btn:active {
  scale: 0.975;
}

.btn--primary {
  background: linear-gradient(160deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 28px -14px rgb(var(--accent-rgb) / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.btn--primary:hover {
  translate: 0 -2px;
  box-shadow: 0 20px 40px -16px rgb(var(--accent-rgb) / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.3);
}

.btn--ink {
  background: var(--ink);
  box-shadow: 0 12px 28px -16px rgb(11 18 32 / 0.7);
}

.btn--ink:hover {
  translate: 0 -2px;
  background: #16223a;
}

.btn--quiet {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.btn--quiet:hover {
  background: var(--mist);
  translate: 0 -2px;
}

.btn--outline {
  background: transparent;
  color: var(--accent-ink);
  border: 1.5px solid rgb(var(--accent-rgb) / 0.4);
}

.btn--outline:hover {
  background: rgb(var(--accent-rgb) / 0.08);
}

.btn--lime {
  background: var(--lime);
  color: #26301a;
  box-shadow: 0 14px 30px -16px rgb(226 240 92 / 0.9);
}

.btn--lime:hover {
  translate: 0 -2px;
}

.btn--sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.06rem;
}

.btn--block {
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip .icon {
  font-size: 0.9rem;
  color: var(--accent);
}

.chip--accent {
  background: rgb(var(--accent-rgb) / 0.12);
  color: var(--accent-ink);
}

.field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.field__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1rem;
  height: 3.35rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__control:focus-within {
  border-color: rgb(var(--accent-rgb) / 0.5);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.12);
}

.field__control > .icon:first-child {
  color: var(--accent);
  font-size: 1.1rem;
}

.field__control select {
  flex: 1;
  min-width: 0;
  appearance: none;
  background: none;
  border: 0;
  font-weight: 700;
  color: var(--ink);
  padding-right: 0.5rem;
}

.field__control select:focus {
  outline: none;
}

.field__chevron {
  rotate: 90deg;
  color: var(--faint);
  font-size: 0.8rem;
  pointer-events: none;
}

/* 8. Medalhao ----------------------------------------------------------- */

.medallion {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: var(--m, 4.75rem);
  height: var(--m, 4.75rem);
  color: var(--accent-ink);
}

.medallion--xs {
  --m: 2.6rem;
}
.medallion--sm {
  --m: 3.6rem;
}
.medallion--md {
  --m: 5rem;
}
.medallion--lg {
  --m: 7rem;
}
.medallion--xl {
  --m: clamp(9rem, 20vw, 13.5rem);
}

.medallion__halo {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.4), transparent 68%);
  filter: blur(14px);
  opacity: 0.75;
  transition: opacity 0.4s var(--ease), scale 0.5s var(--ease-out);
}

.medallion__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #fff 0%, var(--accent-soft) 58%,
      rgb(var(--accent-rgb) / 0.32) 100%);
  box-shadow: inset 0 2px 3px rgb(255 255 255 / 0.9),
    inset 0 -10px 22px -12px rgb(var(--accent-rgb) / 0.55),
    0 14px 30px -18px rgb(var(--accent-rgb) / 0.7);
}

.medallion__ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1.5px dashed rgb(var(--accent-rgb) / 0.3);
  opacity: 0;
}

.medallion--lg .medallion__ring,
.medallion--xl .medallion__ring {
  opacity: 1;
  animation: spin 40s linear infinite;
}

.medallion__glyph {
  position: relative;
  width: 56%;
  height: 56%;
  font-size: 1em;
  filter: drop-shadow(0 3px 6px rgb(var(--accent-rgb) / 0.35));
}

.medallion__spark {
  position: absolute;
  top: 6%;
  right: 6%;
  width: 14%;
  height: 14%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgb(var(--accent-rgb) / 0.25), 0 0 12px rgb(var(--accent-rgb) / 0.6);
  opacity: 0;
}

.medallion--lg .medallion__spark,
.medallion--xl .medallion__spark {
  opacity: 1;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

/* 9. Cards e bento ------------------------------------------------------ */

.grid {
  display: grid;
  gap: 1.35rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr));
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.35rem;
}

.bento > * {
  grid-column: span 2;
}

.bento__wide {
  grid-column: span 3;
}

.bento__full {
  grid-column: span 6;
}

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: translate 0.32s var(--ease-out), box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease);
}

.card__glow {
  position: absolute;
  z-index: -1;
  top: -35%;
  right: -25%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.22), transparent 68%);
  filter: blur(24px);
  opacity: 0.7;
  transition: opacity 0.4s var(--ease), scale 0.6s var(--ease-out);
}

.card:hover {
  translate: 0 -5px;
  border-color: rgb(var(--accent-rgb) / 0.28);
  box-shadow: var(--shadow), 0 30px 60px -40px rgb(var(--accent-rgb) / 0.6);
}

.card:hover .card__glow {
  opacity: 1;
  scale: 1.15;
}

.card:hover .medallion__halo {
  opacity: 1;
  scale: 1.08;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card__kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  opacity: 0.85;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.card__sci {
  font-size: 0.86rem;
  font-style: italic;
  color: var(--muted);
}

.card__excerpt {
  margin-top: 0.35rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--slate);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-ink);
}

.card__cta .icon {
  font-size: 0.85rem;
  transition: translate 0.28s var(--ease-out);
}

.card:hover .card__cta .icon {
  translate: 4px 0;
}

.card--species {
  align-items: flex-start;
}

.card--list {
  padding-top: 1.9rem;
}

.card__count {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgb(var(--accent-rgb) / 0.16);
}

.card--category .card__title {
  font-size: 1.32rem;
}

.card--flat {
  background: var(--mist);
  border-color: transparent;
  box-shadow: none;
}

/* 10. Heros ------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(178deg, var(--green-mist) 0%, #fff 46%, var(--bg) 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  margin-top: 1.35rem;
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.hero__title em {
  position: relative;
  font-style: normal;
  color: var(--green-dark);
  white-space: nowrap;
}

.hero__title em::after {
  content: '';
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: 0.08em;
  height: 0.32em;
  background: linear-gradient(90deg, rgb(226 240 92 / 0.9), rgb(250 204 21 / 0.55));
  border-radius: 999px;
  z-index: -1;
}

.hero__lead {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: clamp(1.03rem, 1.6vw, 1.19rem);
  color: var(--slate);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 2.75rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line);
}

.hero__proof div {
  display: flex;
  flex-direction: column;
}

.hero__proof strong {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.1;
}

.hero__proof span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* palco: composicao em camadas, assimetrica */
.hero__stage {
  position: relative;
  min-height: clamp(24rem, 42vw, 33rem);
  display: grid;
  place-items: center;
}

.hero__orbit {
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  border: 1.5px dashed rgb(22 163 74 / 0.22);
  animation: spin 60s linear infinite;
}

.hero__orbit::before,
.hero__orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px rgb(250 204 21 / 0.8);
}

.hero__orbit::before {
  width: 11px;
  height: 11px;
  top: -6px;
  left: 32%;
}

.hero__orbit::after {
  width: 7px;
  height: 7px;
  bottom: 8%;
  right: 2%;
  background: var(--blue);
  box-shadow: 0 0 12px rgb(37 99 235 / 0.7);
}

.hero__sun {
  position: absolute;
  top: 2%;
  right: 6%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgb(226 240 92 / 0.75), rgb(250 204 21 / 0.15) 55%,
      transparent 72%);
  filter: blur(6px);
}

.hero__machine {
  position: relative;
  z-index: 2;
  width: min(100%, 30rem);
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition: translate 0.7s var(--ease-out);
}

.hero__float {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  text-decoration: none;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition: translate 0.6s var(--ease-out);
  animation: bob var(--dur, 7s) ease-in-out infinite;
}

.hero__float--1 {
  top: 2%;
  left: 2%;
  --dur: 8s;
}
.hero__float--2 {
  top: 26%;
  right: -2%;
  --dur: 6.5s;
  animation-delay: -2s;
}
.hero__float--3 {
  bottom: 20%;
  left: -3%;
  --dur: 9s;
  animation-delay: -4s;
}
.hero__float--4 {
  bottom: 2%;
  right: 12%;
  --dur: 7.5s;
  animation-delay: -1s;
}

@keyframes bob {
  0%,
  100% {
    rotate: -2deg;
    margin-top: 0;
  }
  50% {
    rotate: 2deg;
    margin-top: -14px;
  }
}

.hero__ticker {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1rem;
  border-block: 1px solid var(--line);
  background: rgb(255 255 255 / 0.6);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero__ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 42s linear infinite;
}

.hero__ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate);
  white-space: nowrap;
}

.hero__ticker-track .icon {
  color: var(--green);
}

@keyframes slide {
  to {
    translate: -50% 0;
  }
}

/* hero interno das paginas */
.phero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 1.5rem clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(178deg, var(--accent-mist), var(--paper) 72%);
  border-bottom: 1px solid var(--line-soft);
}

.phero .container {
  position: relative;
}

.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 1.5rem;
}

.phero__title {
  margin-top: 1.1rem;
  font-size: clamp(2.05rem, 4.6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.phero__lead {
  margin-top: 1.2rem;
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--slate);
}

.phero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.phero__art {
  position: relative;
  display: grid;
  place-items: center;
}

.phero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.phero__sci {
  margin-top: 0.85rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--accent-ink);
  opacity: 0.85;
}

.hub-group + .hub-group {
  margin-top: calc(var(--step) * 0.75);
}

.filter span {
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.filter.is-active span,
.filter:hover span {
  background: rgb(var(--accent-rgb) / 0.16);
  color: var(--accent-ink);
}

/* passo a passo / blocos curtos */
.step {
  position: relative;
  display: grid;
  gap: 0.7rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: translate 0.3s var(--ease-out), box-shadow 0.3s;
}

.step:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-sm);
}

.step h3 {
  font-size: 1.08rem;
  margin-top: 0.35rem;
}

.step p {
  font-size: 0.94rem;
  color: var(--slate);
}

/* listas tematicas numeradas */
.listicle {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  counter-reset: none;
}

.listicle__item {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  scroll-margin-top: 6rem;
  transition: border-color 0.3s, box-shadow 0.3s, translate 0.3s var(--ease-out);
}

.listicle__item:hover {
  translate: 0 -3px;
  border-color: rgb(var(--accent-rgb) / 0.28);
  box-shadow: var(--shadow-sm);
}

.listicle__item.is-featured {
  background: linear-gradient(150deg, var(--accent-mist), var(--paper) 70%);
  border-color: rgb(var(--accent-rgb) / 0.24);
}

.listicle__mark {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}

.listicle__n {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
}

.listicle__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 1.22rem;
}

.listicle__name em {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
}

.listicle__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.12);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.listicle__badge .icon {
  font-size: 0.85rem;
}

.listicle__text {
  margin-top: 0.85rem;
  color: var(--ink-soft);
}

/* lista corrida de curiosidades */
.factlist {
  display: grid;
  gap: 0.6rem;
}

.factlist__item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: border-color 0.25s, translate 0.25s var(--ease-out);
}

.factlist__item:hover {
  translate: 3px 0;
  border-color: rgb(var(--accent-rgb) / 0.3);
}

.factlist__n {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.factlist__item p {
  font-size: 1rem;
}

.factlist__tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .listicle__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.4rem;
  }

  .listicle__mark {
    grid-auto-flow: column;
    justify-items: start;
    align-items: center;
    justify-content: start;
    gap: 0.9rem;
  }

  .factlist__item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .factlist__tag {
    grid-column: 2;
  }
}

/* 11. Artigo ------------------------------------------------------------ */

.breadcrumb {
  font-size: 0.85rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb__item a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  /* A area de toque media 23px de altura, apertada para o dedo. O padding
     vertical leva a uns 30px; a trilha cresce poucos pixels e o alinhamento
     nao muda, porque todos os itens da linha crescem junto. */
  padding-block: 0.3rem;
}

.breadcrumb__item a:hover {
  color: var(--accent-ink);
}

.breadcrumb__item span[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumb__sep {
  font-size: 0.5rem;
  color: var(--faint);
}

.article {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20.5rem;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.prose {
  max-width: 44rem;
  font-size: 1.07rem;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose__section {
  scroll-margin-top: 6rem;
}

.prose__section + .prose__section {
  margin-top: 3rem;
}

.prose h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 1.1rem;
  padding-top: 0.5rem;
}

.prose h2::before {
  content: '';
  display: block;
  width: 3.25rem;
  height: 4px;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgb(var(--accent-rgb) / 0.15));
}

.prose p + p {
  margin-top: 1.1em;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose__list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: var(--accent-mist);
  border: 1px solid rgb(var(--accent-rgb) / 0.14);
}

.prose__list li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--ink-soft);
}

.prose__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.18);
}

.note {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--paper), var(--accent-mist));
  border: 1px solid rgb(var(--accent-rgb) / 0.2);
  box-shadow: var(--shadow-sm);
}

.note__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgb(var(--accent-rgb) / 0.14);
  color: var(--accent);
  font-size: 1.1rem;
}

.note p {
  font-size: 0.99rem;
}

.table-wrap {
  margin: 2rem 0 0;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--paper);
  box-shadow: var(--shadow-sm);
  /* Sombra de rolagem. As tabelas comparativas tem largura minima de 34rem e
     nao cabem na tela do celular; cortadas na borda, sem nenhuma pista, elas
     parecem defeito. As duas primeiras camadas acompanham o conteudo
     (`local`) e cobrem a sombra quando nao ha mais nada para o lado; as duas
     ultimas ficam presas ao quadro (`scroll`). Resultado: a sombra aparece
     no lado onde ainda existe coluna escondida e some ao chegar no fim, sem
     depender de JavaScript. */
  background-image: linear-gradient(to right, var(--paper) 40%, transparent),
    linear-gradient(to left, var(--paper) 40%, transparent),
    radial-gradient(farthest-side at 0 50%, rgb(15 23 42 / 0.17), transparent),
    radial-gradient(farthest-side at 100% 50%, rgb(15 23 42 / 0.17), transparent);
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 3rem 100%, 3rem 100%, 0.9rem 100%, 0.9rem 100%;
  background-attachment: local, local, scroll, scroll;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 34rem;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.data-table thead th {
  background: var(--accent-mist);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 700;
  color: var(--ink);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: var(--mist);
}

.table-wrap figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.updated .icon {
  color: var(--accent);
}

/* barra lateral */
.aside {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1.25rem;
}

.panel {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.panel__title .icon {
  color: var(--accent);
  font-size: 1rem;
}

.statpanel {
  display: grid;
  gap: 0;
}

.statpanel__item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.93rem;
}

.statpanel__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.statpanel dt {
  font-weight: 700;
  color: var(--muted);
  text-transform: capitalize;
}

.statpanel dd {
  color: var(--ink-soft);
}

.toc {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--accent-mist), var(--paper));
  border: 1px solid rgb(var(--accent-rgb) / 0.16);
}

.toc__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.9rem;
}

.toc__title .icon {
  rotate: 90deg;
  font-size: 0.85rem;
}

.toc__list {
  counter-reset: toc;
  display: grid;
  gap: 0.15rem;
}

.toc__list a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, translate 0.2s;
}

.toc__list a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero) '. ';
  color: var(--accent);
  font-weight: 800;
}

.toc__list a:hover {
  color: var(--accent-ink);
  translate: 3px 0;
}

/* curiosidades numeradas */
.curios {
  margin-top: 3.25rem;
  scroll-margin-top: 6rem;
}

.curios__title {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 1.5rem;
}

.curios__list {
  display: grid;
  gap: 0.85rem;
}

.curios__item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: translate 0.28s var(--ease-out), border-color 0.28s, box-shadow 0.28s;
}

.curios__item:hover {
  translate: 4px 0;
  border-color: rgb(var(--accent-rgb) / 0.3);
  box-shadow: var(--shadow-sm);
}

.curios__n {
  flex: none;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.6;
}

.curios__item p {
  font-size: 1rem;
}

/* 12. FAQ --------------------------------------------------------------- */

.faq {
  margin-top: 3.25rem;
  scroll-margin-top: 6rem;
}

.faq__title {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 1.5rem;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq__item[open] {
  border-color: rgb(var(--accent-rgb) / 0.28);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__chevron {
  flex: none;
  font-size: 0.8rem;
  color: var(--accent);
  rotate: 90deg;
  transition: rotate 0.3s var(--ease);
}

.faq__item[open] .faq__chevron {
  rotate: 270deg;
}

.faq__a {
  padding: 0 1.35rem 1.35rem;
  color: var(--slate);
}

/* 13. Linkagem interna -------------------------------------------------- */

.related {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: calc(var(--step) * 0.7);
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.related .container {
  position: relative;
}

.related__title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 2.25rem;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 2rem;
}

.related__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.related__label .icon {
  color: var(--green);
  font-size: 1rem;
}

.related__items {
  display: grid;
  gap: 0.6rem;
}

.related__items a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  transition: translate 0.26s var(--ease-out), box-shadow 0.26s, border-color 0.26s;
}

.related__items a:hover {
  translate: 0 -3px;
  border-color: rgb(var(--accent-rgb) / 0.3);
  box-shadow: var(--shadow-sm);
}

.related__items span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.related__items strong {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.related__items em {
  font-size: 0.81rem;
  color: var(--muted);
  font-style: italic;
}

.related__items > li > a > .icon:last-child {
  color: var(--faint);
  font-size: 0.8rem;
  transition: translate 0.26s var(--ease-out), color 0.26s;
}

.related__items a:hover > .icon:last-child {
  color: var(--accent);
  translate: 4px 0;
}

/* 14. Curiosidade aleatoria e "voce sabia" ------------------------------ */

.factbox {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgb(255 255 255 / 0.94), rgb(255 255 255 / 0.72));
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
}

.factbox__aura {
  position: absolute;
  z-index: -1;
  inset: -40% -20% auto -20%;
  height: 90%;
  background: radial-gradient(ellipse at 30% 0%, rgb(22 163 74 / 0.3), transparent 62%),
    radial-gradient(ellipse at 80% 20%, rgb(250 204 21 / 0.35), transparent 60%);
  filter: blur(20px);
}

.factbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.factbox__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.factbox__badge .icon {
  color: var(--lime);
}

.factbox__cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-ink);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.12);
}

.factbox__text {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--ink);
  min-height: 4.4em;
  text-wrap: pretty;
}

.factbox--compact .factbox__text {
  font-size: 1.09rem;
  min-height: 5.2em;
}

.factbox.is-swapping .factbox__text {
  opacity: 0;
  translate: 0 8px;
}

.factbox__text {
  transition: opacity 0.28s var(--ease), translate 0.28s var(--ease-out);
}

.factbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.know {
  display: grid;
  gap: 0.85rem;
}

.know__card {
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.28s, box-shadow 0.28s, translate 0.28s var(--ease-out);
}

.know__card:hover {
  translate: 0 -3px;
  box-shadow: var(--shadow-sm);
}

.know__card[open] {
  border-color: rgb(var(--accent-rgb) / 0.3);
  box-shadow: var(--shadow);
}

.know__q {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  list-style: none;
}

.know__q::-webkit-details-marker {
  display: none;
}

.know__qtext {
  flex: 1;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.know__chevron {
  flex: none;
  font-size: 0.8rem;
  color: var(--accent);
  rotate: 90deg;
  transition: rotate 0.3s var(--ease);
}

.know__card[open] .know__chevron {
  rotate: 270deg;
}

.know__a {
  padding: 0 1.35rem 1.35rem 4.6rem;
  color: var(--slate);
}

/* 15. Verdade ou mito + quiz ------------------------------------------- */

.myths__score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.myths__score strong {
  color: var(--lime);
}

.myths__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20.5rem), 1fr));
  gap: 1.25rem;
}

.myth {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.myth__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.myth__n {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--line);
  line-height: 1;
}

.myth__cat {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.myth__claim {
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink);
  text-wrap: pretty;
  flex: 1;
}

.myth__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.myth__choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, scale 0.14s;
}

.myth__choice .icon {
  font-size: 0.85rem;
}

.myth__choice:hover {
  background: var(--line);
  color: var(--ink);
}

.myth__choice:active {
  scale: 0.96;
}

.myth__choice.is-picked {
  background: var(--ink);
  color: #fff;
}

.myth__choice.is-right {
  background: var(--green);
  color: #fff;
}

.myth__choice.is-wrong {
  background: #fecaca;
  color: #991b1b;
}

.myth__reveal {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.15rem;
}

.myths.is-interactive .myth__reveal {
  display: none;
}

.myths.is-interactive .myth.is-open .myth__reveal {
  display: grid;
  animation: rise 0.4s var(--ease-out) both;
}

.myth__verdict {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.myth__explain {
  font-size: 0.95rem;
  color: var(--slate);
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 10px;
  }
}

.quiz {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quiz__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.quiz__best {
  margin-left: auto;
  font-size: 0.86rem;
  color: var(--muted);
}

.quiz__best strong {
  color: var(--accent-ink);
}

.quiz__track {
  margin-bottom: 2rem;
}

.quiz__progress {
  height: 10px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
}

.quiz__bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--lime));
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.6);
  transition: width 0.5s var(--ease-out);
}

.quiz__status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.quiz__status strong {
  color: var(--ink);
}

.quiz__questions {
  display: grid;
  gap: 2.5rem;
}

.quiz.is-interactive .quiz__questions {
  gap: 0;
}

.quiz.is-interactive .quiz__question {
  display: none;
}

.quiz.is-interactive .quiz__question.is-active {
  display: block;
  animation: rise 0.45s var(--ease-out) both;
}

.quiz__prompt {
  display: flex;
  gap: 0.9rem;
  font-size: clamp(1.14rem, 2vw, 1.42rem);
  line-height: 1.35;
  margin-bottom: 1.4rem;
}

.quiz__prompt-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgb(var(--accent-rgb) / 0.12);
  color: var(--accent-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.quiz__options {
  display: grid;
  gap: 0.7rem;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1.5px solid var(--line);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.2s, background 0.2s, translate 0.2s var(--ease-out);
}

.quiz__option:hover:not(:disabled) {
  border-color: rgb(var(--accent-rgb) / 0.45);
  background: var(--accent-mist);
  translate: 3px 0;
}

.quiz__option:disabled {
  cursor: default;
}

.quiz__letter {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.quiz__opt-text {
  flex: 1;
}

.quiz__mark {
  flex: none;
  font-size: 0.95rem;
  opacity: 0;
}

.quiz__mark-no {
  display: none;
}

.quiz__option.is-correct {
  border-color: var(--green);
  background: var(--green-mist);
}

.quiz__option.is-correct .quiz__letter {
  background: var(--green);
  color: #fff;
}

.quiz__option.is-correct .quiz__mark {
  opacity: 1;
  color: var(--green-dark);
}

.quiz__option.is-wrong {
  border-color: #f87171;
  background: #fef2f2;
}

.quiz__option.is-wrong .quiz__letter {
  background: #ef4444;
  color: #fff;
}

.quiz__option.is-wrong .quiz__mark {
  opacity: 1;
  color: #b91c1c;
}

.quiz__option.is-wrong .quiz__mark-ok {
  display: none;
}

.quiz__option.is-wrong .quiz__mark-no {
  display: inline-block;
}

.quiz__feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--accent-mist);
  border: 1px solid rgb(var(--accent-rgb) / 0.18);
}

.quiz.is-interactive .quiz__feedback {
  display: none;
}

.quiz.is-interactive .quiz__question.is-answered .quiz__feedback {
  display: flex;
  animation: rise 0.4s var(--ease-out) both;
}

.quiz__explain {
  flex: 1;
  min-width: 14rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.quiz__result {
  text-align: center;
  padding-top: 1rem;
}

.quiz__result-ring {
  display: grid;
  place-content: center;
  width: 9.5rem;
  height: 9.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--pct, 0) * 1%), var(--mist) 0);
  position: relative;
  line-height: 1.1;
}

.quiz__result-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 2px 10px rgb(11 18 32 / 0.06);
}

.quiz__result-ring strong,
.quiz__result-ring span {
  position: relative;
}

.quiz__result-ring strong {
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.quiz__result-ring span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.quiz__result-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.quiz__result-text {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: var(--slate);
}

.quiz__result-best {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.quiz__result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

/* 16. Comparador -------------------------------------------------------- */

.compare {
  display: grid;
  gap: 1.75rem;
}

.compare__controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.compare__tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.15rem;
}

.compare__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.compare__side {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1.75rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--paper), var(--accent-mist));
  border: 1px solid rgb(var(--accent-rgb) / 0.2);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.compare__art {
  margin-bottom: 0.5rem;
}

.compare__name {
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.compare__sci {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  opacity: 0.8;
}

.compare__facts {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  text-align: left;
}

.compare__facts li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgb(var(--accent-rgb) / 0.22);
  font-size: 0.88rem;
}

.compare__facts li:last-child {
  border-bottom: 0;
}

.compare__facts span {
  color: var(--muted);
  font-weight: 600;
}

.compare__facts strong {
  color: var(--ink);
  font-weight: 700;
}

.compare__fact {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--slate);
  text-align: left;
}

.compare__link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  /* 24px de altura era o limite do confortavel para o dedo neste que e o
     unico link de saida do comparador. */
  padding-block: 0.35rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--accent-ink);
  text-decoration: none;
}

.compare__link .icon {
  font-size: 0.8rem;
  transition: translate 0.25s var(--ease-out);
}

.compare__link:hover .icon {
  translate: 4px 0;
}

.compare__rows {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.compare__metric {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.compare__metric span {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
}

.compare__bars {
  display: grid;
  gap: 0.45rem;
}

.compare__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.compare__bar span {
  height: 0.9rem;
  min-width: 0.9rem;
  width: calc(var(--w, 0) * 1%);
  border-radius: 999px;
  transition: width 0.6s var(--ease-out);
}

.compare__bar--a span {
  background: linear-gradient(90deg, var(--green), #4ade80);
  box-shadow: 0 0 12px rgb(22 163 74 / 0.45);
}

.compare__bar--b span {
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  box-shadow: 0 0 12px rgb(37 99 235 / 0.45);
}

.compare__bar em {
  font-size: 0.86rem;
  font-weight: 700;
  font-style: normal;
  color: var(--ink);
  white-space: nowrap;
}

.compare__diff {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.compare__diff strong {
  color: var(--ink);
}

.compare__verdict {
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #cbd5e1;
  font-size: 0.98rem;
  text-align: center;
}

.compare__verdict strong {
  color: var(--lime);
}

/* 17. Desafio relampago ------------------------------------------------- */

.blitz {
  position: relative;
}

.blitz__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--paper), var(--accent-mist));
  border: 1px solid rgb(var(--accent-rgb) / 0.2);
  box-shadow: var(--shadow);
}

.blitz__aura {
  position: absolute;
  z-index: -1;
  inset: -30% -10% auto -10%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 0%, rgb(250 204 21 / 0.35), transparent 62%);
  filter: blur(24px);
}

.blitz__headline {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

.blitz__sub {
  max-width: 34rem;
  color: var(--slate);
}

.blitz__records {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0.75rem 0 0.5rem;
}

.blitz__records li {
  display: flex;
  flex-direction: column;
}

.blitz__records span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.blitz__records strong {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.blitz__hud {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.blitz__timer,
.blitz__tally {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.blitz__timer strong {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.blitz__timer span,
.blitz__tally span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.blitz__tally strong {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
}

.blitz__meter {
  height: 10px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
}

.blitz__meter span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

.blitz.is-hot .blitz__meter span {
  background: linear-gradient(90deg, #f97316, #ef4444);
}

.blitz.is-hot .blitz__timer strong {
  color: #dc2626;
  animation: pulse 0.9s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    scale: 1.08;
  }
}

.blitz__question {
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  min-height: 3.2em;
  display: grid;
  place-items: center;
  text-wrap: balance;
}

.blitz__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.7rem;
  width: 100%;
}

.blitz__option {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-size: 0.99rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: border-color 0.18s, background 0.18s, scale 0.12s;
}

.blitz__option:hover {
  border-color: rgb(var(--accent-rgb) / 0.45);
  background: var(--accent-mist);
}

.blitz__option:active {
  scale: 0.97;
}

.blitz__option.is-right {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-ink);
}

.blitz__option.is-wrong {
  border-color: #f87171;
  background: #fee2e2;
  color: #991b1b;
}

.blitz__streak {
  min-height: 1.6em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-ink);
}

.blitz__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

/* 18. Busca ------------------------------------------------------------- */

.search {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  padding: clamp(1rem, 8vh, 6rem) 1.25rem 1.25rem;
}

.search[hidden] {
  display: none;
}

.search__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(11 18 32 / 0.55);
  backdrop-filter: blur(6px);
  animation: fade 0.25s var(--ease) both;
}

.search__panel {
  position: relative;
  width: min(40rem, 100%);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  animation: rise 0.3s var(--ease-out) both;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.search__title {
  font-size: 1.05rem;
}

.search__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.15rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.search__field:focus-within {
  background: var(--paper);
  border-color: rgb(22 163 74 / 0.45);
}

.search__icon {
  color: var(--green);
  font-size: 1.1rem;
}

.search__field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  font-size: 1.02rem;
  font-weight: 600;
}

.search__field input:focus {
  outline: none;
}

.search__hint {
  margin-top: 0.9rem;
  font-size: 0.87rem;
  color: var(--muted);
}

.search__results {
  display: grid;
  gap: 0.35rem;
  max-height: min(24rem, 50vh);
  overflow-y: auto;
  margin-top: 0.75rem;
}

.search__results a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.18s;
}

.search__results a:hover,
.search__results a:focus-visible {
  background: var(--mist);
}

.search__results strong {
  display: block;
  font-size: 0.97rem;
  color: var(--ink);
  font-weight: 700;
}

.search__results em {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--muted);
}

/* 19. Movimento e utilidades ------------------------------------------- */

[data-reveal] {
  opacity: 0;
  translate: 0 22px;
}

[data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.7s var(--ease), translate 0.8s var(--ease-out);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, translate 0.2s;
}

.filter .icon {
  color: var(--accent);
  font-size: 0.95rem;
}

.filter:hover {
  translate: 0 -2px;
  color: var(--ink);
  border-color: rgb(var(--accent-rgb) / 0.35);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter.is-active .icon {
  color: var(--lime);
}

.callout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 1.35rem;
  justify-items: center;
  text-align: center;
  padding: clamp(2.25rem, 5vw, 3.75rem);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: #cbd5e1;
}

.callout__aura {
  position: absolute;
  z-index: -1;
  inset: -50% -10% auto -10%;
  height: 120%;
  background: radial-gradient(ellipse at 30% 10%, rgb(22 163 74 / 0.4), transparent 60%),
    radial-gradient(ellipse at 75% 30%, rgb(37 99 235 / 0.35), transparent 62%);
  filter: blur(28px);
}

.callout h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  max-width: 32rem;
}

.callout p {
  max-width: 36rem;
}

.callout__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 44rem;
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.center {
  text-align: center;
  margin-inline: auto;
}

/* Espacamentos pontuais. Existem como classe, e nao como atributo style,
   porque a CSP em producao bloqueia style inline. */
.gap-above {
  margin-top: 1.35rem;
}

.gap-above-lg {
  margin-top: 2rem;
}

.gap-above-xl {
  margin-top: 3rem;
}

.gap-below {
  margin-bottom: 1.1rem;
}

.hub-count {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hub-count strong {
  color: var(--ink);
}

/* 20. Responsivo -------------------------------------------------------- */

@media (max-width: 1080px) {
  .article__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .aside {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  }

  .compare__stage {
    grid-template-columns: 1fr 1fr;
  }

  .compare__rows {
    grid-column: 1 / -1;
    order: 3;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

@media (max-width: 920px) {
  .nav {
    position: fixed;
    inset: 4.75rem 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
  }

  .nav.is-open {
    display: block;
    animation: rise 0.28s var(--ease-out) both;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav__link {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.02rem;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-toggle.is-open .nav-toggle__open {
    display: none;
  }

  .nav-toggle.is-open .nav-toggle__close {
    display: inline-block;
  }

  .site-header__cta {
    display: none;
  }

  /* Em coluna unica, a ordem herdada do desktop jogava o cartao de
     curiosidade acima do h1: quem abria pelo celular via um fato solto
     antes de saber onde tinha caido. `.hero__copy` e um involucro sem
     estilo proprio, entao `display: contents` promove os filhos dele a
     itens do grid e permite encaixar o palco entre o texto e os botoes.
     O gap vai a zero porque cada filho ja carrega a propria margem — a
     mesma que vale no desktop, o que preserva o ritmo vertical. */
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero__copy {
    display: contents;
  }

  /* Seletor pelo pai real: `display: contents` muda a arvore de caixas, mas
     os seletores continuam seguindo o DOM. O elemento virou item do grid,
     entao `order` e `justify-self` valem — e o justify-self e obrigatorio,
     porque item de grid blockifica o inline-flex e a pilula esticaria. */
  .hero__copy > .eyebrow {
    order: 1;
    justify-self: start;
  }

  .hero__title {
    order: 2;
  }

  .hero__lead {
    order: 3;
  }

  .hero__stage {
    order: 4;
    min-height: 18rem;
    margin-top: 2.6rem;
    scale: 0.92;
  }

  .hero__actions {
    order: 5;
  }

  .hero__proof {
    order: 6;
  }

  .hero__float--1,
  .hero__float--3 {
    display: none;
  }

  .phero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .phero__art {
    order: -1;
    justify-items: start;
  }

  .bento > *,
  .bento__wide {
    grid-column: span 3;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

@media (max-width: 720px) {
  :root {
    --step: 3.25rem;
  }

  body {
    font-size: 1.02rem;
  }

  .container {
    width: min(100% - 1.75rem, 100%);
  }

  .compare__controls,
  .compare__stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare__tools {
    flex-direction: row;
    justify-content: center;
  }

  .bento > *,
  .bento__wide,
  .bento__full {
    grid-column: span 6;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__counters {
    gap: 1.25rem;
  }

  .know__a {
    padding-left: 1.35rem;
  }

  .quiz__feedback {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__proof {
    gap: 1.5rem 2rem;
  }

  .myths__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blitz__hud {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
  }

  .blitz__meter {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    translate: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .related,
  .factbox__actions,
  .search,
  .atmosphere,
  .toc {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .article__layout {
    grid-template-columns: 1fr;
  }
}
