/* RESET */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fb;
    color: #333;
    scroll-behavior: smooth;
}

/* HEADER */
#header {
    background: linear-gradient(135deg, #5f72ff, #8fa0ff);
    padding: 20px;
    text-align: center;
    color: white;
}

/* HERO PREMIUM */
.hero {
    width: 100%;
    max-width: 800px;
    margin: 80px auto;
    padding: 50px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);

    animation: fadeUp 0.8s ease;
}

/* FOTO */
.foto {
    width: 130px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* TEXTO */
.hero-texto h2 {
    font-size: 22px;
    margin-top: 15px;
}

.hero-texto p {
    font-size: 15px;
    color: #666;
}

/* BOTÃO PREMIUM */
.botao {
    margin-top: 20px;
    padding: 14px 30px;
    font-size: 14px;

    background: linear-gradient(135deg, #6d7cff, #ff4fd8);
    color: white;

    border-radius: 40px;
    text-decoration: none;
    position: relative;
    overflow: hidden;

    transition: 0.3s;
}

/* brilho animado */
.botao::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: 0.5s;
}

.botao:hover::after {
    left: 100%;
}

.botao:hover {
    transform: scale(1.05);
}

/* SOBRE */
.sobre {
    text-align: center;
    padding: 80px 20px;
    animation: fadeUp 1s ease;
}

.sobre-texto {
    max-width: 600px;
    margin: auto;
    font-size: 15px;
    line-height: 2;
    color: #666;
}

/* PROJETOS */
#projetos {
    text-align: center;
    padding: 80px 20px;
}

/* CARDS */
.cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* CARD PREMIUM */
.card {
    width: 90%;
    max-width: 380px;
    background: white;
    border-radius: 15px;
    padding: 10px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.4s;

    animation: fadeUp 1.2s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
}

.card img {
    width: 100%;
    border-radius: 12px;
}

.card h3 {
    margin-top: 10px;
}

.card p {
    color: #777;
}

/* BOTÃO CARD */
.card a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;

    background: linear-gradient(135deg, #6d7cff, #ff4fd8);
    color: white;

    border-radius: 20px;
    text-decoration: none;
}

/* ANIMAÇÃO SUAVE */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.card, .sobre, .hero {
    opacity: 0;
    transform: translateY(30px);
}.card, .sobre, .hero {
    transition: 0.6s ease;
}
