/* =========================================================================
   TRIBUTARIO.PRO.BR — estilos compartilhados
   Extraído fielmente do <style> inline da página original. Nenhuma cor,
   fonte, animação ou comportamento foi alterado — só foi tirado do
   <head> e centralizado aqui, para toda página usar a mesma base.
   ========================================================================= */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- Header fixo ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 169, 0, 0.3);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    padding: 8px 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
    transition: all 0.3s ease;
}

.header.scrolled .logo {
    height: 35px;
}

.social-links-header {
    display: flex;
    gap: 15px;
}

.social-link-header {
    color: #FFA900;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link-header:hover {
    color: #ffc04d;
    transform: scale(1.1);
}

/* ---- Hero Section ---- */
.hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                 url('https://tributario.pro.br/img/capa_03.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 65px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #FFA900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-width: 800px;
}

.hero h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 400;
    max-width: 700px;
}

.floating-cta {
    display: inline-flex;
    align-items: center;
    background: #FFA900;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(255, 169, 0, 0.4);
    animation: float 3s ease-in-out infinite;
}

.floating-cta:hover {
    background: #e69900;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 169, 0, 0.5);
}

.floating-cta i {
    margin-right: 10px;
    font-size: 1.2rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero .highlight {
    color: #FFA900;
    font-weight: 600;
}

/* ---- Content Section ---- */
.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #FFA900;
    text-align: center;
}

/* ---- Cards Grid ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 169, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FFA900;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #FFA900;
    box-shadow: 0 20px 40px rgba(255, 169, 0, 0.2);
    background: rgba(26, 26, 26, 0.95);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 2.2rem;
    color: #FFA900;
    margin-right: 20px;
    width: 60px;
    text-align: center;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
    line-height: 1.3;
}

.card-relevance {
    font-size: 1.2rem;
    margin-left: 15px;
    color: #FFA900;
}

.card-concept {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.expand-btn {
    background: #FFA900;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.expand-btn:hover {
    background: #e69900;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 169, 0, 0.3);
}

/* ---- Modal ---- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 169, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 169, 0, 0.2);
    color: #FFA900;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-right: 50px;
}

.modal-icon {
    font-size: 2.5rem;
    color: #FFA900;
    margin-right: 20px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.modal-concept { margin-bottom: 30px; }
.modal-concept h4 { color: #FFA900; margin-bottom: 15px; font-size: 1.2rem; font-weight: 600; }
.modal-concept p { color: #ddd; line-height: 1.7; font-size: 1rem; }

.modal-challenges { margin-bottom: 30px; }
.modal-challenges h4 { color: #FFA900; margin-bottom: 15px; font-size: 1.2rem; font-weight: 600; }
.modal-challenges p { color: #ddd; line-height: 1.7; font-size: 1rem; }

.cta-button {
    background: #FFA900;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.cta-button:hover {
    background: #e69900;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 169, 0, 0.4);
}

/* ---- Footer ---- */
.footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 169, 0, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-professor { color: #FFA900; font-size: 4.2rem; margin-bottom: 30px; font-weight: 500; }

.social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #FFA900;
    color: #000;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e69900;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 169, 0, 0.3);
}

.copyright {
    color: #888;
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- Animações ---- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Elementos do card de Live ---- */
.professor-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFA900;
    margin-right: 20px;
}

.live-badge {
    background-color: #FF0000;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* ---- Responsivo ---- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; line-height: 1.2; }
    .hero h2 { font-size: 1.1rem; }
    .cards-grid { grid-template-columns: 1fr; gap: 15px; }
    .card { padding: 20px; }
    .modal-content { padding: 25px 20px; margin: 10px; }
    .section-title { font-size: 1.8rem; margin-bottom: 40px; }
    .content { padding: 50px 15px; }
    .hero-content { padding: 0 15px; }
    .header-content { padding: 0 15px; }
    .footer-content { padding: 0 15px; }

    .logo { height: 30px; max-width: 80%; }
    .header.scrolled .logo { height: 28px; max-width: 80%; }
    .social-links-header { gap: 10px; }
    .social-link-header { font-size: 1rem; }
    .footer-logo { height: 50px; max-width: 80%; width: auto; }
    .footer-professor { font-size: 2.2rem; }
    .social-link { width: 45px; height: 45px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero { min-height: 400px; margin-top: 60px; background-attachment: scroll; }
    .header { padding: 8px 0; }
    .logo { height: 25px; }
    .footer-professor { font-size: 2.5rem; }
}

/* ---- Scrollbar personalizada ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #FFA900; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #e69900; }

/* =========================================================================
   Componentes NOVOS — usados a partir de agora nas páginas internas
   (ex.: /revista), reaproveitando o mesmo vocabulário visual (preto +
   dourado + cards com blur) já estabelecido acima.
   ========================================================================= */
.tp-section-title-sm {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFA900;
    margin-bottom: 12px;
}

.tp-search-input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 169, 0, 0.3);
    background: rgba(26, 26, 26, 0.8);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}
.tp-search-input::placeholder { color: #888; }
.tp-search-input:focus { outline: none; border-color: #FFA900; }

.tp-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tp-pill-active { background: #FFA900; color: #000; }
.tp-pill-inactive { background: rgba(26, 26, 26, 0.8); color: #ccc; border: 1px solid rgba(255, 169, 0, 0.3); }
.tp-pill-inactive:hover { border-color: #FFA900; color: #FFA900; }
