/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIÁVEIS */
:root {
    --primario: #9c27b0; /* roxo elegante */
    --secundario: #eefdff; /* azul suave */
    --texto: #e0e0e0; /* cinza claro */
    --card-bg: rgba(40,40,55,0.7); /* cartão semi-transparente */
}

/* BODY */
body {
    font-family: "Poppins", sans-serif;
    color: var(--texto);
    position: relative;
    overflow-x: hidden;
    background: #1b1b2f; /* fallback */
}

/* CANVAS FUNDO */
#fundo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    background: rgba(20,20,35,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 100;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primario);
}

header span {
    color: var(--secundario);
}

header nav a {
    margin-left: 25px;
    color: var(--texto);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

header nav a:hover {
    color: var(--primario);
}

/* HERO */
.hero {
    text-align: center;
    padding: 90px 20px 60px;
}

/* AVATAR */
.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primario);
    box-shadow: 0 0 25px rgba(156,39,176,0.5);
    transition: 0.3s;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar:hover {
    transform: scale(1.05);
}

/* HERO TEXTO */
.hero h2 {
    font-size: 2.2rem;
    color: var(--primario);
}

.hero p {
    margin-top: 15px;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SEÇÕES */
.section {
    padding: 60px 8%;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primario);
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* CARDS */
.card {
    background: var(--card-bg);
    padding: 22px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--texto);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primario);
    box-shadow: 0 0 20px rgba(156,39,176,0.25);
}

.card h3 {
    margin-bottom: 10px;
    color: var(--primario);
}

.card p {
    opacity: 0.85;
    font-size: 14px;
}

/* SOBRE */
.sobre-texto {
    max-width: 800px;
    margin: auto;
    text-align: center;
    opacity: 0.9;
    line-height: 1.6;
}

/* CONTEÚDO */
.conteudo p {
    max-width: 800px;
    margin: 12px auto;
    text-align: center;
    opacity: 0.85;
    line-height: 1.6;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #22c55e;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
}

.footer a {
    color: var(--primario);
    text-decoration: none;
    margin: 0 5px;
}

.footer a:hover {
    opacity: 0.7;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 10px;
    }

    header nav a {
        margin-left: 10px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .avatar {
        width: 130px;
        height: 130px;
    }
}