
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* === HEADER Suave e Moderno === */

.topo_fundo {
    width: 100%;
    padding: 20px 0;

    background: linear-gradient(
        to right,
        #eef2ff,
        #e3e7ff
    );

    box-shadow: 0 2px 12px rgba(80, 94, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* LOGO */
.topo_logo {
    width: 220px;
    margin: 0 auto 5px auto;
}

.topo_logo img {
    display: block;
    width: 100%;
    filter: drop-shadow(0 0 8px rgba(80, 94, 255, 0.25));
    transition: transform 0.3s ease;
}

.topo_logo img:hover {
    transform: scale(1.07);
}

/* MENU */
.list_logo ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-top: 10px;
}

/* Links  */
.list_logo a {
    text-decoration: none;
    color: #505EFF;
    font-weight: 600;
    font-size: 20px;
    padding: 5px 8px;
    border-radius: 8px;
    transition: color 0.3s ease, background 0.3s ease;
}

/* Hover elegante */
.list_logo a:hover {
    color: white;
    background: #505EFF;
    box-shadow: 0 2px 10px rgba(80, 94, 255, 0.3);
}

/* === ABOUT ME  === */

.about_me {
    background: linear-gradient(
        to right,
        rgba(240, 243, 255, 0.8),
        rgba(225, 230, 255, 0.8)
    );
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    padding: 60px 10% 80px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(80, 94, 255, 0.2);
}

/* Texto */
.about_me div {
    max-width: 520px;
    color: #333;
}

/* Título */
.about_me h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #505EFF;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(80, 94, 255, 0.1);
}

/* PARÁGRAFOS  */
.about_me p {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;

    background: #ffffffcc; 
    padding: 15px 18px;
    border-radius: 12px;

    border-left: 5px solid #505EFF55;
    margin-bottom: 15px;

    box-shadow: 0 2px 8px rgba(80, 94, 255, 0.15);
}

/* Destaque */
.about_me strong {
    color: #2A35C8;
    font-size: 1.1rem;
}

/* FOTO ESTILO SUAVE */
.about_me img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: 60px;

    box-shadow: 0 0 18px rgba(80, 94, 255, 0.3);

    animation: flutuar 4s ease-in-out infinite;
    transition: transform 0.5s ease, box-shadow 0.4s ease;
}

/* Animação suave */
@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50%     { transform: translateY(-10px); }
}

/* Hover */
.about_me img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(80, 94, 255, 0.6);
}


/* === Projects Section === */

/* Área do título */
.projects_section {
    width: 100%;
    padding: 40px 5%;
}

.projects_section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #505EFF;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(80,94,255,0.5);
}


/* GRID dos cards */
.projects_container {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}



/* Card individual com fundo branco, borda arredondada e sombra */
.project_card {
    width: 260px;
    min-height: 420px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    border: 2px solid rgba(80, 94, 255, 0.4);
    box-shadow: 0 0 15px rgba(80, 94, 255, 0.4);
    transition: all 0.3s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
}


.project_card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 25px rgba(80, 94, 255, 0.7), 
                0 0 40px rgba(80, 94, 255, 0.4);
    border-color: #505EFF;
}


.project_card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(80, 94, 255, 0.7);
    transition: transform 0.4s ease;
}

.project_card:hover img {
    transform: scale(1.07);
}


.project_card h3 {
    margin: 10px 0 8px;
    font-size: 1.3rem;
    color: #30336b;
    font-weight: 700;
}

.project_card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}


.project_link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #505EFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(80, 94, 255, 0.7);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.project_link:hover {
    background: #3241ff;
    box-shadow: 0 0 20px rgba(80, 94, 255, 0.8);
}

/* Responsivo Card */
@media (max-width: 1200px) {
    .projects_container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .projects_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .projects_container {
        grid-template-columns: 1fr;
    }
}

/* ===Final Projects Section === */


/* === Skills Section (nova versão suave) === */

.skills_section {
    padding: 60px 10%;
    background: linear-gradient(
        to bottom,
        rgba(240, 240, 255, 0.5) 0%,
        rgba(225, 230, 255, 0.5) 50%,
        rgba(240, 240, 255, 0.5) 100%
    );
    text-align: center;
}

/* Título suave */
.skills_section h2 {
    font-size: 2.3rem;
    color: #505EFF;
    margin-bottom: 35px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(80, 94, 255, 0.2);
}

/* Grid organizado */
.skills_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}

/* Círculo suave e moderno */
.skill_item {
    background: #ffffff;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    color: #505EFF;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 3px solid rgba(80, 94, 255, 0.25);
    box-shadow: 0 0 18px rgba(80, 94, 255, 0.25);

    animation: flutuar 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover suave e elegante */
.skill_item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 0 22px rgba(80, 94, 255, 0.45);
    border-color: #505EFF;
}

/* Ícones */
.skill_item i {
    font-size: 2.7rem;
    margin-bottom: 8px;
}

/* Texto */
.skill_item span {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

/* Animação suave */
@keyframes flutuar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}



/* === CONTACT === */

.contact_section {
    padding: 60px 10%;
    text-align: center;

    background: linear-gradient(
        to right,
        #eef2ff,
        #e3e7ff
    );
    
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(80, 94, 255, 0.15);
    color: #333;
}

.contact_section h2 {
    color: #505EFF;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact_section a {
    color: #505EFF;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.contact_section a:hover {
    color: #2a35c8;
}

/* BOTÃO BEACONS */
.btn_contato {
    display: inline-block;
    background: #505EFF;
    color: white !important;

    padding: 14px 28px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;

    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.btn_contato:hover {
    background: #2a35c8;
    box-shadow: 0 0 15px rgba(80, 94, 255, 0.4);
    transform: scale(1.05);
}


/* === FOOTER  === */

.footer {
    background: linear-gradient(
        to right,
        #eef2ff,
        #e3e7ff
    );
    padding: 25px 10%;
    text-align: center;

    color: #3b3f5a;
    font-weight: 600;
    border-top: 3px solid rgba(80, 94, 255, 0.15);
    box-shadow: 0 -2px 12px rgba(80, 94, 255, 0.15);
}

.footer p {
    margin-bottom: 12px;
    font-size: 1rem;
}

/* Links de email */
.footer a {
    color: #505EFF;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer a:hover {
    color: #2a35c8;
    text-shadow: 0 0 8px rgba(80, 94, 255, 0.3);
}

/* ÍCONES SOCIAIS */
.social_links {
    margin-top: 12px;
}

.social_links a {
    font-size: 26px;
    margin: 0 10px;
    color: #505EFF;

    transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
}

/* Hover moderno e elegante */
.social_links a:hover {
    transform: scale(1.2);
    color: #2a35c8;
    text-shadow: 0 0 8px rgba(80, 94, 255, 0.4);
}


/* === Responsividade simples para telas pequenas (até 600px) === */
@media (max-width: 600px) {
    
    .footer {
        padding: 20px 5%;
    }

   
    .social_links a {
        font-size: 20px;
        margin: 0 8px;
    }
}
@media (max-width: 768px) {
  /* === MENU === */
  .list_logo ul {
    flex-direction: column; 
    gap: 15px; 
    align-items: center;
  }
  
  .list_logo a {
    font-size: 20px; 
  }

  /* === ABOUT ME === */
  .about_me {
    flex-direction: column; 
    padding: 40px 5%; 
  }
  
  .about_me img {
    margin-left: 0; 
    margin-top: 30px; 
    align-self: center; 
  }

  .about_me div {
    max-width: 100%; 
  }
}

