﻿:root {
      --brand-blue: #3f32ab;
      --brand-red: #ea1c24;
      --blue-deep: #241b5c;
      --blue-petrol: #3f32ab;
      --blue-steel: #5c4eb8;
      --red-wine: #ea1c24;
      --red-ruby: #ea1c24;
      --red-soft: #ff4d55;
      --ice: #f7f9fc;
      --white: #ffffff;
      --graphite: #2d3548;
      --muted: #5a6478;
      --border: rgba(63, 50, 171, 0.14);
      --shadow: 0 12px 40px rgba(63, 50, 171, 0.1);
      --shadow-hover: 0 20px 50px rgba(63, 50, 171, 0.18);
      --radius: 14px;
      --radius-lg: 22px;
      --header-h: 72px;
      --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      --font-display: "Poppins", system-ui, sans-serif;
      --font-ui: "Manrope", system-ui, sans-serif;
      --font-body: "Inter", system-ui, sans-serif;
      color-scheme: light;
    }

    [data-theme="dark"] {
      --ice: #0e141c;
      --white: #141c28;
      --graphite: #e8ecf4;
      --muted: #9aa6bc;
      --border: rgba(255, 255, 255, 0.08);
      --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
      --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.45);
      color-scheme: dark;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      color: var(--graphite);
      background: var(--ice);
      transition: background var(--transition), color var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .skip {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .skip:focus {
      left: 16px;
      top: 16px;
      width: auto;
      height: auto;
      padding: 12px 16px;
      background: var(--white);
      border-radius: 8px;
      z-index: 10000;
      outline: 2px solid var(--red-wine);
    }

    /* â€”â€”â€” Page load â€”â€”â€” */
    #page-loader {
      position: fixed;
      inset: 0;
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--blue-deep);
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    #page-loader.done {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .loader-mark {
      width: 48px;
      height: 48px;
      border: 3px solid rgba(255, 255, 255, 0.15);
      border-top-color: var(--red-ruby);
      border-radius: 50%;
      animation: spin 0.85s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* â€”â€”â€” Header â€”â€”â€” */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--header-h);
      z-index: 900;
      background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-petrol) 100%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      transition: box-shadow var(--transition), transform var(--transition);
    }

    .site-header.scrolled {
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    }

    .header-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 24px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.45rem;
      letter-spacing: -0.02em;
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-mark {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(234, 28, 36, 0.32));
      display: grid;
      place-items: center;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--white);
    }

    .logo span.ban {
      color: #dcd6ff;
    }

    .logo span.cabano {
      color: #ff6b70;
    }

    .nav-primary {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav-primary a {
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.88);
      padding: 10px 14px;
      border-radius: 8px;
      transition: background var(--transition), color var(--transition);
    }

    .nav-primary a:hover {
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn-icon {
      width: 44px;
      height: 44px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.06);
      border-radius: 10px;
      color: var(--white);
      cursor: pointer;
      display: grid;
      place-items: center;
      transition: background var(--transition), border-color var(--transition);
    }

    .btn-icon:hover {
      background: rgba(234, 28, 36, 0.28);
      border-color: rgba(255, 180, 185, 0.55);
    }

    .btn-icon svg {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    /* Pesquisa: no mobile só o ícone; no desktop texto + ícone em linha (evita 44×44 com dois filhos) */
    .btn-icon.btn-search {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-search-text {
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.8125rem;
      color: rgba(255, 255, 255, 0.9);
      display: none;
      white-space: nowrap;
    }

    @media (min-width: 900px) {
      .btn-icon.btn-search {
        width: auto;
        min-width: 44px;
        height: 44px;
        padding: 0 14px;
        gap: 8px;
      }

      .btn-search-text {
        display: inline;
      }
    }

    .nav-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 10px;
      background: transparent;
      border: none;
      cursor: pointer;
    }

    .nav-toggle span {
      width: 22px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
    }

    @media (max-width: 1024px) {
      .nav-primary {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--blue-petrol);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
      }

      .nav-primary.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }

      .nav-toggle {
        display: flex;
      }
    }

    /* â€”â€”â€” Breaking strip â€”â€”â€” */
    .breaking-bar {
      margin-top: var(--header-h);
      background: var(--red-wine);
      color: var(--white);
      font-family: var(--font-ui);
      font-size: 0.8125rem;
      font-weight: 600;
      overflow: hidden;
    }

    .breaking-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 10px 24px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .breaking-label {
      flex-shrink: 0;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.7rem;
      opacity: 0.95;
    }

    .breaking-text {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      transition: opacity 0.22s ease;
    }

    /* â€”â€”â€” Hero â€”â€”â€” */
    .hero {
      position: relative;
      padding: clamp(48px, 8vw, 100px) 24px clamp(64px, 10vw, 120px);
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--blue-petrol) 0%, #2a2270 42%, #1a1538 72%, #401018 100%);
      z-index: 0;
    }

    .hero-bg::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: 0.07;
      background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      max-width: 1320px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(32px, 5vw, 56px);
      align-items: center;
    }

    @media (min-width: 960px) {
      .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
      }
    }

    .hero-copy h1 {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(2rem, 4.2vw, 3.25rem);
      line-height: 1.12;
      color: var(--white);
      margin: 0 0 20px;
      letter-spacing: -0.03em;
    }

    .hero-copy .lead {
      font-size: 1.0625rem;
      color: rgba(255, 255, 255, 0.82);
      max-width: 520px;
      margin: 0 0 32px;
    }

    .hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .btn {
      font-family: var(--font-ui);
      font-weight: 700;
      font-size: 0.9375rem;
      padding: 14px 26px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    }

    .btn-primary {
      background: linear-gradient(180deg, #ff2a32 0%, var(--brand-red) 100%);
      color: var(--white);
      box-shadow: 0 8px 24px rgba(234, 28, 36, 0.38);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(234, 28, 36, 0.5);
    }

    .btn-secondary {
      background: transparent;
      color: var(--white);
      border: 2px solid rgba(255, 255, 255, 0.35);
    }

    .btn-secondary:hover {
      border-color: rgba(255, 255, 255, 0.65);
      background: rgba(255, 255, 255, 0.06);
    }

    .hero-visual {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      min-height: 280px;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    @media (min-width: 960px) {
      .hero-visual {
        min-height: 380px;
      }
    }

    .hero-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 280px;
    }

    .hero-visual::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 40%, rgba(28, 18, 62, 0.78) 100%);
      pointer-events: none;
    }

    .hero-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2;
      padding: 24px;
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.95);
    }

    /* â€”â€”â€” Sections common â€”â€”â€” */
    .section {
      padding: clamp(56px, 8vw, 96px) 24px;
    }

    .section-inner {
      max-width: 1320px;
      margin: 0 auto;
    }

    .section-head {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 36px;
    }

    .section-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      color: var(--blue-petrol);
      margin: 0;
      letter-spacing: -0.02em;
    }

    [data-theme="dark"] .section-title {
      color: #d4c9f7;
    }

    .section-link {
      font-family: var(--font-ui);
      font-weight: 700;
      font-size: 0.875rem;
      color: var(--red-wine);
    }

    .section-link:hover {
      text-decoration: underline;
    }

    /* â€”â€”â€” Destaques â€”â€”â€” */
    .highlights {
      background: var(--white);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .highlight-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    @media (min-width: 900px) {
      .highlight-grid {
        grid-template-columns: 1.4fr 1fr;
        grid-template-rows: auto auto;
      }

      .highlight-main {
        grid-row: span 2;
      }
    }

    .card-news {
      background: var(--ice);
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }

    [data-theme="dark"] .card-news {
      background: #1a2434;
    }

    .card-news:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(234, 28, 36, 0.42);
    }

    .card-news .thumb {
      aspect-ratio: 16 / 10;
      background: linear-gradient(145deg, var(--blue-steel), var(--blue-petrol));
      position: relative;
      overflow: hidden;
    }

    .card-news .thumb img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .card-news:hover .thumb img {
      transform: scale(1.04);
    }

    .card-news.highlight-main .thumb {
      aspect-ratio: 16 / 11;
    }

    .card-news .thumb span {
      position: absolute;
      bottom: 12px;
      left: 12px;
      z-index: 2;
      font-family: var(--font-ui);
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--brand-red);
      background: var(--white);
      padding: 6px 12px;
      border-radius: 6px;
    }

    [data-theme="dark"] .card-news .thumb span {
      background: var(--blue-deep);
      color: #ffb3b8;
    }

    .card-body {
      padding: 22px 24px 26px;
    }

    .card-news h3 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.125rem;
      line-height: 1.35;
      margin: 0 0 10px;
      color: var(--blue-deep);
    }

    .card-news h3 a.paywall-link {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition);
    }

    .card-news h3 a.paywall-link:hover {
      color: var(--brand-red);
    }

    [data-theme="dark"] .card-news h3 {
      color: #e8ecf4;
    }

    .card-news.highlight-main h3 {
      font-size: clamp(1.25rem, 2vw, 1.5rem);
    }

    .card-meta {
      font-size: 0.8125rem;
      color: var(--muted);
    }

    .side-stack {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .side-stack .card-news .thumb {
      aspect-ratio: 16 / 9;
    }

    .side-stack .card-news h3 {
      font-size: 1rem;
    }

    /* â€”â€”â€” Sobre â€”â€”â€” */
    .about-block {
      background: linear-gradient(135deg, var(--blue-petrol) 0%, var(--blue-deep) 100%);
      color: var(--white);
      border-radius: var(--radius-lg);
      padding: clamp(32px, 5vw, 56px);
      position: relative;
      overflow: hidden;
    }

    .about-block::before {
      content: "";
      position: absolute;
      top: -40%;
      right: -10%;
      width: 50%;
      height: 140%;
      background: radial-gradient(circle, rgba(234, 28, 36, 0.22) 0%, transparent 65%);
      pointer-events: none;
    }

    .about-block p {
      position: relative;
      z-index: 1;
      max-width: 820px;
      margin: 0;
      font-size: 1.0625rem;
      line-height: 1.75;
      color: rgba(255, 255, 255, 0.9);
    }

    .about-block strong {
      color: var(--white);
    }

    .about-block a {
      color: #ffb3b8;
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .about-block a:hover {
      color: var(--white);
    }

    /* â€”â€”â€” Categorias â€”â€”â€” */
    .cats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    @media (min-width: 640px) {
      .cats-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (min-width: 1100px) {
      .cats-grid {
        grid-template-columns: repeat(8, 1fr);
      }
    }

    .cat-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 22px 16px;
      text-align: center;
      transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    }

    [data-theme="dark"] .cat-card {
      background: #1a2434;
    }

    .cat-card:hover {
      transform: translateY(-3px);
      border-color: rgba(234, 28, 36, 0.45);
      box-shadow: var(--shadow);
    }

    .cat-icon {
      width: 44px;
      height: 44px;
      margin: 0 auto 12px;
      border-radius: 12px;
      background: rgba(63, 50, 171, 0.09);
      display: grid;
      place-items: center;
      color: var(--blue-petrol);
    }

    [data-theme="dark"] .cat-icon {
      background: rgba(255, 255, 255, 0.06);
      color: #c4b5f5;
    }

    .cat-card span {
      font-family: var(--font-ui);
      font-weight: 700;
      font-size: 0.8125rem;
      color: var(--blue-deep);
    }

    [data-theme="dark"] .cat-card span {
      color: #e8ecf4;
    }

    /* â€”â€”â€” Feed + Sidebar â€”â€”â€” */
    .feed-layout {
      display: grid;
      gap: 40px;
    }

    @media (min-width: 1024px) {
      .feed-layout {
        grid-template-columns: 1fr 340px;
        align-items: start;
      }
    }

    .article-row {
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 20px;
      padding: 22px 0;
      border-bottom: 1px solid var(--border);
      transition: background var(--transition);
    }

    @media (max-width: 600px) {
      .article-row {
        grid-template-columns: 1fr;
      }
    }

    .article-row:hover {
      background: rgba(63, 50, 171, 0.045);
      margin: 0 -16px;
      padding-left: 16px;
      padding-right: 16px;
      border-radius: 12px;
    }

    [data-theme="dark"] .article-row:hover {
      background: rgba(255, 255, 255, 0.03);
    }

    .article-row .mini-thumb {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4 / 3;
      border-radius: 10px;
      background: linear-gradient(160deg, var(--blue-steel), var(--blue-deep));
      flex-shrink: 0;
    }

    .article-row .mini-thumb img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
    }

    .article-row .cat {
      font-family: var(--font-ui);
      font-size: 0.6875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--red-wine);
      margin-bottom: 6px;
    }

    .article-row h4 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.0625rem;
      margin: 0 0 8px;
      color: var(--blue-deep);
      line-height: 1.3;
    }

    .article-row h4 a.paywall-link {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition);
    }

    .article-row h4 a.paywall-link:hover {
      color: var(--brand-red);
    }

    [data-theme="dark"] .article-row h4 {
      color: #e8ecf4;
    }

    .article-row .excerpt {
      font-size: 0.875rem;
      color: var(--muted);
      margin: 0 0 10px;
    }

    .article-row .read {
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 500;
    }

    .sidebar-widget {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
      margin-bottom: 20px;
      box-shadow: var(--shadow);
    }

    [data-theme="dark"] .sidebar-widget {
      background: #1a2434;
    }

    .widget-title {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1rem;
      margin: 0 0 18px;
      color: var(--blue-deep);
      padding-bottom: 12px;
      border-bottom: 2px solid var(--red-wine);
    }

    [data-theme="dark"] .widget-title {
      color: #e8ecf4;
    }

    .widget-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .widget-list li {
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.875rem;
      color: var(--graphite);
    }

    [data-theme="dark"] .widget-list li {
      color: #d0d8e8;
    }

    .widget-list li:last-child {
      border-bottom: none;
    }

    .widget-list a:hover {
      color: var(--red-ruby);
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      font-size: 0.75rem;
      font-weight: 600;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(63, 50, 171, 0.08);
      color: var(--blue-petrol);
    }

    [data-theme="dark"] .tag {
      background: rgba(255, 255, 255, 0.08);
      color: #c9bbf5;
    }

    .weather-box {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .weather-temp {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 2.5rem;
      color: var(--blue-deep);
    }

    [data-theme="dark"] .weather-temp {
      color: #e8ecf4;
    }

    .weather-meta {
      font-size: 0.875rem;
      color: var(--muted);
    }

    /* â€”â€”â€” Footer â€”â€”â€” */
    .site-footer {
      background: linear-gradient(180deg, #08051a 0%, var(--blue-deep) 100%);
      color: rgba(255, 255, 255, 0.78);
      padding: clamp(56px, 8vw, 88px) 24px 32px;
    }

    .footer-grid {
      max-width: 1320px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 36px 24px;
    }

    @media (min-width: 900px) {
      .footer-grid {
        grid-template-columns: 1.2fr repeat(4, 1fr) 1fr;
      }
    }

    .footer-brand .logo {
      margin-bottom: 16px;
    }

    .footer-brand p {
      font-size: 0.875rem;
      line-height: 1.65;
      margin: 0;
      max-width: 280px;
    }

    .footer-col h5 {
      font-family: var(--font-ui);
      font-weight: 700;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(255, 255, 255, 0.45);
      margin: 0 0 16px;
    }

    .footer-col ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .footer-col li {
      margin-bottom: 10px;
    }

    .footer-col a {
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.82);
      transition: color var(--transition);
    }

    .footer-col a:hover {
      color: #ffb3b8;
    }

    .footer-bottom {
      max-width: 1320px;
      margin: 48px auto 0;
      padding-top: 28px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8125rem;
    }

    .socials {
      display: flex;
      gap: 12px;
    }

    .socials a {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      display: grid;
      place-items: center;
      color: var(--white);
      transition: background var(--transition), border-color var(--transition);
    }

    .socials a:hover {
      background: rgba(234, 28, 36, 0.38);
      border-color: rgba(255, 180, 185, 0.55);
    }

    /* â€”â€”â€” Search overlay â€”â€”â€” */
    .search-overlay {
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(18, 10, 40, 0.92);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 100px 24px 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--transition), visibility var(--transition);
    }

    .search-overlay.open {
      opacity: 1;
      visibility: visible;
    }

    .search-panel {
      width: 100%;
      max-width: 560px;
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    }

    [data-theme="dark"] .search-panel {
      background: #1a2434;
    }

    .search-panel input {
      width: 100%;
      font-family: var(--font-ui);
      font-size: 1.125rem;
      padding: 16px 18px;
      border: 2px solid var(--border);
      border-radius: 12px;
      background: var(--ice);
      color: var(--graphite);
    }

    [data-theme="dark"] .search-panel input {
      background: #0e141c;
      color: #e8ecf4;
    }

    .search-panel input:focus {
      outline: none;
      border-color: var(--red-wine);
    }

    .search-hint {
      margin-top: 12px;
      font-size: 0.8125rem;
      color: var(--muted);
    }

    main {
      padding-bottom: 0;
    }

    /* ——— Páginas internas ——— */
    .page-shell {
      padding-top: clamp(32px, 5vw, 56px);
      min-height: 48vh;
    }

    .page-head {
      margin-bottom: 28px;
      max-width: 720px;
    }

    .page-lead {
      font-size: 1.125rem;
      color: var(--muted);
      margin: 12px 0 0;
      line-height: 1.6;
    }

    .page-prose {
      max-width: 720px;
      font-size: 1.0625rem;
      line-height: 1.75;
      color: var(--graphite);
    }

    [data-theme="dark"] .page-prose {
      color: #dce4f4;
    }

    .page-prose p {
      margin: 0 0 1rem;
    }

    .page-prose ul {
      margin: 0 0 1rem 1.1rem;
      padding: 0;
    }

    .page-grid-links {
      display: grid;
      gap: 12px;
      max-width: 560px;
    }

    .page-grid-links a {
      display: block;
      padding: 14px 18px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--white);
      font-family: var(--font-ui);
      font-weight: 600;
      color: var(--blue-deep);
      transition: border-color var(--transition), box-shadow var(--transition);
    }

    [data-theme="dark"] .page-grid-links a {
      background: #1a2434;
      color: #e8ecf4;
    }

    .page-grid-links a:hover {
      border-color: rgba(234, 28, 36, 0.45);
      box-shadow: var(--shadow);
    }

    body.paywall-open {
      overflow: hidden;
    }

    /* ——— Paywall / Premium ——— */
    .paywall-overlay {
      position: fixed;
      inset: 0;
      z-index: 10050;
      background: rgba(12, 8, 28, 0.72);
      backdrop-filter: blur(6px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--transition), visibility var(--transition);
    }

    .paywall-overlay.is-open {
      opacity: 1;
      visibility: visible;
    }

    .paywall-dialog {
      position: relative;
      width: 100%;
      max-width: 480px;
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: clamp(24px, 4vw, 36px);
      box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
      border: 1px solid var(--border);
    }

    [data-theme="dark"] .paywall-dialog {
      background: #1a2434;
    }

    .paywall-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      border: none;
      border-radius: 10px;
      background: rgba(63, 50, 171, 0.08);
      color: var(--graphite);
      font-size: 1.5rem;
      line-height: 1;
      cursor: pointer;
      transition: background var(--transition);
    }

    .paywall-close:hover {
      background: rgba(234, 28, 36, 0.15);
    }

    .paywall-badge {
      display: inline-block;
      font-family: var(--font-ui);
      font-weight: 700;
      font-size: 0.6875rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--brand-red);
      margin-bottom: 12px;
    }

    .paywall-title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1.35rem, 3vw, 1.75rem);
      line-height: 1.2;
      margin: 0 0 12px;
      color: var(--blue-deep);
    }

    [data-theme="dark"] .paywall-title {
      color: #e8ecf4;
    }

    .paywall-lead {
      margin: 0 0 16px;
      font-size: 0.9375rem;
      color: var(--muted);
      line-height: 1.6;
    }

    .paywall-benefits {
      margin: 0 0 20px;
      padding-left: 1.15rem;
      font-size: 0.875rem;
      color: var(--graphite);
      line-height: 1.55;
    }

    [data-theme="dark"] .paywall-benefits {
      color: #c8d4ec;
    }

    .paywall-price {
      margin-bottom: 12px;
    }

    .paywall-price-tag {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 2rem;
      color: var(--blue-petrol);
    }

    .paywall-price-unit {
      font-size: 1rem;
      color: var(--muted);
      margin-left: 4px;
    }

    .paywall-note {
      font-size: 0.75rem;
      color: var(--muted);
      margin: 0 0 20px;
    }

    .paywall-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .paywall-secondary {
      font-family: var(--font-ui);
      font-weight: 700;
      font-size: 0.875rem;
      padding: 12px 20px;
      border-radius: 10px;
      border: 2px solid var(--border);
      background: transparent;
      color: var(--graphite);
      cursor: pointer;
      transition: border-color var(--transition), background var(--transition);
    }

    .paywall-secondary:hover {
      border-color: var(--blue-petrol);
      background: rgba(63, 50, 171, 0.06);
    }

    .paywall-cta {
      width: 100%;
      text-align: center;
    }

    /* ——— Rodapé: titular / CNPJ ——— */
    .footer-publisher {
      font-size: 0.8125rem;
      line-height: 1.55;
      color: rgba(255, 255, 255, 0.78);
      margin: 14px 0 0;
      max-width: 340px;
    }

    .footer-publisher strong {
      color: rgba(255, 255, 255, 0.95);
      font-weight: 600;
    }

    /* ——— Banner de cookies ——— */
    .cookie-consent {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9500;
      background: linear-gradient(180deg, rgba(247, 249, 252, 0.97) 0%, #ffffff 100%);
      border-top: 1px solid var(--border);
      box-shadow: 0 -10px 40px rgba(63, 50, 171, 0.12);
      padding: 16px 20px 20px;
    }

    [data-theme="dark"] .cookie-consent {
      background: linear-gradient(180deg, rgba(22, 28, 40, 0.98) 0%, #161c28 100%);
      border-top-color: rgba(255, 255, 255, 0.08);
    }

    .cookie-consent-inner {
      max-width: 1320px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
    }

    .cookie-consent-text #cookie-consent-title {
      display: block;
      font-family: var(--font-ui);
      font-size: 0.9375rem;
      font-weight: 700;
      color: var(--blue-deep);
      margin-bottom: 4px;
    }

    [data-theme="dark"] .cookie-consent-text #cookie-consent-title {
      color: #e8ecf4;
    }

    .cookie-consent-text p {
      margin: 0;
      font-size: 0.8125rem;
      line-height: 1.55;
      color: var(--muted);
      max-width: 760px;
    }

    .cookie-consent-text a {
      color: var(--brand-red);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .cookie-consent-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px;
      flex-shrink: 0;
    }

    .cookie-consent-btn {
      padding: 10px 20px;
      font-size: 0.875rem;
    }

    .cookie-consent-link {
      font-family: var(--font-ui);
      font-size: 0.8125rem;
      font-weight: 700;
      color: var(--blue-petrol);
    }

    [data-theme="dark"] .cookie-consent-link {
      color: #c9bbf5;
    }

    body.has-cookie-banner {
      padding-bottom: 140px;
    }

    @media (min-width: 900px) {
      body.has-cookie-banner {
        padding-bottom: 110px;
      }
    }
