/********** about.html **********/
/* #about-canvas {
      background: #333;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }
*/

.about {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    animation: fadeIn 0.3s ease-out 0s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.about-container {
    position: relative;
    min-height: clamp(26rem, 58vh, 40rem);
    display: flex;
    align-items: center;
    justify-content:space-around;
    flex-direction: column;
    padding-left: calc(100% / 4);
    padding-right: calc(100% / 4);
    overflow: hidden;
}

.about-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-image: url("../images/fom_erva_mate.9a2392c32c11.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 top;
    image-rendering: crisp-edges;
    image-rendering: -webkit-crisp-edges;
    animation: zoomEffect 3s forwards;
    z-index: -1; 
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
        transform-origin: top top;
    }
}

.about h1 {
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    color: #ffffff;
    font-size: clamp(2.5rem, 3.5vw + 1rem, 4rem); 
    letter-spacing: 0.25rem;
    font-weight: 500;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out 0s forwards;
}

 /* divider-gradient */
 .divider-gradient-1 {
    height: 0.37rem;
    background-image: linear-gradient(to right, #4F4A44, #F4F1EC);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.apus-triade-section {
    width: 100%;
    background-color: #F4F1EC;
    padding-top: 3rem;
    padding-bottom: 4.5rem;
}

.apus-triade {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 95%;
    width: calc(80rem - 2rem);
    margin: 0 auto;
    color: #333;
}

.apus-triade-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    min-height: 24rem;
    overflow: hidden;
    width: 100%;
}

.apus-triade-image {
    width: 100%;
    height: 2.25rem;
    margin-bottom: 0.75rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.apus-mission-image {
    background-image: url("../svg/mission.bff84df695fe.svg");
}

.apus-vision-image {
    background-image: url("../svg/vision.eb6ed2e473ab.svg");
}

.apus-values-image {
    background-image: url("../svg/values.518c089f431c.svg");
}

.apus-triade-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.apus-triade-text h2 {
    width: 100%;
    text-align: center;
    font-size: clamp(2rem, 2.25vw, 2.5rem);
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    letter-spacing: 6px;
    font-weight: 800;
    color: #2F2B27;
}

.apus-triade-text p {
    width: 100%;
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.87rem;
    text-align: justify;
    font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
    font-weight: 300;
    color: #2F2B27;
}

@media (max-width: 928px) {
    .apus-triade {
        grid-template-columns: 1fr;
    }

    .apus-triade-card {
        min-height: auto;
        padding: 0.75rem;
    }

    .apus-triade-image {
        height: 2.25rem;
    }
}




.apus-team {
    padding: clamp(3rem, 5vw, 5rem) 1.25rem clamp(5rem, 9vw, 10rem);
    flex: 1 0 auto;
    background-color: #f3f3f3;
}

.apus-team__inner {
    width: min(100%, 1280px);
    margin: 0 auto;
}

.apus-team__title {
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    text-align: center;
    font-size: clamp(2.25rem, 3.5vw + 1rem, 3rem);
    font-family: 'Roboto', 'Signika', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    align-items: stretch;
}

.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    text-align: center;
    box-sizing: border-box;
    min-height: 100%;
}

.member-card__photo {
    width: clamp(140px, 18vw, 210px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.member-card__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.member-card__name {
    margin: 0;
    font-family: 'Roboto', 'Signika', sans-serif;
    font-size: clamp(1rem, 1vw + 0.85rem, 1.2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.member-card__role {
    margin: 0;
    font-family: 'Roboto', 'Signika', sans-serif;
    font-size: clamp(0.9rem, 0.4vw + 0.82rem, 1rem);
    line-height: 1.55;
    letter-spacing: 0.01em;
    text-align: center;
    max-width: 32ch;
    text-wrap: pretty;
}

.member-card__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    text-decoration: none;
    margin: 0;
    padding: 0;
}


.social-link img {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    object-fit: contain;
}

.tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.5rem);
    transform: translateX(-50%) translateY(4px);

    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 20;

    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    white-space: nowrap;

    background-color: rgba(255, 255, 255, 0.82);
    color: #555;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 0.92rem;
    font-family: 'Roboto', 'Signika', sans-serif;
    font-weight: 400;
    line-height: 1.2;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}

.social-link:hover .tooltip,
.social-link:focus-visible .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.social-link:focus-visible {
    outline: 2px solid #285095;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .apus-team {
        padding-inline: 1rem;
    }

    .member-card {
        padding: 1rem;
    }

    .member-card__role {
        max-width: 100%;
    }

    .tooltip {
        font-size: 0.85rem;
        padding: 0.45rem 0.65rem;
    }
}