@charset "utf-8";
/* CSS Document */
/* Carregando o arquivo da fonte local */
@font-face {
    font-family: 'MinhaFonteDax'; /* Dê o nome que preferir aqui */
    src: url('fonts/DaxCondensed-Medium.otf') format('opentype'); /* Caminho para o arquivo */
    font-weight: normal;
    font-style: normal;
}

/* Reset Básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    font-family: 'Open Sans', Arial, sans-serif;
    height: 100%;
    overflow-x: hidden;
    color: #000000;
    
    /* Configuração da Imagem de Fundo */
    background-color: #ffffff;
    background-image: url('imgs/fundo.png'); /* Nome do ficheiro em anexo */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
}

/* Cabeçalho Superior */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
    color: #333;
}

.site-name {
    color: #666;
    font-size: 16px;
}

/* Container Principal */
.container {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: flex-end; /* Alinha o conteúdo à direita */
    padding-right: 10%; /* Margem direita no PC */
}

/* Seção de Conteúdo (Direita) */
.content-section {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.brand-title {
    display: flex;
    align-items: baseline;
    margin-bottom: 40px;
}

.small-a {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-right: 15px;
}

.brand-name {
    font-family: 'MinhaFonteDax', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -1px;
}

.blue-text {
    color: #1771b9;
    font-weight: 400;
}

.yellow-text {
    color: #f8c316;
    font-weight: 400;
}

/* Campo de Seleção (Dropdown) */
.city-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    color: #333;
    border: 1px solid #000;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Ícone de seta customizado */
    background: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') no-repeat right 15px center;
    background-color: transparent;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    background-color: #fff; /* Garante que o fundo do select seja branco */
}

.city-select:focus {
    border-color: #1771b9;
    box-shadow: 0 0 5px rgba(23, 113, 185, 0.3);
}

/* --- Media Queries (Responsividade) --- */

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding-right: 5%;
    }
    .content-section {
        padding: 30px;
        background: rgba(255, 255, 255, 0.85); /* Fundo translúcido para leitura */
        border-radius: 12px;
        backdrop-filter: blur(5px);
    }
    body {
        background-position: -200px center; /* Ajusta a imagem no tablet */
    }
}

/* Telemóveis (Smartphones) */
@media (max-width: 768px) {
    body {
        background-position: top center; /* Move os gráficos para o topo */
        background-size: 150%;
    }

    .container {
        align-items: flex-end;
        justify-content: center;
        padding: 0 20px 40px 20px;
        padding-right: 20px;
    }

    .content-section {
        text-align: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
        margin-top: 40vh; /* Deixa espaço para a imagem no topo */
    }

    .brand-title {
        justify-content: center;
        flex-wrap: wrap;
    }

    .city-select {
        max-width: 100%;
    }
}
/* Estilo do Botão Enviar */
.btn-enviar {
    margin-top: 15px; /* Isso é o que afasta o botão da barra de seleção */
	margin-left: 260px;
    width: 50%; /* Faz o botão ter a mesma largura da caixa de seleção */
    padding: 16px; /* Deixa o botão mais "gordinho" e fácil de clicar */
    background-color: #1771b9; /* Azul da Telebrasília */
    color: #ffffff; /* Cor do texto em branco */
    font-size: 18px; /* Tamanho da letra */
    font-weight: 700; /* Deixa o texto em negrito */
    border: none; /* Remove aquela borda cinza padrão e feia */
    border-radius: 6px; /* Deixa as pontas arredondadas, combinando com o select */
    cursor: pointer; /* Transforma o mouse naquela mãozinha de clique */
    transition: background-color 0.3s ease, transform 0.1s ease; /* Prepara animações suaves */
}

/* Efeito ao passar o mouse por cima do botão (Hover) */
.btn-enviar:hover {
    background-color: #11568e; /* Deixa o azul um pouco mais escuro */
}

/* Efeito ao clicar no botão (Active) */
.btn-enviar:active {
    transform: scale(0.98); /* Dá uma leve "encolhida" simulando um botão real sendo apertado */
}
