/* Acervo · Fase adulta (30–59) — revista: moldura amarela, painéis claros, máquina de escrever */

body[data-idade="fase-adulta"] {
    --bg: #ffe45c;
    --bg-alt: #efece6;
    --ink: #161616;
    --muted: #4a4845;
    --line: rgba(22, 22, 22, 0.16);
    --line-strong: #161616;
    --accent: #161616;
    --on-accent: #fff;
    --accent-2: #ffe45c;
    --on-accent-2: #161616;
    --card: #fff;
    --hl-bg: transparent;
    --hl-ink: inherit;
    --radius: 20px;
    --f-display: "Courier Prime", "Courier New", monospace;
    --f-body: "DM Sans", system-ui, sans-serif;
    --d-weight: 700;
    --card-border: 0;
    --card-shadow: none;
    --kicker: #161616;
    --nav-bg: transparent;
    --nav-ink: #161616;
    --nav-hover: #fff;
    --nav-current: #161616;
    --nav-current-ink: #fff;
    --st-yellow: #ffe45c;
    --st-panel: #efece6;
    --st-beige: #e6d9c2;
    --st-blue: #3552d8;
    padding: 14px 14px 0;
}
body.ai[data-idade="fase-adulta"] h2,
body.ai[data-idade="fase-adulta"] h3 { color: var(--ink) !important; }

.st-panel {
    position: relative;
    margin: 0 auto 14px;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    border-radius: 28px;
    background: var(--st-panel);
}
.st-tag {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-family: var(--f-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
[data-idade="fase-adulta"] .st-h {
    font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
    letter-spacing: -0.02em;
    line-height: 1.02 !important;
}
.st-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-bottom: 2rem;
}
.st-head .br-lead { max-width: 30rem; margin-top: 0 !important; }
.st-more {
    display: inline-block;
    margin-top: 1.4rem;
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
}
.st-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.15rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink) !important;
}
.st-pill--dark { background: var(--ink); color: #fff !important; }

/* ---------- Capa ---------- */
.st-hero { padding-bottom: 1.4rem; }
.st-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-right: 4.2rem;
}
.st-logo {
    display: grid;
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.st-logo small { margin-top: 0.2rem; font-family: var(--f-body); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.st-top ul { display: flex; gap: clamp(1rem, 3vw, 2.4rem); margin: 0; padding: 0; list-style: none; }
.st-top ul a { font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.st-top ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ai .st-title {
    margin: clamp(2rem, 6vw, 4.5rem) 0 0 !important;
    font-size: clamp(3.6rem, 14.4vw, 14rem) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.055em;
    color: var(--ink) !important;
    white-space: nowrap;
}
.st-hero-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem 2rem;
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1.5px solid var(--ink);
}
.st-intro { max-width: 34rem; font-size: 1.05rem; line-height: 1.6; }
.st-for { font-size: 0.9rem; color: var(--muted); }
.st-for b { color: var(--ink); }

/* Navegação entre fases (pílulas) */
[data-idade="fase-adulta"] .af-phases {
    position: static;
    margin-top: 1.6rem;
    padding: 0;
    border: 0;
}
[data-idade="fase-adulta"] .af-phases ol { max-width: none; padding: 0; gap: 0.5rem; }
[data-idade="fase-adulta"] .af-phases a {
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    text-align: center;
    justify-items: center;
}
[data-idade="fase-adulta"] .af-phases i { display: none; }
[data-idade="fase-adulta"] .af-phases strong { font-size: 0.95rem; }

/* ---------- I Destaque ---------- */
.st-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.8fr);
    gap: 14px;
}
.st-feature-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    border-radius: 20px;
    background: var(--st-yellow);
}
.ai .st-feature-h {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem) !important;
    line-height: 1.02 !important;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.st-feature-text p { margin-top: 1rem !important; font-size: 0.98rem; line-height: 1.6; }
.st-feature-img { margin: 0; }
.st-feature-img img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 20px;
}
.st-aside {
    display: grid;
    align-content: start;
    gap: 0.9rem;
    padding: 1.4rem;
    border-radius: 20px;
    background: #fff;
}
.ai .st-aside h3 {
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 0.7rem;
    border-bottom: 1.5px solid var(--ink);
}
.st-aside a {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 0.8rem;
    align-items: center;
    text-decoration: none;
}
.st-aside img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; }
.st-aside span { font-family: var(--f-display); font-weight: 700; font-size: 0.98rem; line-height: 1.15; }
.st-aside small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.st-aside a:hover span { text-decoration: underline; }
[data-idade="fase-adulta"] .af-marks { margin-top: 14px; gap: 14px; }
[data-idade="fase-adulta"] .af-marks div { background: #fff; }
[data-idade="fase-adulta"] .af-marks i {
    padding: 0;
    min-width: 0;
    height: auto;
    background: none;
    color: var(--ink);
    font-family: var(--f-display);
    font-size: 1.6rem;
}
[data-idade="fase-adulta"] .af-marks h3 { margin-top: 0.4rem !important; font-size: 1.2rem !important; }

/* ---------- II Temas (cards de revista) ---------- */
.st-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.st-pills a {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}
.st-pills a:hover { background: #fff; }
.st-pills a.is-on { background: var(--ink); color: #fff !important; }
[data-idade="fase-adulta"] .af-topics { margin-top: 0; gap: 14px; }
.st-card {
    padding: 0 !important;
    overflow: hidden;
    background: #fff;
    scroll-margin-top: 1rem;
}
.st-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.st-card:nth-child(n+4) img { aspect-ratio: 16 / 8; }
.st-meta {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1.3rem;
    background: var(--st-yellow);
    font-family: var(--f-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.st-card > div { display: flex; flex: 1; flex-direction: column; padding: 1.3rem 1.3rem 1.4rem; }
[data-idade="fase-adulta"] .st-card h3 { font-size: 1.45rem !important; line-height: 1.08 !important; letter-spacing: -0.02em; }
.st-card > div > p:not(.af-try) { margin: 0.7rem 0 1.2rem !important; font-size: 0.95rem; color: var(--muted); }
.st-card .af-try {
    margin-top: auto !important;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: var(--st-panel);
    font-size: 0.93rem;
    line-height: 1.5;
}
.st-card .af-try b {
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--f-display);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}
.st-card--quote { background: var(--ink); color: #fff; }
.st-card--quote .st-meta { background: var(--st-yellow); color: var(--ink); }
body.ai[data-idade="fase-adulta"] .st-card--quote h3 { color: var(--st-yellow) !important; font-size: clamp(2rem, 3.6vw, 3.2rem) !important; line-height: 1 !important; }
.st-card--quote > div { justify-content: center; padding: 2rem 1.8rem 1.8rem; }
.st-card--quote .af-try { margin-top: 1rem !important; }
.st-card--quote > div > p:not(.af-try) { color: #d8d6d0; font-size: 1.05rem; }
.st-card--quote .af-try { background: #2a2a2a; color: #fff; }
.st-card--quote .af-try b { color: var(--st-yellow); }

/* ---------- III Praticar ---------- */
.st-big { position: relative; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.st-big img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 20px;
}
.st-blob {
    position: absolute;
    left: clamp(1rem, 4vw, 2.5rem);
    bottom: clamp(1rem, 4vw, 2.5rem);
    max-width: 17rem;
    padding: 1.4rem 1.8rem;
    border-radius: 58% 42% 55% 45% / 55% 60% 40% 45%;
    background: var(--st-yellow);
    font-family: var(--f-display);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}
[data-idade="fase-adulta"] .br-steps li { background: #fff; }
[data-idade="fase-adulta"] .br-steps li::before {
    border-radius: 12px;
    background: var(--st-yellow);
    color: var(--ink);
    font-family: var(--f-display);
}
[data-idade="fase-adulta"] .br-steps b { font-family: var(--f-display); font-weight: 700; }
[data-idade="fase-adulta"] .af-drawbox { margin-top: 2.2rem; background: var(--ink); color: #fff; }
[data-idade="fase-adulta"] .af-drawbox > span { color: var(--st-yellow); font-family: var(--f-display); }
body.ai[data-idade="fase-adulta"] .af-drawbox h3 { color: #fff !important; }
[data-idade="fase-adulta"] .br-draw-card { border-color: rgba(255, 255, 255, 0.35); font-size: 1.2rem; }
[data-idade="fase-adulta"] .br-btn {
    background: var(--st-yellow);
    color: var(--ink) !important;
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
[data-idade="fase-adulta"] .br-steps li::before { width: 2.4rem; }

/* ---------- IV Sinais ---------- */
[data-idade="fase-adulta"] .af-signs { margin-top: 0; }
[data-idade="fase-adulta"] .af-signs li { background: #fff; }
[data-idade="fase-adulta"] .af-signs li::before {
    border: 0;
    border-radius: 8px;
    background: var(--st-yellow);
    color: var(--ink);
    font-family: var(--f-display);
}
[data-idade="fase-adulta"] .af-who { border-left-color: var(--st-yellow); border-left-width: 8px; background: #fff; }

/* ---------- V Materiais (newsletter) ---------- */
.st-materiais { background: var(--st-beige); }
.st-news {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
[data-idade="fase-adulta"] .af-mats { grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
[data-idade="fase-adulta"] .af-mat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.3rem;
    border-radius: 16px;
}
[data-idade="fase-adulta"] .af-mat span { grid-row: span 2; background: var(--st-yellow); color: var(--ink); font-family: var(--f-display); }
[data-idade="fase-adulta"] .af-mat h3 { margin-top: 0 !important; font-size: 1.2rem !important; }
[data-idade="fase-adulta"] .af-mat p { margin-top: 0.15rem !important; }
[data-idade="fase-adulta"] .af-mats-foot a:not(.br-btn) { color: var(--ink); }
.st-news .br-btn { background: var(--ink) !important; color: #fff !important; }

/* ---------- Faixa e aviso ---------- */
.st-ticker {
    margin: 0 0 14px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--st-blue);
    color: #fff;
}
.st-ticker p {
    display: flex;
    width: max-content;
    padding: 0.9rem 0;
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: st-ticker 38s linear infinite;
}
.st-ticker span { padding-right: 0.6rem; }
@keyframes st-ticker { to { transform: translateX(-50%); } }
[data-idade="fase-adulta"] .br-alert { background: #fff; }
[data-idade="fase-adulta"] .br-alert h2 { text-transform: uppercase; letter-spacing: -0.02em; }
[data-idade="fase-adulta"] .br-next a { background: #fff; }
[data-idade="fase-adulta"] .br-next span { font-family: var(--f-display); color: var(--ink); }
[data-idade="fase-adulta"] .br-next a:hover { background: var(--st-yellow); }

[data-idade="fase-adulta"] .br-foot { border-top: 0; padding-left: 2%; padding-right: 2%; }
[data-idade="fase-adulta"] .br-foot b { font-family: var(--f-display); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .st-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .st-aside { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ai .st-aside h3 { grid-column: 1 / -1; }
    [data-idade="fase-adulta"] .af-phases ol { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
}
@media (max-width: 900px) {
    .st-top ul { display: none; }
    .st-news { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    body[data-idade="fase-adulta"] { padding: 8px 8px 0; }
    .st-panel { margin-bottom: 8px; border-radius: 20px; }
    .st-top { padding-right: 3.6rem; }
    .st-top .st-pill { display: none; }
    .ai .st-title { white-space: normal; font-size: clamp(3.4rem, 19vw, 5rem) !important; }
    .st-feature { grid-template-columns: 1fr; }
    .st-feature-img img { min-height: 240px; }
    .st-aside { grid-template-columns: 1fr; }
    [data-idade="fase-adulta"] .af-phases ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-big img { aspect-ratio: 4 / 3; }
    .st-blob { position: relative; left: auto; bottom: auto; margin: -2.5rem 0 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .st-ticker p { animation: none; }
}
