@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde: #2e7d32;
    --verde-escuro: #1b5e20;
    --amarelo: #f4c542;
    --cinza: #f2f1ef;
    --texto: #1a1a1a;
    --cinza-texto: #666;
    --trans: 0.25s ease;
}

body {
    background: var(--cinza);
    color: var(--texto);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   HEADER
   ================================================ */

.cabecalho-topo {
    background:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('../img/escola.png') center / cover no-repeat;
    padding: 28px 0;
    position: relative;
}

.cabecalho-topo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--verde-escuro), var(--amarelo), var(--verde-escuro));
}

.topo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.identidade {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-jornal {
    height: 110px;
    border-radius: 6px;
}

.titulo-jornal h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.titulo-jornal h1 span {
    color: var(--cinza);
}

.titulo-jornal p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-escola {
    width: 110px;
    background: white;
    padding: 4px;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    right: 0;
}

/* MENU */
.menu {
  background: var(--verde-escuro);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: 'Playfair Display', Georgia, serif;
}

.menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.menu-links {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;

    gap: 6px;
    padding: 0 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;

    white-space: nowrap;
}

.menu-links a {
      display: flex;
    align-items: center;

  padding: 0 8px;

    min-height: 56px;
   font-size: 10px;
    font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: var(--trans);
  text-decoration: none;
  white-space: nowrap;

    flex-shrink: 0;
}

.menu-links::-webkit-scrollbar {
    display: none;
}

.menu-links a:hover,
.menu-links a.ativo {
  color: var(--amarelo);
}

.menu-mobile {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
  padding: 10px 0;
  user-select: none;
}


/* ================================================
   HERO
   ================================================ */

.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 380px;
    max-height: 520px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-wrapper > img {
    width: 100%;
    max-height: 520px;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.35) 55%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
    overflow: hidden;
}
.categoria-label {
    display: inline-block;
    background: var(--amarelo);
    color: var(--verde-escuro);
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.hero-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    max-width: 860px;
    width: 100%;
    margin-bottom: 16px;
}

.hero-subtitulo {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    width: 100%;
    margin: 0 auto 20px;
    padding: 0 10px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.autor-linha {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    font-weight: 900px;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    flex-shrink: 0;
}

/* ================================================
   BARRA DE AÇÃO
   ================================================ */

.barra-acoes {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.barra-acoes-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #aaa;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #999;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--verde); }
.breadcrumb > span  { color: #ccc; }
.breadcrumb-atual   { color: #555 !important; }

.btn-compartilhar {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--verde-escuro);
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-compartilhar:hover {
    background: var(--verde);
    transform: translateY(-1px);
}

.btn-compartilhar svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ================================================
   CORPO DA NOTÍCIA
   ================================================ */

.noticia-full {
    background: #f0efec;
    padding: 60px 20px 90px;
}

.layout-noticia {
    max-width: 860px;
    margin: 0 auto;
}

.corpo-texto {
    background: #fff;
    border-radius: 4px;
    border-top: 5px solid var(--verde);
    padding: 64px 68px;
    font-family: 'Domine', serif;
    font-size: 19px;
    line-height: 1.95;
    color: #242424;
    word-break: break-word;
    overflow-wrap: break-word;
}

.corpo-texto p {
    margin-bottom: 28px;
    text-align: justify;
    hyphens: auto;
    max-width: 100%;
}

/* LEAD */
.corpo-texto p.lead {
    font-size: 21px;
    line-height: 1.8;
    color: #111;
    font-weight: 400;
    border-left: 4px solid var(--amarelo);
    padding-left: 22px;
    margin-bottom: 36px;
    text-align: left;
    hyphens: none;
}

/* CITAÇÃO (verde) */
.citacao-destaque {
    margin: 44px 0;
    padding: 32px 38px;
    background: #f6fbf6;
    border-left: 5px solid var(--verde);
    border-radius: 0 6px 6px 0;
}

.citacao-destaque p {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
    color: var(--verde-escuro);
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: left;
}

.citacao-destaque span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1.2px;
}

/* BLOCO DE IMAGEM */
.bloco-imagem {
    margin: 44px 0;
    border-radius: 6px;
    overflow: hidden;
}

.bloco-imagem img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.bloco-imagem figcaption {
    background: #1a1a1a;
    color: rgba(255,255,255,0.72);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    padding: 13px 22px;
    font-style: italic;
    letter-spacing: 0.2px;
    line-height: 1.6;
}

/* FALA (amarelo) */
.fala-entrevistado {
    margin: 44px 0;
    padding: 30px 36px;
    background: #fffdf5;
    border-left: 5px solid var(--amarelo);
    border-radius: 0 6px 6px 0;
}

.fala-entrevistado p {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    color: #2a2a2a;
    line-height: 1.65;
    margin-bottom: 14px;
    text-align: left;
}

.fala-entrevistado cite {
    display: block;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--verde);
    letter-spacing: 1px;
}

/* DIVISOR */
.divisor {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd 20%, #ddd 80%, transparent);
    margin: 44px 0;
}

/* TAGS */
.tags-container { margin-top: 10px; }

.tags-container h4 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    margin-bottom: 14px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.tag {
    display: inline-block;
    background: #f3f3f3;
    padding: 7px 16px;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: 0.22s;
}

.tag:hover {
    background: var(--verde-escuro);
    color: white;
    transform: translateY(-2px);
}

/* ================================================
   BLOCOS DE PERGUNTA / RESPOSTA (entrevistas)
   ================================================ */

/* Wrapper geral — empilha os pares com espaçamento generoso */
.corpo-entrevista .bloco-pergunta,
.corpo-entrevista .bloco-resposta {
    position: relative;
    margin-bottom: 6px;
    padding: 22px 26px 20px 26px;
    border-radius: 0 8px 8px 0;
    font-family: 'Domine', serif;
    font-size: 18px;
    line-height: 1.85;
}

/* Adiciona espaço maior entre cada par pergunta/resposta */
.corpo-entrevista .bloco-resposta {
    margin-bottom: 36px;
}

/* Label flutuante acima do texto */
.label-pergunta,
.label-resposta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

/* ---- PERGUNTA: fundo azul-acinzentado, borda esquerda azul ---- */
.corpo-entrevista .bloco-pergunta {
    background: #f0f4ff;
    border-left: 4px solid #3b5bdb;
}

.corpo-entrevista .bloco-pergunta .label-pergunta {
    background: #3b5bdb;
    color: #fff;
}

.corpo-entrevista .bloco-pergunta p {
    color: #1a2a5e;
    font-weight: 700;
    margin-bottom: 0;
    text-align: left;
    hyphens: none;
}

/* ---- RESPOSTA: fundo verde-claro, borda esquerda verde ---- */
.corpo-entrevista .bloco-resposta {
    background: #f4fbf4;
    border-left: 4px solid var(--verde);
}

.corpo-entrevista .bloco-resposta .label-resposta {
    background: var(--verde);
    color: #fff;
}

.corpo-entrevista .bloco-resposta p {
    color: #1c3a1c;
    margin-bottom: 0;
    text-align: left;
    hyphens: auto;
}

/* Separador visual entre pares de P/R consecutivos */
.corpo-entrevista .bloco-pergunta + .bloco-resposta {
    margin-top: 0;
}

/* ================================================
   RODAPÉ
   ================================================ */

.rodape {
    background: var(--verde-escuro);
    color: white;
    text-align: center;
    padding: 22px;
    font-size: 13px;
}

.rodape a {
    color: #fff;
    font-weight: bold;
}

/* ============================================================
   RESPONSIVO — HEADER E MENU
   ============================================================ */

@media (max-width: 992px) {

    .logo-escola {
        width: 90px;
        top: 14px;
        right: 14px;
    }

    .titulo-jornal h1 {
        font-size: 32px;
    }

    .logo-jornal {
        height: 95px;
    }
}

/* ============================================================
   TABLET E MOBILE
   ============================================================ */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
    }

    /* ───────── HEADER ───────── */

    .cabecalho-topo {
        position: relative;

        padding: 18px 16px 24px;

        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* camada escura */
    .cabecalho-topo::before {
        content: "";

        position: absolute;
        inset: 0;

        background: rgba(0,0,0,0.45);

        z-index: 1;
    }

    .cabecalho-topo::after {
        z-index: 3;
    }

    .topo-inner {
        position: relative;
        z-index: 2;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 10px;
    }

    .identidade {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;

        gap: 6px;
    }

    .logo-jornal {
        height: 90px;
        width: auto;

        object-fit: contain;
    }

    .titulo-jornal {
        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

    .titulo-jornal h1 {
        font-size: 22px;
        line-height: 1.1;

        color: #fff;

        white-space: normal;
        word-break: break-word;

        text-shadow: 0 2px 6px rgba(0,0,0,0.45);
    }

    .titulo-jornal p {
        margin-top: 4px;

        font-size: 8px;
        line-height: 1.5;

        color: rgba(255,255,255,0.92);

        text-transform: uppercase;
        letter-spacing: 0.8px;
    }

    .logo-escola {
        position: static;

        display: block;

        width: 76px;
        height: 76px;

        margin-top: 8px;

        background: #fff;

        padding: 5px;

        border-radius: 10px;

        object-fit: cover;

        box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    }

    /* ───────── MENU ───────── */

    .menu {
        position: relative;

        overflow: visible;
    }

    .menu-container {
        position: relative;

        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 60px;
    }

    .menu-mobile {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;

        padding: 14px 0;

        font-size: 32px;

        color: #fff;

        cursor: pointer;

        user-select: none;
    }

    .menu-links {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: var(--verde-escuro);

        flex-direction: column;

        border-top: 2px solid var(--amarelo);

        z-index: 999;

        box-shadow: 0 6px 18px rgba(0,0,0,0.28);
    }

    .menu-links.ativo {
        display: flex;
    }

    .menu-links li {
        width: 100%;

        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .menu-links a {
        display: block;

        width: 100%;

        padding: 16px 22px;

        font-size: 13px;
        font-weight: 700;

        color: #fff;

        text-align: left;

        white-space: normal;
    }

    .menu-links a:hover,
    .menu-links a.ativo {
        color: var(--amarelo);
        background: rgba(255,255,255,0.03);
    }
}

/* ============================================================
   MOBILE PEQUENO
   ============================================================ */

@media (max-width: 480px) {

    .cabecalho-topo {
        padding: 16px 12px 22px;
    }

    .logo-jornal {
        height: 80px;
    }

    .titulo-jornal h1 {
        font-size: 18px;
    }

    .titulo-jornal p {
        font-size: 7px;
    }

    .logo-escola {
        width: 70px;
        height: 70px;
    }

    .menu-mobile {
        font-size: 30px;
    }

    .menu-links a {
        padding: 15px 20px;
        font-size: 12px;
    }
}