@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --verde: #009739;
  --verde-escuro: #00702b;
  --verde-claro: #22c55e;
  --amarelo: #ffdf00;
  --amarelo-escuro: #f5c518;
  --azul: #012169;
  --azul-claro: #0b3d91;
  --fundo: #f4f7f5;
  --card: #ffffff;
  --texto: #1f2a37;
  --texto-suave: #5b6b78;
  --borda: #e6ebef;
  --raio: 18px;
  --raio-sm: 12px;
  --sombra: 0 6px 24px rgba(1, 33, 105, 0.10);
  --sombra-lg: 0 18px 48px rgba(1, 33, 105, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(0,151,57,0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(1,33,105,0.05), transparent 55%),
    var(--fundo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #012169 0%, #0b3d91 55%, #009739 130%);
  color: #fff;
  border-bottom: 3px solid var(--amarelo);
  box-shadow: 0 4px 20px rgba(1,33,105,0.25);
}
.header-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 17px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: .2px; }
.brand-flag { font-size: 1.7rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.nav { display: flex; gap: 20px; flex: 1; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem; opacity: .88; padding: 6px 2px; border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover { opacity: 1; border-bottom-color: var(--amarelo); }
.lang-switch { display: flex; gap: 8px; }
.lang-link { color: #fff; text-decoration: none; padding: 8px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: .95rem; font-weight: 600; transition: .2s; }
.lang-link:hover { background: rgba(255,255,255,.12); }
.lang-link.active { background: var(--amarelo); color: var(--azul); border-color: var(--amarelo); }

.main { padding: 42px 0 84px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  text-align: center; padding: 68px 38px 72px;
  border-radius: 24px;
  background:
    radial-gradient(600px 200px at 85% 0%, rgba(255,223,0,.28), transparent 60%),
    linear-gradient(135deg, #012169 0%, #0b3d91 45%, #009739 120%);
  color: #fff;
  box-shadow: var(--sombra-lg);
  margin-bottom: 32px;
}
.hero-kicker { color: #ffe982 !important; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .78rem !important; margin-bottom: 14px !important; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.65rem); line-height: 1.12; font-weight: 800; letter-spacing: -1.2px; margin: 0 auto 16px; max-width: 850px; }
.hero > p:last-of-type { color: rgba(255,255,255,.92); max-width: 750px; margin: 0 auto; font-size: 1.22rem; line-height: 1.7; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 100%, rgba(255,255,255,.08), transparent 40%); pointer-events: none; }

/* ---------- Filtros ---------- */
.filters { background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: var(--sombra); padding: 22px; margin-bottom: 23px; }
.filters form { display: flex; gap: 12px; flex-wrap: wrap; }
.input-busca, .select {
  padding: 12px 16px; border: 1px solid var(--borda); border-radius: var(--raio-sm);
  font-size: 1.02rem; background: #fff; color: var(--texto); font-family: inherit;
  transition: border .2s, box-shadow .2s;
}
.input-busca:focus, .select:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(0,151,57,.15); }
.input-busca { flex: 1; min-width: 220px; }
.select { min-width: 170px; }

.count { color: var(--texto-suave); font-size: 1rem; margin: 0 0 18px 2px; }
.count-number { color: var(--verde-escuro); font-size: 1.18rem; font-weight: 800; }
.count-note { color: #77838b; }

/* ---------- Cartões ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.card {
  background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio);
  overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sombra-lg); }
.card-img-link { display: block; }
.card-img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .35s ease; }
.card:hover .card-img { transform: scale(1.035); }
.card-img-link { overflow: hidden; }
.card-body { padding: 22px 23px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .3px; }
.badge-cat { background: #e6f6ec; color: var(--verde-escuro); }
.badge-nivel { background: #fff6d8; color: #8a6d00; }
.card-title { margin-top: 2px; color: var(--azul); font-size: 1.4rem; line-height: 1.3; font-weight: 700; }
.card-sub { color: var(--texto-suave); font-style: italic; font-size: 1rem; }
.card-excerpt { color: var(--texto); margin: 3px 0 14px; flex: 1; font-size: 1.08rem; line-height: 1.78; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--raio-sm); text-decoration: none;
  font-weight: 700; border: 1px solid transparent; cursor: pointer; font-size: 1.02rem;
  font-family: inherit; transition: .2s; background: #eef2f5; color: var(--texto);
}
.btn-primary { background: linear-gradient(135deg, var(--verde), var(--verde-escuro)); color: #fff; box-shadow: 0 6px 16px rgba(0,151,57,.35); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(0,151,57,.45); }
.btn-outline { border: 1.5px solid var(--verde); color: var(--verde-escuro); background: #fff; align-self: flex-start; }
.btn-outline:hover { background: #eaf7ef; }

/* ---------- Página do texto ---------- */
.back { color: var(--verde-escuro); text-decoration: none; font-weight: 600; display: inline-block; margin-bottom: 18px; }
.texto { background: var(--card); border: 1px solid var(--borda); border-radius: 22px; box-shadow: var(--sombra); overflow: hidden; }
.texto-hero { width: 100%; height: 250px; object-fit: cover; display: block; }
.texto-header-body { padding: 34px 42px 4px; }
.texto-header-body h1 { color: var(--azul); font-size: clamp(2.3rem, 4.5vw, 3.2rem); line-height: 1.2; font-weight: 800; letter-spacing: -.7px; margin: 14px 0 6px; }
.texto-header-body .card-sub { font-size: 1.05rem; }
.texto-conteudo { padding: 16px 42px 42px; }

.audio-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(135deg, #f0fdf4, #eef4ff);
  border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 16px 18px; margin: 18px 0;
}
.audio-label { font-weight: 700; color: var(--azul); font-size: 1.05rem; white-space: nowrap; }
.audio-bar audio { flex: 1; min-width: 260px; }
.hint { color: var(--texto-suave); font-size: .98rem; }

.lang-block { margin: 26px 0; }
.lang-block h2 { color: var(--azul); font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.lang-block h2::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--amarelo), transparent); }
.lang-block.fr { background: #f4f7fb; border: 1px solid var(--borda); border-radius: var(--raio); padding: 18px 22px; }
.texto-body { font-size: 1.32rem; line-height: 1.95; }
.lang-block.fr .texto-body { font-size: 1.2rem; line-height: 1.85; color: var(--texto-suave); }

.frase { cursor: pointer; transition: background .18s, box-shadow .18s; border-radius: 6px; padding: 1px 3px; }
.frase:hover { background: #fff3bf; box-shadow: 0 1px 6px rgba(245,197,24,.4); }

/* ---------- Vocabulário ---------- */
.vocab { margin-top: 30px; }
.vocab h2 { color: var(--azul); font-size: 1.4rem; }
.vocab-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.vocab-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio-sm); padding: 10px 14px; box-shadow: 0 2px 8px rgba(1,33,105,.05); }
.vocab-word { border: none; background: #e6f6ec; color: var(--verde-escuro); font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-family: inherit; transition: .15s; }
.vocab-word:hover { background: #cfeeda; }
.vocab-fr { color: var(--texto-suave); }

/* ---------- Sobre ---------- */
.sobre { max-width: 1000px; margin: 0 auto; font-size: 1.12rem; line-height: 1.8; }
.sobre > h1 { color: var(--azul); font-size: clamp(2.5rem, 5vw, 3.4rem); line-height: 1.2; }
.sobre > p { max-width: 820px; font-size: 1.2rem; }
.sobre h2 { color: var(--azul); margin-top: 32px; font-size: 1.65rem; }
.sobre h3 { color: var(--verde-escuro); margin-top: 20px; font-size: 1.35rem; }
.fields li { margin: 7px 0; }
code { background: #eef2f5; padding: 2px 7px; border-radius: 6px; font-size: .88em; color: #0f4c81; }
pre { background: #0e1a2b; color: #d9f7e3; padding: 18px; border-radius: 14px; overflow-x: auto; font-size: .9rem; }
pre code { background: none; color: inherit; }

.empty { text-align: center; color: var(--texto-suave); padding: 50px 0; }
.empty-404 { text-align: center; padding: 70px 0; }
.empty-404 h1 { font-size: 5rem; font-weight: 800; color: var(--azul); }
.empty-404 p { margin: 10px 0 20px; color: var(--texto-suave); }

/* ---------- Rodapé ---------- */
.site-footer { background: linear-gradient(90deg, #012169, #0b3d91); color: #dbe6ff; padding: 26px 0; text-align: center; font-size: .9rem; border-top: 3px solid var(--amarelo); }
.site-footer p { margin: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #f5c518; outline-offset: 3px; }

@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .main { padding-top: 26px; }
  .hero { padding: 45px 22px 48px; }
  .hero h1 { font-size: 2.2rem; letter-spacing: -.6px; }
  .hero > p:last-of-type { font-size: 1.08rem; }
  .count-note { display: block; margin-left: 0; }
  .texto-header-body { padding: 24px 22px 4px; }
  .texto-header-body h1 { font-size: 2rem; }
  .texto-conteudo { padding: 10px 22px 28px; }
  .texto-body { font-size: 1.22rem; }
  .filters form { flex-direction: column; }
  .input-busca, .select { width: 100%; }
  .texto-hero { height: 180px; }
  .bio-blocos { grid-template-columns: 1fr; }
}

/* ---------- Logo ---------- */
.brand-logo { width: 48px; height: 48px; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.brand-text { letter-spacing: .01em; }

/* ---------- Criador (Sobre) ---------- */
.sobre-criador-title { margin-top: 34px; }
.creator {
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  background: linear-gradient(135deg, #f0fdf4, #eef4ff);
  border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 24px 26px; margin: 18px 0 10px; box-shadow: var(--sombra);
}
.creator-img {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--amarelo); box-shadow: var(--sombra); flex-shrink: 0;
}
.creator-info h2 { color: var(--azul); margin: 0 0 2px; font-size: 1.7rem; font-weight: 800; }
.creator-role { color: var(--verde-escuro); font-weight: 600; margin: 0 0 14px; }
.lang-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #fff; border: 1px solid var(--borda); color: var(--texto); font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: 0 1px 4px rgba(1,33,105,.06); }

/* ---------- Biografia (Sobre) ---------- */
.bio-blocos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.bio { border-radius: var(--raio); padding: 22px 24px; border: 1px solid var(--borda); }
.bio h3 { margin: 0 0 12px; font-size: 1.1rem; }
.bio p { margin: 0 0 12px; line-height: 1.75; }
.bio p:last-child { margin-bottom: 0; }
.bio-pt { background: #fff; border-top: 4px solid var(--verde); }
.bio-pt h3 { color: var(--verde-escuro); }
.bio-fr { background: #f4f7fb; border-top: 4px solid var(--azul); }
.bio-fr h3 { color: var(--azul); }

/* ---------- Leitura e quiz ---------- */
.texto { border-color: rgba(1, 33, 105, .09); }
.texto-hero { height: 310px; }
.texto-header-body { padding-top: 32px; }
.lesson-byline { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 17px; color: var(--texto-suave); font-size: .95rem; }
.lesson-byline span { display: inline-flex; align-items: center; gap: 7px; background: #f4f7f9; border: 1px solid var(--borda); padding: 6px 12px; border-radius: 999px; }
.lang-block { max-width: 850px; margin: 34px auto; }
.lang-block h2 { font-size: 1.5rem; }
.texto-body { font-size: 1.38rem; line-height: 2.05; color: #263542; }
.frase { padding: 2px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.frase:hover { color: var(--azul); }
.reading-tip { color: var(--texto-suave); font-size: .98rem; margin: -8px 0 18px; }
.translation-panel { max-width: 850px; margin: 32px auto; border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; background: #f8fafc; }
.translation-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; color: var(--azul); font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none; }
.translation-panel summary::-webkit-details-marker { display: none; }
.translation-panel summary::after { content: "＋"; color: var(--verde-escuro); font-size: 1.35rem; }
.translation-panel[open] summary::after { content: "−"; }
.translation-action { margin-left: auto; color: var(--texto-suave); font-size: .88rem; font-weight: 500; }
.translation-panel summary .translation-action span { display: none; }
.translation-panel .lang-block.fr { max-width: none; margin: 0; border: 0; border-top: 1px solid var(--borda); border-radius: 0; background: #f8fafc; padding: 25px; }
.translation-panel .texto-body { color: #536373; font-size: 1.2rem; line-height: 1.9; }
.audio-bar { max-width: 900px; margin: 10px auto 28px; }
.vocab { max-width: 900px; margin: 42px auto; padding-top: 28px; border-top: 1px solid var(--borda); }
.vocab h2 { font-size: 1.55rem; margin-bottom: 6px; }
.vocab-word { font-size: 1rem; padding: 8px 13px; }
.quiz { max-width: 900px; margin: 52px auto 4px; padding: 32px; border: 1px solid #dbe7df; border-radius: 24px; background: linear-gradient(145deg, #f1faf4, #f4f7ff); box-shadow: 0 12px 34px rgba(1, 33, 105, .08); }
.quiz-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.quiz-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; color: var(--azul); background: var(--amarelo); border-radius: 16px; font-size: 1.5rem; }
.quiz-heading h2 { color: var(--azul); font-size: 1.7rem; line-height: 1.25; margin-bottom: 5px; }
.quiz-heading p { color: var(--texto-suave); font-size: 1.02rem; }
.quiz-question { border: 1px solid var(--borda); border-radius: 16px; background: white; padding: 20px; margin: 16px 0; min-width: 0; }
.quiz-question legend { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 0 0 14px; color: var(--texto); font-weight: 700; font-size: 1.08rem; line-height: 1.5; }
.quiz-number { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; color: var(--verde-escuro); background: #e6f6ec; border-radius: 50%; font-size: .8rem; }
.quiz-options { display: grid; gap: 9px; }
.quiz-option { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #e8edf0; border-radius: 11px; padding: 11px 13px; cursor: pointer; transition: background .16s, border .16s, transform .16s; }
.quiz-option:hover { background: #f7fbf8; border-color: #9acba9; transform: translateY(-1px); }
.quiz-option input { accent-color: var(--verde-escuro); width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; }
.quiz-option span { line-height: 1.5; }
.quiz-option.is-right { border-color: #5ab879; background: #eefaf1; }
.quiz-option.is-wrong { border-color: #e58f8f; background: #fff2f1; }
.quiz-feedback { min-height: 0; margin-top: 0; color: var(--texto-suave); font-size: .95rem; font-weight: 600; }
.quiz-feedback:not(:empty) { margin-top: 12px; }
.quiz-feedback.is-correct { color: #087533; }
.quiz-feedback.is-incorrect { color: #a04337; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.quiz-reset { align-self: auto; }
.quiz-result { min-height: 0; margin-top: 0; font-weight: 700; color: var(--azul); }
.quiz-result:not(:empty) { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fff; }
.quiz-result.is-perfect { color: #087533; }
.quiz-result.is-incomplete { color: #a04337; }

@media (max-width: 640px) {
  .brand-logo { width: 42px; height: 42px; }
  .texto-hero { height: 205px; }
  .lang-block { margin: 25px auto; }
  .texto-body { font-size: 1.19rem; line-height: 1.9; }
  .translation-panel summary { align-items: flex-start; flex-wrap: wrap; padding: 15px 17px; }
  .translation-action { flex-basis: 100%; margin-left: 0; }
  .translation-panel .lang-block.fr { padding: 19px; }
  .translation-panel .texto-body { font-size: 1.08rem; }
  .quiz { padding: 21px 16px; margin-top: 38px; border-radius: 18px; }
  .quiz-heading h2 { font-size: 1.4rem; }
  .quiz-question { padding: 16px 13px; }
  .quiz-question legend { font-size: 1rem; }
  .quiz-actions .btn { flex: 1; }
}

@media (max-width: 640px) {
  .bio-blocos { grid-template-columns: 1fr; }
}

/* ---------- Poesia brasileira ---------- */
.poetry-hero { position: relative; overflow: hidden; padding: 58px 34px 62px; margin-bottom: 26px; border-radius: 26px; color: white; text-align: center; background: radial-gradient(circle at 12% 25%, rgba(255,223,0,.2), transparent 25%), linear-gradient(135deg, #07245e, #174b79 55%, #087b62); box-shadow: var(--sombra-lg); }
.poetry-hero h1 { position: relative; z-index: 1; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.15; margin: 4px 0 12px; }
.poetry-hero > p:last-child { position: relative; z-index: 1; max-width: 710px; margin: 0 auto; color: rgba(255,255,255,.9); font-size: 1.15rem; }
.poetry-hero-mark { position: absolute; right: 7%; top: -48px; color: rgba(255,255,255,.09); font-size: 18rem; line-height: 1; }
.poetry-intro { display: flex; align-items: center; gap: 14px; max-width: 800px; margin: 0 auto 28px; padding: 15px 19px; border: 1px solid var(--borda); border-radius: 15px; background: rgba(255,255,255,.78); color: var(--texto-suave); font-size: 1rem; }
.poetry-intro-icon { font-size: 1.4rem; }
.poetry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.poem-card { position: relative; display: flex; flex-direction: column; min-height: 290px; padding: 23px 24px; overflow: hidden; border: 1px solid var(--borda); border-radius: 20px; background: white; box-shadow: var(--sombra); transition: transform .2s ease, box-shadow .2s ease; }
.poem-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.poem-card::after { position: absolute; right: -22px; bottom: -66px; width: 160px; height: 160px; border-radius: 50%; background: #edf7f1; content: ""; }
.poem-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.poem-emoji { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #f1f8f3; font-size: 1.55rem; }
.poem-theme { color: var(--verde-escuro); font-size: .83rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.poem-card h2 { position: relative; z-index: 1; margin-bottom: 15px; color: var(--azul); font-size: 1.4rem; line-height: 1.3; }
.poem-card h2 a { color: inherit; text-decoration: none; }
.poem-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--amarelo-escuro); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.poem-card-lines { position: relative; z-index: 1; display: grid; color: var(--texto-suave); font-family: Georgia, 'Times New Roman', serif; font-size: 1.08rem; font-style: italic; line-height: 1.7; }
.poem-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: auto; padding-top: 18px; color: var(--verde-escuro); font-weight: 700; text-decoration: none; }
.poem-link:hover { gap: 12px; }
.poem-page { max-width: 900px; margin: 0 auto; overflow: hidden; border: 1px solid var(--borda); border-radius: 24px; background: white; box-shadow: var(--sombra); }
.poem-page-header { padding: 35px 32px 28px; text-align: center; background: linear-gradient(145deg, #f0f9f3, #f0f4fc); border-bottom: 1px solid var(--borda); }
.poem-page-emoji { display: block; margin-bottom: 13px; font-size: 2.4rem; }
.poem-page-header h1 { color: var(--azul); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.2; margin: 7px 0 10px; }
.poem-original-note { color: var(--texto-suave); font-size: .93rem; }
.poem-reading { padding: 34px 24px 20px; text-align: center; }
.poem-reading h2 { margin-bottom: 26px; color: var(--azul); font-size: 1.2rem; }
.poem-stanza { display: grid; gap: 4px; margin: 0 auto 27px; color: #283d4b; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.18rem, 2.4vw, 1.48rem); line-height: 1.7; }
.poem-stanza span { display: block; }
.poem-translation { max-width: 700px; margin: 0 auto 36px; }
.poem-translation summary { border-bottom: 0; }
.poem-translation[open] summary { border-bottom: 1px solid var(--borda); }
.poem-reading-fr { padding-top: 24px; }
.poem-reading-fr .poem-stanza { color: var(--texto-suave); font-size: 1.17rem; }

@media (max-width: 640px) {
  .poetry-hero { padding: 43px 21px 47px; }
  .poetry-hero-mark { right: -6%; top: -12px; font-size: 10rem; }
  .poetry-intro { align-items: flex-start; }
  .poem-card { min-height: 260px; }
  .poem-page-header { padding: 27px 20px 23px; }
  .poem-reading { padding: 27px 17px 15px; }
  .poem-stanza { font-size: 1.16rem; }
  .poem-translation { margin: 0 14px 24px; }
}
