@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* inicio css reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 
/* Fim css reset */
:root {
  --cor-principal: #0A113F;
  --cor-fundo-clara: #FFFAFA;
  --cor-destaque: #92FF00;
  --fonte-poppins: "Poppins", sans-serif;
}
/* Inicio config fixa */
body{
    background-image: url("../imagens/background-patrocinio.png");
    background-size: cover;   /* Faz preencher a tela */
    background-position: center; /* Centraliza */
    background-repeat: no-repeat; /* Não repete */
    font-family: var(--fonte-poppins);
    font-weight: 500;
    font-style: normal;
}
/* Fim config fixa */


/* Inicio estilo header/ Cabeçalho */
#cabecalho{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 120px;
    background-color: var(--cor-principal);
}

#verde{
    color: #8AF101;
}

#logo{
    margin-left: 50px;
    width: 85px;
}

#title_logo{
    margin: 25px;
    font-size: 46px;
    color: whitesmoke;
    width: 30px;
    font-weight: 700;
    font-family: var(--fonte-poppins);
}


#nav1, #nav2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;

    & a:hover{
        color: var(--cor-destaque);
    }
}

#nav1 {
    position: relative;
    float: left;
    margin-left: 10%;
    margin-right: 20%;

    & a{
        margin-right:20px;
        margin-left: 20px;
        color:#FFFAFA;
        text-decoration: none;
        font-size: 25px;
        font-weight: 700;
        transition: 0.3s;

    }
}

#nav2{
    position: relative;
    float: left;
    
    padding-left: 0px; /*empurra o login e cadastro para a direita*/

    & a{
        color: #FFFAFA;
        text-decoration: none;
        font-size: 25px;
        font-weight: 700;

    }
}

    
#login a {
    position: relative;
    margin-right: 20px;
    text-align: center;
    display: inline;
    height: 40px;

    /*formato botão*/
    border: 1px solid white;
    border-radius: 50px;
    padding: 7px 15px;
    color: #FFFAFA;
    background: transparent;
}

.texto-reduzido {
        display: none !important; /* Esconde "ENTRAR" por padrão */
}

#cadastro a{
    position: relative;
    margin-right: 20px;
    text-align: center;
    display: inline;
    height: 40px;
    transition: all 0.3s ease;
    
    /*formato botão*/
    border: 1px solid white;
    border-radius: 50px;
    padding: 7px 15px;
    color: var(--cor-principal);
    background: var(--cor-destaque);
}

#cadastro a:hover{
    box-shadow: var(--cor-destaque);
    color: var(--cor-principal);
    transform: translateY(-2px);
}

/* Começo dos estilos da página de correção da redação */

main {
    border: 0;
    padding: 0;
    margin: 0;
}

#info-da-section {
    
    position: relative;
    margin-top: 20px;
    color: #0A113F;
    margin-left: 80px;

}

#section-principal {
    position: relative;
    border-radius: 40px;
    width: 96%;
    height: 800px;
    background-color: #EDEDED;
    border: solid 1px #878787;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 17px 20px #c0c0c0;
}

/*Começo da estilização do primeiro quadro (o da esquerda)*/

#composition-section {
    position: relative;
    background-color: #fff;
    width: 30%;
    height: 650px;
    border-radius: 30px;
    border: solid 1px #ccc;
    margin-top: 50px;
    margin-left: 90px;
    margin-bottom: 60px;
    float: left;
}

#nav-composition {
    position: relative;
    font-size: 21px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 60px;
}

#nav-composition h3 {
    margin-left: 20px;
}

#nav-composition select,
#nav-composition .button-background {
  height: 40px;
}

#nav-composition .button-background {
  margin: 0;             
  display: inline-flex;  
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  margin-left: 20px;
}

#nav-composition .button-background svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

nav h3 {
    color: #0A113F;
}

#linha {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #8B8383;
}

.button-background {
    position: relative;
    border: none;
    border-radius: 10px;
    color: #8B8383;
    background: none;
    margin: 0;             
    display: inline-flex;  
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.button-background:hover {
    color: #0A113F;
    background-color: #F6F5F5;
}

#botao-documento {
    position: relative;
    margin-left: 20px;
    width: 170px;
    height: 40px;
}

#botao-copiar {
    width: 100px;
    height: 40px;
    margin-right: 20px;
}

#text-composition {
    position: relative;
    resize: none;
    font-size: large;
    font-family: "Poppins", sans-serif;
    width: 100%;
    height: 586px;
    align-items: baseline;
    border: none;
    padding-top: 15px;
    padding-left: 13px;
    padding-right: 13px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

#text-composition::placeholder {
    position: relative;
    color: #333;
}



/*Fim da estilização do primeiro quadro (o da esquerda)*/

/*Começo da estilização do Segundo quadro (o da direita)*/

#response-section {
    position: relative;
    background-color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: large;
    width: 60%;
    height: 650px;
    border-radius: 30px;
    border: solid 1px #ccc;
    margin-top: 50px;
    margin-left: 10px;
    margin-bottom: 60px;
    float: left;
}

#response-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 60px;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.response-box {
    padding: 15px;
    padding-left: 50px;
    background-color: #fff;
    border-radius: 0px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: left;
    overflow-y: scroll;
    overflow: auto;
    color: #333;
    max-height: 589px;
    width: 100%;
}

#container-botoes {
    width: 100%;
    margin-top: 13px;
    display: flex;
    justify-content: space-between;
}

#deleteButton {
    position: relative;
    width: 28%;
    height: 50px;
    font-size: large;
    background-color: #C5D7FF;
    border-radius: 30px;
    display: inline-flex;  
    align-items: center;
    gap: 0px;
    padding: 0 30px;
    border: none;
    float: left;
}

#deleteButton:hover {
    background-color: #FF6347;
    color: #0A113F;
}

#deleteButton svg {
    margin-right: 5px;
}

#sendButton {
    position: relative;
    width: 28%;
    height: 50px;
    font-size: large;
    border-radius: 30px;
    background-color: #dfdfdf;
    border: none ;
    float: left;
}

#sendButton:hover {
    background-color: #0A113F;
    color: #fff;
}


/*Fim da estilização do Segundo quadro (o da direita)*/

   /* Inicio Seção Rodapé Footer Geral*/
.footer {
    background-color: var(--cor-principal);
    color: var(--cor-fundo-clara);
    padding: 30px 50px;
}

/* ----- Container Principal ----- */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ----- Cada coluna do footer ----- */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    font-size: 25px;
}

/* ----- Logo ----- */
.logo {
    display: flex;
    align-items: center;
    font-size: 35px;
    margin: 0;
}

.logo-img {
    height: 40px;
}

/* ----- Títulos das seções ----- */
.footer-title {
    margin: 15px 0 8px;
    font-weight: bold;
}

/* ----- Redes Sociais ----- */
.social-icons {
    display: flex;
    gap: 12px;
    font-size: 40px;
}

.social-icons a {
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--cor-destaque);
}

/* ----- Listas ----- */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 6px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--cor-destaque);
}

/* ----- Parte de baixo ----- */
.footer-bottom {
    margin-top: 30px;
    font-size: 20px;
    line-height: 1.6;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--cor-destaque);
}
/* ADICIONAR ESTAS REGRAS NO FINAL DO ARQUIVO CSS EXISTENTE PARA SUBSTITUIR AS REGRAS DO HEADER E FOOTER */

/* ===== HEADER / CABEÇALHO - ATUALIZADO PARA FICAR IGUAL AO PATROCINADORES ===== */
#nav1 {
    flex-grow: 1;
    justify-content: center;
    margin: 0 clamp(10px, 2vw, 20px);
    gap: clamp(15px, 2vw, 30px);
    flex-wrap: wrap;
}

#nav1 a {
    font-size: clamp(18px, 2.2vw, 25px);
    white-space: nowrap;
}

#nav2 {
    gap: clamp(10px, 1.5vw, 20px);
    flex-shrink: 0;
}

#nav2 ul {
    display: flex;
    gap: clamp(10px, 1.5vw, 20px);
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

#cadastro a {
    font-size: clamp(16px, 2vw, 25px);
    padding: clamp(5px, 1vw, 7px) clamp(10px, 1.5vw, 15px);
    white-space: nowrap;
    border: 1px solid white;
    border-radius: 50px;
    color: var(--cor-principal);
    background: var(--cor-destaque);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    min-height: 40px;
    transition: all 0.3s ease;
}

#cabecalho {
    flex-wrap: wrap;
    padding: 0 clamp(20px, 3vw, 50px);
    justify-content: space-between;
    align-items: center;
}

/* ===== FOOTER ATUALIZADO PARA FICAR IGUAL AO PATROCINADORES ===== */
.footer {
    background-color: var(--cor-principal);
    color: var(--cor-fundo-clara);
    padding: 30px 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    font-size: 25px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 35px;
    margin: 0;
    width: 85px;
}

.logo-img {
    height: 40px;
    width: 85px;
}

.destaque3 {
    color: var(--cor-destaque);
}

.footer-title {
    margin: 15px 0 8px;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 12px;
    font-size: 40px;
}

.social-icons a {
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--cor-destaque);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 6px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--cor-destaque);
}

.footer-bottom {
    margin-top: 30px;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--cor-destaque);
}

/*Botão Acessibilidade*/
.leitor-controles {
    width: 120px;
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    position: fixed;
    bottom: 80px;
    font-family: var(--fonte-poppins);
    right: 22px;
}

.leitor-controles.ativo {
    display: flex;
}

.leitor-btn {
    background: #555;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

.leitor-btn:hover {
    background: #333;
}

.leitor-toggle {
    background: #0056b3;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    font-family: var(--fonte-poppins);
    right: 20px;
}


/* ===== RESPONSIVIDADE - APENAS HEADER E FOOTER ===== */

/* Tablets grandes e desktops pequenos - até 1400px */
@media (max-width: 1400px) {
    #title_logo {
        display: none;
    }
    
    .logo-container {
        margin-left: 5px;
    }
    
    #logo {
        margin-right: 0;
        width: 85px;
    }
    
    #nav1 {
        margin-left: 15px;
    }
}

@media (max-width: 1200px) {
    #cabecalho {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 1100px) {
    .texto-completo {
        display: none !important;
    }
    
    .texto-reduzido {
        display: inline !important;
    }

    #cadastro a:hover {
        background-color: rgba(138, 241, 1, 0.8);
        box-shadow: 0 5px 15px rgba(138, 241, 1, 0.3);
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    #cabecalho {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .logo-container {
        margin: 0 0 15px 0;
    }
    
    #nav1 {
        margin: 0 0 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #nav2 {
        margin: 0;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Desktop grande - até 1800px */
@media (max-width: 1800px) {
    #title_logo {
        display: none;
    }
}

/* Desktop médio - até 1540px */
@media (max-width: 1540px) {
    .texto-completo {
        display: none !important;
    }
    
    .texto-reduzido {
        display: inline !important;
    }
}


/* ===== RESPONSIVOS ADICIONAIS PARA DESKTOP GRANDE ===== */
@media (min-width: 1500px) {
    #principal {
        padding: 60px 80px;
        gap: 60px;
    }
    
    .paragrafo {
        font-size: 22px;
    }
    
    #logo {
        width: 85px;
    }
    
    #title_logo {
        font-size: 46px;
        font-weight: 700px;
    }
    
    .patrocinadores {
        padding: 80px 0px;
    }
    
    .patrocinadores h2 {
        font-size: 36px;
    }
    
    #imagem-principal img {
        width: 100%;
        max-height: 1000px;
    }
}