/* Seção Missão */
.mission-section {
    padding: 90px 0;
    background: #151c23;
    color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Bloco Missão */
.mission-block {
    margin-bottom: 60px;
}

/* LAYOUT MISSÃO – FLEX AO INVÉS DE GRID */
.mission-inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* título "Missão" */
.mission-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    text-align: left;
    white-space: nowrap;
}

/* texto da missão */
.mission-text-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    text-align: left;
    max-width: 460px;
    justify-self: start;
}

/* Container Visão e Objetivos */
.goals-container {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.goal-block {
    flex: 1;
    min-width: 300px;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.goal-inner {
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.goal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0;
    transition: transform 0.5s ease;
}

.goal-inner:hover .goal-image {
    transform: scale(1.05);
}

/* Overlay escuro na imagem */
.goal-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    border-radius: 12px;
}

/* Título no canto superior direito */
.goal-title-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    text-align: right;
}

.goal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Container do texto na parte de baixo */
.goal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    width: 100%;
    max-width: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
}

.goal-text {
    margin: 0;
}

.goal-text a {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.goal-text a:hover {
    color: #f0f0f0;
}

/* CTA Block */
.cta-block {
    text-align: center;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 14px 28px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 8px;
    background: transparent;
    margin: 0 auto;
    justify-content: center;
    list-style: none;
}

.cta-link:hover {
    color: #ffffff;
    background: #72939c;
    border-color: #72939c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.car-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.cta-link:hover .car-icon {
    filter: brightness(0) invert(1);
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
    .mission-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .mission-inner {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        align-items: center;
    }

    .mission-title {
        font-size: 2.3rem;
        text-align: center;
        white-space: normal;
    }

    .mission-text-container {
        justify-content: center;
        margin: 0 !important;
        width: 100%;
    }

    .mission-text {
        font-size: 1.1rem;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        justify-self: center;
    }

    .goals-container {
        flex-direction: column;
        gap: 25px;
    }

    .goal-block {
        min-width: 100%;
    }

    .goal-image {
        height: 280px;
    }

    .goal-title-top {
        top: 15px;
        right: 15px;
    }

    .goal-title {
        font-size: 1.7rem;
    }

    .goal-content {
        padding: 25px;
    }

    .goal-text a {
        font-size: 1rem;
    }

    .cta-block {
        text-align: center;
        padding: 0;
    }

    .cta-link {
        font-size: 1.1rem;
        padding: 12px 25px;
        gap: 15px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        list-style: none;
    }

    .car-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .mission-title {
        font-size: 1.9rem;
    }

    .mission-text {
        font-size: 1rem;
    }

    .goal-image {
        height: 230px;
    }

    .goal-title-top {
        top: 10px;
        right: 10px;
    }

    .goal-title {
        font-size: 1.5rem;
    }

    .goal-content {
        padding: 20px;
    }

    .cta-link {
        font-size: 1rem;
        padding: 10px 20px;
        flex-direction: column;
        gap: 10px;
        list-style: none;
    }

    .car-icon {
        width: 22px;
        height: 22px;
    }
}
