/* =========================
   SEC-ABOUT-PAGE
   ========================= */

.sec-about-page {
    padding: 80px 0;
    background-color: var(--white);
}

.about-page-text {
    color: var(--black);
    font-size: 0.92rem;
    line-height: 1.3;
    columns: 2;
    column-gap: 40px;
}

.about-page-text p {
    margin-bottom: 20px;
}

.about-page-text p:last-child {
    margin-bottom: 0;
}

.about-page-btns {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-page-signature {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 992px) {
    .sec-about-page {
        padding: 60px 0;
    }

    .about-page-text{
        columns: 1;
        text-align: justify;
    }

    .about-page-img {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .about-page-img {
        height: 280px;
    }
}

/* =========================
   SEC-MEMORIAS
   ========================= */

.sec-memorias {
    padding: 0;
    background-color: var(--white);
    max-width: 1920px;
    margin: 0 auto;
}

.memorias-header {
    margin: 0 auto 60px;
    max-width: 650px;
}

.memorias-header-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    text-align: center;
}

.memorias-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.memorias-title p {
    margin: 0;
}

.memorias-signature {
    height: 35px;
    max-width: 130px;
    display: block;
    flex-shrink: 0;
    margin: 0 0 0 auto;
}

.memorias-divider {
    width: 70px;
    height: 4px;
    background-color: var(--tertiary);
    border: none;
    margin: -22px auto 40px;
    opacity: 1;
}

.memorias-social {
    display: flex;
    justify-content: center;
}

.memorias-social .social-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.memorias-social .social-links a {
    color: var(--primary);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.memorias-social .social-links a:hover {
    color: var(--tertiary);
}

/* Mosaic grid — full width, no container
   3 linhas: img_2 e img_3 ocupam 2 linhas (maiores),
   stat_ano e stat_eventos ocupam 1 linha (menores), em diagonal oposta */
.memorias-mosaic {
    display: grid;
    grid-template-columns: 2.4fr 1fr 1fr;
    grid-template-rows: 1fr 0.5fr 1fr;
    height: 700px;
}

.memorias-cell {
    position: relative;
    overflow: hidden;
}

.memorias-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Col 1 — large image, spans all 3 rows */
.memorias-cell--main {
    grid-column: 1;
    grid-row: 1 / 4;
}

/* YouTube play button over img_1 */
.memorias-yt-btn {
    position: absolute;
    bottom: 100px;
    right: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 77px;
    height: 109px;
    border-radius: 0;
    color: var(--primary);
    background-color: var(--white);
    box-shadow: 9px 9px 20px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.memorias-yt-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.memorias-yt-btn.youtube-video-link::after{
    font-family: "bootstrap-icons";
    content: "\F4F4";
    font-size: 25px;
    color: currentColor;
}

/* Stat text */
.memorias-stat-text {
    color: var(--primary);
    line-height: 1;
}

.memorias-stat-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.memorias-stat-text h1 strong{
    font-weight: 800;
}

.memorias-stat-text p {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

/* Col 2, rows 1-2 — img_2 (maior) */
.memorias-cell--img2 {
    grid-column: 2;
    grid-row: 1 / 3;
}

/* Col 3, row 1 — stat ano, menor (azul escuro) */
.memorias-cell--stat-ano {
    grid-column: 3;
    grid-row: 1;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Col 2, row 3 — stat eventos, menor (escuro) */
.memorias-cell--stat-eventos {
    grid-column: 2;
    grid-row: 3;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Col 3, rows 2-3 — img_3 (maior) */
.memorias-cell--img3 {
    grid-column: 3;
    grid-row: 2 / 4;
}

@media (max-width: 768px) {
    .sec-memorias {
        padding: 0;
    }

    .memorias-divider{
        margin: 30px auto 40px;
    }

    .memorias-social{
        max-width: 160px;
        margin: 0 auto;
    }

    .memorias-social .social-links{
        justify-content: center;
    }

    /* Mosaic vira coluna única: img1 → stat_ano → img2 → stat_eventos → img3 */
    .memorias-mosaic {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .memorias-cell img{
        object-position: top left;
    }

    .memorias-cell--main         { order: 1; height: 500px; }
    .memorias-cell--stat-ano     { order: 2; }
    .memorias-cell--img2         { order: 3; height: 400px; }
    .memorias-cell--stat-eventos { order: 4; }
    .memorias-cell--img3         { order: 5; height: 400px; }

    /* Stats ficam com fundo branco e texto colorido no mobile */
    .memorias-cell--stat-ano {
        background-color: var(--white);
        padding: 28px var(--container-px-mobile);
    }

    .memorias-cell--stat-ano .memorias-stat-text {
        color: var(--tertiary);
    }

    .memorias-cell--stat-eventos {
        background-color: var(--white);
        padding: 28px var(--container-px-mobile);
    }

    .memorias-cell--stat-eventos .memorias-stat-text {
        color: var(--primary);
    }

    .memorias-yt-btn {
        bottom: 16px;
    }

    .memorias-header-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── sec-event-type ──────────────────────────────────────── */
.sec-event-type {
    padding: 80px 0;
    margin-top: -1px;
    background-color: var(--primary);
    background: url(../img/buffet-background.png) no-repeat center center/cover;
}

/* cabeçalho */
.sec-event-type .event-type-header {
    text-align: center;
    margin-bottom: 50px;
}

.sec-event-type .event-type-title {
    font-family: 'Metropolitano', sans-serif;
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin: 0 auto 50px;
    max-width: 260px;
}

.sec-event-type .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.sec-event-type .social-links a {
    color: var(--white);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.sec-event-type .social-links a:hover {
    color: var(--tertiary);
}

/* coluna esquerda */
.sec-event-type .event-type-text {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-right: 30px;
}

.sec-event-type .event-type-text p {
    margin-bottom: 0;
}

/* coluna central */
.sec-event-type .event-type-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

/* coluna direita */
.sec-event-type .event-type-content {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.sec-event-type .event-types {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sec-event-type .event-type {
    border-bottom: 1px solid var(--tertiary);
}

.sec-event-type .event-type:last-child {
    border-bottom: 0;
}

.sec-event-type .event-type a {
    display: block;
    padding: 14px 0;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s ease;
}

.sec-event-type .event-type a:hover,
.sec-event-type .event-type.active a {
    color: var(--tertiary);
}

@media (max-width: 992px) {
    .sec-event-type .event-type-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .sec-event-type .event-type-img {
        height: 380px;
        margin-bottom: 40px;
    }

    .sec-event-type .event-type-content {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .sec-event-type {
        padding: 160px 0 60px;
        margin-top: -100px;
    }

    .sec-event-type .event-type-img {
        height: 280px;
    }

    .sec-event-type .event-type a{
        font-size: 1.7rem;
    }
}
