/* =========================
   01. HERO
========================= */

.about-hero {
    position: relative;

    width: 100%;
    min-height: 420px;

    overflow: hidden;

    background: var(--white);
}


/* IMAGEM */

.about-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.about-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* CONTEÚDO */

.about-hero-content {
    position: relative;
    z-index: 2;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero h1 {
    margin: 0;

    color: var(--color-teal);

    font-size: clamp(52px, 6vw, 84px);
    line-height: 1;
    font-weight: 700;

    text-align: center;
}


/* =========================
   02. HISTÓRIA / PROCESSO
========================= */

.about-story {
    width: 100%;
}


/* LINHA */

.about-story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 460px;
}


/* TEXTO */

.about-story-copy {
    display: flex;
    align-items: center;

    padding: 72px 7vw;

    background: var(--bg-green);
}

.about-story-copy-inner {
    width: 100%;
    max-width: 640px;
}

.about-story-copy p {
    margin: 0 0 18px;

    font-size: 17px;
    line-height: 1.65;
}

.about-story-copy p:last-child {
    margin-bottom: 0;
}


/* ÁREA VISUAL — ILUSTRAÇÕES */

.about-story-media {
    position: relative;

    min-height: 460px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 48px;

    background: var(--white);

    overflow: hidden;
}


/* ILUSTRAÇÃO */

.about-story-image {
    display: block;

    width: 100%;
    max-width: 620px;
    height: auto;

    margin: 0 auto;

    object-fit: contain;
}


/* BLOCO INVERTIDO */

.about-story-row-reverse .about-story-media {
    order: 1;
}

.about-story-row-reverse .about-story-copy {
    order: 2;
}


/* =========================
   03. A NOSSA ABORDAGEM
========================= */

.about-approach {
    width: 100%;

    padding: 96px 0;

    background: var(--bg-blue);
}

.about-approach-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 32px;

    align-items: center;
}


/* IMAGEM */

.about-approach-image {
    grid-column: 1 / span 5;
}

.about-approach-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* TEXTO */

.about-approach-copy {
    grid-column: 7 / span 5;
}

.about-approach-copy h2 {
    margin-bottom: 28px;

    color: var(--color-indigo);

    font-size: 48px;
    line-height: 1.05;
}

.about-approach-copy p {
    max-width: 560px;

    margin-bottom: 14px;

    font-size: 17px;
    line-height: 1.6;
}

.about-approach-copy p:last-child {
    margin-bottom: 0;
}


/* =========================
   04. O QUE NOS DEFINE
========================= */

.about-values {
    width: 100%;

    padding: 88px 0 96px;

    background: var(--bg-lilac);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 32px;

    align-items: start;
}


/* TÍTULO */

.about-values-heading {
    grid-column: 1 / span 3;
}

.about-values-heading h2 {
    margin-bottom: 0;

    color: var(--color-indigo);

    font-size: 48px;
    line-height: 1.05;
}


/* VALORES */

.about-value {
    grid-column: span 3;

    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.about-value.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* CHECK */

.about-value-check {
    width: 36px;
    height: 36px;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    color: var(--color-teal);

    font-size: 30px;
    line-height: 1;
    font-weight: 700;
}


/* TÍTULO DO VALOR */

.about-value h3 {
    margin-bottom: 14px;

    color: var(--color-teal);

    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}


/* TEXTO */

.about-value p {
    max-width: 250px;

    margin-bottom: 0;

    font-size: 15px;
    line-height: 1.55;
}

/* =========================
   05. EQUIPA
========================= */

.about-team {
    width: 100%;

    padding: 104px 0 112px;

    background: var(--white);
}

.about-team-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 32px;

    align-items: start;
}


/* INTRODUÇÃO */

.about-team-intro {
    grid-column: 1 / span 3;
}

.about-team-intro h2 {
    margin-bottom: 32px;

    color: var(--color-indigo);

    font-size: 48px;
    line-height: 1.05;
}

.about-team-intro p {
    max-width: 300px;

    margin-bottom: 18px;

    font-size: 16px;
    line-height: 1.6;
}

.about-team-intro p:last-child {
    margin-bottom: 0;
}


/* GRELHA DA EQUIPA */

.about-team-grid {
    grid-column: 4 / span 9;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    column-gap: 44px;
    row-gap: 56px;
}


/* MEMBRO */

.team-member {
    text-align: center;

    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.team-member.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* NOME */

.team-member h3 {
    margin-bottom: 6px;

    color: var(--color-dark);

    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}


/* ILUSTRAÇÃO */

.team-member img {
    width: 100%;
    max-width: 240px;
    height: 250px;

    margin: 0 auto 12px;

    object-fit: contain;
    object-position: center bottom;
}


/* FUNÇÃO */

.team-member p {
    margin-bottom: 0;

    color: var(--color-dark);

    font-size: 14px;
    line-height: 1.45;
}

/* =========================
   06. CTA
========================= */

.about-cta {
    width: 100%;

    padding: 104px 0 112px;

    background: var(--bg-blue);
}

.about-cta-inner {
    max-width: 760px;

    margin-inline: auto;

    text-align: center;
}

.about-cta h2 {
    margin-bottom: 24px;

    color: var(--color-teal);

    font-size: 48px;
    line-height: 1.05;
}

.about-cta p {
    max-width: 640px;

    margin: 0 auto 36px;

    font-size: 17px;
    line-height: 1.6;
}

.about-cta-button {
    min-height: 42px;

    padding: 0 22px;

    background: var(--color-indigo);
    color: var(--white);

    font-size: 14px;
    font-weight: 600;
}

.about-cta-button:hover {
    background: var(--color-teal);
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1199px) {

    /* HERO */

    .about-hero,
    .about-hero-content {
        min-height: 360px;
    }

    .about-hero h1 {
        font-size: 56px;
    }


    /* HISTÓRIA */

    .about-story-row {
        min-height: 420px;
    }

    .about-story-copy {
        padding: 56px 48px;
    }

    .about-story-copy p {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-story-media {
        min-height: 420px;

        padding: 36px;
    }

    .about-story-image {
        max-width: 540px;
    }


    /* A NOSSA ABORDAGEM */

    .about-approach {
        padding: 88px 0 96px;
    }

    .about-approach-grid {
        grid-template-columns: repeat(8, 1fr);

        gap: 28px;
    }

    .about-approach-image {
        grid-column: 1 / span 4;
    }

    .about-approach-copy {
        grid-column: 5 / span 4;
    }

    .about-approach-copy h2 {
        margin-bottom: 28px;

        font-size: 40px;
    }

    .about-approach-copy p {
        max-width: none;

        font-size: 16px;
    }


    /* O QUE NOS DEFINE */

    .about-values {
        padding: 88px 0 96px;
    }

    .about-values-grid {
        grid-template-columns: repeat(8, 1fr);

        gap: 28px;
    }

    .about-values-heading {
        grid-column: 1 / span 2;
    }

    .about-values-heading h2 {
        font-size: 40px;
    }

    .about-value {
        grid-column: span 2;
    }

    .about-value p {
        max-width: none;
    }


    /* EQUIPA */

    .about-team {
        padding: 88px 0 96px;
    }

    .about-team-layout {
        grid-template-columns: repeat(8, 1fr);

        gap: 28px;
    }

    .about-team-intro {
        grid-column: 1 / span 2;
    }

    .about-team-intro h2 {
        font-size: 40px;
    }

    .about-team-intro p {
        max-width: none;

        font-size: 15px;
    }

    .about-team-grid {
        grid-column: 3 / span 6;

        grid-template-columns: repeat(3, 1fr);

        column-gap: 28px;
        row-gap: 48px;
    }

    .team-member img {
        max-width: 200px;
        height: 220px;
    }

    /* CTA */

    .about-cta {
        padding: 88px 0 96px;
    }

    .about-cta h2 {
        font-size: 40px;
    }

    .about-cta p {
        max-width: 600px;

        font-size: 16px;
    }

    /* FECHO DO TABLET */
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

    /* HERO */

    .about-hero,
    .about-hero-content {
        min-height: 260px;
    }

    .about-hero h1 {
        font-size: 42px;
        line-height: 1.05;
    }

    .about-hero-image img {
        object-position: center;
    }


    /* HISTÓRIA */

    .about-story-row,
    .about-story-row-reverse {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }

    .about-story-copy {
        order: 1;

        padding: 52px 20px;

        background: var(--bg-green);
    }

    .about-story-copy-inner {
        max-width: none;
    }

    .about-story-copy p {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-story-media,
    .about-story-row-reverse .about-story-media {
        order: 2;

        min-height: 0;

        padding: 28px 20px 40px;
    }

    .about-story-image {
        width: 100%;
        max-width: 100%;
        height: auto;

        margin: 0 auto;
    }

    .about-story-row-reverse .about-story-copy {
        order: 1;
    }


    /* A NOSSA ABORDAGEM */

    .about-approach {
        padding: 64px 0 72px;
    }

    .about-approach-grid {
        display: flex;
        flex-direction: column;

        gap: 40px;
    }

    .about-approach-image {
        width: 100%;
    }

    .about-approach-copy {
        width: 100%;
    }

    .about-approach-copy h2 {
        margin-bottom: 24px;

        font-size: 32px;
        line-height: 1.1;
    }

    .about-approach-copy p {
        max-width: none;

        font-size: 16px;
    }


    /* O QUE NOS DEFINE */

    .about-values {
        padding: 64px 0 72px;
    }

    .about-values-grid {
        display: block;
    }

    .about-values-heading {
        margin-bottom: 44px;
    }

    .about-values-heading h2 {
        font-size: 32px;
        line-height: 1.1;
    }

    .about-value {
        width: 100%;

        margin-bottom: 40px;
    }

    .about-value:last-child {
        margin-bottom: 0;
    }

    .about-value-check {
        width: 32px;
        height: 32px;

        margin-bottom: 18px;
    }

    .about-value h3 {
        margin-bottom: 12px;

        font-size: 16px;
    }

    .about-value p {
        max-width: none;

        font-size: 16px;
    }


    /* EQUIPA */

    .about-team {
        padding: 64px 0 72px;
    }

    .about-team-layout {
        display: block;
    }

    .about-team-intro {
        margin-bottom: 48px;
    }

    .about-team-intro h2 {
        margin-bottom: 24px;

        font-size: 32px;
        line-height: 1.1;
    }

    .about-team-intro p {
        max-width: none;

        font-size: 16px;
    }

    .about-team-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 44px 20px;
    }

    .team-member h3 {
        margin-bottom: 14px;

        font-size: 14px;
    }

    .team-member img {
        max-width: 180px;
        height: 190px;

        margin-bottom: 14px;
    }

    .team-member p {
        font-size: 13px;
    }

    /* CTA */

    .about-cta {
        padding: 64px 0 72px;
    }

    .about-cta-inner {
        max-width: none;
    }

    .about-cta h2 {
        margin-bottom: 22px;

        font-size: 32px;
        line-height: 1.1;
    }

    .about-cta p {
        max-width: none;

        margin-bottom: 28px;

        font-size: 16px;
        line-height: 1.6;
    }

    .about-cta-button {
        min-height: 42px;

        padding: 0 20px;
    }

    /* FECHO DO MOBILE */
}