* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: #ffffff;
    color: #111111;
    line-height: 2;
    overflow-x: hidden;
}

header {
    position: relative;
    background: #ffffff;
    height: 130px; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    z-index: 100;
    border-bottom: 1px solid #eaeaea;
}

.logo-container {
    position: absolute;
    bottom: -83px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 110;
}

.logo-moldura-circulo {
    width: 166px;
    height: 166px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 0px; 
    margin: 0px;
}

.logo-img {
    width: 100%; 
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

.menu-btn {
    position: absolute;
    right: 24px;
    top: 60px; 
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 200;
    padding: 5px;
}

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #111111; 
    transition: 0.3s;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 220px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    padding: 100px 32px 32px 32px;
    transition: 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 300;
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
    padding-bottom: 8px;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.25);
}

.nav-menu a:hover {
    color: #d32f2f;
    transform: translateX(8px);
    letter-spacing: 0.5px;
}

.artigo-topo {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 350px;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)), url('artigo1.webp') no-repeat center center/cover;
    display: flex;
    align-items: flex-end;
    padding: 48px 24px;
}

.artigo-titulo {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    line-height: 1.3;
}

.container-principal {
    max-width: 680px;
    margin: 80px auto 40px auto;
    padding: 0 24px;
}

p {
    font-size: 16px;
    margin-bottom: 24px;
    color: #222222;
}

h2 {
    font-size: 23px;
    margin: 40px 0 20px 0;
    color: #111111;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #222222;
}

strong {
    color: #000000;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    border-color: #dcdcdc;
    transform: translateY(-2px);
}

.faq-item summary {
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    color: #111111;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus { outline: none; }

.faq-item summary::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #8B0000;
    border-bottom: 2px solid #8B0000;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.faq-item[open] { border-color: #8B0000; }
.faq-item[open] summary { color: #8B0000; border-bottom: 1px solid #eaeaea; }
.faq-item[open] summary::before { transform: rotate(45deg); }

.faq-item p {
    padding: 18px 20px;
    margin: 0;
    font-size: 15px;
    color: #444444;
    line-height: 1.7;
    background-color: #fafafa;
    animation: faqFadeIn 0.4s ease-in-out;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.linha-divisoria-vermelha {
    border: 0;
    height: 1px;
    background: rgba(0,0,0,0.5);
    margin: 40px 0;
    width: 100%;
}

.faixa-curso {
    width: 100%;
    background: linear-gradient(135px, #2c2c2c 0%, #1e1e1e 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 40px;
    border-radius: 12px;
    line-height: 1.6;
}

.faixa-curso h3 {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.texto-explicativo-cta {
    color: #000000;
    font-size: 15px; 
    font-style: italic;
    font-weight: 500;
    max-width: 540px;
    margin-bottom: 24px;
}

.btn-premium {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #000000; 
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.btn-premium:hover {
    background: #1a1a1a; 
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px); 
}

.btn-premium:active {
    transform: translateY(0); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.assinatura-editorial {
    font-size: 14px; 
    color: rgba(0, 0, 0, 0.7);
    margin: 24px 0 12px 0;
    font-style: italic;
    text-align: left;
}

.btn-compartilhar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #eaeaea;
    color: #555555;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0px;
}

.btn-compartilhar:hover {
    background-color: #f5f5f5;
    color: #111111;
    border-color: #ccc;
}

.btn-compartilhar svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.proximo-artigo-bloco {
    background-color: #f9f9f9;
    border-left: 3px solid #8B0000; 
    padding: 24px;
    margin: 40px 0;
    line-height: 1.6;
}

.proximo-artigo-bloco p {
    font-style: italic;
    color: #000000; 
    margin-bottom: 12px;
    font-size: 15px;
}

.btn-proximo {
    display: inline-block;
    color: #8B0000; 
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.btn-proximo:hover {
    text-decoration: underline;
}

footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid #eaeaea;
    text-align: center;
}

.redes-sociais-footer {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; 
}

.redes-sociais-footer a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.redes-sociais-footer a:hover {
    transform: scale(1.1);
}

.copyright {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

@media (max-width: 768px) {
    header { height: 100px; }
    .logo-moldura-circulo { width: 128px; height: 128px; }
    .logo-container { bottom: -64px; }
    .menu-btn { top: 35px; } 
    .artigo-titulo { font-size: 34px; }
    .container-principal { margin-top: 60px; }
    .controles-topo { gap: 12px; }
    .lupa-toggle, .texto-toggle, .modo-noturno-toggle, .escutar-toggle, .compartilhar-toggle { width: 48px; height: 48px; }
    .texto-toggle { font-size: 15px; }
    .modo-noturno-toggle svg, .lupa-toggle svg { width: 24px; height: 24px; }
    .escutar-toggle svg, .compartilhar-toggle svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
    header { height: 80px; }
    .logo-moldura-circulo { width: 102px; height: 102px; }
    .logo-container { bottom: -51px; }
    .menu-btn { top: 25px; } 
    .artigo-titulo { font-size: 28px; line-height: 1.2; }
    .container-principal { margin-top: 50px; }
    h2 { font-size: 21px; }
    p, li { font-size: 15px; }
    .faixa-curso { padding: 30px 20px; }
    .faixa-curso h3 { font-size: 21px; }
    .controles-topo { gap: 8px; }
    .lupa-toggle, .texto-toggle, .modo-noturno-toggle, .escutar-toggle, .compartilhar-toggle { width: 40px; height: 40px; }
    .texto-toggle { font-size: 13px; }
    .modo-noturno-toggle svg, .lupa-toggle svg { width: 20px; height: 20px; }
    .escutar-toggle svg, .compartilhar-toggle svg { width: 18px; height: 18px; }
}

/* Estilização das tags de SEO */
.seo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.seo-tag {
    background: #f5f5f5;
    color: #333333;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.2s;
}

.seo-tag:hover {
    background: #111111;
    color: #ffffff;
}

/* DARK MODE STYLES */
body.dark-mode { background-color: #111111; color: #ffffff; }
body.dark-mode header { background-color: #1a1a1a; border-bottom: 1px solid #333; }
body.dark-mode .logo-moldura-circulo { background: #000000; box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.logo-img-dark { display: none; width: 50%; height: 50%; border-radius: 0; }
body.dark-mode .logo-img-light { display: none; }
body.dark-mode .logo-img-dark { display: block; }
body.dark-mode .menu-btn span { background-color: #ffffff; }
body.dark-mode .nav-menu { background-color: #1a1a1a; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
body.dark-mode p, body.dark-mode li { color: #dddddd; }
body.dark-mode h2, body.dark-mode strong { color: #ffffff; }
body.dark-mode .linha-divisoria-vermelha { background: rgba(255,255,255,0.2); }
body.dark-mode .btn-compartilhar { color: #ffffff; border-color: #444; }
body.dark-mode .btn-compartilhar:hover { background-color: #333; border-color: #555; }
body.dark-mode .proximo-artigo-bloco { background-color: #1a1a1a; border-left-color: #8B0000; }
body.dark-mode .proximo-artigo-bloco p { color: #dddddd; }
body.dark-mode footer { border-top: 1px solid #333; }
body.dark-mode .copyright { color: #aaaaaa; }
body.dark-mode .assinatura-editorial { color: #ffffff; }
body.dark-mode .btn-proximo { color: #ffffff; }
body.dark-mode .redes-sociais-footer a[aria-label*="YouTube"] svg,
body.dark-mode .redes-sociais-footer a[aria-label="TikTok"] svg,
body.dark-mode .redes-sociais-footer a[aria-label="Pinterest"] svg { fill: #ffffff !important; }
body.dark-mode .redes-sociais-footer a[aria-label="E-mail"] svg { stroke: #ffffff !important; }
.ig-icon-dark { display: none; }
body.dark-mode .ig-icon-light { display: none; }
body.dark-mode .ig-icon-dark { display: inline-block; }
.logo-rodape-dark { display: none; }
body.dark-mode .logo-rodape-light { display: none; }
body.dark-mode .logo-rodape-dark { display: inline-block; }
body.dark-mode .proximo-artigo-bloco { border-left-color: #ffffff; }
body.dark-mode .faq-item { background-color: #1a1a1a; border-color: #333; }
body.dark-mode .faq-item summary { color: #ffffff; }
body.dark-mode .faq-item[open] summary { border-bottom-color: #333; }
body.dark-mode .faq-item p { background-color: #222; color: #dddddd; }
body.dark-mode .faq-item summary::before { border-right-color: #ffffff; border-bottom-color: #ffffff; }
body.dark-mode .seo-tag { background: #333; color: #fff; }
body.dark-mode .seo-tag:hover { background: #555; }

body.dark-mode a { color: #ffffff !important; }
body.dark-mode .faixa-curso h3, 
body.dark-mode .texto-explicativo-cta { color: #ffffff !important; }
body.dark-mode .btn-premium { background: #333333 !important; color: #ffffff !important; }
body.dark-mode .btn-premium:hover { background: #555555 !important; }

.controles-topo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 45px 0 20px 0;
}

.modo-noturno-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lupa-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #eaeaea;
    color: #999999;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.lupa-toggle:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
    border-color: #ccc;
}

body.dark-mode .lupa-toggle { color: #ffffff; border-color: #444; }
body.dark-mode .lupa-toggle:hover { background-color: #333; border-color: #555; }

.lupa-caixa {
    display: none;
    width: 100%;
    max-width: 280px;
    margin-top: 10px;
}

.lupa-caixa.ativo {
    display: block;
}

.texto-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #eaeaea;
    color: #999999;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 9px;
    font-weight: 700;
}

.texto-toggle:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
    border-color: #ccc;
}

body.dark-mode .texto-toggle { color: #ffffff; border-color: #444; }
body.dark-mode .texto-toggle:hover { background-color: #333; border-color: #555; }

.modo-noturno-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #eaeaea;
    color: #999999;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.modo-noturno-toggle:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
    border-color: #ccc;
}

body.dark-mode .modo-noturno-toggle { color: #ffffff; border-color: #444; }
body.dark-mode .modo-noturno-toggle:hover { background-color: #333; border-color: #555; }

.escutar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #eaeaea;
    color: #999999;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.escutar-toggle:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
    border-color: #ccc;
}

body.dark-mode .escutar-toggle { color: #ffffff; border-color: #444; }
body.dark-mode .escutar-toggle:hover { background-color: #333; border-color: #555; }

.compartilhar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #eaeaea;
    color: #999999;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.compartilhar-toggle:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
    border-color: #ccc;
}

body.dark-mode .compartilhar-toggle { color: #ffffff; border-color: #444; }
body.dark-mode .compartilhar-toggle:hover { background-color: #333; border-color: #555; }


.barra-progresso-leitura {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #8B0000;
    width: 0%;
    z-index: 500;
}

.tempo-leitura {
    font-size: 13px;
    color: #999999;
    margin-bottom: 24px;
    font-weight: 500;
}

.voltar-topo {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8B0000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 400;
    cursor: pointer;
    border: none;
}

.voltar-topo.visivel {
    opacity: 1;
    visibility: visible;
}

body.dark-mode .tempo-leitura { color: #aaaaaa; }