:root {
      --blue: #4f6d13;
      --blue-dark: #0f1905;
      --blue-soft: #6f8f1f;
      --green-top: #7f9d21;
      --green-mid: #536f14;
      --green-bottom: #243a08;
      --green-dark: #0f1905;
      --green-gradient: linear-gradient(180deg, #7f9d21 0%, #536f14 45%, #243a08 100%);
      --green-gradient-dark: linear-gradient(180deg, #1f330b 0%, #0c1504 100%);
      --text: #2c2f36;
      --muted: #6f747b;
      --line: #e7e7e7;
      --bg-soft: #f2f4ee;
      --white: #ffffff;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
      --card-shadow: 0 18px 42px rgba(0,0,0,.10);
      --radius: 24px;
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      padding: 0;
      font-family: Inter, Arial, Helvetica, sans-serif;
      background: #fff;
      color: var(--text);
      scroll-behavior: smooth;
    }

    body.drawer-open { overflow: hidden; }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(1180px, calc(100% - 72px));
      margin: 0 auto;
    }

    .site-header {
      background: #f5f5f5;
      border-bottom: 1px solid #e5e5e5;
    }

    .site-header__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 36px;
      padding: 22px 0 30px;
    }

    .logo {
      font-family: "Playfair Display", Georgia, serif;
      font-weight: 900;
      font-size: 30px;
      line-height: 1;
      letter-spacing: -1.2px;
      color: #4f6d13;
      white-space: nowrap;
      user-select: none;
      text-shadow: 0 1px 0 rgba(255,255,255,.35);
    }

    .logo-red { color: #e32020; }

    .search-wide {
      display: flex;
      align-items: stretch;
      gap: 8px;
      width: min(484px, 100%);
      margin-right: auto;
    }

    .search-wide input,
    .footer-search input,
    .drawer-search input {
      width: 100%;
      height: 48px;
      border: 1px solid #d4d7da;
      border-radius: 3px;
      background: #fff;
      outline: none;
      padding: 0 16px;
      color: #4f5358;
      font-size: 15px;
    }

    .search-wide input::placeholder,
    .footer-search input::placeholder,
    .drawer-search input::placeholder { color: #aeb4b9; }

    .search-btn {
      width: 50px;
      min-width: 50px;
      height: 48px;
      border: 0;
      border-radius: 3px;
      background: var(--green-gradient);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: filter .2s ease, transform .2s ease;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
    }

    .search-btn:hover,
    .menu-pill:hover,
    .drawer-close:hover { filter: brightness(1.06); }

    .search-btn:active,
    .menu-pill:active,
    .drawer-close:active { transform: translateY(1px); }

    .top-nav {
      background: var(--green-gradient);
      color: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
      border-top: 1px solid rgba(255,255,255,.18);
      border-bottom: 1px solid rgba(0,0,0,.25);
    }

    .top-nav .container {
      display: flex;
      align-items: center;
      gap: 24px;
      min-height: 48px;
      overflow: hidden;
    }

    .menu-pill {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      height: 40px;
      padding: 0 18px;
      border: 1px solid rgba(255,255,255,.88);
      border-radius: 999px;
      background: rgba(0,0,0,.10);
      color: #fff;
      cursor: pointer;
      font-size: 16px;
      font-weight: 800;
      flex: 0 0 auto;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(15px, 2.2vw, 30px);
      white-space: nowrap;
      min-width: 0;
      overflow: hidden;
      font-size: 15px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: -.15px;
    }

    .nav-links a { opacity: .98; }
    .nav-links a:hover { text-decoration: underline; }

    .page-hero {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 12% 10%, rgba(127,157,33,.35), transparent 28%),
        linear-gradient(135deg, #111d07 0%, #243a08 56%, #4f6d13 100%);
      color: #fff;
      padding: 64px 0 56px;
    }

    .page-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
      background-size: 42px 42px;
      opacity: .75;
    }

    .page-hero .container { position: relative; z-index: 1; }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 22px;
      color: rgba(255,255,255,.72);
      font-size: 14px;
      font-weight: 600;
    }

    .breadcrumb a:hover { color: #fff; text-decoration: underline; }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: linear-gradient(135deg, #082d17 0%, #0f4f28 54%, #0a351b 100%);
      color: #ffffff;
      font-weight: 900;
      font-size: 12px;
      padding: 9px 14px;
      border-radius: 999px;
      letter-spacing: .35px;
      margin: 0 0 18px;
      text-transform: uppercase;
      border: 1px solid rgba(205, 255, 141, .68);
      box-shadow: 0 10px 24px rgba(8, 45, 23, .24), inset 0 1px 0 rgba(255,255,255,.18);
      text-shadow: 0 1px 2px rgba(0,0,0,.35);
    }

    .section-label::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #e22121;
      box-shadow: 0 0 0 4px rgba(226,33,33,.16), 0 0 14px rgba(226,33,33,.45);
    }

    .page-title {
      margin: 0;
      font-size: clamp(42px, 6vw, 72px);
      line-height: .98;
      letter-spacing: -2.4px;
      font-weight: 900;
      max-width: 980px;
    }

    .page-subtitle {
      margin: 22px 0 0;
      max-width: 780px;
      font-size: clamp(18px, 2.2vw, 24px);
      line-height: 1.45;
      color: rgba(255,255,255,.86);
      font-weight: 600;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 46px;
      border-radius: 999px;
      padding: 0 18px;
      font-weight: 900;
      border: 1px solid rgba(255,255,255,.24);
      box-shadow: 0 12px 24px rgba(0,0,0,.20);
    }

    .btn-primary {
      background: #d7ff6a;
      color: #152107;
    }

    .btn-secondary {
      background: rgba(255,255,255,.12);
      color: #fff;
    }

    .summary-strip {
      background: #fff;
      border-bottom: 1px solid #e8ece1;
    }

    .summary-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      padding: 24px 0;
    }

    .summary-card {
      border: 1px solid #e5ebdb;
      border-radius: 18px;
      padding: 18px;
      background: #fbfcf8;
      min-height: 112px;
    }

    .summary-card strong {
      display: block;
      color: #243a08;
      font-size: 15px;
      margin-bottom: 8px;
    }

    .summary-card span {
      display: block;
      color: #5b6066;
      font-size: 14px;
      line-height: 1.5;
    }

    .content-section {
      background: var(--bg-soft);
      padding: 54px 0 70px;
    }

    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 28px;
    }

    .section-head h2 {
      margin: 0;
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.05;
      letter-spacing: -1.2px;
      color: #202429;
    }

    .section-head p {
      margin: 0;
      max-width: 470px;
      color: var(--muted);
      line-height: 1.65;
      font-size: 16px;
    }

    .rules-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .rule-card {
      display: flex;
      flex-direction: column;
      background: #fff;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      border: 1px solid rgba(79,109,19,.10);
    }

    .rule-card.full { grid-column: 1 / -1; }

    .rule-card__body {
      padding: 26px;
    }

    .rule-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #4f6d13;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .35px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .rule-kicker::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #4f6d13;
    }

    .rule-card h3 {
      margin: 0 0 14px;
      font-size: clamp(22px, 2.5vw, 30px);
      line-height: 1.1;
      color: #1c2216;
      letter-spacing: -.7px;
    }

    .rule-card p {
      margin: 0 0 13px;
      color: #4c5258;
      line-height: 1.72;
      font-size: 16px;
    }

    .rule-card p:last-child { margin-bottom: 0; }

    .rule-card ul {
      margin: 12px 0 0;
      padding-left: 20px;
      color: #4c5258;
      line-height: 1.72;
      font-size: 16px;
    }

    .rule-images {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      padding: 0 26px 26px;
    }

    .rule-card.full .rule-images {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rule-image {
      min-height: 210px;
      display: flex;
      align-items: center;
      justify-content: center;
      background:
        linear-gradient(135deg, rgba(15,25,5,.06), rgba(127,157,33,.09)),
        #f8faf3;
      border: 1px solid #e4eadb;
      border-radius: 18px;
      overflow: hidden;
      padding: 14px;
    }

    .rule-image img {
      width: 100%;
      height: 100%;
      max-height: 270px;
      object-fit: contain;
      object-position: center;
    }

    .final-note {
      margin-top: 28px;
      border-radius: var(--radius);
      background: var(--green-gradient-dark);
      color: #fff;
      padding: 28px;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 24px;
      align-items: center;
      box-shadow: var(--shadow);
    }

    .final-note h3 {
      margin: 0 0 10px;
      font-size: clamp(24px, 3vw, 34px);
      line-height: 1.1;
    }

    .final-note p {
      margin: 0;
      color: rgba(255,255,255,.82);
      line-height: 1.65;
    }

    .quick-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }

    .quick-links a {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 0 14px;
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.20);
      color: #fff;
      font-size: 14px;
      font-weight: 800;
    }

    .footer {
      background: var(--green-gradient-dark);
      color: #fff;
      padding: 42px 0 56px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.55fr 1fr 1fr .8fr;
      gap: 48px;
      align-items: flex-start;
    }

    .footer-brand { padding-top: 18px; }

    .footer-brand .logo {
      color: #fff;
      font-size: 38px;
      margin-bottom: 46px;
      display: inline-block;
      text-shadow: none;
    }

    .footer-socials {
      display: flex;
      gap: 20px;
      margin-bottom: 18px;
      color: rgba(255,255,255,.74);
    }

    .footer-socials .social-link { color: rgba(255,255,255,.74); }

    .footer-search { display: flex; gap: 8px; max-width: 620px; }
    .footer-search input { background: #fff; border-color: rgba(255,255,255,.15); height: 50px; }

    .footer-column h4 { margin: 8px 0 12px; font-size: 16px; font-weight: 900; }
    .footer-column a,
    .footer-column div { display: block; font-size: 17px; line-height: 1.85; color: rgba(255,255,255,.98); }
    .footer-column a:hover { text-decoration: underline; }
    .footer-column .spacer { height: 18px; }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.36);
      opacity: 0;
      visibility: hidden;
      transition: opacity .25s ease, visibility .25s ease;
      z-index: 98;
    }

    .drawer {
      position: fixed;
      inset: 0 auto 0 0;
      width: min(360px, 90vw);
      background: #f3f3f3;
      box-shadow: var(--shadow);
      transform: translateX(-105%);
      transition: transform .28s ease;
      z-index: 99;
      display: flex;
      flex-direction: column;
      padding: 22px 16px 0;
      overflow: hidden;
    }

    .drawer-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
    .drawer .logo { font-size: 27px; color: #4f6d13; margin-top: 6px; }

    .drawer-close {
      background: transparent;
      border: 0;
      color: #1e1f21;
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border-radius: 50%;
      margin-right: 6px;
    }

    .drawer-socials { display: flex; gap: 22px; align-items: center; color: #9f9f9f; margin-bottom: 16px; padding-left: 2px; }
    .drawer-search { display: flex; gap: 8px; margin-bottom: 18px; }
    .drawer-scroll { overflow-y: auto; padding-bottom: 20px; border-top: 1px solid transparent; }

    .drawer-item {
      min-height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid #dfdfdf;
      font-size: 17px;
      font-weight: 900;
      color: #1b1e23;
      padding-right: 6px;
    }

    .drawer-item svg { width: 18px; height: 18px; color: #0c0f14; flex: 0 0 auto; }

    body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
    body.drawer-open .drawer { transform: translateX(0); }

    .icon {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .icon-fill { width: 24px; height: 24px; fill: currentColor; stroke: none; }

    @media (max-width: 1100px) {
      .summary-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
      .footer-column:last-child { grid-column: 3; }
    }

    @media (max-width: 900px) {
      .container { width: min(calc(100% - 36px), 1180px); }
      .site-header__top { flex-direction: column; align-items: stretch; gap: 18px; }
      .search-wide { width: 100%; }
      .top-nav .container { gap: 16px; }
      .nav-links { gap: 20px; font-size: 14px; }
      .section-head { display: block; }
      .section-head p { margin-top: 12px; }
      .rules-grid { grid-template-columns: 1fr; }
      .rule-card.full { grid-column: auto; }
      .rule-card.full .rule-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .final-note { grid-template-columns: 1fr; }
      .quick-links { justify-content: flex-start; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-column:last-child { grid-column: auto; }
    }

    @media (max-width: 640px) {
      .logo { font-size: 24px; }
      .site-header__top { padding: 18px 0 20px; }
      .top-nav .container { min-height: 52px; }
      .nav-links { display: none; }
      .page-hero { padding: 44px 0 42px; }
      .page-title { font-size: clamp(36px, 12vw, 54px); letter-spacing: -1.3px; }
      .page-subtitle { font-size: 17px; }
      .summary-grid { grid-template-columns: 1fr; }
      .content-section { padding: 38px 0 50px; }
      .rule-card__body { padding: 22px; }
      .rule-images,
      .rule-card.full .rule-images { grid-template-columns: 1fr; padding: 0 22px 22px; }
      .rule-image { min-height: 180px; }
      .footer { padding: 34px 0 46px; }
      .footer-grid { grid-template-columns: 1fr; gap: 24px; }
      .footer-brand .logo { font-size: 30px; margin-bottom: 28px; }
      .footer-search { max-width: 100%; }
    }


/* Página principal: cards de destaque */
    .feature-section {
      background: #ffffff;
      padding: 34px 0 74px;
      border-top: 1px solid rgba(0,0,0,.06);
    }

    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 22px;
      margin-bottom: 26px;
    }

    .section-head h2 {
      margin: 0;
      font-size: clamp(28px, 3vw, 42px);
      line-height: 1.05;
      letter-spacing: -1.2px;
      color: #202225;
    }

    .section-head p {
      margin: 0;
      max-width: 520px;
      color: #6d7278;
      font-size: 16px;
      line-height: 1.55;
    }


    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }

    .feature-card {
      background: #fff;
      border: 1px solid rgba(0,0,0,.08);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 16px 38px rgba(0,0,0,.08);
      display: flex;
      flex-direction: column;
      min-height: 100%;
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      border-color: rgba(79,109,19,.35);
      box-shadow: 0 22px 52px rgba(0,0,0,.14);
    }

    .feature-card__media {
      position: relative;
      min-height: 208px;
      padding: 22px;
      color: #fff;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      background: #172005;
    }

    .feature-card__media img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      z-index: 0;
      transform: scale(1.01);
      transition: transform .3s ease;
    }

    .feature-card:hover .feature-card__media img {
      transform: scale(1.06);
    }

    .feature-card__media::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.46) 58%, rgba(0,0,0,.76) 100%);
      z-index: 1;
    }

    .feature-card__media::after {
      content: "";
      position: absolute;
      right: -34px;
      top: -34px;
      width: 142px;
      height: 142px;
      border-radius: 999px;
      border: 22px solid rgba(255,255,255,.12);
      z-index: 1;
    }

    .feature-card__media.aurora {
      background: linear-gradient(135deg, #172005, #536f14 58%, #98b536);
    }

    .feature-card__media.course {
      background: linear-gradient(135deg, #231506, #71470e 55%, #c58a2b);
    }

    .feature-card__media.academy {
      background: linear-gradient(135deg, #071c1c, #145f48 58%, #5cae43);
    }

    .media-title {
      position: relative;
      z-index: 2;
      display: block;
      max-width: 280px;
      font-size: 15px;
      line-height: 1.25;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .5px;
      text-shadow: 0 2px 10px rgba(0,0,0,.55);
    }

    .feature-card__body {
      padding: 24px 24px 26px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1;
    }

    .feature-kicker {
      color: #5b7519;
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .7px;
    }

    .feature-card h3 {
      margin: 0;
      font-size: 22px;
      line-height: 1.16;
      letter-spacing: -.45px;
      color: #17191c;
    }

    .feature-card h3 a:hover {
      color: #5b7519;
      text-decoration: underline;
      text-decoration-thickness: 2px;
      text-underline-offset: 4px;
    }

    .feature-card h3 span {
      display: block;
      margin-top: 4px;
      font-size: 17px;
      color: #31353a;
    }

    .feature-subtitle {
      margin: 0;
      color: #5c6168;
      font-size: 16px;
      line-height: 1.45;
      font-weight: 700;
    }

    .feature-description {
      margin: 0;
      color: #555b63;
      font-size: 15.5px;
      line-height: 1.64;
    }

    .feature-list {
      margin: 2px 0 0;
      padding-left: 20px;
      color: #555b63;
      font-size: 15.5px;
      line-height: 1.55;
    }

    .feature-action {
      margin-top: auto;
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      background: var(--green-gradient);
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 8px 20px rgba(58,82,14,.22);
      transition: filter .2s ease, transform .2s ease;
    }

    .feature-action:hover {
      filter: brightness(1.08);
      transform: translateY(-1px);
    }

    .feature-action svg {
      width: 17px;
      height: 17px;
    }

    @media (max-width: 900px) {
      .feature-grid { grid-template-columns: 1fr; }
      .section-head { align-items: flex-start; flex-direction: column; }
    }

    @media (max-width: 640px) {
      .feature-section { padding: 38px 0 52px; }
      .feature-card__media { min-height: 150px; }
      .feature-card__body { padding: 20px; }
    }

/* Página História do Jogo de Damas */
.history-hero {
  padding-bottom: 72px;
}

.history-intro {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 34px;
}

.history-intro-card {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.history-intro-card p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.88);
  line-height: 1.72;
  font-size: 17px;
}

.history-intro-card p:last-child { margin-bottom: 0; }

.history-photo-card {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 22px 54px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.20);
  background: #0f1905;
}

.history-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.95) contrast(1.06);
}

.history-photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(5, 10, 2, .78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  backdrop-filter: blur(6px);
}

.timeline-section {
  background: var(--bg-soft);
  padding: 56px 0 76px;
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 22px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7f9d21, #243a08);
  opacity: .4;
}

.timeline-card {
  position: relative;
  padding-left: 62px;
}

.timeline-card::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-gradient-dark);
  color: #d7ff6a;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.18);
  z-index: 1;
}

.timeline-card__inner {
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--card-shadow);
}

.timeline-card h3 {
  margin: 0 0 13px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
  letter-spacing: -.65px;
  color: #1c2216;
}

.timeline-card p {
  margin: 0 0 14px;
  color: #4c5258;
  font-size: 16px;
  line-height: 1.75;
}

.timeline-card p:last-child { margin-bottom: 0; }

.history-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.history-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #101906;
  border: 1px solid rgba(79,109,19,.16);
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
}

.history-figure img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  object-position: center;
}

.history-figure figcaption {
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  background: var(--green-gradient-dark);
}

.history-aside {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 16px;
}

.aside-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(79,109,19,.12);
  box-shadow: var(--card-shadow);
  padding: 22px;
}

.aside-card h3 {
  margin: 0 0 12px;
  color: #1c2216;
  font-size: 22px;
  letter-spacing: -.4px;
}

.aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.aside-list li {
  display: grid;
  gap: 4px;
  border-left: 4px solid #5b7519;
  padding-left: 12px;
  color: #4c5258;
  line-height: 1.45;
  font-size: 15px;
}

.aside-list strong {
  color: #243a08;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.source-note {
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  box-shadow: var(--card-shadow);
  color: #4c5258;
  line-height: 1.72;
}

.source-note strong { color: #243a08; }

@media (max-width: 980px) {
  .history-intro,
  .timeline-layout { grid-template-columns: 1fr; }
  .history-aside { position: static; }
}

@media (max-width: 640px) {
  .history-hero { padding-bottom: 44px; }
  .history-intro { margin-top: 24px; gap: 18px; }
  .history-intro-card { padding: 20px; }
  .history-photo-card { min-height: 260px; }
  .timeline-section { padding: 40px 0 54px; }
  .history-timeline::before { left: 17px; }
  .timeline-card { padding-left: 48px; }
  .timeline-card::before { width: 36px; height: 36px; font-size: 12px; }
  .timeline-card__inner { padding: 21px; }
  .history-image-grid { grid-template-columns: 1fr; }
  .history-figure img { height: 210px; }
}


/* Página Resgate Histórico */
.resgate-hero .page-subtitle {
  max-width: 900px;
}

.resgate-intro {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 34px;
}

.resgate-intro-card {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.resgate-intro-card p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.88);
  line-height: 1.72;
  font-size: 17px;
}

.resgate-intro-card p:last-child { margin-bottom: 0; }

.resgate-hero-photo {
  min-height: 390px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 22px 54px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.20);
  background: #0f1905;
}

.resgate-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.resgate-hero-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(5, 10, 2, .78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  backdrop-filter: blur(6px);
}

.resgate-section {
  background: var(--bg-soft);
  padding: 56px 0 78px;
}

.resgate-section.white {
  background: #fff;
}

.resgate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.resgate-flow {
  display: grid;
  gap: 24px;
}

.resgate-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(79,109,19,.12);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.resgate-card.dark {
  background: var(--green-gradient-dark);
  color: #fff;
}

.resgate-card__body {
  padding: 28px;
}

.resgate-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f6d13;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.resgate-card.dark .resgate-kicker { color: #d7ff6a; }

.resgate-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e22121;
}

.resgate-card h2,
.resgate-card h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  color: #1c2216;
  letter-spacing: -.8px;
}

.resgate-card.dark h2,
.resgate-card.dark h3 { color: #fff; }

.resgate-card p {
  margin: 0 0 14px;
  color: #4c5258;
  line-height: 1.75;
  font-size: 16px;
}

.resgate-card.dark p { color: rgba(255,255,255,.86); }
.resgate-card p:last-child { margin-bottom: 0; }

.scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 22px 0 8px;
}

.score-team {
  border: 1px solid rgba(79,109,19,.16);
  border-radius: 22px;
  padding: 20px;
  background: #fbfcf8;
}

.score-team strong {
  display: block;
  color: #243a08;
  font-size: 22px;
  margin-bottom: 8px;
}

.score-team span {
  display: block;
  color: #4c5258;
  line-height: 1.45;
  font-weight: 700;
}

.score-center {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-gradient-dark);
  color: #d7ff6a;
  box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.18);
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.05;
}

.score-center small {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.match-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #e2e8d9;
  background: #fff;
  margin-top: 18px;
}

.match-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 15px;
}

.match-table th {
  background: var(--green-gradient-dark);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 900;
}

.match-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #edf1e7;
  color: #444b52;
  vertical-align: top;
}

.match-table tr:last-child td { border-bottom: 0; }
.match-table strong { color: #243a08; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.game-card__head {
  background: var(--green-gradient-dark);
  color: #fff;
  padding: 20px 24px;
}

.game-card__head span {
  display: block;
  color: #d7ff6a;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  margin-bottom: 6px;
}

.game-card__head h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
  color: #fff;
}

.game-card pre {
  margin: 0;
  padding: 24px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #3f454b;
  background: #fbfcf8;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 14.5px;
  line-height: 1.75;
  max-height: 520px;
  overflow: auto;
}

.resgate-carousel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .09);
  overflow: hidden;
}

.resgate-carousel__stage {
  position: relative;
  background: radial-gradient(circle at top, rgba(127, 157, 33, .12), rgba(15, 25, 5, .04) 42%, #f7f8f3 100%);
}

.resgate-carousel__viewport {
  overflow: hidden;
}

.resgate-carousel__track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

.resgate-carousel__slide {
  min-width: 100%;
  margin: 0;
  padding: clamp(14px, 2.4vw, 28px);
  display: grid;
  gap: 16px;
  place-items: center;
}

.resgate-carousel__slide img {
  width: 100%;
  height: clamp(360px, 62vw, 680px);
  max-height: 76vh;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}

.resgate-carousel__slide figcaption {
  width: min(900px, 100%);
  margin: 0 auto;
  color: #4b5158;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 700;
}

.resgate-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: var(--green-gradient-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
  transform: translateY(-50%);
  transition: filter .2s ease, transform .2s ease;
}

.resgate-carousel__control:hover {
  filter: brightness(1.12);
}

.resgate-carousel__control:active {
  transform: translateY(-50%) scale(.97);
}

.resgate-carousel__control--prev { left: 18px; }
.resgate-carousel__control--next { right: 18px; }

.resgate-carousel__thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 20px 22px;
  background: #fff;
}

.resgate-carousel__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #cdd4c2;
  cursor: pointer;
  padding: 0;
  transition: width .22s ease, background .22s ease, transform .22s ease;
}

.resgate-carousel__dot.is-active {
  width: 34px;
  background: var(--green-gradient);
}

.resgate-carousel__dot:hover {
  transform: translateY(-1px);
}

.resgate-aside {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 16px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(79,109,19,.12);
  box-shadow: var(--card-shadow);
  padding: 22px;
}

.stat-card h3 {
  margin: 0 0 12px;
  color: #1c2216;
  font-size: 22px;
  letter-spacing: -.4px;
}

.stat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.stat-list li {
  display: grid;
  gap: 4px;
  border-left: 4px solid #5b7519;
  padding-left: 12px;
  color: #4c5258;
  line-height: 1.45;
  font-size: 15px;
}

.stat-list strong {
  color: #243a08;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .35px;
}

@media (max-width: 980px) {
  .resgate-intro,
  .resgate-layout { grid-template-columns: 1fr; }
  .resgate-aside { position: static; }
  .game-grid { grid-template-columns: 1fr; }
  .resgate-carousel__slide img { height: clamp(320px, 70vw, 580px); }
}

@media (max-width: 700px) {
  .scoreboard { grid-template-columns: 1fr; }
  .score-center { width: 100%; height: auto; min-height: 90px; border-radius: 22px; }
  .resgate-carousel { border-radius: 20px; }
  .resgate-carousel__slide { padding: 12px; }
  .resgate-carousel__slide img { height: 360px; border-radius: 16px; }
  .resgate-carousel__control { width: 38px; height: 38px; }
  .resgate-carousel__control--prev { left: 10px; }
  .resgate-carousel__control--next { right: 10px; }
  .resgate-hero-photo { min-height: 260px; }
}


/* Página Codex CBJD */
.codex-hero {
  padding-bottom: 68px;
}

.codex-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 34px;
}

.codex-highlight {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.codex-highlight h2,
.codex-board h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.7px;
}

.codex-highlight p,
.codex-board p {
  margin: 0 0 15px;
  color: rgba(255,255,255,.87);
  line-height: 1.72;
  font-size: 16.5px;
}

.codex-highlight p:last-child,
.codex-board p:last-child { margin-bottom: 0; }

.codex-board {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 365px;
  background:
    linear-gradient(135deg, rgba(7, 17, 2, .86), rgba(22, 45, 8, .80)),
    repeating-conic-gradient(from 45deg, rgba(255,255,255,.12) 0 25%, transparent 0 50%) 50% / 78px 78px;
  box-shadow: 0 22px 54px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.20);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.codex-board::before,
.codex-board::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0 8%, #e8e8e8 9% 18%, #242424 19% 54%, #080808 55% 100%);
  box-shadow: 0 16px 26px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.22);
  opacity: .82;
}

.codex-board::before {
  width: 118px;
  height: 118px;
  right: 34px;
  top: 34px;
}

.codex-board::after {
  width: 92px;
  height: 92px;
  left: 34px;
  top: 72px;
  background: radial-gradient(circle at 35% 28%, #fff6e2 0 8%, #e9bd64 9% 18%, #86231b 19% 54%, #45100d 55% 100%);
}

.codex-board > * { position: relative; z-index: 1; }

.codex-board .codex-seal {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(215,255,106,.14);
  border: 1px solid rgba(215,255,106,.32);
  color: #d7ff6a;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

.codex-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.codex-index-card {
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--card-shadow);
}

.codex-index-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-gradient-dark);
  color: #d7ff6a;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
}

.codex-index-card h3 {
  margin: 0 0 10px;
  color: #1c2216;
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -.45px;
}

.codex-index-card p {
  margin: 0;
  color: #4c5258;
  line-height: 1.62;
  font-size: 15.5px;
}

.codex-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.codex-panel {
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.codex-panel__head {
  background: var(--green-gradient-dark);
  color: #fff;
  padding: 22px 26px;
}

.codex-panel__head span {
  display: block;
  color: #d7ff6a;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  margin-bottom: 7px;
}

.codex-panel__head h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.1;
  letter-spacing: -.6px;
}

.codex-panel__body {
  padding: 26px;
}

.codex-panel__body p {
  margin: 0 0 15px;
  color: #4c5258;
  line-height: 1.72;
  font-size: 16px;
}

.codex-panel__body p:last-child { margin-bottom: 0; }

.codex-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.codex-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: #f8faf3;
  border: 1px solid #e4eadb;
  color: #444b52;
  line-height: 1.55;
}

.codex-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green-gradient);
  font-size: 13px;
  font-weight: 900;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.term-card {
  border: 1px solid #e4eadb;
  border-radius: 18px;
  background: #fbfcf8;
  padding: 16px;
}

.term-card strong {
  display: block;
  color: #243a08;
  margin-bottom: 7px;
  font-size: 15px;
}

.term-card span {
  display: block;
  color: #555b63;
  font-size: 14.5px;
  line-height: 1.52;
}

.codex-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.codex-action-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
}

.codex-action-row .primary-link {
  background: var(--green-gradient);
  color: #fff;
  box-shadow: 0 10px 22px rgba(58,82,14,.22);
}

.codex-action-row .soft-link {
  background: #f0f4e8;
  color: #243a08;
  border: 1px solid #dce6ce;
}

@media (max-width: 960px) {
  .codex-hero-grid,
  .codex-split { grid-template-columns: 1fr; }
  .codex-index-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .codex-hero { padding-bottom: 46px; }
  .codex-hero-grid { margin-top: 24px; gap: 18px; }
  .codex-highlight,
  .codex-board,
  .codex-panel__body { padding: 20px; }
  .codex-board { min-height: 310px; }
  .codex-board::before { width: 90px; height: 90px; right: 22px; top: 24px; }
  .codex-board::after { width: 70px; height: 70px; left: 22px; top: 68px; }
  .term-grid { grid-template-columns: 1fr; }
}


/* CODEX - leitura oficial com índice */
.codex-official-hero {
  background:
    radial-gradient(circle at 14% 14%, rgba(227,32,32,.24), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(215,255,106,.18), transparent 28%),
    linear-gradient(135deg, #071002 0%, #142504 45%, #243a08 72%, #0f1905 100%);
  border-bottom: 1px solid rgba(215,255,106,.18);
  color: #fff;
}

.codex-official-hero .breadcrumb {
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 2px rgba(0,0,0,.42);
}

.codex-official-hero .breadcrumb a {
  color: #f3ffd8;
  font-weight: 900;
}

.codex-official-hero .section-label {
  background: linear-gradient(135deg, #061806 0%, #0d2c08 52%, #061306 100%);
  border-color: rgba(215,255,106,.58);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.18);
}

.codex-official-hero .page-title {
  color: #fff;
  text-shadow: 0 3px 16px rgba(0,0,0,.45);
}

.codex-official-hero .page-subtitle {
  max-width: 930px;
  color: rgba(255,255,255,.94);
  text-shadow: 0 2px 8px rgba(0,0,0,.38);
}

.codex-official-hero .btn-primary {
  background: #d7ff6a;
  color: #102000;
  border-color: rgba(255,255,255,.45);
}

.codex-official-hero .btn-secondary,
.codex-official-hero .btn-download-pdf {
  background: linear-gradient(135deg, #b41212 0%, #e32020 100%);
  color: #fff;
  border-color: rgba(255,255,255,.36);
}

.codex-official-hero .btn:hover,
.codex-download:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.codex-official-section {
  background: #fff;
  padding: 42px 0 30px;
}

.official-intro-card {
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(79,109,19,.28), rgba(227,32,32,.20));
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.official-intro-card__inner {
  border-radius: 27px;
  background: #f8faf5;
  padding: clamp(26px, 4vw, 54px);
  text-align: center;
}

.official-intro-card h2 {
  margin: 0 0 10px;
  color: #152207;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  font-family: "Playfair Display", Georgia, serif;
}

.official-intro-card h3 {
  margin: 0 0 24px;
  color: #466113;
  font-size: clamp(18px, 2.4vw, 26px);
  font-style: italic;
}

.official-intro-card p {
  max-width: 980px;
  margin: 0 auto 24px;
  color: #424950;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.72;
  text-align: left;
}

.official-intro-card h4 {
  margin: 28px 0 4px;
  color: #d11c1c;
  text-align: right;
  font-size: 20px;
  font-style: italic;
  letter-spacing: .4px;
}

.official-intro-card h5 {
  margin: 0;
  color: #333a41;
  text-align: right;
  font-size: 16px;
  font-style: italic;
}

.institution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}

.institution-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.institution-card__image {
  width: 118px;
  height: 118px;
  border-radius: 22px;
  background: #f3f6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e1ead7;
}

.institution-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.institution-card span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef5e2;
  color: #466113;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
}

.institution-card h3 {
  margin: 10px 0 7px;
  color: #172005;
  font-size: 22px;
  line-height: 1.14;
}

.institution-card p {
  margin: 0 0 10px;
  color: #545b61;
  line-height: 1.55;
}

.institution-card a {
  color: #567218;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.codex-about-card {
  background: var(--green-gradient-dark);
  color: #fff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--card-shadow);
}

.codex-about-card h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.codex-about-card p {
  max-width: 980px;
  margin: 0 0 15px;
  color: rgba(255,255,255,.86);
  line-height: 1.7;
  font-size: 16.5px;
}

.codex-about-card .signature {
  margin-top: 20px;
  color: #d7ff6a;
  font-weight: 900;
}

.codex-about-card .signature span {
  display: block;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  margin-top: 4px;
}

.codex-reader {
  background: #f4f6ef;
  padding: 42px 0 72px;
}

.codex-reader-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.codex-index-panel {
  position: sticky;
  top: 18px;
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.codex-index-panel__title {
  padding: 20px 22px;
  background: var(--green-gradient-dark);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
}

.codex-index-links {
  display: grid;
  max-height: 70vh;
  overflow: auto;
  padding: 10px;
}

.codex-index-links a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 8px;
  border-radius: 14px;
  color: #2f363d;
  font-size: 13.6px;
  line-height: 1.3;
  font-weight: 800;
  border-bottom: 1px solid #eef2e7;
}

.codex-index-links a:hover {
  background: #f2f7e7;
  color: #293d08;
}

.codex-index-links span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #eef5e2;
  color: #466113;
  font-size: 12px;
  font-weight: 900;
}

.codex-download {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #172005 0%, #293d08 55%, #536f14 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(15,25,5,.24);
  border: 1px solid rgba(215,255,106,.28);
}

.official-section {
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  overflow: hidden;
  scroll-margin-top: 18px;
}

.official-section__head {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: linear-gradient(135deg, #172005 0%, #293d08 58%, #536f14 100%);
  color: #fff;
}

.official-section__head span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  color: #d7ff6a;
  font-weight: 900;
}

.official-section__head h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -.4px;
}

.codex-pre {
  margin: 0;
  padding: clamp(20px, 3vw, 34px);
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #2f363d;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  background: #fff;
}

@media (max-width: 980px) {
  .codex-reader-layout { grid-template-columns: 1fr; }
  .codex-index-panel { position: relative; top: auto; }
  .codex-index-links { max-height: none; }
  .institution-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .institution-card { grid-template-columns: 1fr; }
  .institution-card__image { width: 100%; height: 150px; }
  .official-section__head { grid-template-columns: 1fr; gap: 10px; }
  .official-intro-card h4, .official-intro-card h5 { text-align: left; }
  .codex-pre { font-size: 14.5px; line-height: 1.62; }
}


/* Programa de Emparceiramento / Swiss Perfect */
.program-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(215,255,106,.20), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(255,255,255,.10), transparent 24%),
    linear-gradient(135deg, #101b06 0%, #1d3109 52%, #4f6d13 100%);
}

.program-hero .page-subtitle {
  max-width: 870px;
}

.program-visual-section {
  background: #ffffff;
  padding: 44px 0 54px;
  border-bottom: 1px solid #e8ece1;
}

.program-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 28px;
  border: 1px solid rgba(79,109,19,.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(246,249,238,.98)),
    radial-gradient(circle at 100% 0%, rgba(127,157,33,.15), transparent 34%);
  box-shadow: 0 24px 58px rgba(0,0,0,.10);
  overflow: hidden;
}

.program-feature-card__media {
  background: #111;
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}

.program-feature-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: #e7e7e7;
}

.program-feature-card__content h2 {
  margin: 0 0 14px;
  color: #1d250f;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.25px;
}

.program-feature-card__content p {
  margin: 0 0 16px;
  color: #4f565d;
  font-size: 17px;
  line-height: 1.68;
}

.program-feature-card__content p:last-child { margin-bottom: 0; }

.program-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.program-topic-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(79,109,19,.12);
  padding: 26px;
  box-shadow: 0 16px 42px rgba(0,0,0,.08);
}

.program-topic-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--green-gradient);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(79,109,19,.20);
}

.program-topic-card h3 {
  margin: 0 0 10px;
  color: #202429;
  font-size: 21px;
  line-height: 1.18;
}

.program-topic-card p {
  margin: 0;
  color: #596068;
  font-size: 15.7px;
  line-height: 1.62;
}

.program-steps {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.program-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(79,109,19,.14);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,.07);
}

.program-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: #203508;
  font-size: 19px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 22px rgba(0,0,0,.14);
}

.program-step h3 {
  margin: 0 0 7px;
  color: #202429;
  font-size: 21px;
}

.program-step p {
  margin: 0;
  color: #5d646b;
  line-height: 1.62;
}

.program-download-card {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 26px;
  margin-top: 30px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, #102006 0%, #243a08 54%, #4f6d13 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 48px rgba(0,0,0,.18);
}

.program-download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .7;
}

.program-download-card > * { position: relative; z-index: 1; }

.program-download-card img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

.program-download-card h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.05;
}

.program-download-card p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.65;
}

.program-download-card .btn { box-shadow: 0 12px 26px rgba(0,0,0,.25); }

@media (max-width: 980px) {
  .program-feature-card,
  .program-download-card { grid-template-columns: 1fr; }
  .program-topic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .program-feature-card { padding: 18px; border-radius: 22px; }
  .program-feature-card__media { padding: 8px; border-radius: 18px; }
  .program-step { grid-template-columns: 1fr; }
  .program-step strong { width: 48px; height: 48px; border-radius: 15px; }
}


/* Player responsivo - Programa de Emparceiramento */
.video-tutorial-section {
  background: #f7f8f3;
}

.responsive-video-card {
  background: #fff;
  border: 1px solid rgba(15, 25, 5, .12);
  border-radius: 24px;
  padding: clamp(12px, 2vw, 20px);
  box-shadow: 0 18px 44px rgba(15, 25, 5, .12);
}

.responsive-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0f1905;
}

.responsive-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
