/* ===========================================
   MANSUL CTA BANNER
   =========================================== */

.mansul-cta-banner {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
}

.mansul-cta-banner__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

/* ===========================================
   TEXTO
   =========================================== */

.mansul-cta-banner__text {
    margin: 0;
}

.mansul-cta-banner__text p {
    margin: 0;
}

.mansul-cta-banner__text strong {
    font-weight: bold;
}

.mansul-cta-banner__text em {
    font-style: italic;
}

/* ===========================================
   IMAGEM
   =========================================== */

.mansul-cta-banner__image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
}

.mansul-cta-banner__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================================
   BOTÃO
   =========================================== */

.mansul-cta-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mansul-cta-banner__button:hover {
    text-decoration: none;
}

/* ===========================================
   LAYOUT - MODO SIMPLES
   =========================================== */

.mansul-cta-banner--simple .mansul-cta-banner__content {
    justify-content: space-between;
}

.mansul-cta-banner--simple .mansul-cta-banner__text {
    flex: 1;
}

/* ===========================================
   LAYOUT - MODO COM IMAGEM
   =========================================== */

.mansul-cta-banner--with_image .mansul-cta-banner__content {
    justify-content: space-between;
}

.mansul-cta-banner--with_image .mansul-cta-banner__text--left {
    flex: 0 1 auto;
}

.mansul-cta-banner--with_image .mansul-cta-banner__text--right {
    flex: 1;
}

/* ===========================================
   RESPONSIVO - Tablet e Mobile
   =========================================== */

@media (max-width: 1024px) {
    /* Tablet */
    .mansul-cta-banner--with_image .mansul-cta-banner__content {
        flex-direction: column;
        text-align: center;
    }
    
    .mansul-cta-banner--with_image .mansul-cta-banner__image {
        order: 1;
        margin: 0 0 20px 0;
        width: 60%;
        max-width: 300px;
    }
    
    .mansul-cta-banner--with_image .mansul-cta-banner__text--left {
        order: 2;
        width: 100%;
        margin-bottom: 0;
    }
    
    .mansul-cta-banner--with_image .mansul-cta-banner__text--right {
        order: 3;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .mansul-cta-banner--with_image .mansul-cta-banner__button {
        order: 4;
    }
}

@media (max-width: 768px) {
    /* Mobile */
    .mansul-cta-banner__content {
        flex-direction: column;
        text-align: center;
    }

    .mansul-cta-banner--simple .mansul-cta-banner__text {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .mansul-cta-banner--simple .mansul-cta-banner__button {
        width: 100%;
    }

    /* Com Imagem - Mobile */
    .mansul-cta-banner--with_image .mansul-cta-banner__image {
        order: 1;
        margin: 0 0 20px 0;
        width: 70%;
        max-width: 250px;
    }
    
    .mansul-cta-banner--with_image .mansul-cta-banner__text--left {
        order: 2;
        width: 100%;
        margin-bottom: 0;
    }
    
    .mansul-cta-banner--with_image .mansul-cta-banner__text--right {
        order: 3;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .mansul-cta-banner--with_image .mansul-cta-banner__button {
        order: 4;
    }
}

@media (max-width: 480px) {
    /* Mobile pequeno */
    .mansul-cta-banner--with_image .mansul-cta-banner__image {
        width: 80%;
        max-width: 220px;
    }
}