@font-face {
    font-family: "montserrat";
    src: url(fonts/Montserrat-VariableFont_wght.ttf)format("truetype");
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}
@font-face {
    font-family: "montserrat";
    src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Remove marcador padrão (ponto) de listas */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Isso garante que a logo tenha um tamanho visível */

.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}


/* Remove sublinhado de links dentro dos perfis */
a.profile {
    text-decoration: none;
    color: inherit;
}

/* Não forçar herança de cor em todos os filhos (permite figcaption usar var(--text)) */
a.profile * {
    text-decoration: none;
}

a.profile:hover, a.profile:focus {
    text-decoration: none;
}
 body {
             background: #000000;
             color: white;
             font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
             font-size: bold;
             margin: 0;
             min-height: 100vh;
         }

.profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    gap: 2rem;
    color: white;
}


figure {
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

img {
    width: 120px;
    flex: 0 0 auto; /* não encolher nem crescer, manter em linha */
    border-radius: 8px; 
    object-fit: cover; 
    margin-bottom: 0.5rem; 
    background: #222; 
            color: var(--text); 
    border: 1px transparent; 
}

img:hover {
    border: 1px solid #6c29b8; 
}

    figcaption {
    
    font-size: 1.1rem; 
    font-weight: 500; 
    margin-top: 0.5rem; 
    letter-spacing: 0.5px; 
    color: var(--text);
    transition: color 200ms ease;
}

/* Posiciona o header fixo no canto superior esquerdo */
header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--img-bg);
    width: 100%;
    padding: 0 1rem;
    min-height: 60px;
    gap: 2rem;
}


section[aria-label="Perfis Disponíveis"] {
    margin-top: 3.5rem;
}

.site-logo {
    height: 35px;
    width: auto;
    display: block;
}

/* Theme variables (default: dark) */
:root {
    --bg: #000;
    --text: #fff;
    --img-bg: transparent;
    --accent: #6c29b8;
}

body {
    background: var(--bg);
    color: var(--text);
}

/* Ícones dentro de elementos genéricos */
.icon {
    display: inline-block;
    vertical-align: middle;
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}
            
h1 {
    font-size: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    padding: 1rem;

}

img {
    width: clamp(90px, 18vw, 160px);
    height: clamp(90px, 18vw, 160px);
    margin: auto;
    
}

figcaption {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--text);
    transition: color 200ms ease;
}

@media (min-width: 600px) {
    img {
        width: 140px;
        height: 140px;
        
    }
}

@media (min-width: 900px) {
    section[aria-label="Perfis disponíveis"] {
        max-width: 10x;
    }
    .profiles {
        gap: 2.5rem;
    }
    h1 {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
    .profile {
        width: auto;
    }
    img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }
    main {
        padding: 1rem;
    }
    nav.profiles {
        gap: 1rem;
    }
    figcaption {
        font-size: 1rem;
    }
}
