/**
 * ABOUT.CSS
 * Estilos para a seção About/Intro conforme Figma Frame 57
 * Depende de base.css para tokens
 */

/* ===== ABOUT/INTRO - Frame 57 ===== */
.intro {
    padding: 0;
    position: relative;
}

.intro__grid {
    /* Frame 57 - Layout principal */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 78px;
    width: 1352px;
    left: 88px;
    top: 848px;
    left: 88px;
    right: 88px;
    margin: 0 auto;
}

/* ===== TEXTO - Frame 9 ===== */
.intro__text {
    /* Frame 9 - Container do texto */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 32px;
    width: 392px;
    height: 258px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.intro__title {
    /* Título conforme Figma */
    width: 392px;
    height: 160px;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color: #223B5A;
    margin: 0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.intro__lead {
    /* Descrição conforme Figma */
    width: 392px;
    height: 66px;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #223B5A;
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* ===== IMAGEM - Rectangle 2 ===== */
.intro__media {
    /* Rectangle 2 - Container da imagem */
    width: 828px;
    height: 440px;
    background: url("../img/Condominio.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 32px 0px 0px 32px;
    flex: none;
    order: 1;
    flex-grow: 0;
    overflow: hidden;
}

.intro__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 32px 0px 0px 32px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1440px) {
    .intro__grid {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 1352px;
        margin: 0 auto;
        padding: 0 88px;
    }
}

@media (max-width: 1024px) {
    .intro__grid {
        flex-direction: column-reverse;
        gap: 48px;
        padding: 0 24px;
        height: auto;
        margin-top: 2rem;
    }

    .intro__text {
        width: 100%;
        max-width: 500px;
        height: auto;
        order: 1;
    }

    .intro__title {
        width: 100%;
        height: auto;
        font-size: 28px;
        line-height: 36px;
    }

    .intro__lead {
        width: 100%;
        height: auto;
    }

    .intro__media {
        width: 100%;
        max-width: 500px;
        height: 300px;
        order: 0;
        border-radius: 32px;
    }

    .intro__media img {
        border-radius: 32px;
    }
}

@media (max-width: 768px) {
    .intro__grid {
        padding: 0 16px;
        gap: 32px;
    }

    .intro__title {
        font-size: 24px;
        line-height: 32px;
    }

    .intro__media {
        height: 250px;
    }
}
