﻿body {
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

.conteiner {
    background-color: #14143b; 
    width: 400px;
    position: relative; /* importante para referência */
    margin: 20px auto; /* centraliza horizontalmente */
    padding: 20px; /* espaço interno */
    text-align: left; /* alinha texto à esquerda dentro do contêiner */
    border-radius: 10px; /* opcional, deixa bordas arredondadas */
}

#contamos{
    width: 70%;
    text-align: center;
    align-items: center;
    align-self: center;
    padding-left: 60px;
}

.formulario {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
    background-color: #1a1a4b;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 60%;
    max-width: 600px;
    margin: 2em auto;
}

.form-label {
    font-size: 3vh;
    color: white;
    margin-bottom: 0.2em;
}

.form-input {
    width: 100%;
    padding: 0.8em;
    font-size: 2.2vh;
    border: none;
    border-radius: 3px;
    color: #14143b;
}

.form-input:focus {
    outline: none;
    border: 2px solid #ec647c;
}

/* Botão de envio já possui a classe .inscricao */
.inscricao {
    width: 100%;
    margin-top: 1em;
}

.inscricao {
    cursor: pointer;
    font-size: 2em;
    font-weight: bold;
    color: white;/* Cor suave para contraste */
    padding: 15px 30px;
    border-radius: 20px;
    text-align: center;
    background: rgb(255, 255, 124); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); 
}

h1, h3 {
    color: white;
    margin: 0 0 10px;
}

p {
    color: white;
    margin-bottom: 8px;
}

ul {
    color: white;
    list-style-position: inside; /* bolinha fica colada no texto */
    padding-left: 0; /* remove espaço extra da esquerda */
}

li {
    color: white;
    margin-bottom: 5px;
}

section {
    display: flex;
    flex-wrap: wrap; /* quebra linha se faltar espaço */
    justify-content: center; /* centraliza horizontalmente */
    gap: 20px; /* espaço entre os quadrados */
    padding: 20px;
}

.quadrado {
    background-color: rgb(40, 45, 60);
    width: 200px;
    border-radius: 5px;
    overflow: hidden; /* impede imagem de passar da borda */
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}

.quadrado img {
    width: 80%;
    padding: 20px;
    height: auto;
    display: block;
}

.quadrado h3 {
    color: white;
    margin: 10px 0 5px;
}

.quadrado p {
    color: white;
    font-size: 14px;
    padding: 0 10px 10px;
}

.destaque{
    font-size: 40px;
    font-weight: bold;
}

.logo {
    position: absolute;
    bottom: 10px; /* distancia do fundo */
    right: 10px;  /* distancia da direita */
    width: 100px; /* ajuste o tamanho que quiser */
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em; /* espaço entre os campos */
    align-items: stretch; /* todos os campos ocupam 100% do width do form */
    background-color: #1a1a4b;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 70%;
    max-width: 600px;
    margin: 2em auto;
    box-sizing: border-box;
}

input, select {
    width: 100%;
    padding: 0.8em;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    color: #14143b;
}

input:focus, select:focus {
    outline: none;
    border: 2px solid #ec647c;
}

/*--- TELEFONE ---*/
.telefone-container {
    display: flex;
    gap: 10px; /* mais espaço entre DDI e telefone */
    align-items: center;
    width: 100%;
}

.telefone-container .ddi {
    flex: 0 0 100px; /* largura fixa */
    padding: 0.8em;
    font-size: 1.1em;
    box-sizing: border-box;
}

.telefone-container .telefone {
    flex: 1; /* ocupa o resto da linha */
    padding: 0.8em;
    font-size: 1.1em;
    box-sizing: border-box;
}

/*--- BOTÃO ---*/
.inscricao {
    width: 100%;
    margin-top: 1em;
    cursor: pointer;
	color: #14143b;
    font-size: 1.5em;
    font-weight: bold;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/*--- RESPONSIVO ---*/
@media (max-width: 600px) {
    form {
        width: 90%;
        padding: 1em;
    }
    .telefone-container .ddi {
        flex: 0 0 80px;
        font-size: 1em;
    }
    .telefone-container .telefone {
        font-size: 1em;
    }
}