:root {
    --azul-linha: #1e88e5;
    --cinza-claro: #f3f3f3;
    --cinza-texto: #555;
    --preto: #111;
    --laranja: #ff5722;
    --laranja-hover: #e64a19;
    --branco: #ffffff;
    --sombra-leve: 0 2px 8px rgba(0, 0, 0, 0.07);
    --sombra-media: 0 6px 20px rgba(0, 0, 0, 0.11);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f0f0f0;
    color: var(--preto);
    line-height: 1.5;
}

/* ================= HEADER ================= */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: var(--branco);
    border-bottom: 3px solid var(--laranja);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-area img {
    width: 70px;
    height: auto;
}

.logo-area span {
    font-size: 22px;
    font-weight: bold;
    color: var(--laranja);
    letter-spacing: -0.5px;
}

.top-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.top-menu a {
    text-decoration: none;
    color: var(--cinza-texto);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 36px;
    transition: color 0.2s;
}

.top-menu a:hover {
    color: var(--laranja);
}

/* Hamburguer (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--preto);
    border-radius: 2px;
    transition: 0.3s;
}

.search-btn {
    background: var(--laranja);
    color: var(--branco);
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.search-btn:hover {
    background: var(--laranja-hover);
}

.search-btn:active {
    transform: scale(0.97);
}

/* ================= MENU CATEGORIAS ================= */
.category-menu {
    display: flex;
    justify-content: center;
    gap: 4px;
    background: var(--branco);
    padding: 10px 16px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.category-menu a {
    text-decoration: none;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cinza-texto);
    transition: all 0.2s;
    white-space: nowrap;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.category-menu a:hover {
    color: var(--branco);
    background-color: var(--laranja);
}

/* ================= CONTAINER NOTÍCIA ================= */
.container {
    max-width: 860px;
    margin: 36px auto;
    padding: 0 20px 40px;
}

.noticia {
    background: var(--branco);
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: var(--sombra-leve);
    border: 1px solid #e8e8e8;
}

/* ================= CONTEÚDO DA NOTÍCIA ================= */
.titulo {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.35;
    color: var(--preto);
    margin-bottom: 12px;
}

.data {
    color: #999;
    font-size: 13px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.data::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 12px;
    color: var(--laranja);
}

.imagem-noticia {
    width: 380px;
    float: left;
    margin: 4px 28px 16px 0;
    border-radius: 10px;
    box-shadow: var(--sombra-leve);
    border: 1px solid #e8e8e8;
}

.noticia p {
    font-size: 16px;
    color: #333;
    text-align: justify;
    margin-bottom: 16px;
    line-height: 1.75;
}

/* Separador após texto flutuante */
.noticia::after {
    content: '';
    display: table;
    clear: both;
}

/* Fonte e assinatura */
.noticia p[style*="font-weight:bold"],
.noticia p[style*="font-weight: bold"] {
    font-size: 14px;
    color: #555;
    margin-top: 24px;
    border-top: 1px solid #eee;
    padding-top: 14px;
}

.noticia p[style*="color:gray"],
.noticia p[style*="color: gray"] {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 20px;
}

/* Link de voltar */
.noticia a[href] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--laranja);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
    transition: color 0.2s;
}

.noticia a[href]:hover {
    color: var(--laranja-hover);
    text-decoration: underline;
}

.btn-voltar {
    display: inline-block;
    margin-top: 15px;
    background-color: #ff5722;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-voltar:hover {
    background-color: #e64a19;
}

/* ================= GRADE DE VÍDEOS ================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.video-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
}

.thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra-leve);
    background: #000;
    border: 1px solid #e8e8e8;
}

.thumb img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}

.thumb iframe {
    width: 100%;
    height: 175px;
    border: none;
}

.video-card:hover .thumb img {
    opacity: 0.88;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: background 0.2s, transform 0.2s;
}

.video-card:hover .play-btn {
    background: var(--laranja);
    transform: translate(-50%, -50%) scale(1.08);
}

.tempo {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.78);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.video-titulo {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--preto);
    line-height: 1.4;
    transition: color 0.2s;
}

.video-card:hover .video-titulo {
    color: var(--laranja);
}

/* ================= BOTÃO GENÉRICO ================= */
.btn {
    display: inline-block;
    background: var(--laranja);
    color: white;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--laranja-hover);
}

/* ================= RODAPÉ ================= */
/* FOOTER REMOVIDO PARA HEADER-FOOTER.CSS */

/* ================= DESIGN EDITORIAL DE ARTIGOS ================= */

.article-container {
    background-color: #fff;
    padding: 40px 20px;
    min-height: 100vh;
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: left;
}

.category-tag {
    display: inline-block;
    color: var(--laranja);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.article-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #777;
    font-size: 14px;
    font-weight: 500;
}

.meta-divider {
    color: #ddd;
}

.article-hero {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.article-hero img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.article-hero figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: #888;
    text-align: center;
    font-style: italic;
    padding: 0 20px;
}

.article-body {
    max-width: 700px;
    margin: 0 auto;
}

.article-body p {
    font-size: 19px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

.article-source {
    font-size: 14px;
    color: #666;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.source-info {
    font-size: 14px;
    color: #666;
}

.btn-back {
    display: inline-block;
    padding: 12px 24px;
    background: #f8f9fa;
    color: #444;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #ddd;
}

.btn-back:hover {
    background: #eee;
    color: var(--laranja);
    border-color: var(--laranja);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 28px;
    }
    .article-hero {
        margin: 0 -20px 30px;
    }
    .article-hero img {
        border-radius: 0;
    }
    .article-body p {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .top-header {
        padding: 12px 16px;
    }

    .logo-area span {
        font-size: 18px;
    }

    .logo-area img {
        width: 52px;
    }

    .container {
        margin: 20px auto;
        padding: 0 12px 32px;
    }

    .noticia {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .titulo {
        font-size: 19px;
    }

    .noticia p {
        font-size: 15px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section .social-icons {
        justify-content: center;
    }
}

/* ================= PÁGINA VOCÊ REPÓRTER (MODERNO) ================= */

.reporter-main {
    background-color: #f8f9fa;
    padding: 60px 20px;
    min-height: 80vh;
}

.reporter-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid #eee;
}

.reporter-header {
    background: #fff;
    padding: 40px 40px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.reporter-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.reporter-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.reporter-form {
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #444;
}

.form-group input, 
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background: #fcfcfc;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--laranja);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
}

/* Custom File Input */
.file-input-wrapper {
    position: relative;
    width: 100%;
}

.file-custom {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    color: #777;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-input-wrapper:hover .file-custom {
    border-color: var(--laranja);
    color: var(--laranja);
    background: #fff;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-submit {
    background: var(--laranja);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-submit:hover {
    background: var(--laranja-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.25);
}

.btn-link {
    text-decoration: none;
    color: #777;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-link:hover {
    color: var(--laranja);
}

.alert-success {
    background: #e6fffa;
    border: 1px solid #b2f5ea;
    color: #2c7a7b;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
}

/* ================= NOTÍCIAS RELACIONADAS ================= */

.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.related-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #333;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.related-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #eee;
}

.related-card h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    transition: color 0.2s;
}

.related-card:hover h4 {
    color: var(--laranja);
}

@media (max-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .related-card img {
        height: 180px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .reporter-header, .reporter-form {
        padding: 25px;
    }
    .form-actions {
        flex-direction: column;
    }
    .btn-submit {
        width: 100%;
    }
}