/* Estilo compartilhado dos guias do Sino Pix.
   ponytail: um CSS externo para os 8 guias em vez de <style> inline repetido 8x. */
:root {
    --verde: #0E8F6B; --verde-claro: #35C99A; --verde-escuro: #0a6b50;
    --tinta: #E3F4EC; --fundo: #F6F5F1; --texto: #1A1A16; --texto-2: #57554D;
    --borda: #e7e5de; --coral: #FF7A66;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--fundo); color: var(--texto);
    line-height: 1.7; font-size: 1.05rem;
}
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
a { color: var(--verde); }

/* topo */
.topo { background: #0a1512; padding: 16px 0; }
.topo .container { display: flex; align-items: center; gap: 12px; }
.topo a { color: #e8efec; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.topo img { border-radius: 9px; }

/* trilha */
.trilha { font-size: .85rem; color: var(--texto-2); padding: 20px 0 0; }
.trilha a { text-decoration: none; }
.trilha span { color: #a3a099; margin: 0 6px; }

/* artigo */
article { padding: 8px 0 56px; }
article h1 {
    font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 800;
    letter-spacing: -.02em; line-height: 1.15; margin: 14px 0 18px;
}
article h2 {
    font-size: clamp(1.3rem, 3.4vw, 1.75rem); font-weight: 800;
    letter-spacing: -.01em; line-height: 1.25; margin: 44px 0 14px;
}
article h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 8px; }
article p { margin: 0 0 16px; color: var(--texto-2); }
article p strong, article li strong { color: var(--texto); }
article ul, article ol { margin: 0 0 18px 22px; color: var(--texto-2); }
article li { margin-bottom: 9px; }
article img { max-width: 100%; height: auto; border-radius: 18px; display: block; }
.resumo {
    background: var(--tinta); border-left: 4px solid var(--verde);
    border-radius: 0 16px 16px 0; padding: 20px 22px; margin: 0 0 28px;
}
.resumo p { color: #1f3b32; margin: 0; }
.meta { font-size: .85rem; color: #85827a; margin-bottom: 28px; }
.aviso {
    background: #fff4f1; border-left: 4px solid var(--coral);
    border-radius: 0 16px 16px 0; padding: 18px 20px; margin: 24px 0;
}
.aviso p { margin: 0; color: #6b3a30; }
.aviso strong { color: #3d1f19; }
table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; font-size: .95rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--borda); }
th { background: #fff; font-weight: 700; }
td { color: var(--texto-2); }

/* passo a passo */
ol.passos { list-style: none; margin-left: 0; counter-reset: p; }
ol.passos li {
    counter-increment: p; position: relative;
    padding: 4px 0 16px 46px; margin-bottom: 4px;
}
ol.passos li::before {
    content: counter(p); position: absolute; left: 0; top: 2px;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--verde); color: #fff;
    font-weight: 800; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
}

/* faq */
details { border-bottom: 1px solid var(--borda); padding: 16px 0; }
details summary {
    font-weight: 700; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--verde); font-size: 1.4rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding-top: 10px; margin-bottom: 0; }

/* cta */
.cta {
    background: linear-gradient(160deg, var(--verde) 0%, var(--verde-escuro) 100%);
    color: #fff; border-radius: 24px; padding: 40px 30px; margin: 48px 0 0; text-align: center;
}
.cta h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 3.6vw, 1.8rem); }
.cta p { color: rgba(255,255,255,.9); margin: 0 0 24px; }
.cta a.btn {
    display: inline-block; background: #fff; color: var(--verde);
    font-weight: 800; padding: 15px 34px; border-radius: 50px;
    text-decoration: none; transition: transform .2s;
}
.cta a.btn:hover { transform: translateY(-2px); }
.cta small { display: block; margin-top: 14px; color: rgba(255,255,255,.75); }

/* leia também */
.relacionados { margin: 48px 0 0; }
.relacionados h2 { margin-top: 0; }
.relacionados ul { list-style: none; margin-left: 0; }
.relacionados li { border-bottom: 1px solid var(--borda); padding: 13px 0; margin: 0; }
.relacionados a { text-decoration: none; font-weight: 600; }
.relacionados a:hover { text-decoration: underline; }

/* hub */
.hub-cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 32px 0 0; }
.hub-cartao {
    background: #fff; border-radius: 20px; padding: 26px 24px;
    box-shadow: 0 8px 28px rgba(0,0,0,.05); text-decoration: none; color: inherit;
    display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.hub-cartao:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(14,143,107,.13); }
.hub-cartao .tag {
    font-size: .72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .1em; color: var(--verde);
}
.hub-cartao h2 { font-size: 1.2rem; margin: 8px 0 8px; }
.hub-cartao p { font-size: .93rem; color: var(--texto-2); margin: 0; }

footer { background: #0a1512; color: #7e8c86; padding: 40px 0; text-align: center; font-size: .9rem; margin-top: 60px; }
footer a { color: var(--verde-claro); text-decoration: none; margin: 0 9px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
