/* ==================================================
   RESET
   ================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #08090e;
    color: #f3f0ea;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}


/* ==================================================
   CABEÇALHO / NAVBAR
   ================================================== */

.cabecalho {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background-color: #08090e;

    border-bottom: 1px solid #171820;

    position: relative;
    z-index: 10;
}


/* Logo */

/* Logo */

.cabecalho .logo {
    display: flex;
    align-items: center;
    gap: 0;

    font-family: Georgia, serif;
    font-size: 22px;

    white-space: nowrap;
}

.cabecalho .logo-rota {
    color: white;
    font-size: 22px;
}

.cabecalho .logo-mundi {
    color: #f47b35;
    font-size: 22px;
}

.cabecalho .logo-icone {
    color: #f47b35;
    font-size: 25px;
    display: flex;
    align-items: center;
}

.cabecalho .logo-icone img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;

    filter: invert(54%) sepia(91%) saturate(1900%) hue-rotate(340deg) brightness(101%) contrast(96%);
}


/* Menu */

.menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu a {
    color: #777982;

    font-size: 12px;
    font-weight: 600;

    transition: 0.3s;
}

.menu a {
    color: #777982;

    font-size: 14px;
    font-weight: normal;

    transition: 0.3s;
}

.menu a.ativo {
    color: #f47b35;
}


/* Ações */

.acoes {
    display: flex;
    align-items: center;
    gap: 20px;
}

.entrar {
    color: #8b8c94;

    font-size: 14px;
    font-weight: normal;

    transition: 0.3s;
}

.entrar:hover {
    color: #f3f0ea;
}

.botao-planejar {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    background-color: #f47b35;
    color: #08090e;

    border-radius: 30px;

    font-size: 14px;
    font-weight: bold;

    transition: 0.3s;
}

.botao-planejar:hover {
    transform: translateY(-2px);
    background-color: #ff8b47;
}


/* ==================================================
   HERO / CABEÇALHO DO BLOG
   ================================================== */

.hero-blog {
    min-height: 310px;

    background-color: #0d0e15;

    padding: 64px 12% 44px;

    display: flex;
    align-items: center;
}

.conteudo-hero-blog {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* Título */

.titulo-blog {
    margin-bottom: 28px;
}

.pequeno-titulo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #f47b35;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 13px;
}

.pequeno-titulo::before {
    content: "";

    width: 28px;
    height: 2px;

    background-color: #f47b35;
}

.titulo-blog h1 {
    font-family: Georgia, serif;

    font-size: 58px;
    line-height: 0.95;

    letter-spacing: -2px;
}

.titulo-blog h1 span {
    color: #f47b35;

    font-style: italic;
    font-weight: normal;
}


/* ==================================================
   FILTROS
   ================================================== */

.filtros-blog {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* Categorias */

.categorias {
    display: flex;
    align-items: center;
    gap: 9px;

    flex-wrap: wrap;
}

.categoria {
    border: 1px solid #292b34;

    background-color: #171820;
    color: #777982;

    border-radius: 30px;

    padding: 9px 15px;

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.categoria:hover {
    border-color: #f47b35;
    color: #f3f0ea;
}

.categoria.ativa {
    background-color: #f47b35;
    border-color: #f47b35;

    color: #08090e;
}


/* Busca */

.busca {
    width: 275px;
    height: 41px;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    padding: 0 15px;

    background-color: #181920;

    border: 1px solid #2a2b33;

    border-radius: 30px;
}

.icone-busca {
    color: #686a73;

    font-size: 17px;

    margin-right: 8px;
}

.busca input {
    width: 100%;

    background: transparent;
    border: none;
    outline: none;

    color: #f3f0ea;

    font-size: 11px;
}

.busca input::placeholder {
    color: #777982;
}


/* ==================================================
   ARTIGOS
   ================================================== */

.artigos {
    padding: 35px 12% 75px;

    background-color: #08090e;
}

.grade-artigos {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 17px;
}


/* ==================================================
   ARTIGO EM DESTAQUE
   ================================================== */

.artigo-destaque {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns: 1.08fr 0.92fr;

    min-height: 292px;

    overflow: hidden;

    background-color: #101118;

    border: 1px solid #242630;

    border-radius: 15px;

    transition: 0.3s;
}

.artigo-destaque:hover {
    border-color: #383a45;
}


/* Imagem */

.imagem-destaque {
    position: relative;

    min-height: 292px;

    overflow: hidden;
}

.imagem-destaque img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: 0.5s;
}

.artigo-destaque:hover .imagem-destaque img {
    transform: scale(1.03);
}


/* Escurecimento lateral da imagem */

.imagem-destaque::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 35%;

    background: linear-gradient(
        to right,
        transparent,
        rgba(16, 17, 24, 0.9)
    );

    pointer-events: none;
}


/* Categoria da imagem */

.categoria-artigo {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 2;

    padding: 6px 10px;

    background-color: #f47b35;
    color: #08090e;

    border-radius: 15px;

    font-size: 9px;
    font-weight: bold;
}


/* ==================================================
   CONTEÚDO DO DESTAQUE
   ================================================== */

.conteudo-destaque {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 35px 38px;
}


/* Tag */

.tag-destaque {
    width: fit-content;

    padding: 6px 10px;

    margin-bottom: 13px;

    border: 1px solid #5c351f;

    border-radius: 20px;

    color: #f47b35;

    font-size: 9px;
    font-weight: bold;
}


/* Título */

.conteudo-destaque h2 {
    font-family: Georgia, serif;

    font-size: 28px;
    line-height: 1.1;

    margin-bottom: 14px;
}

.conteudo-destaque > p {
    color: #85868d;

    font-size: 11px;
    line-height: 1.65;

    max-width: 450px;
}


/* ==================================================
   CARDS DOS ARTIGOS
   ================================================== */

.card-artigo {
    overflow: hidden;

    background-color: #101118;

    border: 1px solid #242630;

    border-radius: 15px;

    transition: 0.3s;
}

.card-artigo:hover {
    border-color: #3b3d47;

    transform: translateY(-3px);
}


/* Imagem */

.imagem-artigo {
    height: 172px;

    position: relative;

    overflow: hidden;
}

.imagem-artigo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: 0.5s;
}

.card-artigo:hover .imagem-artigo img {
    transform: scale(1.04);
}


/* Categoria */

.imagem-artigo .categoria-artigo {
    top: 13px;
    left: 13px;

    background-color: rgba(8, 9, 14, 0.65);

    color: #f47b35;

    border: 1px solid rgba(244, 123, 53, 0.3);
}


/* ==================================================
   CONTEÚDO DOS CARDS
   ================================================== */

.conteudo-artigo {
    padding: 17px 17px 16px;
}

.conteudo-artigo h3 {
    font-family: Georgia, serif;

    font-size: 16px;
    line-height: 1.25;

    margin-bottom: 10px;

    color: #f3f0ea;
}

.conteudo-artigo h3.titulo-laranja {
    color: #f47b35;
}

.conteudo-artigo > p {
    color: #777982;

    font-size: 10px;
    line-height: 1.6;

    min-height: 48px;
}


/* ==================================================
   INFORMAÇÕES DOS ARTIGOS
   ================================================== */

.informacoes-artigo {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid #242630;
}


/* Autor */

.autor {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 0;
}

.avatar {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #2b1b14;

    border-radius: 50%;

    color: #f47b35;

    font-size: 8px;
    font-weight: bold;
}

.autor strong {
    color: #777982;

    font-size: 9px;
    font-weight: normal;
}


/* Autor com data */

.autor div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.autor div strong {
    color: #b5b5ba;
}

.autor small {
    color: #65666d;

    font-size: 8px;
}


/* Tempo */

.tempo {
    display: flex;
    align-items: center;
    gap: 4px;

    color: #6d6e76;

    font-size: 9px;

    white-space: nowrap;
}


/* ==================================================
   NEWSLETTER
   ================================================== */

.newsletter {
    padding: 0 12% 35px;

    background-color: #08090e;
}

.conteudo-newsletter {
    max-width: 1100px;

    min-height: 120px;

    margin: 0 auto;

    padding: 25px 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background-color: #101118;

    border: 1px solid #242630;

    border-radius: 15px;
}


/* Texto */

.conteudo-newsletter h2 {
    font-family: Georgia, serif;

    font-size: 21px;

    margin-bottom: 8px;
}

.conteudo-newsletter p {
    color: #777982;

    font-size: 10px;
}


/* Formulário */

.form-newsletter {
    width: 270px;
    height: 40px;

    display: flex;

    overflow: hidden;

    background-color: #171820;

    border: 1px solid #2a2b33;

    border-radius: 25px;
}

.form-newsletter input {
    flex: 1;

    min-width: 0;

    padding: 0 15px;

    background: transparent;

    border: none;
    outline: none;

    color: #f3f0ea;

    font-size: 10px;
}

.form-newsletter input::placeholder {
    color: #777982;
}

.form-newsletter button {
    width: 75px;

    border: none;

    background-color: #f47b35;
    color: #08090e;

    font-size: 10px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.form-newsletter button:hover {
    background-color: #ff8b47;
}


/* ==================================================
   RODAPÉ
   ================================================== */

.rodape {
    padding: 48px 12px 50px;

    background-color: #08090e;

    border-top: 1px solid #171820;
}

.conteudo-rodape {
    max-width: 1100px;

    margin: 0 auto;

    padding: 0 0;

    display: grid;

    grid-template-columns: 1.7fr 1fr 1fr 1fr;

    gap: 70px;
}


/* Colunas */

.coluna-rodape {
    display: flex;
    flex-direction: column;
}

.coluna-rodape h3 {
    color: #f3f0ea;

    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.7px;

    margin-bottom: 20px;
}

.coluna-rodape > a:not(.logo) {
    color: #686970;

    font-size: 10px;

    margin-bottom: 14px;

    transition: 0.3s;
}

.coluna-rodape > a:not(.logo):hover {
    color: #f47b35;
}


/* Marca */

.marca-rodape .logo {
    margin-bottom: 17px;
}

.marca-rodape > p {
    max-width: 230px;

    color: #777982;

    font-size: 10px;
    line-height: 1.65;

    margin-bottom: 20px;
}


/* Redes sociais */

.redes-sociais {
    display: flex;
    gap: 16px;
}

.redes-sociais a {
    color: #777982;

    font-size: 9px;

    transition: 0.3s;
}

.redes-sociais a:hover {
    color: #f47b35;
}


/* ==================================================
   RESPONSIVIDADE
   ================================================== */

@media (max-width: 1000px) {

    .cabecalho {
        padding: 0 5%;
    }

    .menu {
        gap: 20px;
    }

    .hero-blog {
        padding-left: 7%;
        padding-right: 7%;
    }

    .artigos {
        padding-left: 7%;
        padding-right: 7%;
    }

    .newsletter {
        padding-left: 7%;
        padding-right: 7%;
    }

    .grade-artigos {
        grid-template-columns: repeat(2, 1fr);
    }

    .artigo-destaque {
        grid-column: 1 / -1;
    }

    .conteudo-rodape {
        padding: 0 7%;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 35px;
    }

}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 800px) {

    .cabecalho {
        height: 72px;
    }

    .menu {
        gap: 14px;
    }

    .menu a {
        font-size: 10px;
    }

    .acoes {
        gap: 10px;
    }

    .entrar {
        display: none;
    }

    .botao-planejar {
        padding: 10px 15px;
    }


    .hero-blog {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .filtros-blog {
        align-items: flex-start;
        flex-direction: column;
    }

    .busca {
        width: 100%;
        max-width: 350px;
    }


    .artigo-destaque {
        grid-template-columns: 1fr;
    }

    .imagem-destaque {
        min-height: 250px;
    }

    .imagem-destaque::after {
        display: none;
    }

    .conteudo-destaque {
        padding: 25px;
    }


    .conteudo-newsletter {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-newsletter {
        width: 100%;
        max-width: 350px;
    }


    .conteudo-rodape {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .marca-rodape {
        grid-column: 1 / -1;
    }

}


/* ==================================================
   CELULAR
   ================================================== */

@media (max-width: 600px) {

    .cabecalho {
        height: auto;

        padding: 18px 5%;

        flex-wrap: wrap;

        gap: 18px;
    }

    .logo {
        font-size: 17px;
    }

    .menu {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 18px;
    }

    .menu a {
        font-size: 10px;
    }

    .acoes {
        margin-left: auto;
    }

    .botao-planejar {
        padding: 9px 13px;

        font-size: 10px;
    }


    /* Hero */

    .hero-blog {
        padding: 50px 5% 40px;
    }

    .titulo-blog h1 {
        font-size: 46px;
    }

    .titulo-blog {
        margin-bottom: 25px;
    }

    .categorias {
        gap: 7px;
    }

    .categoria {
        padding: 8px 12px;
    }


    /* Artigos */

    .artigos {
        padding: 25px 5% 60px;
    }

    .grade-artigos {
        grid-template-columns: 1fr;
    }

    .artigo-destaque {
        grid-column: 1;
    }

    .imagem-destaque {
        height: 220px;
        min-height: 220px;
    }

    .conteudo-destaque h2 {
        font-size: 24px;
    }

    .conteudo-destaque {
        padding: 23px;
    }

    .imagem-artigo {
        height: 200px;
    }


    /* Newsletter */

    .newsletter {
        padding: 0 5% 30px;
    }

    .conteudo-newsletter {
        padding: 25px;
    }

    .conteudo-newsletter h2 {
        font-size: 19px;
    }


    /* Rodapé */

    .rodape {
        padding: 40px 5%;
    }

    .conteudo-rodape {
        padding: 0;

        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;
    }

    .marca-rodape {
        grid-column: 1 / -1;
    }

}


/* ==================================================
   CELULAR PEQUENO
   ================================================== */

@media (max-width: 400px) {

    .menu {
        gap: 11px;
    }

    .menu a {
        font-size: 9px;
    }

    .botao-planejar {
        padding: 8px 11px;
    }

    .titulo-blog h1 {
        font-size: 40px;
    }

    .conteudo-destaque h2 {
        font-size: 21px;
    }

    .conteudo-newsletter {
        padding: 20px;
    }

}