/* Área independente de catequese. Não importa estilos do portal, mas segue a paleta oficial (creme, vermelho, borgonha, dourado). */
.ct { --ct-ink: #1E1E24; --ct-muted: #555555; --ct-paper: #FAF6EF; --ct-red: #BC2124; --ct-burgundy: #5C1D24; --ct-gold: #B58A3D; --ct-rose: #F2EBEF; --ct-sand: #EAE5DC; --ct-blue: #D6E6F1; --ct-line: #EAE5DC; margin: 0; background: var(--ct-paper); color: var(--ct-ink); font: 16px/1.65 'Lato', sans-serif; }
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct [hidden] { display: none !important; }
.ct a { color: inherit; text-underline-offset: 4px; }
.ct button, .ct input, .ct select { font: inherit; }
.ct button, .ct a, .ct input { -webkit-tap-highlight-color: transparent; }
.ct button { cursor: pointer; }
.ct button:disabled { cursor: default; }
.ct :focus-visible { outline: 3px solid var(--ct-gold); outline-offset: 4px; }
.ct h1, .ct h2, .ct h3, .ct p { margin-top: 0; }
.ct h1, .ct h2, .ct h3 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.1; font-weight: 700; text-wrap: balance; }
.ct h1 { font-size: clamp(2.6rem, 5.3vw, 4.9rem); letter-spacing: -.035em; margin-bottom: 24px; }
.ct h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin-bottom: 18px; }
.ct h3 { font-size: 1.85rem; }
.ct p { margin-bottom: 20px; }
.ct-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ct-skip { position: absolute; top: -100px; left: 20px; z-index: 10; background: white; padding: 12px; }
.ct-skip:focus { top: 12px; }
.ct-header { background: #fff; border-bottom: 1px solid var(--ct-sand); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.ct-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 106px; }
.ct-brand { display: flex; align-items: center; gap: 24px; text-decoration: none; }
.ct-brand img { width: 140px; height: 55px; object-fit: contain; }
.ct-brand > span { border-left: 1px solid var(--ct-line); padding-left: 24px; font: 700 1.9rem/1 'Cormorant Garamond', Georgia, serif; }
.ct-brand small { display: block; font: 400 .69rem/1.6 'Lato', sans-serif; color: var(--ct-muted); margin-top: 6px; }
.ct-nav { display: flex; align-items: center; gap: 30px; font-size: .9rem; }
.ct-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.ct-nav a:hover { color: var(--ct-red); }
.ct-nav a[aria-current] { font-weight: 900; text-decoration: underline; text-decoration-color: var(--ct-gold); text-underline-offset: 9px; }
.ct-nav .ct-back-site { font-size: .8rem; color: var(--ct-muted); gap: 8px; }
.ct-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 80px; align-items: center; padding-block: 76px 86px; }
.ct-eyebrow { font-size: .69rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; color: var(--ct-gold); margin-bottom: 20px; }
.ct h1 em { font-style: normal; font-weight: 700; color: var(--ct-red); }
.ct-lead { font-size: 1.09rem; line-height: 1.8; max-width: 660px; color: var(--ct-muted); }
.ct-small { font-size: .78rem; color: var(--ct-muted); line-height: 1.75; }
.ct-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin: 30px 0 22px; }
.ct-btn { border: none; border-radius: 9999px; background: var(--ct-red); color: #fff !important; display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; padding: 12px 26px; font-size: .88rem; font-weight: 700; line-height: 1.5; text-decoration: none; transition: all .2s ease; }
.ct-btn:hover { background: var(--ct-burgundy); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(188,33,36,.3); }
.ct-btn-light { background: #fff; color: var(--ct-ink) !important; border: 1px solid var(--ct-sand); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.ct-btn-light:hover { background: var(--ct-rose); color: var(--ct-ink) !important; box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.ct-text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-weight: 700; font-size: .85rem; color: var(--ct-burgundy); }
.ct-text-link:hover { color: var(--ct-red); }
.ct-notebook { background: var(--ct-rose); border-radius: 5px 40px 5px 5px; padding: 35px 40px; position: relative; transform: rotate(2deg); box-shadow: 10px 12px 0 var(--ct-sand); }
.ct-notebook::before { content: ''; position: absolute; top: -12px; right: 32px; width: 18px; height: 65px; border: 2px solid var(--ct-gold); border-radius: 12px; transform: rotate(-9deg); }
.ct-notebook-label { font-size: .6rem; letter-spacing: .18em; color: var(--ct-burgundy); font-weight: 900; }
.ct-notebook h2 { margin-top: 18px; font-size: 2.7rem; }
.ct-notebook ol { list-style: none; margin: 26px 0; padding: 0; }
.ct-notebook li { padding: 8px 0; font-size: .91rem; }
.ct-notebook li span { margin-right: 14px; font-size: .7rem; color: var(--ct-gold); }
.ct-notebook-foot { font: italic 1.1rem 'Cormorant Garamond', Georgia, serif; color: var(--ct-burgundy); }
.ct-catalog { padding-top: 18px; scroll-margin-top: 30px; }
.ct-section-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 25px; }
.ct-section-head h2 { max-width: 590px; margin-bottom: 0; }
.ct-count { flex-shrink: 0; color: var(--ct-muted); font-size: .78rem; }
.ct-stages { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.ct-stages a { text-decoration: none; font-size: .77rem; padding: 10px 16px; border-radius: 9999px; background: #fff; border: 1px solid var(--ct-sand); color: var(--ct-ink); min-height: 44px; display: flex; align-items: center; }
.ct-stages a:hover { border-color: var(--ct-red); color: var(--ct-red); }
.ct-stages a[aria-current] { color: #fff; background: var(--ct-red); border-color: var(--ct-red); }
.ct-search { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.ct-search input { flex: 1; min-width: 0; background: white; border: 1px solid var(--ct-line); padding: 13px 18px; border-radius: 9999px; color: var(--ct-ink); font-size: .88rem; }
.ct-search > a { font-size: .8rem; }
.ct-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ct-card { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--ct-sand); border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.ct-card-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; color: var(--ct-muted); font-size: .69rem; margin-bottom: 25px; }
.ct-card-meta > span:last-child { flex-shrink: 0; padding-block: 5px; }
.ct-tag { display: inline-block; padding: 5px 9px; border-radius: 9999px; background: var(--ct-rose); color: var(--ct-burgundy); line-height: 1.5; }
.ct-stage-pre-catequese .ct-tag { background: var(--ct-sand); color: #7A5C22; }
.ct-stage-crisma .ct-tag { background: #F6DEDE; color: #8F1F22; }
.ct-stage-adultos .ct-tag { background: var(--ct-blue); color: #3C5F78; }
.ct-card h3 { margin-bottom: 15px; }
.ct-card h3 a { text-decoration: none; }
.ct-card h3 a:hover { color: var(--ct-red); text-decoration: underline; }
.ct-card > p { color: var(--ct-muted); font-size: .86rem; line-height: 1.75; flex: 1; }
.ct-card-bottom { border-top: 1px solid var(--ct-sand); padding-top: 16px; display: flex; gap: 8px; justify-content: space-between; align-items: center; font-size: .71rem; }
.ct-card-bottom > span { color: var(--ct-muted); }
.ct-card-bottom a { font-weight: 700; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; color: var(--ct-burgundy); }
.ct-card-bottom a:hover { color: var(--ct-red); }
.ct-play-band { background: var(--ct-sand); padding: 40px 48px; border-radius: 16px; margin-top: 55px; display: flex; align-items: center; gap: 45px; justify-content: space-between; }
.ct-play-band > div { max-width: 720px; }
.ct-play-band h2 { font-size: 2.3rem; }
.ct-play-band p:last-child { font-size: .88rem; color: var(--ct-muted); margin-bottom: 0; }
.ct-play-band > a { flex-shrink: 0; }
.ct-pagination { display: flex; gap: 12px; justify-content: center; margin-block: 30px; }
.ct-pagination a { min-width: 44px; padding: 8px; text-align: center; border-radius: 9999px; }
.ct-pagination [aria-current] { background: var(--ct-red); color: white; }
.ct-footer { padding-block: 48px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .77rem; color: var(--ct-muted); border-top: 1px solid var(--ct-sand); }
.ct-footer p { margin: 0; }
.ct-footer strong { color: var(--ct-ink); }
.ct-empty { padding: 55px 24px; text-align: center; background: var(--ct-rose); border-radius: 16px; }
.ct-back { display: inline-block; margin-block: 30px; font-size: .83rem; }
.ct-meeting-head { max-width: 940px; padding-bottom: 35px; }
.ct-meeting-head h1 { max-width: 880px; }
.ct-meeting-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 60px; }
.ct-meeting-aside { min-width: 0; }
.ct-preparation { background: var(--ct-rose); padding: 25px; border-radius: 16px; }
.ct-preparation h2 { font-size: 1.9rem; }
.ct-preparation h3 { font: 700 .82rem 'Lato', sans-serif; margin: 24px 0 8px; }
.ct-preparation .ct-prose { font-size: .82rem; color: var(--ct-muted); }
.ct-outline { padding-block: 32px; }
.ct-outline h2 { font-size: 1.6rem; }
.ct-outline ol { padding-left: 22px; font-size: .85rem; }
.ct-outline li { padding-block: 7px; }
.ct-step { padding: 28px 0 40px; scroll-margin-top: 30px; }
.ct-step:first-child { padding-top: 0; }
.ct-step-title { display: flex; gap: 18px; align-items: center; margin-bottom: 25px; }
.ct-step-title > span { font-size: .82rem; color: var(--ct-gold); }
.ct-step-title h2 { margin: 0; font-size: 2.25rem; }
.ct-prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-step-word { background: #fff; padding: 30px; border-radius: 16px; border: 1px solid var(--ct-sand); box-shadow: 0 8px 24px rgba(0,0,0,.05); margin-bottom: 24px; }
.ct-scripture-ref { font-weight: 700; }
.ct-scripture-ref small { display: block; color: var(--ct-muted); font-weight: 400; }
.ct-scripture { font: 1.35rem/1.65 'Cormorant Garamond', Georgia, serif; }
.ct-scripture sup { font: 700 .68rem 'Lato', sans-serif; color: var(--ct-gold); }
.ct-source { background: var(--ct-sand); border-radius: 6px; margin-top: 25px; padding: 16px; font-size: .78rem; color: #6B5D45; }
.ct-family-note { background: var(--ct-rose); padding: 32px; border-radius: 16px; }
.ct-family-note p { font-size: .91rem; }
.ct-page-head { padding-block: 55px 32px; max-width: 800px; }
.ct-game-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.ct-game-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--ct-sand); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.ct-game-card-body { padding: 32px; }
.ct-game-card-body > p:not(.ct-eyebrow) { color: var(--ct-muted); }
.ct-game-art { height: 215px; background: var(--ct-sand); }
.ct-art-quiz { display: flex; justify-content: center; align-items: center; gap: 40px; }
.ct-art-quiz > span { font: 9rem/1 'Cormorant Garamond', Georgia, serif; color: var(--ct-red); transform: rotate(-12deg); }
.ct-art-quiz > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transform: rotate(8deg); }
.ct-art-quiz b { width: 54px; height: 54px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.ct-art-quiz b:nth-child(2) { background: var(--ct-red); color: white; }
.ct-art-words { background: var(--ct-rose); display: grid; grid-template-columns: repeat(3, 48px); align-content: center; justify-content: center; gap: 8px; }
.ct-art-words > span { display: grid; place-items: center; height: 48px; background: #fff; border-radius: 7px; font-size: 1.1rem; font-weight: 700; color: #7A5C22; }
.ct-art-words > span:nth-child(-n+2) { background: var(--ct-gold); color: #fff; }
.ct-tip { padding: 35px; background: var(--ct-rose); border-radius: 16px; margin-top: 32px; }
.ct-tip h2 { font-size: 1.9rem; }
.ct-tip p { margin-bottom: 0; color: var(--ct-muted); max-width: 850px; }
.ct-game-page { max-width: 980px; }
.ct-game-page .ct-page-head { padding-top: 14px; }
.ct-game-shell { background: #fff; padding: 38px; border-radius: 16px; border: 1px solid var(--ct-sand); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.ct-game-top { display: flex; gap: 16px; justify-content: space-between; font-size: .78rem; color: var(--ct-muted); }
.ct-game-shell progress { display: block; width: 100%; height: 7px; border: 0; border-radius: 4px; margin: 18px 0 35px; accent-color: var(--ct-red); }
.ct-game-shell progress::-webkit-progress-bar { background: var(--ct-rose); border-radius: 4px; }
.ct-game-shell progress::-webkit-progress-value { background: var(--ct-red); border-radius: 4px; }
.ct-game-shell h2 { font-size: 2.1rem; }
.ct-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-answer { display: flex; align-items: center; gap: 15px; text-align: left; background: #FDFBF7; color: var(--ct-ink); border: 1px solid var(--ct-line); border-radius: 10px; padding: 18px; line-height: 1.5; font-size: .95rem; }
.ct-answer > span { font-size: .8rem; font-weight: 900; background: var(--ct-rose); padding: 4px 10px; border-radius: 4px; }
.ct-answer:hover:not(:disabled) { border-color: var(--ct-red); }
.ct-answer.is-correct { background: #DFF0E1; border-color: #4C7A55; }
.ct-answer.is-wrong { background: #F6DEDE; border-color: var(--ct-red); }
.ct-answer-feedback { margin: 25px 0; padding: 0; font-size: .95rem; min-height: 28px; }
.ct-answer-feedback:not(:empty) { background: var(--ct-rose); border-radius: 10px; padding: 18px; }
.ct-game-result { text-align: center; padding: 20px; }
.ct-score { font-size: 2.5rem; font-weight: 900; }
.ct-instructions { font-size: .88rem; color: var(--ct-muted); }
.ct-word-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(190px, 1fr); gap: 32px; align-items: start; }
.ct-word-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; margin-bottom: 22px; }
.ct-letter { aspect-ratio: 1; width: 100%; min-width: 0; padding: 0; border: 1px solid var(--ct-sand); border-radius: 4px; background: #FDFBF7; color: var(--ct-ink); font-size: clamp(.75rem, 2vw, 1.1rem); font-weight: 700; touch-action: manipulation; }
.ct-letter.is-found { background: #EFE3C8; border-color: var(--ct-gold); }
.ct-letter[aria-pressed="true"] { background: var(--ct-red); color: white; border-color: var(--ct-red); }
.ct-letter:focus-visible { position: relative; z-index: 1; }
.ct-word-sidebar h2 { font: 700 1rem 'Lato', sans-serif; }
.ct-word-sidebar > p { color: var(--ct-muted); font-size: .8rem; }
.ct-word-list { padding: 0; list-style: none; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 9px; }
.ct-word-list li { padding: 4px 10px; background: var(--ct-rose); border-radius: 9999px; font-size: .83rem; }
.ct-word-list .is-found { background: #EFE3C8; text-decoration: line-through; }
.ct-game-share { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding-block: 26px; }
.ct-game-share p { margin: 0; font-size: .9rem; }
.ct-toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); padding: 12px 24px; background: var(--ct-burgundy); color: white; box-shadow: 0 4px 20px rgba(30,30,36,.2); border-radius: 9999px; font-size: .9rem; z-index: 20; }
.ct-toast:empty { display: none; }
.ct-copy-dialog { border: 1px solid var(--ct-line); border-radius: 16px; padding: 28px; width: min(500px, calc(100% - 30px)); color: var(--ct-ink); }
.ct-copy-dialog::backdrop { background: rgba(30,30,36,.5); }
.ct-copy-dialog input { display: block; width: 100%; border: 1px solid var(--ct-line); border-radius: 6px; padding: 12px; margin: 12px 0 20px; }
@media (max-width: 1000px) {
  .ct-hero { gap: 35px; }
  .ct-notebook { padding: 28px; }
  .ct-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-nav { gap: 20px; }
  .ct-brand { gap: 14px; }
  .ct-brand > span { padding-left: 14px; }
  .ct-meeting-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 30px; }
  .ct-play-band { padding: 30px; }
}
@media (max-width: 720px) {
  .ct-wrap { width: calc(100% - 36px); }
  .ct-header-inner { flex-wrap: wrap; padding-block: 18px 8px; gap: 12px; }
  .ct-brand img { width: 118px; height: 44px; }
  .ct-brand > span { font-size: 1.7rem; }
  .ct-nav { width: 100%; gap: 28px; justify-content: flex-start; }
  .ct-nav .ct-back-site { margin-left: auto; }
  .ct-hero { grid-template-columns: 1fr; padding-block: 42px; gap: 28px; }
  .ct-hero h1 { font-size: clamp(2.7rem, 9vw, 4rem); }
  .ct-notebook { transform: none; box-shadow: none; padding: 24px; }
  .ct-notebook h2 { font-size: 2.1rem; }
  .ct-notebook h2 br { display: none; }
  .ct-notebook ol { margin-block: 18px; }
  .ct-notebook li { padding-block: 5px; }
  .ct-section-head { display: block; }
  .ct-count { display: block; margin-top: 15px; }
  .ct-stages { gap: 7px; }
  .ct-stages a { padding-inline: 12px; font-size: .72rem; }
  .ct-search { flex-wrap: wrap; gap: 10px; }
  .ct-search input { flex-basis: 100%; }
  .ct-card-grid, .ct-game-cards { grid-template-columns: 1fr; }
  .ct-card { padding: 24px; }
  .ct-play-band { flex-direction: column; align-items: flex-start; gap: 25px; padding: 28px; }
  .ct-footer { align-items: flex-start; flex-direction: column; padding-top: 35px; }
  .ct-meeting-layout { grid-template-columns: 1fr; gap: 25px; }
  .ct-outline { padding-block: 22px 8px; }
  .ct-outline ol { display: flex; flex-wrap: wrap; gap: 8px 25px; list-style: none; padding: 0; }
  .ct-meeting-head { padding-bottom: 15px; }
  .ct-step-word, .ct-family-note { padding: 23px; }
  .ct-page-head { padding-top: 36px; }
  .ct-game-card-body { padding: 25px; }
  .ct-game-shell { padding: 22px 16px; }
  .ct-game-top { flex-wrap: wrap; gap: 4px; }
  .ct-answers { grid-template-columns: 1fr; }
  .ct-answer { padding: 16px; }
  .ct-word-layout { grid-template-columns: 1fr; gap: 25px; }
  .ct-word-grid { gap: 3px; max-width: 480px; }
  .ct-letter { font-size: clamp(.76rem, 3.5vw, 1.15rem); }
  .ct-word-sidebar { max-width: 480px; }
  .ct-game-result { padding-inline: 0; }
  .ct-game-share { gap: 15px; }
  .ct-game-share p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ct * { transition: none !important; scroll-behavior: auto !important; } .ct-btn:hover, .ct-stages a:hover { transform: none; } }
