/* CSS PAGINA PADRAO */

/* Aplicação geral do box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container principal da página */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    width: 100%;
    padding: 0 15px; /* Espaçamento interno para evitar colar nas laterais */
    margin: 0 auto;
}

body {
    margin: 0 auto;
    font-family: Arial, sans-serif;
    background-color: #f2f1ec;
    color: #222;
    overflow-x: hidden; /* Remove a barra de rolagem horizontal */
}

/* CSS MENU */

/* Faixa de Navegação */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #001447;
    padding: 15px 20px; /* Espaçamento interno */
    margin: 0 auto; /* Centraliza a barra */
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

/* Logo */
.logomenu {
    width: 50px;
    height: 50px;
    border-radius: 15px;
}

/* Estilo do botão */
.btn2 {
    background-color: #c1ff72;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #001447;
    width: 130px; /* Define a largura fixa */
    text-align: center;
    border-radius: 15px;
    text-decoration: none; /* Remove sublinhado padrão */
    display: inline-flex; /* Garante alinhamento de texto e flecha */
    align-items: center; /* Centraliza verticalmente texto e flecha */
    justify-content: center; /* Centraliza horizontalmente o conteúdo */
}

/* Remover sublinhado em todos os estados */
.btn2:link,
.btn2:visited,
.btn2:hover,
.btn2:active {
    text-decoration: none;
}

/* Efeito hover no botão */
.btn2:hover {
    background-color: #b5ff53;
}

/* Estilo da flecha */
.btn2 .arrow {
    margin-left: 8px; /* Espaço fixo entre o texto e a flecha */
    font-weight: bold; /* Garante peso consistente */
    position: relative; /* Necessário para aplicar movimento */
    transition: transform 0.3s ease; /* Transição suave ao usar transform */
}

/* Movimento da flecha no hover */
.btn2:hover .arrow {
    transform: translateX(4px); /* Move a flecha 4px para a direita */
}

/* CSS CORPO */

/* Logo */
.logopage {
    width: 250px;
    height: 250px;
    margin-top: -60px;
    margin-bottom: -80px;
}

/* Texto topo */
.top-info p {
    font-size: 24px;
    color: #001447;
    font-weight: bold;
    margin-bottom: 40px;
    align-items: center;
    text-align: center;
}

/* Formulário de Inscrição */
form {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    border: 3px solid #c1ff72;
    padding: 2px;
    background-color: #f7f7f7;
    width: 100%;
    height: 50px;
}

.input-group-text {
    background-color: #f7f7f7;
    margin-left: 10px;
    border: none;
    font-size: 25px;
    color: #c1ff72;
}

input[type="email"] {
    flex: 1;
    padding-left: 10px;
    border: none;
    font-size: 16px;
    color: #333;
    background-color: #f7f7f7;
    outline: none;
}

input[type="email"]::placeholder {
    text-align: center;
    color: #767676;
}

.btn {
    background-color: #c1ff72;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.6s ease, transform 0.6s ease; /* Transição suave para a transformação */
    color: #001447;
    width: 100%; /* Mantém a largura fixa */
    text-align: center;
}

.btn:hover {
    color: #001447;
    background-color: #b5ff53;
}

/* Container geral para informações de mercado */
.market-info {
    max-width: 700px;
    margin: 0% auto;
    font-family: Arial, sans-serif;
}

.market-info .row {
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px 0; 
    width: 100%;
}

.market-info .col {
    flex: 1;
    padding: 5px;
    text-align: center;
    border-right: 1px solid #ddd;
}

.market-info .col:last-child {
    border-right: none;
}

.market-info strong {
    font-weight: bold;
    font-size: 12px;
    color: #222;
}

.market-info p {
    margin: 5px 0;
    font-size: 12px;
    color: #444;
}

.market-info span {
    font-size: 12px;
}

.market-info .positive {
    color: green;
}

.market-info .negative {
    color: red;
}

/* Curiosidade do Dia */
.curiosity {
    background-color: #f9f9f9;
    padding: 15px 20px; /* Adiciona espaçamento interno */
    margin: 20px auto; /* Centraliza e adiciona espaçamento externo */
    margin-bottom: 20px;
    border-radius: 15px;
    color: #666;
    font-size: 14px;
    max-width: 700px;
}

.curiosity h4 {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.curiosity p {
    font-style: italic;
    font-size: 14px;
    text-align: center;
}

/* Redes Sociais */
.social-icons {
    display: flex;
    justify-content: center; 
    gap: 15px;
}

.social-icons a {
    color: #222;
    text-decoration: none;
    font-size: 24px;
}

.social-icons a:hover {
    color: #497650;
}


/* Estilos para o banner de privacidade */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    display: none; /* Inicialmente escondido */
    z-index: 1000;
}

.cookie-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.cookie-banner button:hover {
    background-color: #45a049;
}

.cookie-banner a {
    color: #f1c40f;
    text-decoration: underline;
    margin-left: 10px;
}