

/* =========================================================
   EVENTOS - YETU A YETU
   ========================================================= */

   .eventos-page {
    padding-top: 45px;
    padding-bottom: 80px;
}

/* CABEÇALHO */

.eventos-header {
    margin-bottom: 45px;
}

.page-header-content {
    max-width: 850px;
}

.page-header-content h1 {
    margin: 8px 0 12px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

.page-header-content p {
    max-width: 700px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: .75;
}


/* =========================================================
   EVENTO EM DESTAQUE
   ========================================================= */

.featured-event {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 430px;
    margin-bottom: 80px;
    overflow: hidden;
    border-radius: 28px;
    background: #111;
    color: #fff;
}

.featured-event-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.event-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 50px;
    background: #a855f7;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .8px;
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #7e22ce,
            #a855f7 50%,
            #18181b
        );
    color: rgba(255,255,255,.8);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.featured-event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
}

.featured-event-content h2 {
    margin: 10px 0 18px;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.featured-event-content > p {
    max-width: 550px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
}


/* INFORMAÇÕES DO EVENTO */

.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 32px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-info-item > span {
    font-size: 1.25rem;
}

.event-info-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.event-info-item small {
    color: rgba(255,255,255,.5);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .8px;
}

.event-info-item strong {
    font-size: .85rem;
}

.event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 13px 24px;
    border-radius: 50px;
    background: #fff;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.event-button:hover {
    transform: translateY(-2px);
    background: #a855f7;
    color: #fff;
}


/* =========================================================
   TÍTULOS DAS SECÇÕES
   ========================================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -1px;
}

.section-link {
    color: #8b5cf6;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}


/* =========================================================
   CATEGORIAS
   ========================================================= */

.events-categories {
    margin-bottom: 80px;
}

.event-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.event-category {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: .25s ease;
}

.event-category:hover {
    transform: translateY(-5px);
    border-color: #a855f7;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.category-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f3e8ff;
    font-size: 1.4rem;
}

.event-category h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.event-category p {
    margin: 0;
    font-size: .8rem;
    opacity: .6;
    line-height: 1.4;
}


/* =========================================================
   GRELHA DE EVENTOS
   ========================================================= */

.upcoming-events {
    margin-bottom: 80px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.event-card {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    background: #fff;
    transition: .25s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.1);
}

.event-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-type {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 30px;
    background: rgba(17,17,17,.8);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
}

.event-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #9333ea,
        #c084fc
    );
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.event-placeholder.sport {
    background: linear-gradient(
        135deg,
        #111827,
        #6b21a8
    );
}

.event-placeholder.culture {
    background: linear-gradient(
        135deg,
        #7e22ce,
        #f0abfc
    );
}

.event-placeholder.entertainment {
    background: linear-gradient(
        135deg,
        #312e81,
        #a855f7
    );
}

.event-date {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    color: #111;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.event-date strong {
    font-size: 1.25rem;
    line-height: 1;
}

.event-date span {
    margin-top: 3px;
    font-size: .62rem;
    font-weight: 800;
    color: #8b5cf6;
}

.event-card-content {
    padding: 20px;
}

.event-card-content h3 {
    margin: 0 0 15px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.event-location,
.event-time {
    margin: 7px 0;
    font-size: .82rem;
    opacity: .65;
}

.event-card-link {
    display: inline-block;
    margin-top: 14px;
    color: #8b5cf6;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.event-card-link:hover {
    text-decoration: underline;
}


/* =========================================================
   LOCALIZAÇÕES
   ========================================================= */

.event-locations {
    margin-bottom: 80px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 20px;
    border-radius: 20px;
    background: #f7f7f8;
    color: #111;
    text-align: center;
    text-decoration: none;
    transition: .25s ease;
}

.location-card:hover {
    background: #a855f7;
    color: #fff;
    transform: translateY(-4px);
}

.location-card > span {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.location-card strong {
    font-size: 1rem;
}

.location-card small {
    margin-top: 5px;
    font-size: .72rem;
    opacity: .6;
}

.location-card:hover small {
    opacity: .85;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.events-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px;
    border-radius: 28px;
    background: #f3e8ff;
}

.events-cta h2 {
    margin: 7px 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -1px;
}

.events-cta p {
    max-width: 650px;
    margin: 0;
    line-height: 1.6;
    opacity: .7;
}

.cta-button {
    flex-shrink: 0;
    padding: 14px 25px;
    border-radius: 50px;
    background: #111;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.cta-button:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}

/* =========================================================
   ICONOGRAFIA — EVENTOS YETU A YETU
========================================================= */

.eventos-page i.bi {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

/* Informações do destaque */

.event-info-item > span {
    color: #7652a8;
    font-size: 21px;
}

/* Categorias */

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 27px;
    color: #7652a8;
    transition: all .25s ease;
}

.event-category:hover .category-icon i {
    color: #9b70d0;
    transform: translateY(-3px);
}

/* Local e horário */

.event-location i,
.event-time i {
    color: #7652a8;
    font-size: 15px;
    margin-right: 5px;
}

/* Localizações */

.location-card > span {
    color: #7652a8;
    font-size: 21px;
}

/* Estado vazio */

.empty-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.empty-event-icon i {
    font-size: 35px;
    color: #7652a8;
}

/* =========================================================
   RESPONSIVIDADE E ALINHAMENTO — EVENTOS YETU A YETU
========================================================= */

/* Base: alinhamento e margens laterais */

.eventos-page {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 45px clamp(16px, 2vw, 24px) 80px;
    overflow-wrap: break-word;
}

.eventos-page *,
.eventos-page *::before,
.eventos-page *::after {
    box-sizing: border-box;
}

.eventos-page section,
.eventos-page .section-heading,
.eventos-page .featured-event,
.eventos-page .events-grid,
.eventos-page .event-category-grid,
.eventos-page .locations-grid {
    min-width: 0;
}

.eventos-page img {
    display: block;
    max-width: 100%;
}

/* Destaque principal */

.featured-event {
    width: 100%;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.featured-event-content {
    min-width: 0;
}

/* Grelhas */

.event-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.events-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.locations-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.event-category,
.event-card,
.location-card {
    min-width: 0;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.event-card-content h3,
.event-category h3 {
    overflow-wrap: anywhere;
}

/* =========================================================
   ECRÃS MÉDIOS — PORTÁTEIS E TABLETS
========================================================= */

@media (max-width: 1100px) {

    .featured-event {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .featured-event-content {
        padding: 35px;
    }

    .event-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .events-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .locations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 850px) {

    .eventos-page {
        padding-top: 35px;
        padding-bottom: 60px;
    }

    .eventos-header {
        margin-bottom: 35px;
    }

    .featured-event {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
        border-radius: 20px;
    }

    .featured-event-image {
        min-height: 320px;
        height: 320px;
    }

    .featured-event-image img {
        min-height: 100%;
    }

    .featured-event-content {
        padding: 32px;
    }

    .featured-event-content h2 {
        font-size: clamp(1.8rem, 5vw, 2.6rem);
    }

    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .locations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .events-categories,
    .upcoming-events,
    .event-locations {
        margin-bottom: 60px;
    }

    .events-cta {
        padding: 35px;
    }
}

/* =========================================================
   TELEMÓVEIS
========================================================= */

@media (max-width: 600px) {

    .eventos-page {
        padding: 28px 16px 45px;
    }

    .eventos-header {
        margin-bottom: 28px;
    }

    .page-header-content {
        width: 100%;
    }

    .page-header-content h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        letter-spacing: -1.5px;
    }

    .page-header-content p {
        font-size: .94rem;
        line-height: 1.65;
    }

    /* Evento em destaque */

    .featured-event {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 45px;
        border-radius: 16px;
    }

    .featured-event-image {
        height: 250px;
        min-height: 250px;
    }

    .featured-event-image img {
        height: 100%;
        min-height: 100%;
    }

    .event-badge {
        top: 15px;
        left: 15px;
        font-size: .65rem;
    }

    .featured-event-content {
        padding: 24px 20px;
    }

    .featured-event-content h2 {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .featured-event-content > p {
        font-size: .9rem;
        margin-bottom: 22px;
    }

    .event-info {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .event-info-item strong {
        font-size: .82rem;
        overflow-wrap: anywhere;
    }

    .event-button {
        width: 100%;
    }

    /* Cabeçalhos das secções */

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    /* Categorias */

    .event-category-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .event-category {
        padding: 17px;
        border-radius: 14px;
    }

    .category-icon {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }

    /* Cartões dos eventos */

    .events-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .event-card {
        border-radius: 16px;
    }

    .event-card-image {
        height: 230px;
    }

    .event-card-content {
        padding: 18px;
    }

    /* Localizações */

    .locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .location-card {
        min-height: 125px;
        padding: 14px 8px;
        border-radius: 14px;
    }

    .location-card strong {
        font-size: .9rem;
    }

    /* Chamada final */

    .events-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 25px 20px;
        border-radius: 17px;
    }

    .events-cta h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .events-cta p {
        font-size: .9rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .events-categories,
    .upcoming-events,
    .event-locations {
        margin-bottom: 45px;
    }
}

/* =========================================================
   TELEMÓVEIS PEQUENOS
========================================================= */

@media (max-width: 380px) {

    .eventos-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .featured-event-content {
        padding: 20px 16px;
    }

    .featured-event-content h2 {
        font-size: 1.65rem;
    }

    .event-card-image {
        height: 200px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .events-cta {
        padding: 22px 16px;
    }
}
