:root {
    --main-color :#073362;
    --blue: #007bff;
    --yellow: #ffc107;
    --orange: #28a745fd7e14;
    --green: #3e3277;
    --white: #fff;
    --border: 0.2rem solid rgba(255,255,255,0.3);
    font-size: 10px;
}

/* Reset de estilo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s linear;
    list-style-type: none;
}
body {
    background-color: var(--white);
}
section{
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}


.header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;

}
.logo img {
    width: 10vh;
}
.navbar a {
    margin: 0 1rem;
    font-size: 1.8rem;
    color: #6958c9;
}
.navbar a:hover{
    color: #3e3277;
    border-bottom: 0.1rem solid var(--main-color);
    padding-bottom: 0.5rem;
    font-size: 2rem;
}
.search-box{
    background-color: #ffffff;
    height: 25px;
    border-radius: 40px;
}
.search-box .search-text{
    position: relative;
    margin-top: 0rem;
    border-radius: 20px;
    
}
.search-box .blue{
    margin-top: 0rem;
    cursor: pointer;

}


.search-box .blue:hover {
    width: 23px;
    height: 23px;
}
.btn {
    background: #6958c9;
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;

}
.btn:hover {
    letter-spacing: 0.1rem;
}
.home-container{
    background: url("images/img_principal.jpg");
    background-position: center;
    background-size: cover;
    padding: 170px;
}
.home-container section {
    display: flex;
    align-items: center;
}
.content{
    max-width: 60rem;
}
.content h3 {
    color: #3e3277;
    font-size: 5em;
}
.content p {
    color: var(--blue);
    font-size: 2rem;  
    font-weight: 100;
    line-height: 1.8;
    padding: 1rem 0;

}
.title {
    font-size: 4rem;
    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;

}

.about .row {
    display: flex;
    align-items: center;
    background-color: #c3bbe9;
    gap: 1rem;
    width: 1100px;
    height: auto;
    margin: 0 auto; /* Centraliza horizontalmente */
    justify-content: center;   
}
.about .row .content {
    padding: 2rem;
    max-width: 90%;
    max-height: 90%;
}
.about .row .content h3 {
    font-size: 3rem;
    color: #3e3277;
    text-align: center;
  
}
.about .row .content p {
    font-size: 1.6rem;
    color: #000;
    padding: 0.1rem ;
    line-height: 1.4;
    height: 100%;
    margin: 0;

    display: flex;
    justify-content: left;
    text-align: justify;

    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    
}

.interface {
    max-width: 1280px;
    
    margin: 0 auto;

}

footer {
    background-color: #3e3277;
    color: #fff;
    padding: 0px;

}

footer .line-footer1 {
    text-align: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 30px;
}

.line-footer1 h2 {
    font-size: 2.5rem;
}

.line-footer1 p {
    font-size: 1.5rem;
    margin: 0px 0 20px 0;
}
.line-footer1 form {
    display: flex;
    align-items: center;
    justify-content: center;
}
.line-footer1 form input[type=email]{
    width: 200px;
    height: 5px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px;
    outline: 0;
    border-radius: 0.5rem;
}

.line-footer1 form input[type=submit]{
    width: 80px;
    right: 80px;
    background-color: #fd7e14;
    border: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: .2s;
}

.line-footer1 form input[type=submit]:hover{
    background-color: #fff;
    color: #ffc107;
    

}

footer .line-footer2 {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
}

footer .line-footer2 .box-line-footer {
    max-width: calc(100% / 5);
}
footer .box-line-footer img {
    max-width: 80px;
    margin-bottom: 10px;
}

footer .box-line-footer p {
    font-size: 1.5rem;
}

.line-footer2 .box-line-footer h3 {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 2rem;

}

.line-footer2 .box-line-footer a {
    color: #fff;
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
    font-size: 1.5rem;
}
.box-line-footer .btn-redes a {
    display: inline;
}

.box-line-footer .btn-redes button {
    width: 35px;
    right: 35px;
    border-radius: 50%;
    font-size: 2.5rem;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
    transition: .2s;
}

.box-line-footer .btn-redes button:hover {
    background-color: #fd7e14;
    border-color: #fd7e14;
}
footer .line-footer3 {
    padding-top: 10px;
    text-align: center;
    font-size: 1.5rem;
    padding-bottom: 10px;
}
/* ========== RESPONSIVIDADE - Telas até 1100px ========== */
@media (max-width: 1100px) {
    /* Menu navegação */
    header nav ul {
      flex-direction: column;
      gap: 10px;
      background-color: #3e3277; /* Mantém o menu bonito */
      padding: 10px 0;
    }
  
    /* Artigos */
    .article-list article, 
    .article {
      width: 100%;
      margin: 10px 0;
    }
  
    /* Seção Sobre */
    .about .row {
      flex-direction: column;
      width: 100%;
      padding: 2rem;
    }
  
    /* Textos principais */
    .content h3 {
      font-size: 3rem;
      text-align: center;
    }
  
    .content p {
      font-size: 1.6rem;
      text-align: justify;
    }
  
    /* Vídeos */
    video {
      max-width: 100%;
      height: auto;
    }
  
    /* Rodapé adaptado */
    footer .line-footer2 {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    footer .line-footer2 .box-line-footer {
      max-width: 100%;
      margin-bottom: 20px;
    }
  }
  /* ========== MENU HAMBURGUER PARA MOBILE ========== */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

/* Modo normal: menu visível */
#menu {
    display: flex;
}

/* Quando for tela menor */
@media (max-width: 1100px) {
    .menu-toggle {
        display: block;
    }

    #menu {
        display: none;
        flex-direction: column;
        background-color: #3e3277;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 10px;
        border-radius: 0 0 0 10px;
    }

    #menu.active {
        display: flex;
    }

    #menu li {
        margin: 10px 0;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .navbar a {
        display: block;
        margin: 10px 0;
        font-size: 1.5rem;
    }

    .home-container {
        padding: 80px 20px;
    }

    .about .row {
        width: 100%;
        flex-direction: column;
    }

    footer .line-footer2 .box-line-footer {
        width: 100%;
        margin-bottom: 20px;
    }

    .content h3 {
        font-size: 2.5rem;
    }

    .content p {
        font-size: 1.4rem;
    }
}
@media (max-width: 768px) {
    .search-box {
        display: none; /* Esconde a caixa de pesquisa no mobile */
    }
}
/* Titulo do artigo e botão de baixar */
@media (max-width: 768px) {
    .home-container {
        padding: 60px 20px;
        display: flex;
        justify-content: flex-start;  /* Alinha à esquerda */
        align-items: flex-start;      /* Cola no topo */
    }

    .content {
        text-align: left;
    }

    .content h3 {
        font-size: 2.2rem;/* 2.2rem */
        line-height: 1.3;
        position: relative;
        z-index: 2;
    }
    /* Estilo para o título específico com fundo branco transparente */
    .titulo-especifico {
        position: relative; /* Necessário para o pseudo-elemento ser posicionado corretamente */
    }

    /* Camada de sobreposição atrás do título */
    .titulo-especifico::before {
        content: ''; /* Cria um pseudo-elemento */
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.6); /* Cor branca com transparência */
        z-index: -1; /* Garante que o fundo fique atrás do texto */
    }


    .btn {
        padding: 0.8rem 2rem;
        font-size: 1.5rem;
    }

}