/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #2d3436;
    --secondary-color: #636e72;
    --accent-color: #5d588e;
    --bg-overlay: rgba(255, 255, 255, 0.95);
}
body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    overflow-x: hidden;
}
/* Background Animado */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagens/background.jpg') center/cover no-repeat;
    background-size: cover;
    z-index: -1;
    filter: blur(3px);
}
.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 0, 0, 0.3));
}
/* Container Principal */
main.content {
    text-align: center;
    max-width: 600px;
    margin: 20px auto; 
    background: var(--bg-overlay);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease 0.3s backwards;
    overflow: hidden;
    word-wrap: break-word;
}
/* Separador com Imagem */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 1.5rem 0;
}
.separator-img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    object-fit: contain;
}
.separator-img.small {
    max-width: 150px;
}
.separator-img.large {
    max-width: 500px;
}
.separator.wide {
    margin: 3rem 0;
}
/* Seção do Perfil */
.profile-section {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}
.profile-img {
    width: 100%; 
    max-width: 300px;
    height: auto;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    object-fit: contain;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease; 
}
.profile-img:hover {
    transform: scale(1.05);
    filter: none;
}
/* Título e Subtítulo */
.title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.subtitle {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}
/* Descrição esquerda */
.description1 {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: left
}
.description strong {
    color: var(--accent-color);
}
/* Descrição centro */
.description2 {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center
}
.description strong {
    color: var(--accent-color);
}
/* Imagem Centralizada */
.imagem-centralizada {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
/* Links Sociais */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}
.social-btn:hover {
    color: var(--accent-color);
    background: rgba(108, 92, 231, 0.1);
    transform: none;
    box-shadow: none;
}
/* Menu de Navegação */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
}
.nav-link {
    text-decoration: none!important;
    color: var(--primary-color)!important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap; 
}
.nav-link:hover {
    color: var(--accent-color)!important;
    background: rgba(108, 92, 231, 0.1);
}
.nav-link.active {
    color: var(--accent-color)!important;
    text-decoration: overline!important;
    font-weight: 600;
}
.nav-divider {
    color: var(--accent-color)!important;
    font-size: 1rem;
    opacity: 0.7;
}
/* Links nos textos */
main.content a:not(.nav-link):not(.social-btn) {
    color: var(--accent-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}
main.content a:not(.nav-link):not(.social-btn):hover {
    color: var(--accent-color);
    text-decoration: overline;
    filter: brightness(1.2);
}
/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    color: var(--secondary-color);
}
/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Galeria de Imagens */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow: visible;
}
/* 3 colunas */
.gallery img {
    width: calc(33.333% - 7px);
    object-fit: contain;
    object-position: top;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    cursor: pointer;
    background-color: #f5f5f5;
}
/* Hover */
.gallery img:hover {
    transform: scale(1.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
    position: relative;
    height: auto; 
}
/* Galeria 2 colunas */
.gallery.cols-2 img {
    width: calc(50% - 5px);
}
/* Galeria 4 colunas */
.gallery.cols-4 img {
    width: calc(25% - 8px);
}
/* Responsivo - Tablet */
@media (max-width: 900px) {
    .gallery img {
        width: calc(50% - 5px);
    }
    .gallery.cols-4 img {
        width: calc(50% - 5px);
    }
}
/* Responsivo - Celular */
@media (max-width: 600px) {
    .gallery img {
        width: calc(50% - 5px);
    }
    .gallery.cols-2 img,
    .gallery.cols-4 img {
        width: calc(50% - 5px);
    }
    .gallery img:active {
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}
/* Responsividade */
@media (max-width: 768px) {
    main.content {
        padding: 2rem 1rem;
    }
    .title {
        font-size: 1.8rem;
    }
    .profile-img {
        width: 100%;
    }
    .nav-menu {
        gap: 0.15rem;
    }
    .nav-link {
        font-size: 1rem;
        padding: 0.2rem 0.3rem;
    }
    .nav-divider {
        font-size: 1rem;
    }
    .social-btn {
        padding: 0.2rem 0.3rem;
    }
}
  /* Responsividade: empilha em telas pequenas */
  @media (max-width: 600px) {

    .row img { width: 100%; }
  }