/* Seção com fundo claro e conteúdo centralizado */
.centered-content-section {
    position: relative;
    width: 100%;
    padding: 70px 7%;
    background-color: #001b24; /* mesmo tom usado nas ondas / site */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* importante pra onda */
}

/* Card principal */
.centered-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 40px 34px;
    color: #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Bloco de texto */
.centered-content .text-content {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

/* Ícone + título alinhados */
.icon-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Ícone circular teal */
.icon-text .icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background-color: #0f7f86;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.icon-text .icon img,
.centered-content .icon {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Título */
.centered-content .text-content h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #222222;
}

/* Texto */
.centered-content .text-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: #555f62;
}

/* Imagem lateral */
.centered-content .image-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered-content .image-content img {
    max-width: 360px;
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* garante que o card fique acima da onda */
.centered-content {
    position: relative;
    z-index: 2;
}

/* Onda topo da seção Convite */
.custom-shape-divider-top-convite {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.custom-shape-divider-top-convite svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

/* cor da seção anterior (normalmente branco) */
.custom-shape-divider-top-convite .shape-fill {
    fill: #ffffff;
}


/* ===== Responsivo ===== */

/* Tablets */
@media (max-width: 1024px) {
    .centered-content-section {
        padding: 60px 6%;
    }

    .centered-content {
        padding: 32px 26px 26px;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .centered-content .image-content {
        order: -1; /* imagem acima do texto se quiser; remova se não quiser */
        justify-content: flex-start;
    }

    .centered-content .image-content img {
        max-width: 320px;
    }

    .centered-content .text-content h1 {
        font-size: 1.8rem;
    }
}

/* Mobile médio */
@media (max-width: 768px) {
    .centered-content-section {
        padding: 40px 5%;
    }

    .centered-content {
        padding: 24px 18px 20px;
        flex-direction: column;
        gap: 18px;
    }

    .icon-text .icon {
        width: 46px;
        height: 46px;
    }

    .centered-content .text-content h1 {
        font-size: 1.6rem;
    }

    .centered-content .text-content p {
        font-size: 0.95rem;
    }

    .centered-content .image-content {
        justify-content: center;
    }

    .centered-content .image-content img {
        max-width: 260px;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .centered-content-section {
        padding: 32px 5%;
    }

    .centered-content {
        padding: 20px 14px 16px;
    }

    .icon-text .icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .centered-content .text-content h1 {
        font-size: 1.4rem;
    }

    .centered-content .text-content p {
        font-size: 0.88rem;
    }

    .centered-content .image-content img {
        max-width: 220px;
    }
}
