/* Reaproveita o CSS da home + estilos do hub e dos artigos */

    :root {
      --navy: #F7FAF8;
      --navy-deep: #FFFFFF;
      --navy-mid: #EEF5F1;
      --navy-card: #FFFFFF;
      --navy-card-hover: #F1F7F3;
      --cream: #12261C;
      --cream-dim: #4B5E55;
      --gold: #0E6B47;
      --gold-bright: #0A5638;
      --gold-soft: rgba(14, 107, 71, 0.08);
      --gold-line: rgba(14, 107, 71, 0.22);
      --grid: transparent;
      --shadow: 0 10px 30px rgba(18, 38, 28, 0.08);
      --serif: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
      --sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
      --wrap: 1120px;
      --radius: 12px;
      --header-h: 4.25rem;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--header-h) + 0.75rem);
      -webkit-text-size-adjust: 100%;
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
    }
    body {
      margin: 0;
      font-family: var(--sans);
      font-size: 1.0625rem;
      line-height: 1.65;
      color: var(--cream);
      background-color: var(--navy);
      background-image:
        radial-gradient(ellipse 80% 50% at 80% -10%, rgba(14, 107, 71, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(14, 107, 71, 0.05), transparent 50%),
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
      background-size: auto, auto, 48px 48px, 48px 48px;
      background-attachment: fixed;
      min-height: 100vh;
    }
    img, svg { display: block; max-width: 100%; }
    a { color: var(--gold); }
    a:hover { color: var(--gold-bright); }
    ::selection {
      background: rgba(14, 107, 71, 0.35);
      color: var(--cream);
    }

    .skip {
      position: absolute;
      left: 1rem;
      top: -4rem;
      z-index: 100;
      background: var(--gold);
      color: var(--navy);
      padding: 0.6rem 1rem;
      font-weight: 700;
      text-decoration: none;
      border-radius: 6px;
    }
    .skip:focus {
      top: 1rem;
    }

    .wrap {
      width: min(100% - 2rem, var(--wrap));
      margin-inline: auto;
    }
    @media (min-width: 720px) {
      .wrap { width: min(100% - 3.5rem, var(--wrap)); }
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      height: var(--header-h);
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--gold-line);
    }
    .site-header .wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      gap: 1rem;
    }
    .logo {
      font-family: var(--serif);
      font-weight: 600;
      font-size: 1.15rem;
      color: var(--cream);
      text-decoration: none;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }
    .logo:hover { color: var(--gold); }
    .logo span { color: var(--gold); }
    nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 0.35rem 1rem;
    }
    nav a {
      color: var(--cream-dim);
      text-decoration: none;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    @media (min-width: 720px) {
      nav a {
        font-size: 0.875rem;
        letter-spacing: 0.06em;
      }
    }
    @media (max-width: 719px) {
      body { background-attachment: scroll; }
    }
    nav a:hover,
    nav a:focus-visible { color: var(--gold); }

    :focus-visible {
      outline: 2px solid var(--gold);
      outline-offset: 3px;
    }

    /* Hero */
    .hero {
      padding: 3.25rem 0 3.5rem;
      text-align: center;
    }
    @media (min-width: 720px) {
      .hero { padding: 5.5rem 0 5rem; }
    }
    .eyebrow {
      margin: 0 0 1.15rem;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
    }
    .hero h1 {
      margin: 0 auto;
      max-width: 18ch;
      font-family: var(--serif);
      font-weight: 600;
      font-size: clamp(2.15rem, 7.2vw, 4.05rem);
      line-height: 1.16;
      letter-spacing: -0.02em;
      color: var(--cream);
    }
    .hero h1 br { display: block; content: ""; }
    .gold-rule {
      width: 7.5rem;
      height: 3px;
      margin: 1.5rem auto 1.6rem;
      background: var(--gold);
      border-radius: 2px;
    }
    .lead {
      margin: 0 auto;
      max-width: 40rem;
      font-size: clamp(1.05rem, 2vw, 1.2rem);
      font-weight: 400;
      line-height: 1.7;
      color: var(--cream-dim);
    }

    /* Sections */
    section {
      padding: 0 0 4.25rem;
    }
    @media (min-width: 720px) {
      section { padding-bottom: 5.5rem; }
    }
    .section-head {
      text-align: center;
      margin-bottom: 2.25rem;
    }
    @media (min-width: 720px) {
      .section-head { margin-bottom: 2.75rem; }
    }
    h2 {
      margin: 0 0 0.75rem;
      font-family: var(--serif);
      font-weight: 600;
      font-size: clamp(1.65rem, 3.4vw, 2.35rem);
      line-height: 1.2;
      letter-spacing: -0.015em;
    }
    .section-intro {
      margin: 0 auto;
      max-width: 38rem;
      color: var(--cream-dim);
      font-size: 1.05rem;
    }
    .section-intro + .section-intro { margin-top: 0.75rem; }

    /* Cards grid */
    .cards {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 720px) {
      .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        align-items: stretch;
      }
    }
    .card {
      display: flex;
      flex-direction: column;
      background: var(--navy-card);
      border: 1px solid var(--gold-line);
      border-radius: var(--radius);
      padding: 1.6rem 1.45rem 1.5rem;
      box-shadow: var(--shadow);
      transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    }
    @media (hover: hover) and (pointer: fine) {
      .card:hover {
        border-color: var(--gold);
        background: var(--navy-card-hover);
        transform: translateY(-3px);
      }
    }
    .icon-wrap {
      width: 3.5rem;
      height: 3.5rem;
      margin-bottom: 1.15rem;
      display: grid;
      place-items: center;
      background: var(--gold-soft);
      border: 1px solid var(--gold-line);
      border-radius: 10px;
    }
    .icon-wrap svg {
      width: 1.85rem;
      height: 1.85rem;
    }
    .card-kicker {
      margin: 0 0 0.4rem;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold);
    }
    .card h3 {
      margin: 0 0 0.7rem;
      font-family: var(--serif);
      font-weight: 600;
      font-size: 1.35rem;
      line-height: 1.3;
      color: var(--cream);
    }
    .card .author {
      margin: -0.4rem 0 0.75rem;
      font-size: 0.92rem;
      color: var(--cream-dim);
    }
    .card p {
      margin: 0 0 1.35rem;
      color: var(--cream-dim);
      font-size: 0.98rem;
      flex: 1;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      width: 100%;
      min-height: 2.85rem;
      padding: 0.7rem 1.15rem;
      border-radius: 999px;
      font-family: var(--sans);
      font-size: 0.95rem;
      font-weight: 700;
      text-decoration: none;
      text-align: center;
      letter-spacing: 0.01em;
      transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    }
    .btn-outline {
      color: var(--gold);
      background: transparent;
      border: 1.5px solid var(--gold);
    }
    .btn-outline:hover,
    .btn-outline:focus-visible {
      color: var(--navy);
      background: var(--gold);
    }
    .btn-solid {
      color: var(--navy);
      background: var(--gold);
      border: 1.5px solid var(--gold);
    }
    .btn-solid:hover,
    .btn-solid:focus-visible {
      color: var(--navy);
      background: var(--gold-bright);
      border-color: var(--gold-bright);
    }

    /* Kit band */
    .kit-band {
      position: relative;
    }
    .kit-panel {
      display: grid;
      gap: 1.75rem;
      padding: 1.85rem 1.5rem;
      background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(14, 107, 71, 0.12), transparent 55%),
        var(--navy-card);
      border: 1px solid var(--gold);
      border-radius: 16px;
      box-shadow: var(--shadow);
    }
    @media (min-width: 860px) {
      .kit-panel {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 2.5rem;
        padding: 2.75rem 2.6rem;
        align-items: center;
      }
    }
    .kit-copy .eyebrow { margin-bottom: 0.7rem; }
    .kit-copy h2 { margin-bottom: 0.9rem; }
    .kit-copy > p {
      margin: 0 0 1.25rem;
      color: var(--cream-dim);
    }
    .kit-note {
      display: inline-block;
      margin: 0 0 1.35rem;
      padding: 0.4rem 0.85rem;
      border: 1px solid var(--gold-line);
      border-radius: 999px;
      background: var(--gold-soft);
      color: var(--gold);
      font-size: 0.88rem;
      font-weight: 600;
    }
    .kit-actions .btn {
      width: 100%;
      max-width: 100%;
    }
    @media (min-width: 860px) {
      .kit-actions .btn {
        width: auto;
        min-width: 16rem;
      }
    }
    .kit-price {
      margin: 0.7rem 0 0;
      font-size: 0.9rem;
      color: var(--cream-dim);
    }
    .kit-list {
      margin: 0;
      padding: 1.4rem 1.35rem;
      list-style: none;
      background: rgba(255, 255, 255, 0.55);
      border: 1px solid var(--gold-line);
      border-radius: 12px;
    }
    .kit-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 0.6rem 0;
      color: var(--cream);
      font-size: 1rem;
      border-bottom: 1px solid rgba(14, 107, 71, 0.15);
    }
    .kit-list li:last-child { border-bottom: 0; padding-bottom: 0.15rem; }
    .kit-list li:first-child { padding-top: 0.15rem; }
    .kit-list li::before {
      content: "";
      flex: none;
      width: 1.15rem;
      height: 1.15rem;
      margin-top: 0.2rem;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='8.25' stroke='%23DAB86C' stroke-width='1.4'/%3E%3Cpath d='M6.2 10.2 8.7 12.6 13.8 7.4' stroke='%23DAB86C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    /* Content teasers */
    .topics {
      display: grid;
      gap: 1.25rem;
    }
    @media (min-width: 720px) {
      .topics {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
      }
    }
    .topic {
      padding: 1.5rem 1.4rem 1.55rem;
      background: var(--navy-mid);
      border: 1px solid rgba(14, 107, 71, 0.28);
      border-radius: var(--radius);
    }
    .topic-num {
      display: inline-block;
      margin-bottom: 0.75rem;
      font-family: var(--serif);
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--gold);
    }
    .topic h3 {
      margin: 0 0 0.65rem;
      font-family: var(--serif);
      font-weight: 600;
      font-size: 1.22rem;
      line-height: 1.3;
    }
    .topic p {
      margin: 0;
      color: var(--cream-dim);
      font-size: 0.98rem;
    }

    /* Footer */
    .site-footer {
      border-top: 1px solid var(--gold-line);
      background: var(--navy-deep);
      padding: 2.5rem 0 3rem;
    }
    .site-footer .wrap {
      max-width: 46rem;
      text-align: center;
    }
    .site-footer .brand {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 600;
      margin: 0 0 1rem;
      color: var(--cream);
    }
    .site-footer .gold-rule { margin: 0 auto 1.35rem; width: 4.5rem; height: 2px; }
    .disclosure {
      margin: 0 0 0.85rem;
      font-size: 0.86rem;
      line-height: 1.65;
      color: var(--cream-dim);
    }
    .legal {
      margin: 0 0 1.25rem;
      font-size: 0.86rem;
      line-height: 1.65;
      color: var(--cream-dim);
    }
    .copyright {
      margin: 0;
      font-size: 0.8rem;
      letter-spacing: 0.04em;
      color: rgba(75, 94, 85, 0.75);
    }

    /* Draft kits and store links (index-v2 only) */
    .kit-grid {
      display: grid;
      gap: 2.25rem;
    }
    .complete-kit {
      padding: 1.75rem 1.4rem 1.6rem;
      background: var(--navy-card);
      border: 1px solid var(--gold-line);
      border-radius: 16px;
      box-shadow: var(--shadow);
    }
    @media (min-width: 720px) {
      .complete-kit { padding: 2.1rem 2rem 1.85rem; }
    }
    .complete-kit h3 {
      margin: 0 0 0.55rem;
      font-family: var(--serif);
      font-weight: 600;
      font-size: 1.55rem;
      line-height: 1.25;
    }
    .kit-total {
      margin: 0 0 0.85rem;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--gold);
    }
    .kit-total span {
      display: block;
      margin-top: 0.2rem;
      font-size: 0.82rem;
      font-weight: 400;
      color: var(--cream-dim);
    }
    .complete-kit > p {
      margin: 0 0 1.25rem;
      color: var(--cream-dim);
    }
    .kit-products {
      list-style: none;
      margin: 0 0 1.15rem;
      padding: 0;
    }
    .kit-products > li {
      display: grid;
      gap: 0.85rem;
      padding: 1.05rem 0;
      border-top: 1px solid rgba(14, 107, 71, 0.16);
    }
    .kit-products > li:first-child { border-top: 0; padding-top: 0.15rem; }
    .kit-products h4 {
      margin: 0 0 0.35rem;
      font-family: var(--serif);
      font-size: 1.12rem;
      font-weight: 600;
      line-height: 1.35;
    }
    .kit-products .why,
    .kit-products .meta,
    .kit-products .note {
      margin: 0 0 0.3rem;
      font-size: 0.95rem;
      color: var(--cream-dim);
    }
    .kit-products .note { font-size: 0.86rem; }
    .store-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem 0.7rem;
      align-items: center;
    }
    .store-links .btn {
      width: auto;
      min-width: 0;
      padding: 0.55rem 0.95rem;
      font-size: 0.88rem;
    }
    .link-pending {
      display: inline-block;
      padding: 0.45rem 0.75rem;
      border: 1px dashed var(--gold-line);
      border-radius: 999px;
      font-size: 0.8rem;
      color: var(--cream-dim);
      background: rgba(255, 255, 255, 0.45);
    }
    .kit-bonus {
      margin: 0;
      padding: 0.85rem 1rem;
      border-radius: 10px;
      background: var(--gold-soft);
      border: 1px solid var(--gold-line);
      color: var(--cream);
      font-size: 0.95rem;
    }
    .kit-bonus a { color: var(--gold-bright); }

    .criteria-box {
      margin: 0 auto 1.5rem;
      max-width: 46rem;
      padding: 1.2rem 1.25rem 1.15rem;
      border: 1px solid var(--gold-line);
      border-radius: 12px;
      background: var(--gold-soft);
      text-align: left;
    }
    .criteria-box h3 {
      margin: 0 0 0.75rem;
      font-family: var(--serif);
      font-weight: 600;
      font-size: 1.35rem;
      line-height: 1.3;
      color: var(--cream);
    }
    .criteria-box ul {
      margin: 0;
      padding: 0 0 0 1.15rem;
    }
    .criteria-box li {
      margin: 0 0 0.45rem;
      color: var(--cream);
      font-size: 0.98rem;
    }
    .criteria-box li:last-child { margin-bottom: 0; }

    .disclosure-box {
      margin: 0 auto 1.5rem;
      max-width: 46rem;
      padding: 1.1rem 1.2rem 1.15rem;
      border: 1px solid var(--gold-line);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.55);
    }
    .disclosure-box p {
      margin: 0 0 0.65rem;
      font-size: 0.92rem;
      color: var(--cream-dim);
    }
    .disclosure-box p:last-child { margin-bottom: 0; }

    .publi {
      display: inline-block;
      margin: 0 0 0.45rem;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold);
    }
    .kit-index {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem 0.65rem;
      margin: 0 auto 2rem;
      max-width: 46rem;
    }
    .kit-index a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.5rem;
      padding: 0.35rem 0.85rem;
      border: 1px solid var(--gold-line);
      border-radius: 999px;
      color: var(--gold);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 600;
    }
    .kit-index a:focus-visible {
      color: var(--navy);
      background: var(--gold);
    }
    @media (hover: hover) and (pointer: fine) {
      .kit-index a:hover {
        color: var(--navy);
        background: var(--gold);
      }
    }
    @media (min-width: 720px) {
      .kit-products > li {
        grid-template-columns: 1fr auto;
        align-items: start;
      }
    }
    .store-links .btn { min-height: 2.75rem; }
    @media (max-width: 719px) {
      .site-header { height: auto; min-height: var(--header-h); }
      .site-header .wrap {
        height: auto;
        min-height: var(--header-h);
        padding: 0.55rem 0;
        flex-wrap: wrap;
      }
    }
    .draft-banner {
      margin: 0 auto 1.5rem;
      max-width: 40rem;
      padding: 0.55rem 0.9rem;
      border: 1px dashed var(--gold-line);
      border-radius: 999px;
      font-size: 0.82rem;
      color: var(--gold);
      background: var(--gold-soft);
    }
    .cards.cards-digital {
      margin-top: 0;
    }
    @media (min-width: 900px) {
      .cards.cards-digital { grid-template-columns: repeat(2, 1fr); }
    }
    .card .store-links { margin-top: 0.35rem; }
    .price-line {
      margin: 0 0 0.85rem;
      font-size: 0.92rem;
      color: var(--gold);
      font-weight: 600;
    }

    .promo-box {
      padding: 1.75rem 1.4rem 1.6rem;
      background: var(--navy-card);
      border: 1px solid var(--gold-line);
      border-radius: 16px;
      box-shadow: var(--shadow);
    }
    @media (min-width: 720px) {
      .promo-box { padding: 2.1rem 2rem 1.85rem; }
    }
    .promo-box h2 {
      margin: 0 0 0.7rem;
      font-family: var(--serif);
      font-weight: 600;
      font-size: 1.7rem;
      line-height: 1.25;
    }
    .promo-box > p {
      margin: 0 0 1.15rem;
      color: var(--cream-dim);
    }
    .promo-box > p.promo-note {
      margin: 1.5rem 0 0;
      font-size: 0.78rem;
      line-height: 1.6;
      color: var(--cream-dim);
    }
    .fine-note {
      margin: 2rem auto 0;
      max-width: 46rem;
      font-size: 0.78rem;
      line-height: 1.6;
      color: var(--cream-dim);
      text-align: center;
    }
    .social-cards { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
    @media (min-width: 720px) {
      .cards.social-cards { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
    }
    .social-card { align-items: flex-start; }
    .social-card h3 { margin: 0.75rem 0 0.15rem; }
    .social-card .author { margin-bottom: 1.1rem; }
    .social-card .btn { margin-top: auto; }
    .social-icon { width: 2rem; height: 2rem; color: var(--gold); }
    .promo-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 1.05rem;
    }
    @media (min-width: 900px) {
      .promo-list { grid-template-columns: 1fr 1fr; gap: 1.15rem 1.5rem; }
    }
    .promo-list li {
      margin: 0;
      padding: 0.95rem 1rem;
      border: 1px solid rgba(14, 107, 71, 0.16);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.35);
    }
    .promo-list h3 {
      margin: 0 0 0.4rem;
      font-family: var(--serif);
      font-size: 1.12rem;
      font-weight: 600;
      line-height: 1.35;
      color: var(--cream);
    }
    .promo-list p {
      margin: 0;
      font-size: 0.95rem;
      color: var(--cream-dim);
    }
    .promo-list a { font-weight: 600; }
    .promo-list .promo-mei {
      border-color: var(--gold-line);
      background: var(--gold-soft);
    }

    /* Abas (ativadas só com JS: html.js-tabs) */
    :root {
      --tab-h: 3rem;
      --sticky-offset: calc(var(--header-h) + 0.75rem);
    }
    html.js-tabs {
      --sticky-offset: calc(var(--header-h) + var(--tab-h) + 0.75rem);
      scroll-padding-top: 0;
    }
    html.js-tabs main [id],
    html.js-tabs :target {
      scroll-margin-top: var(--sticky-offset);
    }
    html.js-tabs .site-header nav { display: none; }
    .tab-bar {
      position: sticky;
      top: var(--header-h);
      z-index: 49;
      height: var(--tab-h);
      background: var(--navy-deep);
      border-bottom: 1px solid var(--gold-line);
      box-shadow: 0 8px 18px rgba(18, 38, 28, 0.08);
    }
    .tab-bar .wrap { height: 100%; }
    @media (max-width: 719px) {
      .tab-bar .wrap { width: 100%; position: relative; }
      /* Indica que há mais abas à direita no celular */
      .tab-bar .wrap::after {
        content: "";
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 2rem;
        pointer-events: none;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--navy-deep));
      }
      .tab-bar .tablist { padding-inline-end: 2rem; }
    }
    .tablist {
      position: relative;
      display: flex;
      flex-wrap: nowrap;
      align-items: stretch;
      height: 100%;
      gap: 0.25rem;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      padding-inline: 0.5rem;
    }
    .tablist::-webkit-scrollbar { display: none; }
    @media (min-width: 720px) {
      .tablist { justify-content: center; gap: 0.75rem; padding-inline: 0; }
    }
    .tablist [role="tab"] {
      flex: 0 0 auto;
      scroll-snap-align: start;
      margin: 0;
      padding: 0 0.85rem;
      border: 0;
      border-bottom: 3px solid transparent;
      border-top: 3px solid transparent;
      background: transparent;
      color: var(--cream-dim);
      font-family: var(--sans);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      white-space: nowrap;
      cursor: pointer;
      transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
    }
    @media (min-width: 720px) {
      .tablist [role="tab"] { font-size: 0.875rem; padding: 0 1.1rem; }
    }
    .tablist [role="tab"]:hover { color: var(--gold-bright); background: var(--gold-soft); }
    .tablist [role="tab"][aria-selected="true"] {
      color: var(--gold);
      border-bottom-color: var(--gold);
    }
    .tablist [role="tab"]:focus-visible {
      outline: 2px solid var(--gold);
      outline-offset: -4px;
    }
    html.js-tabs .tab-panel { padding-top: 2.75rem; }
    html.js-tabs #aba-inicio { padding-top: 0; }
    @media (min-width: 720px) {
      html.js-tabs .tab-panel { padding-top: 4rem; }
      html.js-tabs #aba-inicio { padding-top: 0; }
    }
    .tab-panel:focus,
    main [tabindex="-1"]:focus { outline: none; }
    .tab-panel:focus-visible { outline: 2px solid var(--gold-line); outline-offset: -2px; }

    /* Índice de categorias dos kits: barra lateral (desktop) / faixa sticky (celular) */
    :root {
      /* Topo das barras fixas: header (+ tab-bar quando as abas estão ativas) */
      --kit-sticky-top: var(--header-h);
      /* Altura da faixa de categorias no celular/tablet */
      --kit-strip-h: 3.25rem;
      /* Quanto a faixa cobre do conteúdo ao rolar até um kit (0 no desktop) */
      --kit-strip-offset: 0px;
    }
    html.js-tabs {
      --kit-sticky-top: calc(var(--header-h) + var(--tab-h));
    }
    .kit-index a {
      transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    }
    .kit-index a.is-active {
      color: var(--navy);
      background: var(--gold);
      border-color: var(--gold);
    }
    /* Compensa header + tab-bar + faixa ao ir para um kit (com ou sem JS) */
    main .kit-layout .complete-kit {
      scroll-margin-top: var(--kit-strip-offset);
    }
    html.js-tabs main .kit-layout .complete-kit[id] {
      scroll-margin-top: calc(var(--sticky-offset) + var(--kit-strip-offset));
    }

    @media (max-width: 959px) {
      :root { --kit-strip-offset: var(--kit-strip-h); }
      .kit-index {
        position: sticky;
        top: var(--kit-sticky-top);
        z-index: 48;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        height: var(--kit-strip-h);
        max-width: none;
        margin: 0 -1rem 2rem;
        padding: 0 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        background: var(--navy-deep);
        border-bottom: 1px solid var(--gold-line);
        box-shadow: 0 8px 18px rgba(18, 38, 28, 0.08);
      }
      .kit-index::-webkit-scrollbar { display: none; }
      .kit-index a {
        flex: 0 0 auto;
        white-space: nowrap;
        min-height: 2.25rem;
      }
    }
    @media (min-width: 720px) and (max-width: 959px) {
      .kit-index {
        margin-inline: -1.75rem;
        padding-inline: 1.75rem;
      }
    }
    /* Sem JS no celular o header pode quebrar em duas linhas (altura variável):
       a faixa fica no fluxo normal em vez de grudar sob um header de altura incerta. */
    @media (max-width: 719px) {
      html:not(.js-tabs) { --kit-strip-offset: 0px; }
      html:not(.js-tabs) .kit-index { position: static; }
    }

    @media (min-width: 960px) {
      .kit-layout {
        display: grid;
        grid-template-columns: 13rem minmax(0, 1fr);
        gap: 2.5rem;
        align-items: start;
      }
      .kit-index {
        position: sticky;
        top: calc(var(--kit-sticky-top) + 1.25rem);
        align-self: start;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.5rem;
        max-width: none;
        max-height: calc(100vh - var(--kit-sticky-top) - 2.5rem);
        margin: 0;
        padding: 0.25rem;
        overflow-y: auto;
        scrollbar-width: none;
      }
      .kit-index::-webkit-scrollbar { display: none; }
      .kit-index a { justify-content: flex-start; }
    }

  
/* ===== Hub e artigos ===== */
.page { padding: 2.25rem 0 3.5rem; }
.breadcrumb { display: block; margin: 0 0 1.5rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .9rem; color: var(--cream-dim); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin: 0 .45rem; color: var(--gold); }
.breadcrumb a { color: var(--cream-dim); text-decoration: none; padding: .35rem 0; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--cream); }
.article { max-inline-size: 70ch; margin-inline: auto; }
.article h1, .hub-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.85rem, 5vw, 2.7rem); line-height: 1.2; margin: 0 0 1.25rem; letter-spacing: -.01em; }
.article h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 1.75rem); line-height: 1.3; margin: 2.6rem 0 .9rem; color: var(--cream); }
.article h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; color: var(--gold); }
.article p, .article li { max-inline-size: 66ch; }
.article li { margin-bottom: .45rem; }
.resumo { background: var(--navy-card); border: 1px solid var(--gold-line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 0 0 1.5rem; }
.resumo .label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.resumo p { margin: 0; }
.toc { border: 1px solid rgba(18, 38, 28, .1); border-radius: var(--radius); padding: 1rem 1.3rem; margin: 0 0 1rem; background: rgba(255, 255, 255,.55); }
.toc h2 { font-family: var(--sans); font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; margin: 0 0 .5rem !important; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin: .2rem 0; }
.toc { display: block; }
.toc a, .breadcrumb a { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; }
.breadcrumb a { font-size: .9rem; }
.toc a { color: var(--cream-dim); text-decoration: none; }
.toc a:hover { color: var(--gold); text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid rgba(18, 38, 28, .1); vertical-align: top; }
thead th { color: var(--gold); font-size: .85rem; letter-spacing: .04em; border-bottom: 1px solid var(--gold-line); }
td.num, th.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.example { background: rgba(14, 107, 71,.07); border: 1px dashed var(--gold-line); border-radius: 10px; padding: .8rem 1rem; }
.example-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--gold); border-radius: 4px; padding: .05rem .45rem; margin-right: .45rem; }
.formula { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--navy-card); padding: .7rem 1rem; border-radius: 8px; color: var(--gold-bright); }
.checklist { list-style: none; padding-left: 0; }
.checklist li::before { content: "☐"; color: var(--gold); margin-right: .55rem; }
.kit-cta { margin: 2.4rem 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-card), var(--navy-mid)); border: 1px solid var(--gold-line); box-shadow: var(--shadow); }
.kit-cta .eyebrow { margin-bottom: .4rem; }
.kit-cta-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 0 0 .45rem; }
.kit-cta p { margin: .3rem 0; }
.kit-cta .micro { color: var(--cream-dim); font-size: .95rem; }
.kit-cta .kit-list { margin: .9rem 0; }
.kit-cta .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: 1rem; }
.kit-cta .kit-price { margin: 0; color: var(--cream-dim); font-size: .95rem; }
.course-box { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(18, 38, 28, .12); }
.course-box h3 { margin: .2rem 0 .3rem; color: var(--cream); font-family: var(--serif); }
.faq details { border-bottom: 1px solid rgba(18, 38, 28, .12); padding: .75rem 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--cream); list-style-position: outside; }
.faq summary:hover { color: var(--gold); }
.faq details p { margin: .5rem 0 0; color: var(--cream-dim); }
.fontes li { margin-bottom: .35rem; }
.fontes .nota { color: var(--cream-dim); font-size: .92rem; }
.related { margin-top: 2.8rem; }
.related ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.related a { display: block; padding: .85rem 1rem; border: 1px solid rgba(18, 38, 28, .12); border-radius: 10px; background: var(--navy-card); text-decoration: none; color: var(--cream); font-weight: 600; }
.related a:hover { border-color: var(--gold-line); color: var(--gold); }
.hub-head { max-inline-size: 70ch; margin-bottom: 1.5rem; }
.hub-group { margin-top: 2.2rem; padding: 0 !important; }
.hub-group > h2, .content-group > h3 { font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: 1.35rem; margin: 0 0 1rem; }
.article-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.article-cards .card { display: flex; flex-direction: column; }
.article-cards .card h3 a { color: var(--cream); text-decoration: none; }
.article-cards .card h3 a:hover { color: var(--gold); }
.article-cards .card .read { margin-top: auto; font-weight: 700; text-decoration: none; }
.content-group { margin-top: 1.8rem; }
.hub-link { margin-top: 1.6rem; text-align: center; }
.kit-cta .btn, .hub-link .btn, .course-box .btn { width: auto; }
.article-cards .card h4 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.3; margin: .2rem 0 .6rem; }
.article-cards .card h3 a, .article-cards .card h4 a { color: var(--cream); text-decoration: none; }
.article-cards .card h4 a:hover { color: var(--gold); }
