:root {
    --ea-pink: #ff2795;
    --ea-pink-soft: #ffeaf4;
    --ea-pink-dark: #9a3c66;
    --ea-text: #1e1e1e;
    --ea-radius: 18px;
}

.ea-team,
.ea-profile {
    font-family: inherit;
    color: var(--ea-text);
}

.ea-team {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 4vw, 46px);
    background: #fff;
}


.ea-team__title {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--ea-pink);
}

.ea-team__filters {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: clamp(30px, 5vw, 58px);
}

.ea-filter {
    min-width: 136px;
    border: 0px solid black !important;
    border-radius: 999px !important;
    padding: 14px 26px;
    background: #FFEAF4 !important;
    color: #780C40 !important;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.ea-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 39, 149, .12);
}

.ea-filter.is-active {
    background: var(--ea-pink) !important;
    color: #efff00 !important;
}

.ea-team__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3.6vw, 36px);
}

.ea-card {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: opacity .26s ease, transform .26s ease;
}

.ea-card.is-hidden {
    opacity: 0;
    transform: translateY(14px) scale(.96);
    pointer-events: none;
}

.ea-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ea-card__image {
    position: relative;
    aspect-ratio: 1 / 1.18;
    overflow: hidden;
    border-radius: var(--ea-radius);
    background: #eee;
    box-shadow: 0 18px 34px rgba(0,0,0,.10);
    isolation: isolate;
}

.ea-card__image img,
.ea-card__placeholder {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform .45s ease, filter .45s ease;
}

.ea-card__overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 46px 24px 24px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.74));
}

.ea-card__overlay h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    line-height: 1;
}

.ea-card__overlay p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 16px;
}

.ea-card:hover .ea-card__image img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.ea-card:hover .ea-card__image {
    box-shadow: 0 24px 48px rgba(255, 39, 149, .18);
}

.ea-profile {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.ea-profile__hero {
    position: relative;
    background: var(--ea-pink);
    color: #fff;
    padding: clamp(26px, 5vw, 66px) clamp(20px, 6vw, 70px) clamp(58px, 8vw, 100px);
    overflow: hidden;
}

.ea-profile__hero::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: -52px;
    height: 110px;
    background: #fff;
    clip-path: polygon(0 42%, 10% 62%, 19% 39%, 31% 69%, 44% 45%, 55% 79%, 67% 52%, 79% 74%, 90% 46%, 100% 66%, 100% 100%, 0 100%);
}

.ea-profile__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px minmax(0, 720px);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    max-width: 1120px;
    margin: 0 auto;
}

.ea-profile__photo {
    width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,.18);
    box-shadow: 0 18px 36px rgba(0,0,0,.16);
}

.ea-profile__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ea-profile__text h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 900;
    line-height: 1;
}

.ea-profile__text h2 {
    margin: 6px 0 18px;
    color: #fff;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 700;
}

.ea-profile__bio {
    max-width: 680px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

.ea-profile__button {
    display: inline-flex;
    margin-top: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 28px;
    background: #efff00;
    color: #111;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ea-profile__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
    color: #111;
}

.ea-portfolio {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(56px, 8vw, 100px) 20px;
}

.ea-portfolio h2 {
    margin: 0 0 40px;
    color: var(--ea-pink);
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
}

.ea-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ea-portfolio__item {
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    border-radius: 13px;
    background: #f2f2f2;
    box-shadow: 0 14px 28px rgba(0,0,0,.08);
    transition: transform .28s ease, box-shadow .28s ease;
}

.ea-portfolio__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.ea-portfolio__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(255, 39, 149, .18);
}

.ea-portfolio__item:hover img {
    transform: scale(1.07);
}

.ea-profile--empty {
    padding: 28px;
    border-radius: 16px;
    background: var(--ea-pink-soft);
    color: var(--ea-pink-dark);
    font-weight: 700;
}

@media (max-width: 900px) {
    .ea-team__grid,
    .ea-portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ea-profile__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .ea-team {
        padding: 24px 18px;
    }

    .ea-filter {
        min-width: auto;
        flex: 1 1 calc(50% - 12px);
        padding-inline: 18px;
    }

    .ea-team__grid,
    .ea-portfolio__grid {
        grid-template-columns: 1fr;
    }

    .ea-profile__photo {
        width: 170px;
        height: 170px;
    }
}

/* Shortcodes individuais para montar o layout no Elementor */
.ea-field {
    box-sizing: border-box;
}

.ea-field--nome {
    margin: 0;
    color: white;
    font-weight: 900;
    line-height: 1.05;
}

.ea-field--cargo {
    margin: 6px 0 0;
    color: var(--ea-pink-dark);
    font-weight: 700;
}

.ea-field--bio {
    line-height: 1.75;
}

.ea-field--bio {
    color: white;
}

.ea-field--foto img,
.ea-field__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px !important;
    object-fit: cover;
}

.ea-field__title {
    margin: 0 0 34px;
    color: var(--ea-pink);
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
}

.ea-short-gallery {
    display: grid;
    grid-template-columns: repeat(var(--ea-gallery-cols, 3), minmax(0, 1fr));
    gap: 22px;
}

.ea-short-gallery__item {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 13px;
    background: #f2f2f2;
    box-shadow: 0 14px 28px rgba(0,0,0,.08);
    transition: all 0.5s;
}

.ea-short-gallery__item img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s;
}

.ea-short-gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(255, 39, 149, .18);
    
    transition: all 0.5s;
}

.ea-short-gallery__item:hover img {
    transform: scale(1.07);
    transition: all 0.5s;
}

@media (max-width: 900px) {
    .ea-short-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .ea-short-gallery {
        grid-template-columns: 1fr;
    }
}
