/* Reset e Variáveis CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gm-bg: #0A070F; /* Fundo mais escuro para realçar o neon */
    --gm-card: #181120; /* Fundo dos cards */
    --gm-border: #332A40; /* Borda dos cards */
    --gm-accent: #FF007F; /* Rosa Neon Vibrante */
    --gm-accent-soft: rgba(255, 0, 127, 0.25); /* Sombra/glow suave do neon */
    --gm-secondary-accent: #A020F0; /* Roxo Neon Complementar */
    --gm-secondary-accent-soft: rgba(160, 32, 240, 0.25);
    --gm-text: #F8F8F8; /* Texto principal claro */
    --gm-text-soft: #E0C0E8; /* Texto secundário/descrições em tom rosado suave */
    --gm-radius-lg: 18px;
    --gm-radius-md: 12px;
    --gm-shadow-soft: 0 18px 45px rgba(255, 0, 127, 0.35); /* Sombra com glow neon */

    /* Cores para o Pop-up de Convite (ativado por rolagem) */
    --popup-overlay-bg: rgba(0, 0, 0, 0.8);
    --popup-content-bg: var(--gm-card);
    --popup-border: var(--gm-accent);
    --popup-text: var(--gm-text);
    --popup-button-bg: var(--gm-accent);
    --popup-button-hover-bg: var(--gm-secondary-accent);
    --popup-close-color: var(--gm-text-soft);
    --popup-close-hover-color: var(--gm-accent);

    /* Cores para provas sociais (WhatsApp/Telegram) - AJUSTADAS PARA MELHOR CONTRASTE */
    --social-name-color-whatsapp: #34B7F1; /* Azul para nomes no estilo WhatsApp */
    --social-name-color-telegram: #64B5F6; /* Azul mais claro para nomes no estilo Telegram */
    --social-message-bg-whatsapp: #DCF8C6; /* Fundo do balão de mensagem WhatsApp (claro) */
    --social-message-bg-telegram: #E0F2F7; /* Fundo do balão de mensagem Telegram (claro) */
    --social-message-text-dark: #121212; /* Cor do texto dentro dos balões (escuro) */

    /* Cores para o Aviso Fixo do Rodapé */
    --footer-notice-bg: rgba(160, 32, 240, 0.9); /* Roxo Neon Complementar com transparência */
    --footer-notice-text: var(--gm-text);
    --footer-notice-button-bg: var(--gm-accent);
    --footer-notice-button-hover-bg: #FF3399; /* Um rosa um pouco mais claro */
    --footer-notice-close-color: var(--gm-text-soft);
    --footer-notice-close-hover-color: var(--gm-text);
}

body {
    background: radial-gradient(circle at top, #1F152A 0%, #0A070F 55%, #050307 100%);
    color: var(--gm-text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Adicionado para desabilitar seleção de texto em todo o corpo */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    /* Adicionado para desabilitar arrastar e soltar imagens */
    -webkit-user-drag: none; /* Safari */
    -khtml-user-drag: none; /* Konqueror HTML */
    -moz-user-drag: none; /* Firefox */
    -ms-user-drag: none; /* IE */
    user-drag: none; /* Standard syntax */
    pointer-events: none; /* Impede eventos de mouse na imagem, dificultando o clique direito */
}
h2, h3 { font-weight: 700; margin: 0 0 16px 0; }
h1 { /* Mantido para o nome do perfil, mas sem ser um título de seção */
    font-weight: 700;
    margin: 0 0 16px 0;
}

/* ===== HEADER ===== */
.gm-header-full {
    width: 100%;
    height: 50vh; /* Altura padrão para desktop */
    max-height: 450px; /* Limite máximo de altura para desktop */
    overflow: hidden;
}

.gm-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Media query para telas menores (mobile) */
@media (max-width: 768px) {
    .gm-header-full {
        height: 40vh; /* Altura menor para mobile */
        max-height: 300px; /* Limite máximo de altura para mobile */
    }
}

/* ===== SEÇÕES ===== */
.gm-section {
    max-width: 1080px; /* Largura máxima para o conteúdo principal */
    margin: 0 auto; /* Centraliza a seção */
    padding: 40px 20px; /* Padding padrão para desktop */
    text-align: center;
}

@media (max-width: 600px) {
    .gm-section {
        padding: 30px 15px; /* Padding menor para mobile */
    }
}

.gm-section-title {
    font-size: 2.2em; /* Tamanho maior para títulos em desktop */
    color: var(--gm-accent);
    text-shadow: 0 0 10px var(--gm-accent-soft);
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .gm-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
}

/* ===== PERFIL ===== */
.gm-profile-section {
    margin-top: 20px; /* Adiciona um pequeno espaço após a capa, se desejar */
    position: relative;
    z-index: 10;
}

.gm-profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--gm-accent);
    box-shadow: 0 0 0 8px var(--gm-card), 0 0 20px var(--gm-accent-soft);
    margin: 30px auto 20px auto; /* Ajustado margin-top para posicionar abaixo do texto */
    object-fit: cover;
    object-position: center;
}

.gm-profile-name {
    font-size: 2.5em;
    color: var(--gm-accent);
    text-shadow: 0 0 15px var(--gm-accent-soft);
    margin-bottom: 8px;
}

.gm-profile-description {
    font-size: 1.1em;
    color: var(--gm-text-soft);
    max-width: 600px; /* Limita a largura da descrição */
    margin: 0 auto 30px auto;
}

@media (max-width: 600px) {
    .gm-profile-avatar {
        width: 120px;
        height: 120px;
        margin-top: 20px; /* Ajusta para mobile */
    }
    .gm-profile-name {
        font-size: 2em;
    }
    .gm-profile-description {
        font-size: 1em;
    }
}

/* ===== LINKS ===== */
.gm-links-list {
    display: flex; /* Alterado para flexbox para lista vertical */
    flex-direction: column; /* Organiza os itens em coluna */
    gap: 20px; /* Espaçamento entre os links */
    max-width: 700px; /* Limita a largura da lista de links */
    margin: 0 auto; /* Centraliza a lista */
}

.gm-btn-link {
    display: flex; /* Mantém flex para alinhar ícone e texto horizontalmente */
    flex-direction: row; /* Ícone e texto lado a lado */
    align-items: center; /* Alinha verticalmente */
    justify-content: flex-start; /* Alinha ao início */
    padding: 15px 20px; /* Ajustado padding para layout horizontal */
    background-color: var(--gm-card);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-lg);
    text-decoration: none;
    color: var(--gm-text);
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.gm-btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--gm-accent-soft) 0%, transparent 50%, var(--gm-secondary-accent-soft) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.gm-btn-link:hover::before {
    opacity: 1;
}

.gm-btn-link:hover {
    border-color: var(--gm-accent);
    transform: translateY(-5px);
    box-shadow: var(--gm-shadow-soft);
    color: var(--gm-accent);
}

/* Melhorias nos ícones das redes sociais */
.gm-btn-link-icon {
    width: 52px; /* Tamanho do ícone */
    height: 52px; /* Tamanho do ícone */
    border-radius: 50%; /* Ícone redondo */
    margin-right: 15px; /* Espaçamento à direita do ícone */
    object-fit: cover; /* Garante que a imagem preencha o círculo */
    /* Brilho inicial mais sutil, usando a cor de destaque */
    filter: drop-shadow(0 0 8px var(--gm-accent-soft)); 
    z-index: 1;
    transition: filter 0.3s ease, transform 0.3s ease; /* Adiciona transição para o hover */
}

.gm-btn-link:hover .gm-btn-link-icon {
    /* Brilho mais intenso e uma leve escala ao passar o mouse */
    filter: drop-shadow(0 0 15px var(--gm-accent)) drop-shadow(0 0 25px var(--gm-secondary-accent-soft));
    transform: scale(1.1);
}

.gm-btn-link-content { /* Novo container para texto e descrição */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinha texto à esquerda */
    flex-grow: 1; /* Permite que o conteúdo de texto ocupe o espaço restante */
    z-index: 1;
}

.gm-btn-link-text {
    font-size: 1.1em;
    margin-bottom: 2px; /* Espaçamento menor entre título e descrição */
    color: var(--gm-text); /* Cor inicial do texto */
    transition: color 0.3s ease;
}

.gm-btn-link:hover .gm-btn-link-text {
    color: var(--gm-accent); /* Cor do texto no hover */
}

.gm-btn-link-description {
    font-size: 0.85em;
    color: var(--gm-text-soft);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.gm-btn-link:hover .gm-btn-link-description {
    color: var(--gm-text); /* Cor da descrição no hover */
}

@media (max-width: 600px) {
    .gm-btn-link {
        padding: 12px 15px; /* Ajustado padding para mobile */
        font-size: 1.1em;
    }
    .gm-btn-link-icon {
        width: 45px; /* Tamanho do ícone para mobile */
        height: 45px; /* Tamanho do ícone para mobile */
        margin-right: 10px; /* Espaçamento à direita do ícone para mobile */
    }
    .gm-btn-link-text {
        font-size: 1em; /* Texto principal ajustado para mobile */
    }
    .gm-btn-link-description {
        font-size: 0.8em; /* Descrição ajustada para mobile */
    }
}

/* ===== GALERIA ===== */
.gm-gallery-section {
    background-color: var(--gm-card);
    border-top: 1px solid var(--gm-border);
    border-bottom: 1px solid var(--gm-border);
    padding: 60px 0; /* Aumentei o padding vertical */
}

.gm-gallery-title {
    color: var(--gm-accent);
    text-shadow: 0 0 10px var(--gm-accent-soft);
    margin-bottom: 40px; /* Aumentei a margem */
    font-size: 2.5em; /* Aumentei o tamanho da fonte */
}

.gm-slider-container {
    position: relative;
    max-width: 900px; /* Largura máxima para o slider */
    margin: 0 auto;
    overflow: hidden; /* Essencial para o slider */
    border-radius: var(--gm-radius-lg);
    box-shadow: var(--gm-shadow-soft);
}

.gm-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; 
}

.gm-slide {
    min-width: 100%; /* Cada slide ocupa 100% da largura do slider */
    flex-shrink: 0;
    display: flex; /* Adicionado para centralizar a imagem */
    justify-content: center; /* Centraliza a imagem horizontalmente */
    align-items: center; /* Centraliza a imagem verticalmente */
    background-color: rgba(0, 0, 0, 0.2); /* Fundo para as barras se object-fit: contain */
    height: 100%; 
}

.gm-slide img {
    width: 100%;
    max-height: 500px; /* Altura máxima para as imagens da galeria */
    object-fit: contain; /* Garante que a imagem inteira seja visível */
    object-position: center;
}

.gm-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
    z-index: 5;
}

.gm-nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--gm-text);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.gm-nav-btn:hover {
    background-color: var(--gm-accent);
    color: var(--gm-text);
}

.gm-dots-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.gm-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.gm-dot.active {
    background-color: var(--gm-accent);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .gm-gallery-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .gm-slide img {
        max-height: 350px; /* Altura menor para mobile */
    }
    .gm-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .gm-dots-container {
        bottom: 10px;
    }
    .gm-dot {
        width: 8px;
        height: 8px;
    }
}

/* ===== PROVAS SOCIAIS ===== */
.gm-testimonials-section {
    padding: 60px 20px; /* Aumentei o padding vertical */
}

.gm-testimonials-title {
    color: var(--gm-secondary-accent);
    text-shadow: 0 0 10px var(--gm-secondary-accent-soft);
    margin-bottom: 40px; /* Aumentei a margem */
    font-size: 2.5em; /* Aumentei o tamanho da fonte */
}

.gm-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr; /* Uma coluna por padrão (mobile) */
    gap: 30px; /* Espaçamento entre os cards */
    max-width: 900px; /* Limita a largura da grid */
    margin: 0 auto; /* Centraliza a grid */
}

@media (min-width: 769px) { /* Para telas maiores que 768px */
    .gm-testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* Duas colunas */
        gap: 40px; /* Aumenta o espaçamento */
    }
}

.gm-testimonial-card {
    background-color: var(--gm-card);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-lg);
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gm-testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gm-testimonial-info {
    flex-grow: 1;
}

.gm-testimonial-name {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.gm-testimonial-card.whatsapp-style .gm-testimonial-name {
    color: var(--social-name-color-whatsapp);
}

.gm-testimonial-card.telegram-style .gm-testimonial-name {
    color: var(--social-name-color-telegram);
}

.gm-testimonial-message {
    font-size: 0.95em;
    color: var(--gm-text-soft);
    line-height: 1.5;
}

/* Pop-up de Convite (ativado por rolagem) */
.gm-invite-popup-overlay, .gm-exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--popup-overlay-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gm-invite-popup-overlay.active, .gm-exit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gm-invite-popup-content, .gm-exit-popup-content {
    background-color: var(--popup-content-bg);
    border: 2px solid var(--popup-border);
    border-radius: var(--gm-radius-lg);
    padding: 40px;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gm-accent-soft);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gm-invite-popup-overlay.active .gm-invite-popup-content,
.gm-exit-popup-overlay.active .gm-exit-popup-content {
    transform: translateY(0);
    opacity: 1;
}

.gm-invite-popup-close, .gm-exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2em;
    color: var(--popup-close-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.gm-invite-popup-close:hover, .gm-exit-popup-close:hover {
    color: var(--popup-close-hover-color);
}

.gm-invite-popup-content h3, .gm-exit-popup-content h3 {
    color: var(--popup-text);
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 0 0 8px var(--gm-accent-soft);
}

.gm-invite-popup-content p, .gm-exit-popup-content p {
    color: var(--popup-text);
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.5;
}

.gm-invite-popup-button, .gm-exit-popup-button {
    display: inline-block;
    background-color: var(--popup-button-bg);
    color: var(--gm-text);
    padding: 12px 25px;
    border-radius: var(--gm-radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gm-invite-popup-button:hover, .gm-exit-popup-button:hover {
    background-color: var(--popup-button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Aviso Fixo no Rodapé */
.gm-footer-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--footer-notice-bg);
    color: var(--footer-notice-text);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%); /* Escondido por padrão */
    transition: transform 0.4s ease-out;
}

.gm-footer-notice.active {
    transform: translateY(0); /* Visível */
}

.gm-footer-notice-text {
    flex-grow: 1;
    text-align: center;
    font-size: 1em;
    line-height: 1.4;
}

.gm-footer-notice-button {
    background-color: var(--footer-notice-button-bg);
    color: var(--footer-notice-text);
    padding: 8px 18px;
    border-radius: var(--gm-radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95em;
    white-space: nowrap; /* Evita quebra de linha no botão */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gm-footer-notice-button:hover {
    background-color: var(--footer-notice-button-hover-bg);
    transform: translateY(-1px);
}

.gm-footer-notice-close {
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--footer-notice-close-color);
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0 5px;
}

.gm-footer-notice-close:hover {
    color: var(--footer-notice-close-hover-color);
}

@media (max-width: 600px) {
    .gm-footer-notice {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    .gm-footer-notice-text {
        font-size: 0.9em;
    }
    .gm-footer-notice-button {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    .gm-footer-notice-close {
        position: absolute;
        top: 5px;
        right: 5px;
        font-size: 1.5em;
    }

    .gm-invite-popup-content, .gm-exit-popup-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    .gm-invite-popup-content h3, .gm-exit-popup-content h3 {
        font-size: 1.5em;
    }
    .gm-invite-popup-content p, .gm-exit-popup-content p {
        font-size: 1em;
    }
    .gm-invite-popup-button, .gm-exit-popup-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}

/* ===== FOOTER ===== */
.gm-footer {
    background-color: var(--gm-bg);
    color: var(--gm-text-soft);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
    margin-top: auto; /* Empurra o footer para o final da página */
    border-top: 1px solid var(--gm-border);
}

.gm-footer a {
    color: var(--gm-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.gm-footer a:hover {
    color: var(--gm-secondary-accent);
}
