/* Paleta de Cores MeasureSoftGram — Guia de Identidade Visual Oficial */
:root {
    --cor-fundo: #F4F5F6;             /* Background oficial */
    --cor-texto-principal: #2B4D6F;   /* Cor primária */
    --cor-destaque: #5F7EA3;          /* Cor secundária */
    --cor-fundo-card: #ffffff;
    --cor-sombra: rgba(43, 77, 111, 0.12);
    --cor-sombra-hover: rgba(43, 77, 111, 0.25);
    --cor-fundo-escuro: #2B4D6F;      /* Primária no header/footer */
}

html, body {
    overflow-x: hidden;
}

/* Fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Roboto:wght@400;500&display=swap');

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto-principal);
    overflow-x: hidden;
}

.container {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 10;
    background-color: var(--cor-fundo);
}

.landing-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    height: 90vh;
    background-color: var(--cor-fundo-escuro);
    border-bottom: 5px solid var(--cor-destaque);
}

.logo {
    height: auto;
    width: 60%;
}

.section {
    display: flex;
    justify-content: space-around;
    width: 75vw;
    padding-top: 5em;
    padding-bottom: 5em;
    gap: 5em;
}

.section2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75vw;
    padding-top: 5em;
    padding-bottom: 5em;
}

h1, h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--cor-texto-principal);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2em;
}

h2 {
    font-size: 1.2em;
}

.pictures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
    margin-bottom: 3em;
}

.pictures > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    background-color: var(--cor-fundo-card);
    width: 30em;
    height: 15em;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 3px 6px var(--cor-sombra), 0 3px 6px var(--cor-sombra);
    transition: all 0.3s ease-in-out;
    border: 3px solid var(--cor-destaque);
}

.card:hover {
    box-shadow: 0 14px 28px var(--cor-sombra-hover), 0 10px 10px var(--cor-sombra);
    transform: translateY(-10px);
}

.link-handler {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--cor-texto-principal);
    font-weight: bold;
}

.card .imgs {
    width: 5em;
    margin-bottom: 2em;
}

.round-card {
    border-radius: 50%;
    width: 12em;
    height: 12em;
    overflow: hidden;
    box-shadow: 0 3px 6px var(--cor-sombra);
    position: relative;
    transition: all 0.3s ease-in-out;
    border: 3px solid var(--cor-destaque);
}

.round-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 28px var(--cor-sombra-hover);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 77, 111, 0.85);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.round-card:hover .overlay {
    opacity: 1;
}

.overlay .text {
    font-family: 'Cinzel', serif;
    font-size: 1.2em;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.round-card:hover .overlay .text {
    transform: translateY(0);
}

.line {
    width: 0;
    border: 1px solid #ffffff;
    margin-top: 8px;
    transition: width 0.5s ease;
}

.round-card:hover .line {
    width: 60%;
}

.card-description {
    width: 100%;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 3em;
    color: var(--cor-texto-principal);
    font-weight: bold;
    font-size: large;
}

.custom-footer {
    background-color: var(--cor-fundo-escuro);
    color: #F4F5F6;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    margin-top: 3rem;
    border-top: 3px solid var(--cor-destaque);
    width: 100%;
}

.custom-footer .footer-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 90px;
}

.custom-footer p {
    margin: 0;
    line-height: 1.6;
}