/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação com Flexbox */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 2px solid #6c5ce7;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Alterado para a nova classe do logo */
.logo-texto {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2d3436;
}

.logo span {
    color: #6c5ce7;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #2d3436;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #6c5ce7;
}

/* Botão destaque no menu (Cadastre-se) */
.btn-destaque {
    background-color: #6c5ce7;
    border:2px solid #6c5ce7;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-destaque:hover {
    background-color: #a29bfe;
    color: #fff;
}

/* botão de login no header */
.btn-login{ 
    background:transparent;
    border:2px solid #6c5ce7;
    color:var(--primaria);
    padding: 8px 15px;
    border-radius:5px;
    transition: background 0.3s;
}
.btn-login:hover{
    background:var(--primaria);
    color:#a29bfe;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

/* Alterado de h2 para h1 para refletir a semântica do HTML */
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6c5ce7;
    line-height: 1.2;
}

.hero-img img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 0 #a29bfe;
}

/* Título da Seção Sobre */
.secao-sobre {
    padding-top: 20px;
}

.titulo-secao {
    text-align: center;
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 40px;
}

/* Cards com Flexbox */
.features {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.feature-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Formulário */
.container-centralizado {
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

.form-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

/* Adicionado estilo para o título da página de cadastro */
.form-box h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #2d3436;
}

.campo {
    margin-bottom: 15px;
}

.campo label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.campo input, .campo select, .campo textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

/* Impede que o usuário quebre o layout redimensionando a bio lateralmente */
.campo textarea {
    resize: vertical;
}

/* Botões */
.btn-principal {
    display: inline-block;
    background: #6c5ce7;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-principal:hover {
    background: #a29bfe;
}

/* Rodapé */
footer {
    background: #2d3436;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.equipe {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

footer a {
    color: #a29bfe;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Selo de Validação W3C */
.selo-w3c {
    margin-top: 20px;
}

.selo-w3c img {
    border: none;
    width: 88px;
    height: 31px;
}

/* =========================================
   RESPONSIVIDADE (Telas menores que 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Empilha o logo e o menu */
    .flex-header {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Centraliza os itens do menu e permite quebra de linha */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav ul li {
        margin-left: 0;
    }

    /* Empilha o texto e a imagem da seção principal */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    /* Empilha os cards um embaixo do outro */
    .features {
        flex-direction: column;
    }

    /* Empilha os nomes da equipe no rodapé */
    .equipe {
        flex-direction: column;
        gap: 10px;
    }
}

/* Montserrat para títulos */
h1,h2,h3 { font-family: 'Montserrat', sans-serif; }


/* layout para imagens extras na hero */
.hero-extras{ display:flex; gap:20px; align-items:flex-start; margin-top:20px; flex-direction: column;}
.extra-card{ background:#fff; border-radius:8px; padding:10px; box-shadow:0 6px 18px rgba(0,0,0,0.06); max-width:260px; }
.extra-card img{ width:100%; height:auto; border-radius:6px; display:block; }
.extra-card figcaption{ margin-top:8px; font-size:0.95rem; color:#333; }

