/* FONTE CUSTOMIZADA: Iosevka Charon Mono */
@font-face {
    font-family: 'Iosevka Charon Mono';
    src: url('assets/fonts/iosevka-charon-mono.woff2') format('woff2'),
         url('assets/fonts/iosevka-charon-mono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* RESET E VARIÁVEIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Iosevka Charon Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #1e2126;
    --bg-pink: #e9c46a; /* Nova cor: Amarelo Mostarda Retrô */
    --bg-beige: #f5eedf;
    --bg-red: #ea6055;
    --text-dark: #2a2a2a;
    --text-light: #f5eedf;
    --tag-border: #4a4a4a;
}

body {
    background-color: var(--bg-beige);
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.4;
}

/* HEADER FIXO */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 60px;
}

.logo img { height: 40px; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--bg-red); }

.btn-contato {
    color: var(--text-light);
    text-decoration: none;
    border: 1px solid var(--text-light);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-contato:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* SEÇÃO AVISOS */
.section-avisos {
    background-color: var(--bg-dark); /* Mesma cor do Header */
    color: var(--text-light); /* Letras claras para dar leitura */
    padding: 40px;
    position: relative;
    min-height: 400px;
}

.section-avisos h2 {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 24px;
}

/* Estilo e posição do botão Comprar */
.btn-comprar {
    position: absolute;
    bottom: 20px;
    left: 40px;
    background-color: var(--bg-red); /* Laranja do rodapé */
    color: var(--text-light); /* Texto claro */
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 24px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-comprar:hover {
    background-color: var(--bg-beige); /* Off-white no hover */
    color: var(--bg-red); /* Texto laranja no hover */
    border: 2px solid var(--bg-red);
    transform: translateY(-3px);
}

.avisos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

#img-destaque {
    width: 450px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avisos-info {
    position: absolute;
    bottom: 20px;
    right: 40px;
    text-align: right;
}

.avisos-info h3 {
    font-size: 24px;
    margin-bottom: -5px;
}

.avisos-info p { font-size: 18px; }

/* SEÇÃO ESTÚDIO */
.section-estudio {
    background-color: var(--bg-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.estudio-logo img { width: 120px; }

.estudio-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* SEÇÃO GAMES */
.section-games {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 40px;
    text-align: center;
}

.section-games h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border 0.3s;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-card:hover { border: 3px solid var(--bg-red); }

/* OVERLAY */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 33, 38, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 20px;
}

.game-card:hover .game-overlay { opacity: 1; }

.game-overlay h4 {
    font-size: 22px;
    color: var(--bg-red);
    margin-bottom: 10px;
}

/* SEÇÃO SERVIÇOS */
.section-servicos {
    background-color: var(--bg-beige);
    padding: 60px 40px;
    text-align: center;
}

.section-servicos h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.tags-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag {
    border: 2px solid var(--tag-border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 18px;
    background-color: var(--bg-beige);
    transition: all 0.2s;
}

.tag:hover {
    background-color: var(--tag-border);
    color: var(--bg-beige);
}

/* SEÇÃO EQUIPE */
.section-equipe {
    background-color: var(--bg-beige);
    padding: 40px 40px 80px 40px;
    text-align: center;
}

.section-equipe h2 {
    font-size: 24px;
    margin-bottom: 40px;
}

.equipe-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.membro img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.membro h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* SEÇÃO CONTATO */
.section-contato {
    background-color: var(--bg-beige);
    padding: 40px 40px 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-contato h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contato-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

/* ATUALIZADO: CAIXA DE TEXTO BRANCA PARA MENSAGEM */
.form-email {
    display: flex;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 500px;
}

.form-email textarea {
    flex: 1;
    border: none;
    resize: none;
    height: 50px;
    padding: 15px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.form-email button {
    background-color: var(--bg-red); /* Laranja do rodapé */
    border: none;
    color: #fff; /* Texto branco */
    padding: 0 20px;
    font-size: 18px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease; /* Transição suave */
}

.form-email button:hover {
    background-color: var(--bg-beige); /* Cor off-white do fundo */
    color: var(--bg-red); /* Letra laranja */
    box-shadow: inset 0 0 0 2px var(--bg-red); /* Cria uma bordinha laranja interna para não "sumir" no branco */
}

/* FOOTER */
.footer {
    background-color: var(--bg-red);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffd8d6;
}

.footer-col a, .footer-col p {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

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

.footer-col.branding { align-items: flex-end; }
/* Estilo do CNPJ */
.cnpj {
    margin-top: 10px;
    font-size: 16px;
    color: #ffd8d6;
}

/* Tamanho da Logo do João Jardim */
.footer-col.branding img {
    margin-top: 10px;
    height: auto;
    width: 160px; /* Você pode aumentar ou diminuir esse valor para ajustar a largura */
    max-height: 100px; /* Dá bastante margem para a imagem preencher até embaixo */
}

/* Tamanho da Logo do Estúdio no Footer */
.logo-footer {
    width: 120px; /* Diminua ou aumente este número até ficar do tamanho ideal */
    height: auto;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .games-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .equipe-grid { flex-direction: column; gap: 40px; }
    .navbar { flex-direction: column; height: auto; padding: 20px; gap: 15px; }
    .form-email { flex-direction: column; }
    .form-email button { padding: 15px; }
}

/* Diminui apenas a primeira imagem do rodapé (a logo do estúdio) */
.footer .footer-col:first-child img {
    width: 120px; /* Você pode mudar esse número para 100px ou 90px até ficar ideal */
    height: auto;
}